swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector ProductGroupLink API schemes: - https tags: - name: ProductGroupLink paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/products/{productId}/groupLinks : get: tags: - ProductGroupLink operationId: microsoftAzureWorkspaceproductgrouplinkListbyproduct description: Lists a collection of the group links associated with a product. x-ms-examples: ApiManagementListWorkspaceProductGroupLinks: $ref: ./examples/ApiManagementListWorkspaceProductGroupLinks.json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: ./apimanagement.json#/parameters/ServiceNameParameter - $ref: ./apimanagement.json#/parameters/WorkspaceIdParameter - $ref: ./apimanagement.json#/parameters/ProductIdParameter - name: $filter in: query required: false type: string description: '| Field | Usage | Supported operators | Supported functions |
|-------------|-------------|-------------|-------------|
| groupId | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
' - $ref: ./apimanagement.json#/parameters/TopQueryParameter - $ref: ./apimanagement.json#/parameters/SkipQueryParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter responses: '200': description: The response body contains a collection of group link entities in the product. schema: $ref: ./definitions.json#/definitions/ProductGroupLinkCollection default: description: Error response describing why the operation failed. schema: $ref: ./apimanagement.json#/definitions/ErrorResponse x-ms-pageable: nextLinkName: nextLink x-ms-odata: ./definitions.json#/definitions/ProductGroupLinkContract summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Products Productid Grouplinks ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/products/{productId}/groupLinks/{groupLinkId} : get: tags: - ProductGroupLink operationId: microsoftAzureWorkspaceproductgrouplinkGet description: Gets the group link for the product. x-ms-examples: ApiManagementGetWorkspaceProductGroupLink: $ref: ./examples/ApiManagementGetWorkspaceProductGroupLink.json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: ./apimanagement.json#/parameters/ServiceNameParameter - $ref: ./apimanagement.json#/parameters/WorkspaceIdParameter - $ref: ./apimanagement.json#/parameters/ProductIdParameter - $ref: ./apimanagement.json#/parameters/ProductGroupLinkIdParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter responses: '200': description: The response body contains the specified group link entity. schema: $ref: ./definitions.json#/definitions/ProductGroupLinkContract headers: ETag: description: Current entity state version. Should be treated as opaque and used to make conditional HTTP requests. type: string default: description: Error response describing why the operation failed. schema: $ref: ./apimanagement.json#/definitions/ErrorResponse summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Products Productid Grouplinks Grouplinkid put: tags: - ProductGroupLink operationId: microsoftAzureWorkspaceproductgrouplinkCreateorupdate description: Adds a group to the specified product via link. x-ms-examples: ApiManagementCreateWorkspaceProductGroupLink: $ref: ./examples/ApiManagementCreateWorkspaceProductGroupLink.json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: ./apimanagement.json#/parameters/ServiceNameParameter - $ref: ./apimanagement.json#/parameters/WorkspaceIdParameter - $ref: ./apimanagement.json#/parameters/ProductIdParameter - $ref: ./apimanagement.json#/parameters/ProductGroupLinkIdParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter - name: parameters in: body required: true schema: $ref: ./definitions.json#/definitions/ProductGroupLinkContract description: Create or update parameters. responses: '200': description: The specified group is already added to the product. schema: $ref: ./definitions.json#/definitions/ProductGroupLinkContract '201': description: The group was successfully added to the product. schema: $ref: ./definitions.json#/definitions/ProductGroupLinkContract default: description: Error response describing why the operation failed. schema: $ref: ./apimanagement.json#/definitions/ErrorResponse summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Products Productid Grouplinks Grouplinkid delete: tags: - ProductGroupLink operationId: microsoftAzureWorkspaceproductgrouplinkDelete description: Deletes the specified group from the specified product. x-ms-examples: ApiManagementDeleteWorkspaceProductGroupLink: $ref: ./examples/ApiManagementDeleteWorkspaceProductGroupLink.json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: ./apimanagement.json#/parameters/ServiceNameParameter - $ref: ./apimanagement.json#/parameters/WorkspaceIdParameter - $ref: ./apimanagement.json#/parameters/ProductIdParameter - $ref: ./apimanagement.json#/parameters/ProductGroupLinkIdParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter responses: '200': description: Group was successfully removed from product '204': description: Group successfully removed by previous request or does not exist in product default: description: Error response describing why the operation failed. schema: $ref: ./apimanagement.json#/definitions/ErrorResponse summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Products Productid Grouplinks Grouplinkid x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'