swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector WebAppCollectorOperations API schemes: - https tags: - name: WebAppCollectorOperations paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/webAppCollectors : get: operationId: microsoftAzureWebappcollectoroperationsListbyassessmentproject tags: - WebAppCollectorOperations description: List WebAppCollector resources by AssessmentProject parameters: - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - name: projectName in: path description: Assessment Project Name required: true type: string pattern: ^[^<>&:\?/#]{1,260}$ responses: '200': description: ARM operation completed successfully. schema: $ref: '#/definitions/WebAppCollectorListResult' default: description: An unexpected error response. schema: $ref: ../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse x-ms-pageable: nextLinkName: nextLink x-ms-examples: WebAppCollectorOperations_ListByAssessmentProject_MaximumSet_Gen: $ref: ./examples/WebAppCollectorOperations_ListByAssessmentProject_MaximumSet_Gen.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Assessmentprojects Projectname Webappcollectors ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/webAppCollectors/{collectorName} : get: operationId: microsoftAzureWebappcollectoroperationsGet tags: - WebAppCollectorOperations description: Get a WebAppCollector parameters: - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - name: projectName in: path description: Assessment Project Name required: true type: string pattern: ^[^<>&:\?/#]{1,260}$ - name: collectorName in: path description: Web app collector ARM name. required: true type: string pattern: ^[^<>&:\?/#]{1,260}$ responses: '200': description: ARM operation completed successfully. schema: $ref: '#/definitions/WebAppCollector' default: description: An unexpected error response. schema: $ref: ../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse x-ms-examples: WebAppCollectorOperations_Get_MaximumSet_Gen: $ref: ./examples/WebAppCollectorOperations_Get_MaximumSet_Gen.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Assessmentprojects Projectname Webappcollectors Collectorname put: operationId: microsoftAzureWebappcollectoroperationsCreate tags: - WebAppCollectorOperations description: Create a WebAppCollector parameters: - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - name: projectName in: path description: Assessment Project Name required: true type: string pattern: ^[^<>&:\?/#]{1,260}$ - name: collectorName in: path description: Web app collector ARM name. required: true type: string pattern: ^[^<>&:\?/#]{1,260}$ - name: resource in: body description: Resource create parameters. required: true schema: $ref: '#/definitions/WebAppCollector' responses: '200': description: Resource 'WebAppCollector' update operation succeeded schema: $ref: '#/definitions/WebAppCollector' '201': description: Resource 'WebAppCollector' create operation succeeded schema: $ref: '#/definitions/WebAppCollector' 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/v5/types.json#/definitions/ErrorResponse x-ms-long-running-operation-options: final-state-via: azure-async-operation x-ms-long-running-operation: true x-ms-examples: WebAppCollectorOperations_Create_MaximumSet_Gen: $ref: ./examples/WebAppCollectorOperations_Create_MaximumSet_Gen.json summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Assessmentprojects Projectname Webappcollectors Collectorname delete: operationId: microsoftAzureWebappcollectoroperationsDelete tags: - WebAppCollectorOperations description: Delete a WebAppCollector parameters: - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - name: projectName in: path description: Assessment Project Name required: true type: string pattern: ^[^<>&:\?/#]{1,260}$ - name: collectorName in: path description: Web app collector ARM name. required: true type: string pattern: ^[^<>&:\?/#]{1,260}$ responses: '200': description: Resource deleted successfully. '204': description: Resource deleted successfully. default: description: An unexpected error response. schema: $ref: ../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse x-ms-examples: WebAppCollectorOperations_Delete_MaximumSet_Gen: $ref: ./examples/WebAppCollectorOperations_Delete_MaximumSet_Gen.json summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Assessmentprojects Projectname Webappcollectors Collectorname definitions: AzureResourceProperties2: type: object description: Common properties for all azure tracked and proxy resources. properties: provisioningState: $ref: '#/definitions/ProvisioningState2' description: The status of the last operation. readOnly: true WebAppCollectorPropertiesBaseWithAgent: type: object description: Collector properties class. properties: agentProperties: $ref: '#/definitions/CollectorAgentPropertiesBase' description: Gets or sets the collector agent properties. discoverySiteId: type: string description: Gets the discovery site id. createdTimestamp: type: string format: date-time description: Gets the Timestamp when collector was created. readOnly: true updatedTimestamp: type: string format: date-time description: Timestamp when collector was last updated. readOnly: true allOf: - $ref: '#/definitions/AzureResourceProperties2' CollectorAgentPropertiesBase: type: object description: Collector agent property class. properties: id: type: string description: Gets the collector agent id. version: type: string description: Gets the collector agent version. lastHeartbeatUtc: type: string format: date-time description: Gets the collector last heartbeat time. spnDetails: $ref: '#/definitions/CollectorAgentSpnPropertiesBase' description: Gets or sets the SPN details. WebAppCollectorListResult: type: object description: The response of a WebAppCollector list operation. properties: value: type: array description: The WebAppCollector items on this page items: $ref: '#/definitions/WebAppCollector' nextLink: type: string format: uri description: The link to the next page of items required: - value WebAppCollector: type: object description: The web app collector REST object. properties: properties: $ref: '#/definitions/WebAppCollectorPropertiesBaseWithAgent' description: The resource-specific properties for this resource. x-ms-client-flatten: true x-ms-mutability: - read - create allOf: - $ref: ../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource ProvisioningState2: type: string description: The status of the current operation. enum: - Succeeded - Failed - Canceled - Provisioning - Updating - Deleting - Accepted x-ms-enum: name: ProvisioningState2 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 description: Resource is being Provisioned. - name: Updating value: Updating description: Resource is being Updated. - name: Deleting value: Deleting description: Resource is being Deleted. - name: Accepted value: Accepted description: Resource is being Accepted. readOnly: true CollectorAgentSpnPropertiesBase: type: object description: Collector agent SPN details class. properties: authority: type: string description: Gets the AAD authority endpoint. applicationId: type: string description: Gets the AAD application id. audience: type: string description: Gets the AAD audience url. objectId: type: string description: Gets the object id of the AAD application. tenantId: type: string description: Gets the tenant id of the AAD application. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'