swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector AssociationsInterface API schemes: - https tags: - name: AssociationsInterface paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/associations : get: operationId: microsoftAzureAssociationsinterfaceListbytrafficcontroller tags: - AssociationsInterface description: List Association resources by TrafficController 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: trafficControllerName in: path description: traffic controller name for path required: true type: string pattern: ^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$ responses: '200': description: ARM operation completed successfully. schema: $ref: '#/definitions/AssociationListResult' default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: Get Associations: $ref: ./examples/AssociationsGet.json x-ms-pageable: nextLinkName: nextLink summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Servicenetworking Trafficcontrollers Trafficcontrollername Associations ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/associations/{associationName} : get: operationId: microsoftAzureAssociationsinterfaceGet tags: - AssociationsInterface description: Get a Association 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: trafficControllerName in: path description: traffic controller name for path required: true type: string pattern: ^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$ - name: associationName in: path description: Name of Association required: true type: string pattern: ^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$ responses: '200': description: ARM operation completed successfully. schema: $ref: '#/definitions/Association' default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: Get Association: $ref: ./examples/AssociationGet.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Servicenetworking Trafficcontrollers Trafficcontrollername Associations Associationname put: operationId: microsoftAzureAssociationsinterfaceCreateorupdate tags: - AssociationsInterface description: Create a Association 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: trafficControllerName in: path description: traffic controller name for path required: true type: string pattern: ^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$ - name: associationName in: path description: Name of Association required: true type: string pattern: ^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$ - name: resource in: body description: Resource create parameters. required: true schema: $ref: '#/definitions/Association' responses: '200': description: Resource 'Association' update operation succeeded schema: $ref: '#/definitions/Association' '201': description: Resource 'Association' create operation succeeded schema: $ref: '#/definitions/Association' headers: Retry-After: type: integer format: int32 description: The Retry-After header can indicate how long the client should wait before polling the operation status. default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: Put Association: $ref: ./examples/AssociationPut.json x-ms-long-running-operation-options: final-state-via: azure-async-operation x-ms-long-running-operation: true summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Servicenetworking Trafficcontrollers Trafficcontrollername Associations Associationname patch: operationId: microsoftAzureAssociationsinterfaceUpdate tags: - AssociationsInterface description: Update a Association 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: trafficControllerName in: path description: traffic controller name for path required: true type: string pattern: ^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$ - name: associationName in: path description: Name of Association required: true type: string pattern: ^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$ - name: properties in: body description: The resource properties to be updated. required: true schema: $ref: '#/definitions/AssociationUpdate' responses: '200': description: ARM operation completed successfully. schema: $ref: '#/definitions/Association' default: description: An unexpected error response. schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: Update Association: $ref: ./examples/AssociationPatch.json summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Servicenetworking Trafficcontrollers Trafficcontrollername Associations Associationname delete: operationId: microsoftAzureAssociationsinterfaceDelete tags: - AssociationsInterface description: Delete a Association 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: trafficControllerName in: path description: traffic controller name for path required: true type: string pattern: ^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$ - name: associationName in: path description: Name of Association required: true type: string pattern: ^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$ responses: '200': description: Resource deleted successfully. '202': description: Resource deletion accepted. headers: Retry-After: type: integer format: int32 description: The Retry-After header can indicate how long the client should wait before polling the operation status. Location: type: string description: The Location header contains the URL where the status of the long running operation can be checked. '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: Delete Association: $ref: ./examples/AssociationDelete.json x-ms-long-running-operation-options: final-state-via: location x-ms-long-running-operation: true summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Servicenetworking Trafficcontrollers Trafficcontrollername Associations Associationname definitions: AssociationUpdateProperties: type: object description: The updatable properties of the Association. properties: associationType: $ref: '#/definitions/AssociationType' description: Association Type subnet: $ref: '#/definitions/AssociationSubnetUpdate' description: Association Subnet AssociationSubnet: type: object description: Association Subnet. properties: id: type: string description: Association ID. required: - id ProvisioningState: type: string enum: - Provisioning - Updating - Deleting - Accepted - Succeeded - Failed - Canceled x-ms-enum: name: ProvisioningState modelAsString: true AssociationUpdate: type: object description: The type used for update operations of the Association. properties: tags: type: object description: Resource tags. additionalProperties: type: string properties: $ref: '#/definitions/AssociationUpdateProperties' x-ms-client-flatten: true AssociationProperties: type: object description: Association Properties. properties: associationType: $ref: '#/definitions/AssociationType' description: Association Type subnet: $ref: '#/definitions/AssociationSubnet' description: Association Subnet provisioningState: $ref: '#/definitions/ProvisioningState' description: Provisioning State of Traffic Controller Association Resource readOnly: true required: - associationType AssociationSubnetUpdate: type: object description: Association Subnet. properties: id: type: string description: Association ID. AssociationListResult: type: object description: The response of a Association list operation. properties: value: type: array description: The Association items on this page items: $ref: '#/definitions/Association' nextLink: type: string format: uri description: The link to the next page of items required: - value AssociationType: type: string enum: - subnets x-ms-enum: name: AssociationType modelAsString: true Association: type: object description: Association Subresource of Traffic Controller properties: properties: $ref: '#/definitions/AssociationProperties' 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/TrackedResource x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'