swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector GuestConfigurationConnectedVMwarevSphereAssignmentsReports API schemes: - https tags: - name: GuestConfigurationConnectedVMwarevSphereAssignmentsReports paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualmachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}/reports : get: tags: - GuestConfigurationConnectedVMwarevSphereAssignmentsReports operationId: microsoftAzureGuestconfigurationconnectedvmwarevsphereassignmentsreportsList description: List all reports for the guest configuration assignment, latest report first. x-ms-examples: List all guest configuration assignments for a virtual machine: $ref: ./examples/listAllGuestConfigurationConnectedVMwarevSphereAssignmentsReports.json parameters: - $ref: ../../common/v1/definitions.json#/parameters/SubscriptionIdParameter - $ref: ../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter - $ref: ../../common/v1/definitions.json#/parameters/VmNameParameter - name: guestConfigurationAssignmentName in: path required: true type: string pattern: ^[^<>%&:\\?/#]*$ description: The guest configuration assignment name. - $ref: ../../common/v1/definitions.json#/parameters/ApiVersionParameter responses: '200': description: 'OK. This response is due one of these two reasons: 1. Reports were returned successfully 2. Guest configuration assignment was found, but machine is not registered yet, hence no reports returned.' schema: $ref: '#/definitions/GuestConfigurationAssignmentReportList' default: description: Error response describing why the operation failed. schema: $ref: ../../common/v1/definitions.json#/definitions/ErrorResponse produces: - application/json consumes: - application/json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Connectedvmwarevsphere Virtualmachines Vmname Providers Microsoft Guestconfiguration Guestconfigurationassignments Guestconfigurationassignmentname Reports ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualmachines/{vmName}/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/{guestConfigurationAssignmentName}/reports/{reportId} : get: tags: - GuestConfigurationConnectedVMwarevSphereAssignmentsReports operationId: microsoftAzureGuestconfigurationconnectedvmwarevsphereassignmentsreportsGet description: Get a report for the guest configuration assignment, by reportId. x-ms-examples: Get a guest configuration assignment report by Id for a virtual machine: $ref: ./examples/getGuestConfigurationConnectedVMwarevSphereAssignmentReportById.json parameters: - $ref: ../../common/v1/definitions.json#/parameters/SubscriptionIdParameter - $ref: ../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter - $ref: ../../common/v1/definitions.json#/parameters/VmNameParameter - name: guestConfigurationAssignmentName in: path required: true type: string pattern: ^[^<>%&:\\?/#]*$ description: The guest configuration assignment name. - name: reportId in: path required: true type: string description: The GUID for the guest configuration assignment report. - $ref: ../../common/v1/definitions.json#/parameters/ApiVersionParameter responses: '200': description: 'OK. This response is due one of these two reasons: 1. Report was returned successfully 2. Guest configuration assignment was found, but machine is not registered yet, hence no report was returned.' schema: $ref: '#/definitions/GuestConfigurationAssignmentReport' default: description: Error response describing why the operation failed. schema: $ref: ../../common/v1/definitions.json#/definitions/ErrorResponse produces: - application/json consumes: - application/json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Connectedvmwarevsphere Virtualmachines Vmname Providers Microsoft Guestconfiguration Guestconfigurationassignments Guestconfigurationassignmentname Reports Reportid definitions: VMInfo: properties: id: type: string readOnly: true description: Azure resource Id of the VM. uuid: type: string readOnly: true description: UUID(Universally Unique Identifier) of the VM. description: Information about the VM. GuestConfigurationAssignmentReportList: properties: value: type: array items: $ref: '#/definitions/GuestConfigurationAssignmentReport' description: List of reports for the guest configuration. Report contains information such as compliance status, reason and more. description: List of guest configuration assignment reports. AssignmentReportDetails: properties: complianceStatus: type: string readOnly: true description: A value indicating compliance status of the machine for the assigned guest configuration. x-ms-enum: name: complianceStatus modelAsString: true enum: - Compliant - NonCompliant - Pending startTime: type: string format: date-time readOnly: true description: Start date and time of the guest configuration assignment compliance status check. endTime: type: string format: date-time readOnly: true description: End date and time of the guest configuration assignment compliance status check. jobId: type: string readOnly: true description: GUID of the report. operationType: type: string readOnly: true description: Type of report, Consistency or Initial x-ms-enum: name: type modelAsString: true enum: - Consistency - Initial resources: type: array items: $ref: '#/definitions/AssignmentReportResource' x-ms-identifiers: [] description: The list of resources for which guest configuration assignment compliance is checked. description: Details of the guest configuration assignment report. AssignmentReportResourceComplianceReason: properties: phrase: type: string readOnly: true description: Reason for the compliance of the guest configuration assignment resource. code: type: string readOnly: true description: Code for the compliance of the guest configuration assignment resource. description: Reason and code for the compliance of the guest configuration assignment resource. ConfigurationInfo: properties: name: type: string readOnly: true description: Name of the configuration. version: type: string readOnly: true description: Version of the configuration. description: Information about the configuration. AssignmentReportResource: properties: complianceStatus: type: string readOnly: true description: A value indicating compliance status of the machine for the assigned guest configuration. x-ms-enum: name: complianceStatus modelAsString: true enum: - Compliant - NonCompliant - Pending resourceId: type: string readOnly: true description: Name of the guest configuration assignment resource setting. reasons: type: array items: $ref: '#/definitions/AssignmentReportResourceComplianceReason' x-ms-identifiers: - phrase - code description: Compliance reason and reason code for a resource. properties: type: object readOnly: true description: Properties of a guest configuration assignment resource. description: The guest configuration assignment resource. AssignmentInfo: properties: name: type: string readOnly: true description: Name of the guest configuration assignment. configuration: $ref: '#/definitions/ConfigurationInfo' description: Information about the configuration. description: Information about the guest configuration assignment. GuestConfigurationAssignmentReport: properties: id: type: string readOnly: true description: ARM resource id of the report for the guest configuration assignment. name: type: string readOnly: true description: GUID that identifies the guest configuration assignment report under a subscription, resource group. properties: $ref: '#/definitions/GuestConfigurationAssignmentReportProperties' description: Properties of the guest configuration report. description: Report for the guest configuration assignment. Report contains information such as compliance status, reason, and more. GuestConfigurationAssignmentReportProperties: properties: complianceStatus: type: string readOnly: true description: A value indicating compliance status of the machine for the assigned guest configuration. x-ms-enum: name: complianceStatus modelAsString: true enum: - Compliant - NonCompliant - Pending reportId: type: string readOnly: true description: GUID that identifies the guest configuration assignment report under a subscription, resource group. assignment: $ref: '#/definitions/AssignmentInfo' description: Configuration details of the guest configuration assignment. vm: $ref: '#/definitions/VMInfo' description: Information about the VM. startTime: type: string format: date-time readOnly: true description: Start date and time of the guest configuration assignment compliance status check. endTime: type: string format: date-time readOnly: true description: End date and time of the guest configuration assignment compliance status check. details: $ref: '#/definitions/AssignmentReportDetails' description: Details of the assignment report. x-nullable: true vmssResourceId: type: string readOnly: true description: Azure resource Id of the VMSS. description: Report for the guest configuration assignment. Report contains information such as compliance status, reason, and more. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'