swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector InfrastructureResources API schemes: - https tags: - name: InfrastructureResources paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/infrastructureResources : get: operationId: microsoftAzureInfrastructureresourcesListbyspace tags: - InfrastructureResources description: List InfrastructureResource resources by Space parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/Azure.Core.TopQueryParameter' - $ref: '#/parameters/Azure.Core.SkipQueryParameter' - $ref: '#/parameters/Azure.Core.MaxPageSizeQueryParameter' - $ref: '#/parameters/Azure.Core.FilterQueryParameter' - $ref: '#/parameters/Azure.Core.SelectQueryParameter' - $ref: '#/parameters/Azure.Core.ExpandQueryParameter' - $ref: '#/parameters/Azure.Core.OrderByQueryParameter' - name: spaceName in: path description: The name of the space required: true type: string pattern: '[a-zA-Z0-9_.()-]{0,79}$' responses: '200': description: ARM operation completed successfully. schema: $ref: '#/definitions/InfrastructureResourceListResult' default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: ListInfrastructureResourcesBySpace: $ref: ./examples/InfrastructureResources_ListBySpace.json x-ms-pageable: nextLinkName: nextLink summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Integrationspaces Spaces Spacename Infrastructureresources ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IntegrationSpaces/spaces/{spaceName}/infrastructureResources/{infrastructureResourceName} : get: operationId: microsoftAzureInfrastructureresourcesGet tags: - InfrastructureResources description: Get a InfrastructureResource parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter - name: spaceName in: path description: The name of the space required: true type: string pattern: '[a-zA-Z0-9_.()-]{0,79}$' - name: infrastructureResourceName in: path description: The name of the infrastructure resource in the space. required: true type: string pattern: '[a-zA-Z0-9_.()-]{0,79}$' responses: '200': description: ARM operation completed successfully. schema: $ref: '#/definitions/InfrastructureResource' default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: GetInfrastructureResource: $ref: ./examples/InfrastructureResources_Get.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Integrationspaces Spaces Spacename Infrastructureresources Infrastructureresourcename put: operationId: microsoftAzureInfrastructureresourcesCreateorupdate tags: - InfrastructureResources description: Create a InfrastructureResource parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter - name: spaceName in: path description: The name of the space required: true type: string pattern: '[a-zA-Z0-9_.()-]{0,79}$' - name: infrastructureResourceName in: path description: The name of the infrastructure resource in the space. required: true type: string pattern: '[a-zA-Z0-9_.()-]{0,79}$' - name: resource in: body description: Resource create parameters. required: true schema: $ref: '#/definitions/InfrastructureResource' responses: '200': description: Resource 'InfrastructureResource' update operation succeeded schema: $ref: '#/definitions/InfrastructureResource' '201': description: Resource 'InfrastructureResource' create operation succeeded schema: $ref: '#/definitions/InfrastructureResource' default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: CreateOrUpdateInfrastructureResource: $ref: ./examples/InfrastructureResources_CreateOrUpdate.json summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Integrationspaces Spaces Spacename Infrastructureresources Infrastructureresourcename patch: operationId: microsoftAzureInfrastructureresourcesPatch tags: - InfrastructureResources description: Update a InfrastructureResource parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter - name: spaceName in: path description: The name of the space required: true type: string pattern: '[a-zA-Z0-9_.()-]{0,79}$' - name: infrastructureResourceName in: path description: The name of the infrastructure resource in the space. required: true type: string pattern: '[a-zA-Z0-9_.()-]{0,79}$' - name: properties in: body description: The resource properties to be updated. required: true schema: $ref: '#/definitions/InfrastructureResourceUpdate' responses: '200': description: ARM operation completed successfully. schema: $ref: '#/definitions/InfrastructureResource' default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: PatchInfrastructureResource: $ref: ./examples/InfrastructureResources_Patch.json summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Integrationspaces Spaces Spacename Infrastructureresources Infrastructureresourcename delete: operationId: microsoftAzureInfrastructureresourcesDelete tags: - InfrastructureResources description: Delete a InfrastructureResource parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter - name: spaceName in: path description: The name of the space required: true type: string pattern: '[a-zA-Z0-9_.()-]{0,79}$' - name: infrastructureResourceName in: path description: The name of the infrastructure resource in the space. required: true type: string pattern: '[a-zA-Z0-9_.()-]{0,79}$' responses: '200': description: Resource deleted successfully. '204': description: Resource deleted successfully. default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: DeleteInfrastructureResource: $ref: ./examples/InfrastructureResources_Delete.json summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Integrationspaces Spaces Spacename Infrastructureresources Infrastructureresourcename definitions: InfrastructureResourceProperties: type: object description: The properties of infrastructure resource. properties: provisioningState: $ref: '#/definitions/ProvisioningState' description: The status of the last operation. readOnly: true resourceType: type: string description: The type of the infrastructure resource. resourceId: type: string description: The id of the infrastructure resource. required: - resourceType - resourceId InfrastructureResourceUpdate: type: object description: The type used for update operations of the InfrastructureResource. properties: properties: $ref: '#/definitions/InfrastructureResourceUpdateProperties' x-ms-client-flatten: true ProvisioningState: type: string description: The status of the current operation. enum: - Succeeded - Failed - Canceled - Provisioning - Updating - Deleting - Accepted x-ms-enum: name: ProvisioningState modelAsString: true values: - name: Succeeded value: Succeeded description: Resource has been created. - name: Failed value: Failed description: Resource creation failed. - name: Canceled value: Canceled description: Resource creation was canceled. - name: Provisioning value: Provisioning - name: Updating value: Updating - name: Deleting value: Deleting - name: Accepted value: Accepted InfrastructureResource: type: object description: An infrastructure resource under Space. properties: properties: $ref: '#/definitions/InfrastructureResourceProperties' description: The resource-specific properties for this resource. x-ms-client-flatten: true x-ms-mutability: - read - create allOf: - $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource InfrastructureResourceListResult: type: object description: The response of a InfrastructureResource list operation. properties: value: type: array description: The InfrastructureResource items on this page items: $ref: '#/definitions/InfrastructureResource' nextLink: type: string format: uri description: The link to the next page of items required: - value InfrastructureResourceUpdateProperties: type: object description: The updatable properties of the InfrastructureResource. properties: resourceType: type: string description: The type of the infrastructure resource. resourceId: type: string description: The id of the infrastructure resource. parameters: Azure.Core.MaxPageSizeQueryParameter: name: maxpagesize in: query description: The maximum number of result items per page. required: false type: integer format: int32 x-ms-parameter-location: method Azure.Core.OrderByQueryParameter: name: orderby in: query description: Expressions that specify the order of returned results. required: false type: array items: type: string collectionFormat: multi x-ms-parameter-location: method Azure.Core.ExpandQueryParameter: name: expand in: query description: Expand the indicated resources into the response. required: false type: array items: type: string collectionFormat: multi x-ms-parameter-location: method Azure.Core.SkipQueryParameter: name: skip in: query description: The number of result items to skip. required: false type: integer format: int32 default: 0 x-ms-parameter-location: method Azure.Core.TopQueryParameter: name: top in: query description: The number of result items to return. required: false type: integer format: int32 x-ms-parameter-location: method Azure.Core.FilterQueryParameter: name: filter in: query description: Filter the result list using the given expression. required: false type: string x-ms-parameter-location: method Azure.Core.SelectQueryParameter: name: select in: query description: Select the specified fields to be included in the response. required: false type: array items: type: string collectionFormat: multi x-ms-parameter-location: method x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'