",
+ "type": "string"
+ },
+ "percentComplete": {
+ "description": "Percent of the operation that is complete.",
+ "type": "number",
+ "minimum": 0,
+ "maximum": 100
+ },
+ "startTime": {
+ "description": "The start time of the operation.",
+ "type": "string",
+ "format": "date-time"
+ },
+ "endTime": {
+ "description": "The end time of the operation.",
+ "type": "string",
+ "format": "date-time"
+ },
+ "operations": {
+ "description": "The operations list.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SessionHostConfigurationOperationStatus"
+ }
+ },
+ "error": {
+ "description": "If present, details of the operation error.",
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail"
+ }
+ }
+ },
+ "SessionHostConfigurationOperationStatusList": {
+ "type": "object",
+ "title": "OperationStatusList",
+ "description": "List of OperationStatus definitions.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of OperationStatus definitions.",
+ "items": {
+ "$ref": "#/definitions/SessionHostConfigurationOperationStatus"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next page of results."
+ }
+ }
+ },
+ "ActiveSessionHostConfigurationList": {
+ "type": "object",
+ "title": "ActiveSessionHostConfigurationList",
+ "description": "List of ActiveSessionHostConfiguration definitions.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of ActiveSessionHostConfiguration definitions.",
+ "items": {
+ "$ref": "#/definitions/ActiveSessionHostConfiguration"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next page of results."
+ }
+ }
+ },
+ "ActiveSessionHostConfiguration": {
+ "type": "object",
+ "description": "Represents a ActiveSessionHostConfiguration definition. This has all of the sessionHostConfiguration properties except provisioningState",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "description": "Metadata pertaining to creation and last modification of the resource."
+ },
+ "properties": {
+ "description": "Detailed properties for SessionHostConfiguration",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ActiveSessionHostConfigurationProperties"
+ }
+ }
+ },
+ "ActiveSessionHostConfigurationProperties": {
+ "description": "Session host configurations of HostPool.",
+ "type": "object",
+ "required": [
+ "vmNamePrefix",
+ "networkInfo",
+ "vmSizeId",
+ "diskInfo",
+ "imageInfo",
+ "domainInfo",
+ "vmAdminCredentials"
+ ],
+ "properties": {
+ "version": {
+ "format": "date-time",
+ "type": "string",
+ "description": "The timestamp of the last update.",
+ "readOnly": true
+ },
+ "friendlyName": {
+ "type": "string",
+ "description": "Friendly name to describe this version of the SessionHostConfiguration.",
+ "maxLength": 260
+ },
+ "vmTags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Hashtable that lists key/value pair tags to apply to the VMs"
+ },
+ "vmLocation": {
+ "type": "string",
+ "description": "The Location for the session host to be created in. It will default to the location of the hostpool if not provided."
+ },
+ "vmResourceGroup": {
+ "type": "string",
+ "description": "The ResourceGroup for the session hosts to be created in. It will default to the ResourceGroup of the hostpool if not provided."
+ },
+ "vmNamePrefix": {
+ "type": "string",
+ "description": "The prefix that should be associated with session host names",
+ "maxLength": 11
+ },
+ "availabilityZones": {
+ "type": "array",
+ "items": {
+ "type": "integer",
+ "format": "int32"
+ },
+ "description": "Value for availability zones to be used by the session host. Should be from [1,2,3]."
+ },
+ "networkInfo": {
+ "$ref": "#/definitions/NetworkInfoProperties",
+ "description": "Network information."
+ },
+ "vmSizeId": {
+ "type": "string",
+ "description": "The id of the size of a virtual machine connected to a hostpool."
+ },
+ "diskInfo": {
+ "$ref": "#/definitions/DiskInfoProperties",
+ "description": "Disk information."
+ },
+ "customConfigurationScriptUrl": {
+ "type": "string",
+ "description": "The uri to the storage blob containing the arm template to be run on the virtual machine after provisioning."
+ },
+ "imageInfo": {
+ "$ref": "#/definitions/ImageInfoProperties",
+ "description": "Image configurations of HostPool."
+ },
+ "domainInfo": {
+ "$ref": "#/definitions/DomainInfoProperties",
+ "description": "Domain configurations of session hosts."
+ },
+ "securityInfo": {
+ "$ref": "#/definitions/SecurityInfoProperties",
+ "description": "Security information."
+ },
+ "vmAdminCredentials": {
+ "$ref": "#/definitions/KeyVaultCredentialsProperties",
+ "description": "Local Admin credentials for session hosts."
+ },
+ "bootDiagnosticsInfo": {
+ "$ref": "#/definitions/BootDiagnosticsInfoProperties",
+ "description": "Boot Diagnostics information."
+ }
+ }
+ },
+ "SessionHostConfigurationList": {
+ "type": "object",
+ "title": "SessionHostConfigurationList",
+ "description": "List of SessionHostConfiguration definitions.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of SessionHostConfiguration definitions.",
+ "items": {
+ "$ref": "#/definitions/SessionHostConfiguration"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next page of results."
+ }
+ }
+ },
+ "SessionHostConfiguration": {
+ "type": "object",
+ "description": "Represents a SessionHostConfiguration definition.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "description": "Metadata pertaining to creation and last modification of the resource."
+ },
+ "properties": {
+ "description": "Detailed properties for SessionHostConfiguration",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SessionHostConfigurationProperties"
+ }
+ }
+ },
+ "SessionHostConfigurationProperties": {
+ "description": "Session host configurations of HostPool.",
+ "type": "object",
+ "required": [
+ "vmNamePrefix",
+ "networkInfo",
+ "vmSizeId",
+ "diskInfo",
+ "imageInfo",
+ "domainInfo",
+ "vmAdminCredentials"
+ ],
+ "properties": {
+ "version": {
+ "format": "date-time",
+ "type": "string",
+ "description": "The timestamp of the last update.",
+ "readOnly": true
+ },
+ "friendlyName": {
+ "type": "string",
+ "description": "Friendly name to describe this version of the SessionHostConfiguration.",
+ "maxLength": 260
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the Session Host Configuration.",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Provisioning"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "ProvisioningStateSHC",
+ "modelAsString": true
+ }
+ },
+ "vmTags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Hashtable that lists key/value pair tags to apply to the VMs"
+ },
+ "vmLocation": {
+ "type": "string",
+ "description": "The Location for the session host to be created in. It will default to the location of the hostpool if not provided."
+ },
+ "vmResourceGroup": {
+ "type": "string",
+ "description": "The ResourceGroup for the session hosts to be created in. It will default to the ResourceGroup of the hostpool if not provided."
+ },
+ "vmNamePrefix": {
+ "type": "string",
+ "description": "The prefix that should be associated with session host names",
+ "maxLength": 11
+ },
+ "availabilityZones": {
+ "type": "array",
+ "items": {
+ "type": "integer",
+ "format": "int32"
+ },
+ "description": "Value for availability zones to be used by the session host. Should be from [1,2,3]."
+ },
+ "networkInfo": {
+ "$ref": "#/definitions/NetworkInfoProperties",
+ "description": "Network information."
+ },
+ "vmSizeId": {
+ "type": "string",
+ "description": "The id of the size of a virtual machine connected to a hostpool."
+ },
+ "diskInfo": {
+ "$ref": "#/definitions/DiskInfoProperties",
+ "description": "Disk information."
+ },
+ "customConfigurationScriptUrl": {
+ "type": "string",
+ "description": "The uri to the storage blob containing the arm template to be run on the virtual machine after provisioning."
+ },
+ "imageInfo": {
+ "$ref": "#/definitions/ImageInfoProperties",
+ "description": "Image configurations of HostPool."
+ },
+ "domainInfo": {
+ "$ref": "#/definitions/DomainInfoProperties",
+ "description": "Domain configurations of session hosts."
+ },
+ "securityInfo": {
+ "$ref": "#/definitions/SecurityInfoProperties",
+ "description": "Security information."
+ },
+ "vmAdminCredentials": {
+ "$ref": "#/definitions/KeyVaultCredentialsProperties",
+ "description": "Local Admin credentials for session hosts."
+ },
+ "bootDiagnosticsInfo": {
+ "$ref": "#/definitions/BootDiagnosticsInfoProperties",
+ "description": "Boot Diagnostics information."
+ }
+ }
+ },
+ "SessionHostConfigurationPatch": {
+ "type": "object",
+ "description": "Represents a SessionHostConfigurationPatch definition.",
+ "properties": {
+ "properties": {
+ "description": "Detailed properties for SessionHostConfigurationPatch",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SessionHostConfigurationPatchProperties"
+ }
+ }
+ },
+ "SessionHostConfigurationPatchProperties": {
+ "description": "Session host configurations of HostPool.",
+ "type": "object",
+ "properties": {
+ "friendlyName": {
+ "type": "string",
+ "description": "Friendly name to describe this version of the SessionHostConfiguration.",
+ "maxLength": 260
+ },
+ "vmTags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Hashtable that lists key/value pair tags to apply to the VMs"
+ },
+ "vmLocation": {
+ "type": "string",
+ "description": "The Location for the session host to be created in"
+ },
+ "vmResourceGroup": {
+ "type": "string",
+ "description": "The ResourceGroup for the session hosts to be created in. It will default to the ResourceGroup of the hostpool if not provided."
+ },
+ "vmNamePrefix": {
+ "type": "string",
+ "description": "The prefix that should be associated with session host names",
+ "maxLength": 11
+ },
+ "availabilityZones": {
+ "type": "array",
+ "items": {
+ "type": "integer",
+ "format": "int32"
+ },
+ "description": "Value for availability zones to be used by the session host. Should be from [1,2,3]."
+ },
+ "networkInfo": {
+ "$ref": "#/definitions/NetworkInfoProperties",
+ "description": "Network information."
+ },
+ "vmSizeId": {
+ "type": "string",
+ "description": "The id of the size of a virtual machine connected to a hostpool."
+ },
+ "diskInfo": {
+ "$ref": "#/definitions/DiskInfoPatchProperties",
+ "description": "Disk information."
+ },
+ "customConfigurationScriptUrl": {
+ "type": "string",
+ "description": "The uri to the storage blob containing the arm template to be run on the virtual machine after provisioning.",
+ "maxLength": 260
+ },
+ "imageInfo": {
+ "$ref": "#/definitions/ImageInfoPatchProperties",
+ "description": "Image configurations of HostPool."
+ },
+ "domainInfo": {
+ "$ref": "#/definitions/DomainInfoPatchProperties",
+ "description": "Domain configurations of session hosts."
+ },
+ "securityInfo": {
+ "$ref": "#/definitions/SecurityInfoPatchProperties",
+ "description": "Security information."
+ },
+ "vmAdminCredentials": {
+ "$ref": "#/definitions/KeyVaultCredentialsPatchProperties",
+ "description": "Local Admin credentials for session hosts."
+ },
+ "bootDiagnosticsInfo": {
+ "$ref": "#/definitions/BootDiagnosticsInfoPatchProperties",
+ "description": "Boot Diagnostics information."
+ }
+ }
+ },
+ "DiskInfoProperties": {
+ "description": "Disk information.",
+ "type": "object",
+ "required": [
+ "type"
+ ],
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": [
+ "Standard_LRS",
+ "Premium_LRS",
+ "StandardSSD_LRS"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualMachineDiskType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard_LRS",
+ "description": "Standard HDD locally redundant storage. Best for backup, non-critical, and infrequent access."
+ },
+ {
+ "value": "Premium_LRS",
+ "description": "Premium SSD locally redundant storage. Best for production and performance sensitive workloads."
+ },
+ {
+ "value": "StandardSSD_LRS",
+ "description": "Standard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev/test."
+ }
+ ]
+ },
+ "description": "The disk type used by virtual machine in hostpool session host."
+ }
+ }
+ },
+ "DiskInfoPatchProperties": {
+ "description": "Disk information.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": [
+ "Standard_LRS",
+ "Premium_LRS",
+ "StandardSSD_LRS"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualMachineDiskType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard_LRS",
+ "description": "Standard HDD locally redundant storage. Best for backup, non-critical, and infrequent access."
+ },
+ {
+ "value": "Premium_LRS",
+ "description": "Premium SSD locally redundant storage. Best for production and performance sensitive workloads."
+ },
+ {
+ "value": "StandardSSD_LRS",
+ "description": "Standard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev/test."
+ }
+ ]
+ },
+ "description": "The disk type used by virtual machine in hostpool session host."
+ }
+ }
+ },
+ "ImageInfoProperties": {
+ "description": "Image configurations of session host in a HostPool.",
+ "type": "object",
+ "required": [
+ "type"
+ ],
+ "properties": {
+ "type": {
+ "enum": [
+ "Marketplace",
+ "Custom"
+ ],
+ "x-ms-enum": {
+ "name": "type",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Marketplace",
+ "description": "Using default marketplace images offered by Azure Marketplace."
+ },
+ {
+ "value": "Custom",
+ "description": "Using a custom image."
+ }
+ ]
+ },
+ "type": "string",
+ "description": "The type of image session hosts use in the hostpool.",
+ "x-nullable": false
+ },
+ "marketplaceInfo": {
+ "$ref": "#/definitions/MarketplaceInfoProperties",
+ "description": "The values to uniquely identify a marketplace image. Only one should be populated based on the image type."
+ },
+ "customInfo": {
+ "$ref": "#/definitions/CustomInfoProperties",
+ "description": "The values to uniquely identify a custom image. Only one should be populated based on the image type."
+ }
+ }
+ },
+ "ImageInfoPatchProperties": {
+ "description": "Image configurations of session host in a HostPool.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ "Marketplace",
+ "Custom"
+ ],
+ "x-ms-enum": {
+ "name": "type",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Marketplace",
+ "description": "Using default marketplace images offered by Azure Marketplace."
+ },
+ {
+ "value": "Custom",
+ "description": "Using a custom image."
+ }
+ ]
+ },
+ "type": "string",
+ "description": "The type of image session hosts use in the hostpool.",
+ "x-nullable": false
+ },
+ "marketplaceInfo": {
+ "$ref": "#/definitions/MarketplaceInfoPatchProperties",
+ "description": "The values to uniquely identify a marketplace image. Only one should be populated based on the image type."
+ },
+ "customInfo": {
+ "$ref": "#/definitions/CustomInfoPatchProperties",
+ "description": "The values to uniquely identify a custom image. Only one should be populated based on the image type."
+ }
+ }
+ },
+ "MarketplaceInfoProperties": {
+ "description": "Marketplace image information.",
+ "type": "object",
+ "required": [
+ "offer",
+ "publisher",
+ "sku",
+ "exactVersion"
+ ],
+ "properties": {
+ "offer": {
+ "type": "string",
+ "description": "The offer of the image."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The publisher of the image."
+ },
+ "sku": {
+ "type": "string",
+ "description": "The sku of the image."
+ },
+ "exactVersion": {
+ "type": "string",
+ "description": "The exact version of the image."
+ }
+ }
+ },
+ "MarketplaceInfoPatchProperties": {
+ "description": "Marketplace image information.",
+ "type": "object",
+ "properties": {
+ "offer": {
+ "type": "string",
+ "description": "The offer of the image."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The publisher of the image."
+ },
+ "sku": {
+ "type": "string",
+ "description": "The sku of the image."
+ },
+ "exactVersion": {
+ "type": "string",
+ "description": "The exact version of the image."
+ }
+ }
+ },
+ "CustomInfoProperties": {
+ "description": "Custom image information.",
+ "type": "object",
+ "required": [
+ "resourceId"
+ ],
+ "properties": {
+ "resourceId": {
+ "type": "string",
+ "format": "arm-id",
+ "description": "The resource id of the custom image."
+ }
+ }
+ },
+ "CustomInfoPatchProperties": {
+ "description": "Custom image information.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "type": "string",
+ "format": "arm-id",
+ "description": "The resource id of the custom image."
+ }
+ }
+ },
+ "DomainInfoProperties": {
+ "description": "Domain configurations of session hosts.",
+ "type": "object",
+ "required": [
+ "joinType"
+ ],
+ "properties": {
+ "joinType": {
+ "enum": [
+ "ActiveDirectory",
+ "AzureActiveDirectory"
+ ],
+ "x-ms-enum": {
+ "name": "DomainJoinType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "ActiveDirectory",
+ "description": "Using microsoft active directory."
+ },
+ {
+ "value": "AzureActiveDirectory",
+ "description": "Using microsoft azure active directory."
+ }
+ ]
+ },
+ "type": "string",
+ "description": "The type of domain join done by the virtual machine.",
+ "x-nullable": false
+ },
+ "activeDirectoryInfo": {
+ "$ref": "#/definitions/ActiveDirectoryInfoProperties",
+ "description": "Active directory info. Only one should be populated based on the join type."
+ },
+ "azureActiveDirectoryInfo": {
+ "$ref": "#/definitions/AzureActiveDirectoryInfoProperties",
+ "description": "Azure active directory info. Only one should be populated based on the join type."
+ }
+ }
+ },
+ "DomainInfoPatchProperties": {
+ "description": "Domain configurations of session hosts.",
+ "type": "object",
+ "properties": {
+ "activeDirectoryInfo": {
+ "$ref": "#/definitions/ActiveDirectoryInfoPatchProperties",
+ "description": "Active directory info. Only one should be populated based on the join type."
+ }
+ }
+ },
+ "ActiveDirectoryInfoProperties": {
+ "description": "Active directory info. Only one should be populated based on the join type.",
+ "type": "object",
+ "required": [
+ "domainCredentials",
+ "ouPath"
+ ],
+ "properties": {
+ "domainCredentials": {
+ "$ref": "#/definitions/KeyVaultCredentialsProperties",
+ "description": "Credentials needed to create the virtual machine."
+ },
+ "ouPath": {
+ "type": "string",
+ "description": "The ou path."
+ },
+ "domainName": {
+ "type": "string",
+ "description": "The domain a virtual machine connected to a hostpool will join."
+ }
+ }
+ },
+ "ActiveDirectoryInfoPatchProperties": {
+ "description": "Active directory info. Only one should be populated based on the join type.",
+ "type": "object",
+ "properties": {
+ "domainCredentials": {
+ "$ref": "#/definitions/KeyVaultCredentialsPatchProperties",
+ "description": "Credentials needed to create the virtual machine."
+ }
+ }
+ },
+ "AzureActiveDirectoryInfoProperties": {
+ "description": "Azure Active directory info. Only one should be populated based on the join type.",
+ "type": "object",
+ "required": [
+ "mdmProviderGuid"
+ ],
+ "properties": {
+ "mdmProviderGuid": {
+ "type": "string",
+ "description": "The mdm guid."
+ }
+ }
+ },
+ "KeyVaultCredentialsProperties": {
+ "description": "Credentials kept in the keyvault.",
+ "type": "object",
+ "required": [
+ "usernameKeyVaultSecretUri",
+ "passwordKeyVaultSecretUri"
+ ],
+ "properties": {
+ "usernameKeyVaultSecretUri": {
+ "type": "string",
+ "description": "The uri to access the secret that the username is stored in."
+ },
+ "passwordKeyVaultSecretUri": {
+ "type": "string",
+ "description": "The uri to access the secret that the password is stored in."
+ }
+ }
+ },
+ "KeyVaultCredentialsPatchProperties": {
+ "description": "Credentials kept in the keyvault.",
+ "type": "object",
+ "properties": {
+ "usernameKeyVaultSecretUri": {
+ "type": "string",
+ "description": "The uri to access the secret that the username is stored in."
+ },
+ "passwordKeyVaultSecretUri": {
+ "type": "string",
+ "description": "The uri to access the secret that the password is stored in."
+ }
+ }
+ },
+ "NetworkInfoProperties": {
+ "description": "Network information.",
+ "type": "object",
+ "required": [
+ "subnetId"
+ ],
+ "properties": {
+ "subnetId": {
+ "type": "string",
+ "description": "The resource ID of the subnet."
+ },
+ "securityGroupId": {
+ "type": "string",
+ "description": "The resource ID of the security group. Any allowable/open ports should be specified in the NSG."
+ }
+ }
+ },
+ "NetworkInfoPatchProperties": {
+ "description": "Network information.",
+ "type": "object",
+ "properties": {
+ "subnetId": {
+ "type": "string",
+ "description": "The resource ID of the subnet."
+ },
+ "securityGroupId": {
+ "type": "string",
+ "description": "The resource ID of the security group. Any allowable/open ports should be specified in the NSG."
+ }
+ }
+ },
+ "SecurityInfoProperties": {
+ "description": "Security information.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": [
+ "Standard",
+ "TrustedLaunch",
+ "ConfidentialVM"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualMachineSecurityType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard",
+ "description": "Standard security protocol. No additional parameters"
+ },
+ {
+ "value": "TrustedLaunch",
+ "description": "TrustedLaunch allows for secure boot adn vTPM"
+ },
+ {
+ "value": "ConfidentialVM",
+ "description": "Confidential Virtual Machine security protocol"
+ }
+ ]
+ },
+ "default": "Standard",
+ "description": "The security type used by virtual machine in hostpool session host. Default is Standard."
+ },
+ "secureBootEnabled": {
+ "type": "boolean",
+ "description": "Whether to use secureBoot on the virtual machine."
+ },
+ "vTpmEnabled": {
+ "type": "boolean",
+ "description": "Whether to use vTPM on the virtual machine."
+ }
+ }
+ },
+ "SecurityInfoPatchProperties": {
+ "description": "Security information.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": [
+ "Standard",
+ "TrustedLaunch",
+ "ConfidentialVM"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualMachineSecurityType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard",
+ "description": "Standard security protocol. No additional parameters"
+ },
+ {
+ "value": "TrustedLaunch",
+ "description": "TrustedLaunch allows for secure boot adn vTPM"
+ },
+ {
+ "value": "ConfidentialVM",
+ "description": "Confidential Virtual Machine security protocol"
+ }
+ ]
+ },
+ "description": "The security type used by virtual machine in hostpool session host."
+ },
+ "secureBootEnabled": {
+ "type": "boolean",
+ "description": "Whether to use secureBoot on the virtual machine."
+ },
+ "vTpmEnabled": {
+ "type": "boolean",
+ "description": "Whether to use vTPM on the virtual machine."
+ }
+ }
+ },
+ "BootDiagnosticsInfoProperties": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Whether boot diagnostics should be enabled on the Virtual Machine."
+ },
+ "storageUri": {
+ "type": "string",
+ "description": "Uri of the storage account to use for placing the console output and screenshot.
If storageUri is not specified while enabling boot diagnostics, managed storage will be used."
+ }
+ },
+ "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor."
+ },
+ "BootDiagnosticsInfoPatchProperties": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Whether boot diagnostics should be enabled on the Virtual Machine."
+ },
+ "storageUri": {
+ "type": "string",
+ "description": "Uri of the storage account to use for placing the console output and screenshot.
If storageUri is not specified while enabling boot diagnostics, managed storage will be used."
+ }
+ },
+ "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor."
+ },
+ "RegistrationInfo": {
+ "description": "Represents a RegistrationInfo definition.",
+ "type": "object",
+ "properties": {
+ "expirationTime": {
+ "format": "date-time",
+ "type": "string",
+ "description": "Expiration time of registration token."
+ },
+ "token": {
+ "type": "string",
+ "description": "The registration token base64 encoded string."
+ },
+ "registrationTokenOperation": {
+ "enum": [
+ "Delete",
+ "None",
+ "Update"
+ ],
+ "x-ms-enum": {
+ "name": "RegistrationTokenOperation",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "The type of resetting the token.",
+ "x-nullable": false
+ }
+ }
+ },
+ "RegistrationInfoPatch": {
+ "description": "Represents a RegistrationInfo definition.",
+ "type": "object",
+ "properties": {
+ "expirationTime": {
+ "format": "date-time",
+ "type": "string",
+ "description": "Expiration time of registration token."
+ },
+ "registrationTokenOperation": {
+ "enum": [
+ "Delete",
+ "None",
+ "Update"
+ ],
+ "x-ms-enum": {
+ "name": "RegistrationTokenOperation",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "The type of resetting the token."
+ }
+ }
+ },
+ "AgentUpdateProperties": {
+ "description": "The session host configuration for updating agent, monitoring agent, and stack component.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of maintenance for session host components.",
+ "enum": [
+ "Default",
+ "Scheduled"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHostComponentUpdateType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Default",
+ "description": "Agent and other agent side components are delivery schedule is controlled by WVD Infra."
+ },
+ {
+ "value": "Scheduled",
+ "description": "TenantAdmin have opted in for Scheduled Component Update feature."
+ }
+ ]
+ }
+ },
+ "useSessionHostLocalTime": {
+ "type": "boolean",
+ "description": "Whether to use localTime of the virtual machine."
+ },
+ "maintenanceWindowTimeZone": {
+ "type": "string",
+ "description": "Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true."
+ },
+ "maintenanceWindows": {
+ "type": "array",
+ "description": "List of maintenance windows. Maintenance windows are 2 hours long.",
+ "items": {
+ "$ref": "#/definitions/MaintenanceWindowProperties"
+ },
+ "x-ms-identifiers": []
+ }
+ }
+ },
+ "MaintenanceWindowProperties": {
+ "description": "Maintenance window starting hour and day of week.",
+ "type": "object",
+ "properties": {
+ "hour": {
+ "format": "int32",
+ "type": "integer",
+ "description": "The update start hour of the day. (0 - 23)"
+ },
+ "dayOfWeek": {
+ "type": "string",
+ "description": "Day of the week.",
+ "enum": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "x-ms-enum": {
+ "name": "DayOfWeek",
+ "modelAsString": false
+ }
+ }
+ }
+ },
+ "AgentUpdatePatchProperties": {
+ "description": "The session host configuration for updating agent, monitoring agent, and stack component.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The type of maintenance for session host components.",
+ "enum": [
+ "Default",
+ "Scheduled"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHostComponentUpdateType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Default",
+ "description": "Agent and other agent side components are delivery schedule is controlled by WVD Infra."
+ },
+ {
+ "value": "Scheduled",
+ "description": "TenantAdmin have opted in for Scheduled Component Update feature."
+ }
+ ]
+ }
+ },
+ "useSessionHostLocalTime": {
+ "type": "boolean",
+ "description": "Whether to use localTime of the virtual machine."
+ },
+ "maintenanceWindowTimeZone": {
+ "type": "string",
+ "description": "Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true."
+ },
+ "maintenanceWindows": {
+ "type": "array",
+ "description": "List of maintenance windows. Maintenance windows are 2 hours long.",
+ "items": {
+ "$ref": "#/definitions/MaintenanceWindowPatchProperties"
+ },
+ "x-ms-identifiers": []
+ }
+ }
+ },
+ "MaintenanceWindowPatchProperties": {
+ "description": "Maintenance window starting hour and day of week.",
+ "type": "object",
+ "properties": {
+ "hour": {
+ "format": "int32",
+ "type": "integer",
+ "description": "The update start hour of the day. (0 - 23)"
+ },
+ "dayOfWeek": {
+ "type": "string",
+ "description": "Day of the week.",
+ "enum": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "x-ms-enum": {
+ "name": "DayOfWeek",
+ "modelAsString": false
+ }
+ }
+ }
+ },
+ "SendMessage": {
+ "description": "Represents message sent to a UserSession.",
+ "type": "object",
+ "properties": {
+ "messageTitle": {
+ "type": "string",
+ "description": "Title of message."
+ },
+ "messageBody": {
+ "type": "string",
+ "description": "Body of message."
+ }
+ }
+ },
+ "HostPoolList": {
+ "type": "object",
+ "title": "HostPoolList",
+ "description": "List of HostPool definitions.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of HostPool definitions.",
+ "items": {
+ "$ref": "#/definitions/HostPool"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next page of results."
+ }
+ }
+ },
+ "MSIXPackage": {
+ "description": "Schema for MSIX Package properties.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "description": "Metadata pertaining to creation and last modification of the resource."
+ },
+ "properties": {
+ "description": "Detailed properties for MSIX Package",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MSIXPackageProperties",
+ "x-nullable": false
+ }
+ }
+ },
+ "MSIXPackageProperties": {
+ "description": "Schema for MSIX Package properties.",
+ "type": "object",
+ "properties": {
+ "imagePath": {
+ "type": "string",
+ "description": "VHD/CIM image path on Network Share.",
+ "x-nullable": false
+ },
+ "packageName": {
+ "type": "string",
+ "description": "Package Name from appxmanifest.xml. ",
+ "x-nullable": false
+ },
+ "packageFamilyName": {
+ "type": "string",
+ "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ",
+ "x-nullable": false
+ },
+ "displayName": {
+ "type": "string",
+ "description": "User friendly Name to be displayed in the portal. ",
+ "x-nullable": true
+ },
+ "packageRelativePath": {
+ "type": "string",
+ "description": "Relative Path to the package inside the image. ",
+ "x-nullable": false
+ },
+ "isRegularRegistration": {
+ "type": "boolean",
+ "description": "Specifies how to register Package in feed.",
+ "x-nullable": false
+ },
+ "isActive": {
+ "type": "boolean",
+ "description": "Make this version of the package the active one across the hostpool. ",
+ "x-nullable": false
+ },
+ "packageDependencies": {
+ "type": "array",
+ "description": "List of package dependencies. ",
+ "items": {
+ "$ref": "#/definitions/MsixPackageDependencies"
+ }
+ },
+ "version": {
+ "type": "string",
+ "description": "Package Version found in the appxmanifest.xml. ",
+ "x-nullable": false
+ },
+ "lastUpdated": {
+ "format": "date-time",
+ "type": "string",
+ "description": "Date Package was last updated, found in the appxmanifest.xml. ",
+ "x-nullable": false
+ },
+ "packageApplications": {
+ "type": "array",
+ "description": "List of package applications. ",
+ "items": {
+ "$ref": "#/definitions/MsixPackageApplications"
+ },
+ "x-nullable": false
+ }
+ }
+ },
+ "MSIXPackagePatch": {
+ "type": "object",
+ "description": "MSIX Package properties that can be patched.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "Detailed properties for MSIX Package",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MSIXPackagePatchProperties"
+ }
+ }
+ },
+ "MSIXPackagePatchProperties": {
+ "description": "MSIX Package properties that can be patched.",
+ "type": "object",
+ "properties": {
+ "isActive": {
+ "type": "boolean",
+ "description": "Set a version of the package to be active across hostpool. "
+ },
+ "isRegularRegistration": {
+ "type": "boolean",
+ "description": "Set Registration mode. Regular or Delayed."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Display name for MSIX Package."
+ }
+ }
+ },
+ "MsixPackageApplications": {
+ "description": "Schema for MSIX Package Application properties.",
+ "type": "object",
+ "properties": {
+ "appId": {
+ "type": "string",
+ "description": "Package Application Id, found in appxmanifest.xml.",
+ "x-nullable": false
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of Package Application.",
+ "x-nullable": false
+ },
+ "appUserModelID": {
+ "type": "string",
+ "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.",
+ "x-nullable": false
+ },
+ "friendlyName": {
+ "type": "string",
+ "description": "User friendly name.",
+ "x-nullable": false
+ },
+ "iconImageName": {
+ "type": "string",
+ "description": "User friendly name.",
+ "x-nullable": false
+ },
+ "rawIcon": {
+ "type": "string",
+ "format": "byte",
+ "description": "the icon a 64 bit string as a byte array."
+ },
+ "rawPng": {
+ "type": "string",
+ "format": "byte",
+ "description": "the icon a 64 bit string as a byte array."
+ }
+ }
+ },
+ "MsixPackageDependencies": {
+ "description": "Schema for MSIX Package Dependencies properties.",
+ "type": "object",
+ "properties": {
+ "dependencyName": {
+ "type": "string",
+ "description": "Name of package dependency.",
+ "x-nullable": false
+ },
+ "publisher": {
+ "type": "string",
+ "description": "Name of dependency publisher.",
+ "x-nullable": false
+ },
+ "minVersion": {
+ "type": "string",
+ "description": "Dependency version required.",
+ "x-nullable": false
+ }
+ }
+ },
+ "MSIXPackageList": {
+ "type": "object",
+ "title": "MsixPackageList",
+ "description": "List of MSIX Package definitions.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of MSIX Package definitions.",
+ "items": {
+ "$ref": "#/definitions/MSIXPackage"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next page of results."
+ }
+ }
+ },
+ "AppAttachPackage": {
+ "description": "Schema for App Attach Package properties.",
+ "type": "object",
+ "x-ms-client-flatten": false,
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "description": "Metadata pertaining to creation and last modification of the resource."
+ },
+ "properties": {
+ "description": "Detailed properties for App Attach Package",
+ "$ref": "#/definitions/AppAttachPackageProperties",
+ "x-nullable": false
+ }
+ }
+ },
+ "AppAttachPackagePatch": {
+ "description": "Schema for patchable App Attach Package properties.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "tags to be updated"
+ },
+ "properties": {
+ "description": "Detailed properties for App Attach Package",
+ "$ref": "#/definitions/AppAttachPackagePatchProperties",
+ "x-ms-client-flatten": false,
+ "x-nullable": false
+ }
+ }
+ },
+ "AppAttachPackageList": {
+ "type": "object",
+ "title": "AppAttachPackageList",
+ "description": "List of App Attach Package definitions.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of App Attach Package definitions.",
+ "items": {
+ "$ref": "#/definitions/AppAttachPackage"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next page of results."
+ }
+ }
+ },
+ "AppAttachPackageProperties": {
+ "description": "Schema for App Attach Package properties.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "#/definitions/ProvisioningState",
+ "description": "The provisioning state of the App Attach Package."
+ },
+ "image": {
+ "description": "Detailed properties for App Attach Package",
+ "$ref": "#/definitions/AppAttachPackageInfoProperties",
+ "x-nullable": false
+ },
+ "hostPoolReferences": {
+ "type": "array",
+ "description": "List of Hostpool resource Ids.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "keyVaultURL": {
+ "type": "string",
+ "description": "URL of keyvault location to store certificate"
+ },
+ "failHealthCheckOnStagingFailure": {
+ "$ref": "#/definitions/FailHealthCheckOnStagingFailureEnum",
+ "description": "Parameter indicating how the health check should behave if this package fails staging"
+ }
+ }
+ },
+ "AppAttachPackagePatchProperties": {
+ "description": "Schema for patchable fields on an App Attach Package.",
+ "type": "object",
+ "properties": {
+ "image": {
+ "description": "Detailed properties for App Attach Package",
+ "$ref": "#/definitions/AppAttachPackageInfoProperties"
+ },
+ "hostPoolReferences": {
+ "type": "array",
+ "description": "List of Hostpool resource Ids.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "keyVaultURL": {
+ "type": "string",
+ "description": "URL of keyvault location to store certificate"
+ },
+ "failHealthCheckOnStagingFailure": {
+ "$ref": "#/definitions/FailHealthCheckOnStagingFailureEnum",
+ "description": "Parameter indicating how the health check should behave if this package fails staging"
+ }
+ }
+ },
+ "AppAttachPackageInfoProperties": {
+ "description": "Schema for Import Package Information properties.",
+ "type": "object",
+ "properties": {
+ "packageAlias": {
+ "type": "string",
+ "description": "Alias of App Attach Package. Assigned at import time"
+ },
+ "imagePath": {
+ "type": "string",
+ "description": "VHD/CIM image path on Network Share.",
+ "x-nullable": false
+ },
+ "packageName": {
+ "type": "string",
+ "description": "Package Name from appxmanifest.xml. ",
+ "x-nullable": false
+ },
+ "packageFamilyName": {
+ "type": "string",
+ "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ",
+ "x-nullable": false
+ },
+ "packageFullName": {
+ "type": "string",
+ "description": "Package Full Name from appxmanifest.xml. ",
+ "x-nullable": false
+ },
+ "displayName": {
+ "type": "string",
+ "description": "User friendly Name to be displayed in the portal. ",
+ "x-nullable": true
+ },
+ "packageRelativePath": {
+ "type": "string",
+ "description": "Relative Path to the package inside the image. ",
+ "x-nullable": false
+ },
+ "isRegularRegistration": {
+ "type": "boolean",
+ "description": "Specifies how to register Package in feed.",
+ "x-nullable": false
+ },
+ "isActive": {
+ "type": "boolean",
+ "description": "Make this version of the package the active one across the hostpool. ",
+ "x-nullable": false
+ },
+ "packageDependencies": {
+ "type": "array",
+ "description": "List of package dependencies. ",
+ "items": {
+ "$ref": "#/definitions/MsixPackageDependencies"
+ },
+ "x-ms-identifiers": [],
+ "x-nullable": true
+ },
+ "version": {
+ "type": "string",
+ "description": "Package Version found in the appxmanifest.xml. ",
+ "x-nullable": false
+ },
+ "lastUpdated": {
+ "format": "date-time",
+ "type": "string",
+ "description": "Date Package was last updated, found in the appxmanifest.xml. ",
+ "x-nullable": false
+ },
+ "packageApplications": {
+ "type": "array",
+ "description": "List of package applications. ",
+ "items": {
+ "$ref": "#/definitions/MsixPackageApplications"
+ },
+ "x-ms-identifiers": [],
+ "x-nullable": false
+ },
+ "certificateName": {
+ "type": "string",
+ "description": "Certificate name found in the appxmanifest.xml. ",
+ "x-nullable": true
+ },
+ "certificateExpiry": {
+ "format": "date-time",
+ "type": "string",
+ "description": "Date certificate expires, found in the appxmanifest.xml. ",
+ "x-nullable": true
+ },
+ "isPackageTimestamped": {
+ "enum": [
+ "Timestamped",
+ "NotTimestamped"
+ ],
+ "x-ms-enum": {
+ "name": "packageTimestamped",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Is package timestamped so it can ignore the certificate expiry date",
+ "x-nullable": true
+ }
+ }
+ },
+ "ImportPackageInfoRequest": {
+ "description": "Information to import app attach package",
+ "type": "object",
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "URI to Image"
+ },
+ "packageArchitecture": {
+ "enum": [
+ "ARM",
+ "ARM64",
+ "x86",
+ "x64",
+ "Neutral",
+ "x86a64",
+ "ALL"
+ ],
+ "x-ms-enum": {
+ "name": "AppAttachPackageArchitectures",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Possible device architectures that an app attach package can be configured for",
+ "x-nullable": true
+ }
+ }
+ },
+ "FailHealthCheckOnStagingFailureEnum": {
+ "enum": [
+ "Unhealthy",
+ "NeedsAssistance",
+ "DoNotFail"
+ ],
+ "x-ms-enum": {
+ "name": "failHealthCheckOnStagingFailure",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Parameter indicating how the health check should behave if this package fails staging"
+ },
+ "ProvisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The current provisioning state.",
+ "enum": [
+ "Succeeded",
+ "Provisioning",
+ "Failed",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "Application": {
+ "description": "Schema for Application properties.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "description": "Metadata pertaining to creation and last modification of the resource."
+ },
+ "properties": {
+ "description": "Detailed properties for Application",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationProperties",
+ "x-nullable": false
+ }
+ }
+ },
+ "ApplicationProperties": {
+ "description": "Schema for Application properties.",
+ "type": "object",
+ "required": [
+ "commandLineSetting"
+ ],
+ "properties": {
+ "objectId": {
+ "type": "string",
+ "description": "ObjectId of Application. (internal use)",
+ "readOnly": true
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of Application."
+ },
+ "friendlyName": {
+ "type": "string",
+ "description": "Friendly name of Application."
+ },
+ "filePath": {
+ "type": "string",
+ "description": "Specifies a path for the executable file for the application."
+ },
+ "msixPackageFamilyName": {
+ "type": "string",
+ "description": "Specifies the package family name for MSIX applications",
+ "x-nullable": true,
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "msixPackageApplicationId": {
+ "type": "string",
+ "description": "Specifies the package application Id for MSIX applications",
+ "x-nullable": true,
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "applicationType": {
+ "enum": [
+ "InBuilt",
+ "MsixApplication"
+ ],
+ "x-ms-enum": {
+ "name": "RemoteApplicationType",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Resource Type of Application.",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "commandLineSetting": {
+ "enum": [
+ "DoNotAllow",
+ "Allow",
+ "Require"
+ ],
+ "x-ms-enum": {
+ "name": "CommandLineSetting",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.",
+ "x-nullable": false
+ },
+ "commandLineArguments": {
+ "type": "string",
+ "description": "Command Line Arguments for Application."
+ },
+ "showInPortal": {
+ "type": "boolean",
+ "description": "Specifies whether to show the RemoteApp program in the RD Web Access server."
+ },
+ "iconPath": {
+ "type": "string",
+ "description": "Path to icon."
+ },
+ "iconIndex": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Index of the icon."
+ },
+ "iconHash": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Hash of the icon."
+ },
+ "iconContent": {
+ "readOnly": true,
+ "type": "string",
+ "format": "byte",
+ "description": "the icon a 64 bit string as a byte array."
+ }
+ }
+ },
+ "ApplicationList": {
+ "type": "object",
+ "title": "ApplicationList",
+ "description": "List of Application definitions.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of Application definitions.",
+ "items": {
+ "$ref": "#/definitions/Application"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next page of results."
+ }
+ }
+ },
+ "ApplicationPatch": {
+ "type": "object",
+ "description": "Application properties that can be patched.",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "tags to be updated"
+ },
+ "properties": {
+ "description": "Detailed properties for Application",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationPatchProperties"
+ }
+ }
+ },
+ "ApplicationPatchProperties": {
+ "description": "Application properties that can be patched.",
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "Description of Application."
+ },
+ "friendlyName": {
+ "type": "string",
+ "description": "Friendly name of Application."
+ },
+ "filePath": {
+ "type": "string",
+ "description": "Specifies a path for the executable file for the application."
+ },
+ "commandLineSetting": {
+ "enum": [
+ "DoNotAllow",
+ "Allow",
+ "Require"
+ ],
+ "x-ms-enum": {
+ "name": "CommandLineSetting",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all."
+ },
+ "commandLineArguments": {
+ "type": "string",
+ "description": "Command Line Arguments for Application."
+ },
+ "showInPortal": {
+ "type": "boolean",
+ "description": "Specifies whether to show the RemoteApp program in the RD Web Access server."
+ },
+ "iconPath": {
+ "type": "string",
+ "description": "Path to icon."
+ },
+ "iconIndex": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Index of the icon."
+ },
+ "msixPackageFamilyName": {
+ "type": "string",
+ "description": "Specifies the package family name for MSIX applications",
+ "x-nullable": true
+ },
+ "msixPackageApplicationId": {
+ "type": "string",
+ "description": "Specifies the package application Id for MSIX applications",
+ "x-nullable": true
+ },
+ "applicationType": {
+ "enum": [
+ "InBuilt",
+ "MsixApplication"
+ ],
+ "x-ms-enum": {
+ "name": "RemoteApplicationType",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Resource Type of Application."
+ }
+ }
+ },
+ "Desktop": {
+ "description": "Schema for Desktop properties.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "description": "Metadata pertaining to creation and last modification of the resource."
+ },
+ "properties": {
+ "description": "Detailed properties for Desktop",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DesktopProperties"
+ }
+ }
+ },
+ "DesktopProperties": {
+ "description": "Schema for Desktop properties.",
+ "type": "object",
+ "properties": {
+ "objectId": {
+ "type": "string",
+ "description": "ObjectId of Desktop. (internal use)",
+ "readOnly": true
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of Desktop."
+ },
+ "friendlyName": {
+ "type": "string",
+ "description": "Friendly name of Desktop."
+ },
+ "iconHash": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Hash of the icon."
+ },
+ "iconContent": {
+ "readOnly": true,
+ "type": "string",
+ "format": "byte",
+ "description": "The icon a 64 bit string as a byte array."
+ }
+ }
+ },
+ "DesktopList": {
+ "type": "object",
+ "title": "DesktopList",
+ "description": "List of Desktop definitions.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of Desktop definitions.",
+ "items": {
+ "$ref": "#/definitions/Desktop"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next page of results."
+ }
+ }
+ },
+ "DesktopPatch": {
+ "type": "object",
+ "description": "Desktop properties that can be patched.",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "tags to be updated"
+ },
+ "properties": {
+ "description": "Detailed properties for Desktop",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DesktopPatchProperties"
+ }
+ }
+ },
+ "DesktopPatchProperties": {
+ "description": "Desktop properties that can be patched.",
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "Description of Desktop."
+ },
+ "friendlyName": {
+ "type": "string",
+ "description": "Friendly name of Desktop."
+ }
+ }
+ },
+ "StartMenuItemProperties": {
+ "description": "Schema for StartMenuItem properties.",
+ "type": "object",
+ "properties": {
+ "appAlias": {
+ "type": "string",
+ "description": "Alias of StartMenuItem."
+ },
+ "filePath": {
+ "type": "string",
+ "description": "Path to the file of StartMenuItem."
+ },
+ "commandLineArguments": {
+ "type": "string",
+ "description": "Command line arguments for StartMenuItem."
+ },
+ "iconPath": {
+ "type": "string",
+ "description": "Path to the icon."
+ },
+ "iconIndex": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Index of the icon."
+ }
+ }
+ },
+ "StartMenuItem": {
+ "type": "object",
+ "description": "Represents a StartMenuItem definition.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "Detailed properties for StartMenuItem",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/StartMenuItemProperties"
+ }
+ }
+ },
+ "StartMenuItemList": {
+ "type": "object",
+ "title": "StartMenuItemList",
+ "description": "List of StartMenuItem definitions.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of StartMenuItem definitions.",
+ "items": {
+ "$ref": "#/definitions/StartMenuItem"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next page of results."
+ }
+ }
+ },
+ "ExpandMsixImageProperties": {
+ "description": "Schema for Expand MSIX Image properties.",
+ "type": "object",
+ "properties": {
+ "packageAlias": {
+ "type": "string",
+ "description": "Alias of MSIX Package."
+ },
+ "imagePath": {
+ "type": "string",
+ "description": "VHD/CIM image path on Network Share.",
+ "x-nullable": false
+ },
+ "packageName": {
+ "type": "string",
+ "description": "Package Name from appxmanifest.xml. ",
+ "x-nullable": false
+ },
+ "packageFamilyName": {
+ "type": "string",
+ "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. ",
+ "x-nullable": false
+ },
+ "packageFullName": {
+ "type": "string",
+ "description": "Package Full Name from appxmanifest.xml. ",
+ "x-nullable": false
+ },
+ "displayName": {
+ "type": "string",
+ "description": "User friendly Name to be displayed in the portal. ",
+ "x-nullable": true
+ },
+ "packageRelativePath": {
+ "type": "string",
+ "description": "Relative Path to the package inside the image. ",
+ "x-nullable": false
+ },
+ "isRegularRegistration": {
+ "type": "boolean",
+ "description": "Specifies how to register Package in feed.",
+ "x-nullable": false
+ },
+ "isActive": {
+ "type": "boolean",
+ "description": "Make this version of the package the active one across the hostpool. ",
+ "x-nullable": false
+ },
+ "packageDependencies": {
+ "type": "array",
+ "description": "List of package dependencies. ",
+ "items": {
+ "$ref": "#/definitions/MsixPackageDependencies"
+ },
+ "x-nullable": true
+ },
+ "version": {
+ "type": "string",
+ "description": "Package Version found in the appxmanifest.xml. ",
+ "x-nullable": false
+ },
+ "lastUpdated": {
+ "format": "date-time",
+ "type": "string",
+ "description": "Date Package was last updated, found in the appxmanifest.xml. ",
+ "x-nullable": false
+ },
+ "packageApplications": {
+ "type": "array",
+ "description": "List of package applications. ",
+ "items": {
+ "$ref": "#/definitions/MsixPackageApplications"
+ },
+ "x-nullable": false
+ },
+ "certificateName": {
+ "type": "string",
+ "description": "Certificate name found in the appxmanifest.xml. ",
+ "x-nullable": true
+ },
+ "certificateExpiry": {
+ "format": "date-time",
+ "type": "string",
+ "description": "Date certificate expires, found in the appxmanifest.xml. ",
+ "x-nullable": true
+ }
+ }
+ },
+ "ExpandMsixImage": {
+ "type": "object",
+ "description": "Represents the definition of contents retrieved after expanding the MSIX Image. ",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "Detailed properties for ExpandMsixImage",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExpandMsixImageProperties"
+ }
+ }
+ },
+ "ExpandMsixImageList": {
+ "type": "object",
+ "title": "ExpandMsixImageList",
+ "description": "List of MSIX package properties retrieved from MSIX Image expansion.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of MSIX package properties from give MSIX Image.",
+ "items": {
+ "$ref": "#/definitions/ExpandMsixImage"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next page of results."
+ }
+ }
+ },
+ "MSIXImageURI": {
+ "description": "Represents URI referring to MSIX Image",
+ "type": "object",
+ "properties": {
+ "uri": {
+ "type": "string",
+ "description": "URI to Image"
+ }
+ }
+ },
+ "SessionHost": {
+ "type": "object",
+ "description": "Represents a SessionHost definition.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "description": "Metadata pertaining to creation and last modification of the resource."
+ },
+ "properties": {
+ "description": "Detailed properties for SessionHost",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SessionHostProperties"
+ }
+ }
+ },
+ "SessionHostProperties": {
+ "description": "Schema for SessionHost properties.",
+ "type": "object",
+ "properties": {
+ "objectId": {
+ "type": "string",
+ "description": "ObjectId of SessionHost. (internal use)",
+ "readOnly": true
+ },
+ "lastHeartBeat": {
+ "format": "date-time",
+ "type": "string",
+ "description": "Last heart beat from SessionHost."
+ },
+ "sessions": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Number of sessions on SessionHost."
+ },
+ "agentVersion": {
+ "type": "string",
+ "description": "Version of agent on SessionHost."
+ },
+ "allowNewSession": {
+ "type": "boolean",
+ "description": "Allow a new session."
+ },
+ "virtualMachineId": {
+ "type": "string",
+ "description": "Virtual Machine Id of SessionHost's underlying virtual machine.",
+ "readOnly": true
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "Resource Id of SessionHost's underlying virtual machine.",
+ "readOnly": true
+ },
+ "assignedUser": {
+ "type": "string",
+ "description": "User assigned to SessionHost."
+ },
+ "friendlyName": {
+ "type": "string",
+ "description": "Friendly name of SessionHost"
+ },
+ "status": {
+ "enum": [
+ "Available",
+ "Unavailable",
+ "Shutdown",
+ "Disconnected",
+ "Upgrading",
+ "UpgradeFailed",
+ "NoHeartbeat",
+ "NotJoinedToDomain",
+ "DomainTrustRelationshipLost",
+ "SxSStackListenerNotReady",
+ "FSLogixNotHealthy",
+ "NeedsAssistance"
+ ],
+ "x-ms-enum": {
+ "name": "Status",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Available",
+ "description": "Session Host has passed all the health checks and is available to handle connections."
+ },
+ {
+ "value": "Unavailable",
+ "description": "Session Host is either turned off or has failed critical health checks which is causing service not to be able to route connections to this session host. Note this replaces previous 'NoHeartBeat' status."
+ },
+ {
+ "value": "Shutdown",
+ "description": "Session Host is shutdown - RD Agent reported session host to be stopped or deallocated."
+ },
+ {
+ "value": "Disconnected",
+ "description": "The Session Host is unavailable because it is currently disconnected."
+ },
+ {
+ "value": "Upgrading",
+ "description": "Session Host is unavailable because currently an upgrade of RDAgent/side-by-side stack is in progress. Note: this state will be removed once the upgrade completes and the host is able to accept connections."
+ },
+ {
+ "value": "UpgradeFailed",
+ "description": "Session Host is unavailable because the critical component upgrade (agent, side-by-side stack, etc.) failed."
+ },
+ {
+ "value": "NoHeartbeat",
+ "description": "The Session Host is not heart beating."
+ },
+ {
+ "value": "NotJoinedToDomain",
+ "description": "SessionHost is not joined to domain."
+ },
+ {
+ "value": "DomainTrustRelationshipLost",
+ "description": "SessionHost's domain trust relationship lost"
+ },
+ {
+ "value": "SxSStackListenerNotReady",
+ "description": "SxS stack installed on the SessionHost is not ready to receive connections."
+ },
+ {
+ "value": "FSLogixNotHealthy",
+ "description": "FSLogix is in an unhealthy state on the session host."
+ },
+ {
+ "value": "NeedsAssistance",
+ "description": "New status to inform admins that the health on their endpoint needs to be fixed. The connections might not fail, as these issues are not fatal."
+ }
+ ]
+ },
+ "type": "string",
+ "description": "Status for a SessionHost."
+ },
+ "statusTimestamp": {
+ "format": "date-time",
+ "type": "string",
+ "description": "The timestamp of the status.",
+ "readOnly": true
+ },
+ "osVersion": {
+ "type": "string",
+ "description": "The version of the OS on the session host."
+ },
+ "sxSStackVersion": {
+ "type": "string",
+ "description": "The version of the side by side stack on the session host."
+ },
+ "updateState": {
+ "enum": [
+ "Initial",
+ "Pending",
+ "Started",
+ "Succeeded",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "UpdateState",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Update state of a SessionHost."
+ },
+ "lastUpdateTime": {
+ "format": "date-time",
+ "type": "string",
+ "description": "The timestamp of the last update.",
+ "readOnly": true
+ },
+ "updateErrorMessage": {
+ "type": "string",
+ "description": "The error message."
+ },
+ "lastSessionHostUpdateTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The last time update was completed.",
+ "readOnly": true
+ },
+ "sessionHostConfiguration": {
+ "type": "string",
+ "description": "SessionHostConfiguration version reference at the time the update is initiated, in the format of date time.",
+ "readOnly": true
+ },
+ "sessionHostHealthCheckResults": {
+ "type": "array",
+ "readOnly": true,
+ "description": "List of SessionHostHealthCheckReports",
+ "items": {
+ "$ref": "#/definitions/SessionHostHealthCheckReport"
+ }
+ }
+ }
+ },
+ "SessionHostHealthCheckReport": {
+ "type": "object",
+ "description": "The report for session host information.",
+ "properties": {
+ "healthCheckName": {
+ "enum": [
+ "DomainJoinedCheck",
+ "DomainTrustCheck",
+ "FSLogixHealthCheck",
+ "SxSStackListenerCheck",
+ "UrlsAccessibleCheck",
+ "MonitoringAgentCheck",
+ "DomainReachable",
+ "WebRTCRedirectorCheck",
+ "SupportedEncryptionCheck",
+ "MetaDataServiceCheck",
+ "AppAttachHealthCheck"
+ ],
+ "x-ms-enum": {
+ "name": "HealthCheckName",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "DomainJoinedCheck",
+ "description": "Verifies the SessionHost is joined to a domain. If this check fails is classified as fatal as no connection can succeed if the SessionHost is not joined to the domain. (Currently Enabled)"
+ },
+ {
+ "value": "DomainTrustCheck",
+ "description": "Verifies the SessionHost is not experiencing domain trust issues that will prevent authentication on SessionHost at connection time when session is created. If this check fails is classified as fatal as no connection can succeed if we cannot reach the domain for authentication on the SessionHost. (Currently Enabled)"
+ },
+ {
+ "value": "FSLogixHealthCheck",
+ "description": "Verifies the FSLogix service is up and running to make sure users' profiles are loaded in the session. If this check fails is classified as fatal as even if the connection can succeed, user experience is bad as the user profile cannot be loaded and user will get a temporary profile in the session. (Currently Disabled)"
+ },
+ {
+ "value": "SxSStackListenerCheck",
+ "description": "Verifies that the SxS stack is up and running so connections can succeed. If this check fails is classified as fatal as no connection can succeed if the SxS stack is not ready. (Currently Enabled)"
+ },
+ {
+ "value": "UrlsAccessibleCheck",
+ "description": "Verifies that the required WVD service and Geneva URLs are reachable from the SessionHost. These URLs are: RdTokenUri, RdBrokerURI, RdDiagnosticsUri and storage blob URLs for agent monitoring (geneva). If this check fails, it is non fatal and the machine still can service connections, main issue may be that monitoring agent is unable to store warm path data (logs, operations ...). (Currently Disabled)"
+ },
+ {
+ "value": "MonitoringAgentCheck",
+ "description": "Verifies that the required Geneva agent is running. If this check fails, it is non fatal and the machine still can service connections, main issue may be that monitoring agent is missing or running (possibly) older version. (Currently Enabled)"
+ },
+ {
+ "value": "DomainReachable",
+ "description": "Verifies the domain the SessionHost is joined to is still reachable. If this check fails is classified as fatal as no connection can succeed if the domain the SessionHost is joined is not reachable at the time of connection. (Currently Disabled)"
+ },
+ {
+ "value": "WebRTCRedirectorCheck",
+ "description": "Verifies whether the WebRTCRedirector component is healthy. The WebRTCRedirector component is used to optimize video and audio performance in Microsoft Teams. This checks whether the component is still running, and whether there is a higher version available. If this check fails, it is non fatal and the machine still can service connections, main issue may be the WebRTCRedirector component has to be restarted or updated. (Currently Disabled)"
+ },
+ {
+ "value": "SupportedEncryptionCheck",
+ "description": "Verifies the value of SecurityLayer registration key. If the value is 0 (SecurityLayer.RDP) this check fails with Error code = NativeMethodErrorCode.E_FAIL and is fatal. If the value is 1 (SecurityLayer.Negotiate) this check fails with Error code = NativeMethodErrorCode.ERROR_SUCCESS and is non fatal. (Currently Disabled)"
+ },
+ {
+ "value": "MetaDataServiceCheck",
+ "description": "Verifies the metadata service is accessible and return compute properties. (Currently Enabled)"
+ },
+ {
+ "value": "AppAttachHealthCheck",
+ "description": "Verifies that the AppAttachService is healthy (there were no issues during package staging). The AppAttachService is used to enable the staging/registration (and eventual deregistration/destaging) of MSIX apps that have been set up by the tenant admin. This checks whether the component had any failures during package staging. Failures in staging will prevent some MSIX apps from working properly for the end user. If this check fails, it is non fatal and the machine still can service connections, main issue may be certain apps will not work for end-users. (Currently Enabled)"
+ }
+ ]
+ },
+ "type": "string",
+ "description": "Represents the name of the health check operation performed.",
+ "readOnly": true
+ },
+ "healthCheckResult": {
+ "enum": [
+ "Unknown",
+ "HealthCheckSucceeded",
+ "HealthCheckFailed",
+ "SessionHostShutdown"
+ ],
+ "x-ms-enum": {
+ "name": "HealthCheckResult",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Health check result is not currently known."
+ },
+ {
+ "value": "HealthCheckSucceeded",
+ "description": "Health check passed."
+ },
+ {
+ "value": "HealthCheckFailed",
+ "description": "Health check failed."
+ },
+ {
+ "value": "SessionHostShutdown",
+ "description": "We received a Shutdown notification."
+ }
+ ]
+ },
+ "type": "string",
+ "description": "Represents the Health state of the health check we performed.",
+ "readOnly": true
+ },
+ "additionalFailureDetails": {
+ "$ref": "#/definitions/SessionHostHealthCheckFailureDetails",
+ "description": "Additional detailed information on the failure.",
+ "readOnly": true
+ }
+ }
+ },
+ "SessionHostHealthCheckFailureDetails": {
+ "type": "object",
+ "description": "Contains details on the failure.",
+ "properties": {
+ "message": {
+ "type": "string",
+ "description": "Failure message: hints on what is wrong and how to recover.",
+ "readOnly": true
+ },
+ "errorCode": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Error code corresponding for the failure.",
+ "readOnly": true
+ },
+ "lastHealthCheckDateTime": {
+ "format": "date-time",
+ "type": "string",
+ "description": "The timestamp of the last update.",
+ "readOnly": true
+ }
+ }
+ },
+ "SessionHostPatch": {
+ "type": "object",
+ "description": "SessionHost properties that can be patched.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "Detailed properties for SessionHost",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SessionHostPatchProperties"
+ }
+ }
+ },
+ "SessionHostPatchProperties": {
+ "description": "SessionHost properties that can be patched.",
+ "type": "object",
+ "properties": {
+ "allowNewSession": {
+ "type": "boolean",
+ "description": "Allow a new session."
+ },
+ "assignedUser": {
+ "type": "string",
+ "description": "User assigned to SessionHost."
+ },
+ "friendlyName": {
+ "type": "string",
+ "description": "Friendly name of SessionHost"
+ }
+ }
+ },
+ "SessionHostList": {
+ "type": "object",
+ "title": "SessionHostList",
+ "description": "List of SessionHost definitions.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of SessionHost definitions.",
+ "items": {
+ "$ref": "#/definitions/SessionHost"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next page of results."
+ }
+ }
+ },
+ "UserSession": {
+ "type": "object",
+ "description": "Represents a UserSession definition.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "description": "Metadata pertaining to creation and last modification of the resource."
+ },
+ "properties": {
+ "description": "Detailed properties for UserSession",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/UserSessionProperties"
+ }
+ }
+ },
+ "UserSessionProperties": {
+ "description": "Schema for UserSession properties.",
+ "type": "object",
+ "properties": {
+ "objectId": {
+ "type": "string",
+ "description": "ObjectId of user session. (internal use)",
+ "readOnly": true
+ },
+ "userPrincipalName": {
+ "type": "string",
+ "description": "The user principal name."
+ },
+ "applicationType": {
+ "enum": [
+ "RemoteApp",
+ "Desktop"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationType",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Application type of application."
+ },
+ "sessionState": {
+ "enum": [
+ "Unknown",
+ "Active",
+ "Disconnected",
+ "Pending",
+ "LogOff",
+ "UserProfileDiskMounted"
+ ],
+ "x-ms-enum": {
+ "name": "SessionState",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "State of user session."
+ },
+ "activeDirectoryUserName": {
+ "type": "string",
+ "description": "The active directory user name."
+ },
+ "createTime": {
+ "format": "date-time",
+ "type": "string",
+ "description": "The timestamp of the user session create."
+ }
+ }
+ },
+ "UserSessionList": {
+ "type": "object",
+ "title": "UserSessionList",
+ "description": "List of UserSession definitions.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of UserSession definitions.",
+ "items": {
+ "$ref": "#/definitions/UserSession"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next page of results."
+ }
+ }
+ },
+ "ScalingPlan": {
+ "type": "object",
+ "title": "ScalingPlan",
+ "description": "Represents a scaling plan definition.",
+ "required": [
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ResourceModelWithAllowedPropertySet"
+ }
+ ],
+ "properties": {
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "description": "Metadata pertaining to creation and last modification of the resource."
+ },
+ "properties": {
+ "description": "Detailed properties for scaling plan.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ScalingPlanProperties",
+ "x-nullable": false
+ }
+ }
+ },
+ "ScalingPlanProperties": {
+ "type": "object",
+ "description": "Scaling plan properties.",
+ "required": [
+ "timeZone"
+ ],
+ "properties": {
+ "objectId": {
+ "type": "string",
+ "description": "ObjectId of scaling plan. (internal use)",
+ "readOnly": true
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of scaling plan."
+ },
+ "friendlyName": {
+ "type": "string",
+ "description": "User friendly name of scaling plan."
+ },
+ "timeZone": {
+ "type": "string",
+ "description": "Timezone of the scaling plan."
+ },
+ "hostPoolType": {
+ "enum": [
+ "Pooled"
+ ],
+ "x-ms-enum": {
+ "name": "ScalingHostPoolType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Pooled",
+ "description": "Users get a new (random) SessionHost every time it connects to the HostPool."
+ }
+ ]
+ },
+ "default": "Pooled",
+ "type": "string",
+ "description": "HostPool type for desktop.",
+ "x-nullable": false
+ },
+ "exclusionTag": {
+ "type": "string",
+ "description": "Exclusion tag for scaling plan."
+ },
+ "schedules": {
+ "type": "array",
+ "description": "List of ScalingPlanPooledSchedule definitions.",
+ "items": {
+ "$ref": "#/definitions/ScalingSchedule"
+ }
+ },
+ "hostPoolReferences": {
+ "type": "array",
+ "description": "List of ScalingHostPoolReference definitions.",
+ "items": {
+ "$ref": "#/definitions/ScalingHostPoolReference"
+ }
+ }
+ }
+ },
+ "ScalingSchedule": {
+ "description": "A ScalingPlanPooledSchedule.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the ScalingPlanPooledSchedule."
+ },
+ "daysOfWeek": {
+ "type": "array",
+ "description": "Set of days of the week on which this schedule is active.",
+ "items": {
+ "enum": [
+ "Sunday",
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday"
+ ],
+ "type": "string"
+ }
+ },
+ "rampUpStartTime": {
+ "$ref": "#/definitions/Time",
+ "description": "Starting time for ramp up period."
+ },
+ "rampUpLoadBalancingAlgorithm": {
+ "enum": [
+ "BreadthFirst",
+ "DepthFirst"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHostLoadBalancingAlgorithm",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Load balancing algorithm for ramp up period."
+ },
+ "rampUpMinimumHostsPct": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "maximum": 100,
+ "description": "Minimum host percentage for ramp up period."
+ },
+ "rampUpCapacityThresholdPct": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 1,
+ "maximum": 100,
+ "description": "Capacity threshold for ramp up period."
+ },
+ "peakStartTime": {
+ "$ref": "#/definitions/Time",
+ "description": "Starting time for peak period."
+ },
+ "peakLoadBalancingAlgorithm": {
+ "enum": [
+ "BreadthFirst",
+ "DepthFirst"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHostLoadBalancingAlgorithm",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Load balancing algorithm for peak period."
+ },
+ "rampDownStartTime": {
+ "$ref": "#/definitions/Time",
+ "description": "Starting time for ramp down period."
+ },
+ "rampDownLoadBalancingAlgorithm": {
+ "enum": [
+ "BreadthFirst",
+ "DepthFirst"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHostLoadBalancingAlgorithm",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Load balancing algorithm for ramp down period."
+ },
+ "rampDownMinimumHostsPct": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "maximum": 100,
+ "description": "Minimum host percentage for ramp down period."
+ },
+ "rampDownCapacityThresholdPct": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 1,
+ "maximum": 100,
+ "description": "Capacity threshold for ramp down period."
+ },
+ "rampDownForceLogoffUsers": {
+ "type": "boolean",
+ "description": "Should users be logged off forcefully from hosts."
+ },
+ "rampDownStopHostsWhen": {
+ "enum": [
+ "ZeroSessions",
+ "ZeroActiveSessions"
+ ],
+ "x-ms-enum": {
+ "name": "StopHostsWhen",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Specifies when to stop hosts during ramp down period."
+ },
+ "rampDownWaitTimeMinutes": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Number of minutes to wait to stop hosts during ramp down period."
+ },
+ "rampDownNotificationMessage": {
+ "type": "string",
+ "description": "Notification message for users during ramp down period."
+ },
+ "offPeakStartTime": {
+ "$ref": "#/definitions/Time",
+ "description": "Starting time for off-peak period."
+ },
+ "offPeakLoadBalancingAlgorithm": {
+ "enum": [
+ "BreadthFirst",
+ "DepthFirst"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHostLoadBalancingAlgorithm",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Load balancing algorithm for off-peak period."
+ }
+ }
+ },
+ "ScalingPlanPooledSchedulePatch": {
+ "type": "object",
+ "description": "ScalingPlanPooledSchedule properties that can be patched.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "Detailed properties for ScalingPlanPooledSchedule",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ScalingPlanPooledScheduleProperties"
+ }
+ }
+ },
+ "ScalingPlanPooledScheduleList": {
+ "type": "object",
+ "title": "ScalingPlanPooledScheduleList",
+ "description": "List of ScalingPlanPooledSchedule definitions.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of ScalingPlanPooledSchedule definitions.",
+ "items": {
+ "$ref": "#/definitions/ScalingPlanPooledSchedule"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next page of results."
+ }
+ }
+ },
+ "ScalingPlanPooledSchedule": {
+ "type": "object",
+ "description": "Represents a ScalingPlanPooledSchedule definition.",
+ "required": [
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "description": "Metadata pertaining to creation and last modification of the resource."
+ },
+ "properties": {
+ "description": "Detailed properties for ScalingPlanPooledSchedule",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ScalingPlanPooledScheduleProperties",
+ "x-nullable": false
+ }
+ }
+ },
+ "ScalingPlanPooledScheduleProperties": {
+ "description": "A ScalingPlanPooledSchedule.",
+ "type": "object",
+ "properties": {
+ "daysOfWeek": {
+ "type": "array",
+ "description": "Set of days of the week on which this schedule is active.",
+ "items": {
+ "enum": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DayOfWeek",
+ "modelAsString": true
+ }
+ }
+ },
+ "rampUpStartTime": {
+ "$ref": "#/definitions/Time",
+ "description": "Starting time for ramp up period."
+ },
+ "rampUpLoadBalancingAlgorithm": {
+ "enum": [
+ "BreadthFirst",
+ "DepthFirst"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHostLoadBalancingAlgorithm",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Load balancing algorithm for ramp up period."
+ },
+ "rampUpMinimumHostsPct": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "maximum": 100,
+ "description": "Minimum host percentage for ramp up period."
+ },
+ "rampUpCapacityThresholdPct": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 1,
+ "maximum": 100,
+ "description": "Capacity threshold for ramp up period."
+ },
+ "peakStartTime": {
+ "$ref": "#/definitions/Time",
+ "description": "Starting time for peak period."
+ },
+ "peakLoadBalancingAlgorithm": {
+ "enum": [
+ "BreadthFirst",
+ "DepthFirst"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHostLoadBalancingAlgorithm",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Load balancing algorithm for peak period."
+ },
+ "rampDownStartTime": {
+ "$ref": "#/definitions/Time",
+ "description": "Starting time for ramp down period."
+ },
+ "rampDownLoadBalancingAlgorithm": {
+ "enum": [
+ "BreadthFirst",
+ "DepthFirst"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHostLoadBalancingAlgorithm",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Load balancing algorithm for ramp down period."
+ },
+ "rampDownMinimumHostsPct": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "maximum": 100,
+ "description": "Minimum host percentage for ramp down period."
+ },
+ "rampDownCapacityThresholdPct": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 1,
+ "maximum": 100,
+ "description": "Capacity threshold for ramp down period."
+ },
+ "rampDownForceLogoffUsers": {
+ "type": "boolean",
+ "description": "Should users be logged off forcefully from hosts."
+ },
+ "rampDownStopHostsWhen": {
+ "enum": [
+ "ZeroSessions",
+ "ZeroActiveSessions"
+ ],
+ "x-ms-enum": {
+ "name": "StopHostsWhen",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Specifies when to stop hosts during ramp down period."
+ },
+ "rampDownWaitTimeMinutes": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Number of minutes to wait to stop hosts during ramp down period."
+ },
+ "rampDownNotificationMessage": {
+ "type": "string",
+ "description": "Notification message for users during ramp down period."
+ },
+ "offPeakStartTime": {
+ "$ref": "#/definitions/Time",
+ "description": "Starting time for off-peak period."
+ },
+ "offPeakLoadBalancingAlgorithm": {
+ "enum": [
+ "BreadthFirst",
+ "DepthFirst"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHostLoadBalancingAlgorithm",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Load balancing algorithm for off-peak period."
+ }
+ }
+ },
+ "Time": {
+ "description": "The time for a scaling action to occur.",
+ "required": [
+ "hour",
+ "minute"
+ ],
+ "type": "object",
+ "properties": {
+ "hour": {
+ "format": "int32",
+ "description": "The hour.",
+ "maximum": 23,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "minute": {
+ "format": "int32",
+ "description": "The minute.",
+ "maximum": 59,
+ "minimum": 0,
+ "type": "integer"
+ }
+ }
+ },
+ "ScalingHostPoolReference": {
+ "description": "Scaling plan reference to hostpool.",
+ "type": "object",
+ "properties": {
+ "hostPoolArmPath": {
+ "type": "string",
+ "description": "Arm path of referenced hostpool."
+ },
+ "scalingPlanEnabled": {
+ "type": "boolean",
+ "description": "Is the scaling plan enabled for this hostpool."
+ }
+ }
+ },
+ "ScalingPlanList": {
+ "type": "object",
+ "title": "ScalingPlanList",
+ "description": "List of scaling plan definitions.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of scaling plan definitions.",
+ "items": {
+ "$ref": "#/definitions/ScalingPlan"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next page of results."
+ }
+ }
+ },
+ "ScalingPlanPatch": {
+ "type": "object",
+ "description": "Scaling plan properties that can be patched.",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "tags to be updated"
+ },
+ "properties": {
+ "description": "Detailed properties for scaling plan",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ScalingPlanPatchProperties"
+ }
+ }
+ },
+ "ScalingPlanPatchProperties": {
+ "type": "object",
+ "description": "Scaling plan properties.",
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "Description of scaling plan."
+ },
+ "friendlyName": {
+ "type": "string",
+ "description": "User friendly name of scaling plan."
+ },
+ "timeZone": {
+ "type": "string",
+ "description": "Timezone of the scaling plan."
+ },
+ "exclusionTag": {
+ "type": "string",
+ "description": "Exclusion tag for scaling plan."
+ },
+ "schedules": {
+ "type": "array",
+ "description": "List of ScalingSchedule definitions.",
+ "items": {
+ "$ref": "#/definitions/ScalingSchedule"
+ }
+ },
+ "hostPoolReferences": {
+ "type": "array",
+ "description": "List of ScalingHostPoolReference definitions.",
+ "items": {
+ "$ref": "#/definitions/ScalingHostPoolReference"
+ }
+ }
+ }
+ },
+ "PrivateEndpointConnectionWithSystemData": {
+ "type": "object",
+ "properties": {
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/privatelinks.json#/definitions/PrivateEndpointConnection"
+ }
+ ],
+ "description": "The Private Endpoint Connection resource."
+ },
+ "PrivateLinkResourceListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "Array of private link resources",
+ "items": {
+ "$ref": "#/definitions/PrivateLinkResource"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next page of results."
+ }
+ },
+ "description": "A list of private link resources"
+ },
+ "PrivateLinkResource": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PrivateLinkResourceProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ],
+ "description": "A private link resource"
+ },
+ "PrivateLinkResourceProperties": {
+ "type": "object",
+ "properties": {
+ "groupId": {
+ "description": "The private link resource group id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "requiredMembers": {
+ "description": "The private link resource required member names.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "requiredZoneNames": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The private link resource Private link DNS zone name."
+ }
+ },
+ "description": "Properties of a private link resource."
+ },
+ "PrivateEndpointConnectionListResultWithSystemData": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "Array of private endpoint connections",
+ "items": {
+ "$ref": "#/definitions/PrivateEndpointConnectionWithSystemData"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next page of results."
+ }
+ },
+ "description": "List of private endpoint connection associated with the specified storage account"
+ },
+ "ScalingPlanPersonalSchedulePatch": {
+ "type": "object",
+ "description": "ScalingPlanPersonalSchedule properties that can be patched.",
+ "properties": {
+ "properties": {
+ "description": "Detailed properties for ScalingPlanPersonalSchedule",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ScalingPlanPersonalScheduleProperties"
+ }
+ }
+ },
+ "ScalingPlanPersonalScheduleList": {
+ "type": "object",
+ "title": "ScalingPlanPersonalScheduleList",
+ "description": "List of ScalingPlanPersonalSchedule definitions.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of ScalingPlanPersonalSchedule definitions.",
+ "items": {
+ "$ref": "#/definitions/ScalingPlanPersonalSchedule"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next page of results."
+ }
+ }
+ },
+ "ScalingPlanPersonalSchedule": {
+ "type": "object",
+ "description": "Represents a ScalingPlanPersonalSchedule definition.",
+ "required": [
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "description": "Metadata pertaining to creation and last modification of the resource."
+ },
+ "properties": {
+ "description": "Detailed properties for ScalingPlanPersonalSchedule",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ScalingPlanPersonalScheduleProperties",
+ "x-nullable": false
+ }
+ }
+ },
+ "ScalingPlanPersonalScheduleProperties": {
+ "description": "A ScalingPlanPersonalSchedule.",
+ "type": "object",
+ "properties": {
+ "daysOfWeek": {
+ "type": "array",
+ "description": "Set of days of the week on which this schedule is active.",
+ "items": {
+ "enum": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DayOfWeek",
+ "modelAsString": true
+ }
+ }
+ },
+ "rampUpStartTime": {
+ "$ref": "#/definitions/Time",
+ "description": "Starting time for ramp up period."
+ },
+ "rampUpAutoStartHosts": {
+ "enum": [
+ "None",
+ "WithAssignedUser",
+ "All"
+ ],
+ "x-ms-enum": {
+ "name": "StartupBehavior",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "None",
+ "description": "Session hosts will not be started by the service. This setting depends on Start VM on Connect to be enabled to start the session hosts."
+ },
+ {
+ "value": "WithAssignedUser",
+ "description": "Session hosts with an assigned user will be started during Ramp Up"
+ },
+ {
+ "value": "All",
+ "description": "All personal session hosts in the hostpool will be started during ramp up."
+ }
+ ]
+ },
+ "type": "string",
+ "description": "The desired startup behavior during the ramp up period for personal vms in the hostpool."
+ },
+ "rampUpStartVMOnConnect": {
+ "enum": [
+ "Enable",
+ "Disable"
+ ],
+ "x-ms-enum": {
+ "name": "SetStartVMOnConnect",
+ "modelAsString": true
+ },
+ "default": "Enable",
+ "type": "string",
+ "description": "The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually."
+ },
+ "rampUpActionOnDisconnect": {
+ "enum": [
+ "None",
+ "Deallocate"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHandlingOperation",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Action to be taken after a user disconnect during the ramp up period."
+ },
+ "rampUpMinutesToWaitOnDisconnect": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period."
+ },
+ "rampUpActionOnLogoff": {
+ "enum": [
+ "None",
+ "Deallocate"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHandlingOperation",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Action to be taken after a logoff during the ramp up period."
+ },
+ "rampUpMinutesToWaitOnLogoff": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period."
+ },
+ "peakStartTime": {
+ "$ref": "#/definitions/Time",
+ "description": "Starting time for peak period."
+ },
+ "peakStartVMOnConnect": {
+ "enum": [
+ "Enable",
+ "Disable"
+ ],
+ "x-ms-enum": {
+ "name": "SetStartVMOnConnect",
+ "modelAsString": true
+ },
+ "default": "Enable",
+ "type": "string",
+ "description": "The desired configuration of Start VM On Connect for the hostpool during the peak phase."
+ },
+ "peakActionOnDisconnect": {
+ "enum": [
+ "None",
+ "Deallocate"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHandlingOperation",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Action to be taken after a user disconnect during the peak period."
+ },
+ "peakMinutesToWaitOnDisconnect": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period."
+ },
+ "peakActionOnLogoff": {
+ "enum": [
+ "None",
+ "Deallocate"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHandlingOperation",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Action to be taken after a logoff during the peak period."
+ },
+ "peakMinutesToWaitOnLogoff": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period."
+ },
+ "rampDownStartTime": {
+ "$ref": "#/definitions/Time",
+ "description": "Starting time for ramp down period."
+ },
+ "rampDownStartVMOnConnect": {
+ "enum": [
+ "Enable",
+ "Disable"
+ ],
+ "x-ms-enum": {
+ "name": "SetStartVMOnConnect",
+ "modelAsString": true
+ },
+ "default": "Enable",
+ "type": "string",
+ "description": "The desired configuration of Start VM On Connect for the hostpool during the ramp down phase."
+ },
+ "rampDownActionOnDisconnect": {
+ "enum": [
+ "None",
+ "Deallocate"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHandlingOperation",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Action to be taken after a user disconnect during the ramp down period."
+ },
+ "rampDownMinutesToWaitOnDisconnect": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period."
+ },
+ "rampDownActionOnLogoff": {
+ "enum": [
+ "None",
+ "Deallocate",
+ "Hibernate"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHandlingOperation",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Action to be taken after a logoff during the ramp down period."
+ },
+ "rampDownMinutesToWaitOnLogoff": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period."
+ },
+ "offPeakStartTime": {
+ "$ref": "#/definitions/Time",
+ "description": "Starting time for off-peak period."
+ },
+ "offPeakStartVMOnConnect": {
+ "enum": [
+ "Enable",
+ "Disable"
+ ],
+ "x-ms-enum": {
+ "name": "SetStartVMOnConnect",
+ "modelAsString": true
+ },
+ "default": "Enable",
+ "type": "string",
+ "description": "The desired configuration of Start VM On Connect for the hostpool during the off-peak phase."
+ },
+ "offPeakActionOnDisconnect": {
+ "enum": [
+ "None",
+ "Deallocate",
+ "Hibernate"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHandlingOperation",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Action to be taken after a user disconnect during the off-peak period."
+ },
+ "offPeakMinutesToWaitOnDisconnect": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "description": "The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period."
+ },
+ "offPeakActionOnLogoff": {
+ "enum": [
+ "None",
+ "Deallocate",
+ "Hibernate"
+ ],
+ "x-ms-enum": {
+ "name": "SessionHandlingOperation",
+ "modelAsString": true
+ },
+ "type": "string",
+ "description": "Action to be taken after a logoff during the off-peak period."
+ },
+ "offPeakMinutesToWaitOnLogoff": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "description": "The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "HostPoolNameParameter": {
+ "name": "hostPoolName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the host pool within the specified resource group",
+ "maxLength": 64,
+ "minLength": 3,
+ "x-ms-parameter-location": "method"
+ },
+ "MSIXPackageFullNameParameter": {
+ "name": "msixPackageFullName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The version specific package full name of the MSIX package within specified hostpool",
+ "maxLength": 100,
+ "minLength": 3,
+ "x-ms-parameter-location": "method"
+ },
+ "AppAttachPackageNameParameter": {
+ "name": "appAttachPackageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the App Attach package arm object",
+ "maxLength": 100,
+ "minLength": 3,
+ "pattern": "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$",
+ "x-ms-parameter-location": "method"
+ },
+ "ApplicationGroupNameParameter": {
+ "name": "applicationGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application group",
+ "maxLength": 64,
+ "minLength": 3,
+ "x-ms-parameter-location": "method"
+ },
+ "ApplicationNameParameter": {
+ "name": "applicationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application within the specified application group",
+ "maxLength": 24,
+ "minLength": 3,
+ "x-ms-parameter-location": "method"
+ },
+ "DesktopNameParameter": {
+ "name": "desktopName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the desktop within the specified desktop group",
+ "maxLength": 24,
+ "minLength": 3,
+ "x-ms-parameter-location": "method"
+ },
+ "WorkspaceNameParameter": {
+ "name": "workspaceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the workspace",
+ "maxLength": 64,
+ "minLength": 3,
+ "x-ms-parameter-location": "method"
+ },
+ "SessionHostNameParameter": {
+ "name": "sessionHostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the session host within the specified host pool",
+ "maxLength": 48,
+ "minLength": 3,
+ "x-ms-parameter-location": "method"
+ },
+ "UserSessionIdParameter": {
+ "name": "userSessionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the user session within the specified session host",
+ "maxLength": 24,
+ "minLength": 1,
+ "x-ms-parameter-location": "method"
+ },
+ "StartMenuItemNameParameter": {
+ "name": "startMenuItemName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the start menu item within the specified host pool",
+ "maxLength": 24,
+ "minLength": 3,
+ "x-ms-parameter-location": "method"
+ },
+ "MSIXImageURIParameter": {
+ "name": "msixImageURI",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "URI to the MSIX Image (VHD/CIM).",
+ "maxLength": 100,
+ "minLength": 3,
+ "x-ms-parameter-location": "method"
+ },
+ "ScalingPlanNameParameter": {
+ "name": "scalingPlanName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the scaling plan.",
+ "maxLength": 64,
+ "minLength": 3,
+ "x-ms-parameter-location": "method"
+ },
+ "ScalingPlanScheduleNameParameter": {
+ "name": "scalingPlanScheduleName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ScalingPlanSchedule",
+ "maxLength": 64,
+ "minLength": 1,
+ "x-ms-parameter-location": "method"
+ },
+ "OperationIdParameter": {
+ "name": "operationId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Guid of the operation.",
+ "maxLength": 36,
+ "minLength": 36,
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ActiveSessionHostConfigurations_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ActiveSessionHostConfigurations_Get.json
new file mode 100644
index 000000000000..554591de00e5
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ActiveSessionHostConfigurations_Get.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/activeSessionHostConfigurations/default",
+ "type": "Microsoft.DesktopVirtualization/hostPools/activeSessionHostConfigurations",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "version": "2022-10-21T17:18:19.1234567Z",
+ "friendlyName": "InitialConfiguration",
+ "vmTags": {
+ "Department": "myDepartment",
+ "Team": "myTeam"
+ },
+ "vmLocation": "eastus2",
+ "vmResourceGroup": "myResourceGroup",
+ "vmNamePrefix": "westus2-vm",
+ "availabilityZones": [
+ 1,
+ 3
+ ],
+ "networkInfo": {
+ "subnetId": "/subscriptions/.../resourceGroups/.../providers/Microsoft.Network/virtualNetworks/.../subnets/subnet1",
+ "securityGroupId": "/subscriptions/.../resourceGroups/.../provider s/Microsoft.Network/networkSecurityGroups/nsg1"
+ },
+ "vmSizeId": "Standard_D2s_v3",
+ "diskInfo": {
+ "type": "Standard_LRS"
+ },
+ "customConfigurationScriptUrl": "https://storageaccountname.blob.core.windows.net/blobcontainer/file",
+ "imageInfo": {
+ "type": "Marketplace",
+ "marketplaceInfo": {
+ "offer": "Windows-10",
+ "publisher": "MicrosoftWindowsDesktop",
+ "sku": "19h2-ent",
+ "exactVersion": "2019.0.20190115"
+ },
+ "customInfo": {
+ "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/images/imageName"
+ }
+ },
+ "domainInfo": {
+ "joinType": "ActiveDirectory",
+ "activeDirectoryInfo": {
+ "domainCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "ouPath": "OU=testOU,DC=domain,DC=Domain,DC=com",
+ "domainName": "wvdarmtest1.net"
+ },
+ "azureActiveDirectoryInfo": {
+ "mdmProviderGuid": "bdefabc0-95b4-48b3-b645-8a753a63c4fa"
+ }
+ },
+ "securityInfo": {
+ "type": "TrustedLaunch",
+ "secureBootEnabled": true,
+ "vTpmEnabled": true
+ },
+ "vmAdminCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "bootDiagnosticsInfo": {
+ "enabled": true,
+ "storageUri": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ActiveSessionHostConfigurations_ListByHostPool.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ActiveSessionHostConfigurations_ListByHostPool.json
new file mode 100644
index 000000000000..d41eca65f8ef
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ActiveSessionHostConfigurations_ListByHostPool.json
@@ -0,0 +1,92 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "default",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/activeSessionHostConfigurations/default",
+ "type": "Microsoft.DesktopVirtualization/hostPools/activeSessionHostConfigurations",
+ "systemData": {
+ "createdBy": "user2",
+ "createdByType": "User",
+ "createdAt": "2020-02-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user3",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-02-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "version": "2022-10-21T17:18:19.1234567Z",
+ "friendlyName": "InitialConfiguration",
+ "vmTags": {
+ "Department": "myDepartment",
+ "Team": "myTeam"
+ },
+ "vmLocation": "westus2",
+ "vmResourceGroup": "myResourceGroup",
+ "vmNamePrefix": "westus2-vm",
+ "availabilityZones": [
+ 1,
+ 3
+ ],
+ "networkInfo": {
+ "subnetId": "/subscriptions/.../resourceGroups/.../providers/Microsoft.Network/virtualNetworks/.../subnets/subnet1",
+ "securityGroupId": "/subscriptions/.../resourceGroups/.../provider s/Microsoft.Network/networkSecurityGroups/nsg1"
+ },
+ "vmSizeId": "Standard_D2s_v3",
+ "diskInfo": {
+ "type": "Standard_LRS"
+ },
+ "customConfigurationScriptUrl": "https://storageaccountname.blob.core.windows.net/blobcontainer/file",
+ "imageInfo": {
+ "type": "Marketplace",
+ "marketplaceInfo": {
+ "offer": "Windows-10",
+ "publisher": "MicrosoftWindowsDesktop",
+ "sku": "19h2-ent",
+ "exactVersion": "2019.0.20190115"
+ },
+ "customInfo": {
+ "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/images/imageName"
+ }
+ },
+ "domainInfo": {
+ "joinType": "ActiveDirectory",
+ "activeDirectoryInfo": {
+ "domainCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "ouPath": "OU=testOU,DC=domain,DC=Domain,DC=com",
+ "domainName": "wvdarmtest1.net"
+ },
+ "azureActiveDirectoryInfo": {
+ "mdmProviderGuid": "bdefabc0-95b4-48b3-b645-8a753a63c4fa"
+ }
+ },
+ "securityInfo": {
+ "type": "TrustedLaunch",
+ "secureBootEnabled": true,
+ "vTpmEnabled": true
+ },
+ "vmAdminCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "bootDiagnosticsInfo": {
+ "enabled": true,
+ "storageUri": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackageInfo_Import_Post.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackageInfo_Import_Post.json
new file mode 100644
index 000000000000..11e67266cfcb
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackageInfo_Import_Post.json
@@ -0,0 +1,126 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostpool1",
+ "api-version": "2023-11-01-preview",
+ "importPackageInfoRequest": {
+ "path": "imagepath",
+ "packageArchitecture": "x64"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "packageName",
+ "id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage",
+ "type": "Microsoft.DesktopVirtualization/appattachpackages",
+ "location": "southcentralus",
+ "tags": {},
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2023-09-28T23:44:56.13Z",
+ "lastModifiedBy": "user1",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2023-10-09T01:43:31.07Z"
+ },
+ "properties": {
+ "image": {
+ "packageAlias": "msixpackagealias",
+ "imagePath": "imagepath",
+ "packageName": "MsixPackageName",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "packageFullName": "MsixPackage_FullName",
+ "displayName": "displayname",
+ "packageRelativePath": "packagerelativepath",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "packageversion",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "AppId",
+ "description": "PackageApplicationDescription",
+ "appUserModelID": "AppUserModelId",
+ "friendlyName": "FriendlyName",
+ "iconImageName": "Iconimagename",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ],
+ "certificateName": "certName",
+ "certificateExpiry": "2023-01-02T17:18:19.1234567Z"
+ },
+ "hostPoolReferences": [],
+ "failHealthCheckOnStagingFailure": "NeedsAssistance",
+ "keyVaultURL": ""
+ }
+ },
+ {
+ "name": "packageName",
+ "id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage",
+ "type": "Microsoft.DesktopVirtualization/appattachpackages",
+ "location": "southcentralus",
+ "tags": {},
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2023-09-28T23:44:56.13Z",
+ "lastModifiedBy": "user1",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2023-10-09T01:43:31.07Z"
+ },
+ "properties": {
+ "image": {
+ "packageAlias": "msixpackagealias",
+ "imagePath": "imagepath",
+ "packageName": "MsixPackageName",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "packageFullName": "MsixPackage_FullName",
+ "displayName": "displayname",
+ "packageRelativePath": "packagerelativepath",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "packageversion",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "AppId",
+ "description": "PackageApplicationDescription",
+ "appUserModelID": "AppUserModelId",
+ "friendlyName": "FriendlyName",
+ "iconImageName": "Iconimagename",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ],
+ "certificateName": "certName",
+ "certificateExpiry": "2023-01-02T17:18:19.1234567Z"
+ },
+ "hostPoolReferences": [],
+ "failHealthCheckOnStagingFailure": "NeedsAssistance",
+ "keyVaultURL": ""
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_Create.json
new file mode 100644
index 000000000000..4b6ae3887116
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_Create.json
@@ -0,0 +1,161 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "api-version": "2023-11-01-preview",
+ "appAttachPackageName": "msixpackagefullname",
+ "appAttachPackage": {
+ "location": "southcentralus",
+ "properties": {
+ "image": {
+ "packageAlias": "msixpackagealias",
+ "imagePath": "imagepath",
+ "packageName": "MsixPackageName",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "packageFullName": "MsixPackage_FullName",
+ "displayName": "displayname",
+ "packageRelativePath": "packagerelativepath",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "packageversion",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "AppId",
+ "description": "PackageApplicationDescription",
+ "appUserModelID": "AppUserModelId",
+ "friendlyName": "FriendlyName",
+ "iconImageName": "Iconimagename",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ],
+ "certificateName": "certName",
+ "certificateExpiry": "2023-01-02T17:18:19.1234567Z"
+ },
+ "hostPoolReferences": [],
+ "failHealthCheckOnStagingFailure": "NeedsAssistance",
+ "keyVaultURL": ""
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "packageName",
+ "id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage",
+ "type": "Microsoft.DesktopVirtualization/appattachpackages",
+ "location": "southcentralus",
+ "tags": {},
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2023-09-28T23:44:56.13Z",
+ "lastModifiedBy": "user1",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2023-10-09T01:43:31.07Z"
+ },
+ "properties": {
+ "image": {
+ "packageAlias": "msixpackagealias",
+ "imagePath": "imagepath",
+ "packageName": "MsixPackageName",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "packageFullName": "MsixPackage_FullName",
+ "displayName": "displayname",
+ "packageRelativePath": "packagerelativepath",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "packageversion",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "AppId",
+ "description": "PackageApplicationDescription",
+ "appUserModelID": "AppUserModelId",
+ "friendlyName": "FriendlyName",
+ "iconImageName": "Iconimagename",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ],
+ "certificateName": "certName",
+ "certificateExpiry": "2023-01-02T17:18:19.1234567Z"
+ },
+ "hostPoolReferences": [],
+ "failHealthCheckOnStagingFailure": "NeedsAssistance",
+ "keyVaultURL": ""
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "packageName",
+ "id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage",
+ "type": "Microsoft.DesktopVirtualization/appattachpackages",
+ "location": "southcentralus",
+ "tags": {},
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2023-09-28T23:44:56.13Z",
+ "lastModifiedBy": "user1",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2023-10-09T01:43:31.07Z"
+ },
+ "properties": {
+ "image": {
+ "packageAlias": "msixpackagealias",
+ "imagePath": "imagepath",
+ "packageName": "MsixPackageName",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "packageFullName": "MsixPackage_FullName",
+ "displayName": "displayname",
+ "packageRelativePath": "packagerelativepath",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "packageversion",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "AppId",
+ "description": "PackageApplicationDescription",
+ "appUserModelID": "AppUserModelId",
+ "friendlyName": "FriendlyName",
+ "iconImageName": "Iconimagename",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ],
+ "certificateName": "certName",
+ "certificateExpiry": "2023-01-02T17:18:19.1234567Z"
+ },
+ "hostPoolReferences": [],
+ "failHealthCheckOnStagingFailure": "NeedsAssistance",
+ "keyVaultURL": ""
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_Delete.json
new file mode 100644
index 000000000000..9869f65ed68c
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_Delete.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "api-version": "2023-11-01-preview",
+ "appAttachPackageName": "packagefullname"
+ },
+ "responses": {
+ "200": {
+ "name": "packageName",
+ "id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage",
+ "type": "Microsoft.DesktopVirtualization/appattachpackages",
+ "location": "southcentralus",
+ "tags": {},
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2023-09-28T23:44:56.13Z",
+ "lastModifiedBy": "user1",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2023-10-09T01:43:31.07Z"
+ },
+ "properties": {
+ "image": {
+ "packageAlias": "msixpackagealias",
+ "imagePath": "imagepath",
+ "packageName": "MsixPackageName",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "packageFullName": "MsixPackage_FullName",
+ "displayName": "displayname",
+ "packageRelativePath": "packagerelativepath",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "packageversion",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "AppId",
+ "description": "PackageApplicationDescription",
+ "appUserModelID": "AppUserModelId",
+ "friendlyName": "FriendlyName",
+ "iconImageName": "Iconimagename",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ],
+ "certificateName": "certName",
+ "certificateExpiry": "2023-01-02T17:18:19.1234567Z"
+ },
+ "hostPoolReferences": [],
+ "failHealthCheckOnStagingFailure": "NeedsAssistance",
+ "keyVaultURL": ""
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_Get.json
new file mode 100644
index 000000000000..4126ef258525
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_Get.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "api-version": "2023-11-01-preview",
+ "appAttachPackageName": "packagefullname"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "packageName",
+ "id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage",
+ "type": "Microsoft.DesktopVirtualization/appattachpackages",
+ "location": "southcentralus",
+ "tags": {},
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2023-09-28T23:44:56.13Z",
+ "lastModifiedBy": "user1",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2023-10-09T01:43:31.07Z"
+ },
+ "properties": {
+ "image": {
+ "packageAlias": "msixpackagealias",
+ "imagePath": "imagepath",
+ "packageName": "MsixPackageName",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "packageFullName": "MsixPackage_FullName",
+ "displayName": "displayname",
+ "packageRelativePath": "packagerelativepath",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "packageversion",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "AppId",
+ "description": "PackageApplicationDescription",
+ "appUserModelID": "AppUserModelId",
+ "friendlyName": "FriendlyName",
+ "iconImageName": "Iconimagename",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ],
+ "certificateName": "certName",
+ "certificateExpiry": "2023-01-02T17:18:19.1234567Z"
+ },
+ "hostPoolReferences": [],
+ "failHealthCheckOnStagingFailure": "NeedsAssistance",
+ "keyVaultURL": ""
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_ListByResourceGroup.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_ListByResourceGroup.json
new file mode 100644
index 000000000000..1779a9abedff
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_ListByResourceGroup.json
@@ -0,0 +1,122 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "api-version": "2023-11-01-preview",
+ "$filter": "HostPoolName eq 'hostpool1'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "packageName",
+ "id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage",
+ "type": "Microsoft.DesktopVirtualization/appattachpackages",
+ "location": "southcentralus",
+ "tags": {},
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2023-09-28T23:44:56.13Z",
+ "lastModifiedBy": "user1",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2023-10-09T01:43:31.07Z"
+ },
+ "properties": {
+ "image": {
+ "packageAlias": "msixpackagealias",
+ "imagePath": "imagepath",
+ "packageName": "MsixPackageName",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "packageFullName": "MsixPackage_FullName",
+ "displayName": "displayname",
+ "packageRelativePath": "packagerelativepath",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "packageversion",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "AppId",
+ "description": "PackageApplicationDescription",
+ "appUserModelID": "AppUserModelId",
+ "friendlyName": "FriendlyName",
+ "iconImageName": "Iconimagename",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ],
+ "certificateName": "certName",
+ "certificateExpiry": "2023-01-02T17:18:19.1234567Z"
+ },
+ "hostPoolReferences": [],
+ "failHealthCheckOnStagingFailure": "NeedsAssistance",
+ "keyVaultURL": ""
+ }
+ },
+ {
+ "name": "packageName",
+ "id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage",
+ "type": "Microsoft.DesktopVirtualization/appattachpackages",
+ "location": "southcentralus",
+ "tags": {},
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2023-09-28T23:44:56.13Z",
+ "lastModifiedBy": "user1",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2023-10-09T01:43:31.07Z"
+ },
+ "properties": {
+ "image": {
+ "packageAlias": "msixpackagealias",
+ "imagePath": "imagepath",
+ "packageName": "MsixPackageName",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "packageFullName": "MsixPackage_FullName",
+ "displayName": "displayname",
+ "packageRelativePath": "packagerelativepath",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "packageversion",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "AppId",
+ "description": "PackageApplicationDescription",
+ "appUserModelID": "AppUserModelId",
+ "friendlyName": "FriendlyName",
+ "iconImageName": "Iconimagename",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ],
+ "certificateName": "certName",
+ "certificateExpiry": "2023-01-02T17:18:19.1234567Z"
+ },
+ "hostPoolReferences": [],
+ "failHealthCheckOnStagingFailure": "NeedsAssistance",
+ "keyVaultURL": ""
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_ListBySubscription.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_ListBySubscription.json
new file mode 100644
index 000000000000..a1e48cca76c1
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_ListBySubscription.json
@@ -0,0 +1,121 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "api-version": "2023-11-01-preview",
+ "$filter": "HostPoolName eq 'hostpool1'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "packageName",
+ "id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage",
+ "type": "Microsoft.DesktopVirtualization/appattachpackages",
+ "location": "southcentralus",
+ "tags": {},
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2023-09-28T23:44:56.13Z",
+ "lastModifiedBy": "user1",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2023-10-09T01:43:31.07Z"
+ },
+ "properties": {
+ "image": {
+ "packageAlias": "msixpackagealias",
+ "imagePath": "imagepath",
+ "packageName": "MsixPackageName",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "packageFullName": "MsixPackage_FullName",
+ "displayName": "displayname",
+ "packageRelativePath": "packagerelativepath",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "packageversion",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "AppId",
+ "description": "PackageApplicationDescription",
+ "appUserModelID": "AppUserModelId",
+ "friendlyName": "FriendlyName",
+ "iconImageName": "Iconimagename",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ],
+ "certificateName": "certName",
+ "certificateExpiry": "2023-01-02T17:18:19.1234567Z"
+ },
+ "hostPoolReferences": [],
+ "failHealthCheckOnStagingFailure": "NeedsAssistance",
+ "keyVaultURL": ""
+ }
+ },
+ {
+ "name": "packageName",
+ "id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage",
+ "type": "Microsoft.DesktopVirtualization/appattachpackages",
+ "location": "southcentralus",
+ "tags": {},
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2023-09-28T23:44:56.13Z",
+ "lastModifiedBy": "user1",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2023-10-09T01:43:31.07Z"
+ },
+ "properties": {
+ "image": {
+ "packageAlias": "msixpackagealias",
+ "imagePath": "imagepath",
+ "packageName": "MsixPackageName",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "packageFullName": "MsixPackage_FullName",
+ "displayName": "displayname",
+ "packageRelativePath": "packagerelativepath",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "packageversion",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "AppId",
+ "description": "PackageApplicationDescription",
+ "appUserModelID": "AppUserModelId",
+ "friendlyName": "FriendlyName",
+ "iconImageName": "Iconimagename",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ],
+ "certificateName": "certName",
+ "certificateExpiry": "2023-01-02T17:18:19.1234567Z"
+ },
+ "hostPoolReferences": [],
+ "failHealthCheckOnStagingFailure": "NeedsAssistance",
+ "keyVaultURL": ""
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_Update.json
new file mode 100644
index 000000000000..cef1b646670f
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/AppAttachPackage_Update.json
@@ -0,0 +1,106 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "api-version": "2023-11-01-preview",
+ "appAttachPackageName": "msixpackagefullname",
+ "appAttachPackage": {
+ "image": {
+ "packageAlias": "msixpackagealias",
+ "imagePath": "imagepath",
+ "packageName": "MsixPackageName",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "packageFullName": "MsixPackage_FullName",
+ "displayName": "displayname",
+ "packageRelativePath": "packagerelativepath",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "packageversion",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "AppId",
+ "description": "PackageApplicationDescription",
+ "appUserModelID": "AppUserModelId",
+ "friendlyName": "FriendlyName",
+ "iconImageName": "Iconimagename",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ],
+ "certificateName": "certName",
+ "certificateExpiry": "2023-01-02T17:18:19.1234567Z"
+ },
+ "hostPoolReferences": [
+ "hostpool1",
+ "hostpool2"
+ ],
+ "keyVaultURL": "url",
+ "failHealthCheckOnStagingFailure": false
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "packageName",
+ "id": "/subscriptions/d15725f7-6577-4a8c-95f1-3da903b42364/resourcegroups/charlesk-southcentralus/providers/Microsoft.DesktopVirtualization/appattachpackages/ModifierPackage",
+ "type": "Microsoft.DesktopVirtualization/appattachpackages",
+ "location": "southcentralus",
+ "tags": {},
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2023-09-28T23:44:56.13Z",
+ "lastModifiedBy": "user1",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2023-10-09T01:43:31.07Z"
+ },
+ "properties": {
+ "image": {
+ "packageAlias": "msixpackagealias",
+ "imagePath": "imagepath",
+ "packageName": "MsixPackageName",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "packageFullName": "MsixPackage_FullName",
+ "displayName": "displayname",
+ "packageRelativePath": "packagerelativepath",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "packageversion",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "AppId",
+ "description": "PackageApplicationDescription",
+ "appUserModelID": "AppUserModelId",
+ "friendlyName": "FriendlyName",
+ "iconImageName": "Iconimagename",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ],
+ "certificateName": "certName",
+ "certificateExpiry": "2023-01-02T17:18:19.1234567Z"
+ },
+ "hostPoolReferences": [],
+ "failHealthCheckOnStagingFailure": "NeedsAssistance",
+ "keyVaultURL": ""
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_Create.json
new file mode 100644
index 000000000000..9f203395a81a
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_Create.json
@@ -0,0 +1,84 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "applicationGroupName": "applicationGroup1",
+ "api-version": "2023-11-01-preview",
+ "applicationGroup": {
+ "location": "centralus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "description": "des1",
+ "friendlyName": "friendly",
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "applicationGroupType": "RemoteApp",
+ "showInFeed": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "applicationGroup1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1",
+ "applicationGroupType": "RemoteApp",
+ "cloudPcResource": false,
+ "showInFeed": true
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "applicationGroup1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1",
+ "applicationGroupType": "RemoteApp",
+ "cloudPcResource": false,
+ "showInFeed": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_Delete.json
new file mode 100644
index 000000000000..3fb4eaa7a1a9
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_Delete.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "applicationGroupName": "applicationGroup1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "name": "applicationGroup1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1",
+ "applicationGroupType": "RemoteApp",
+ "cloudPcResource": false,
+ "showInFeed": true
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_Get.json
new file mode 100644
index 000000000000..59390cd9f4c2
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_Get.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "applicationGroupName": "applicationGroup1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "applicationGroup1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1",
+ "applicationGroupType": "RemoteApp",
+ "cloudPcResource": false,
+ "showInFeed": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_ListByResourceGroup.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_ListByResourceGroup.json
new file mode 100644
index 000000000000..9f92c2e095cc
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_ListByResourceGroup.json
@@ -0,0 +1,75 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "api-version": "2023-11-01-preview",
+ "$filter": "applicationGroupType eq 'RailApplication'",
+ "pageSize": 10,
+ "isDescending": true,
+ "initialSkip": 0
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "applicationGroup1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1",
+ "applicationGroupType": "RemoteApp",
+ "cloudPcResource": false,
+ "showInFeed": true
+ }
+ },
+ {
+ "name": "applicationGroup2",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1",
+ "applicationGroupType": "RemoteApp",
+ "cloudPcResource": false,
+ "showInFeed": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_ListBySubscription.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_ListBySubscription.json
new file mode 100644
index 000000000000..ac0da637d79c
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_ListBySubscription.json
@@ -0,0 +1,74 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "api-version": "2023-11-01-preview",
+ "$filter": "applicationGroupType eq 'RailApplication'",
+ "pageSize": 10,
+ "isDescending": true,
+ "initialSkip": 0
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "applicationGroup1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1",
+ "applicationGroupType": "RemoteApp",
+ "cloudPcResource": false,
+ "showInFeed": true
+ }
+ },
+ {
+ "name": "applicationGroup2",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1",
+ "applicationGroupType": "RemoteApp",
+ "cloudPcResource": false,
+ "showInFeed": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_Update.json
new file mode 100644
index 000000000000..e58f05667959
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ApplicationGroup_Update.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "applicationGroupName": "applicationGroup1",
+ "api-version": "2023-11-01-preview",
+ "applicationGroup": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "description": "des1",
+ "friendlyName": "friendly",
+ "showInFeed": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "applicationGroup1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1",
+ "applicationGroupType": "RemoteApp",
+ "cloudPcResource": false,
+ "showInFeed": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Application_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Application_Create.json
new file mode 100644
index 000000000000..c9b23ca56f0d
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Application_Create.json
@@ -0,0 +1,85 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "applicationGroupName": "applicationGroup1",
+ "applicationName": "application1",
+ "api-version": "2023-11-01-preview",
+ "application": {
+ "properties": {
+ "description": "des1",
+ "friendlyName": "friendly",
+ "filePath": "path",
+ "commandLineSetting": "Allow",
+ "commandLineArguments": "arguments",
+ "showInPortal": true,
+ "iconPath": "icon",
+ "iconIndex": 1
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "applicationGroup1/application1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups/applications",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "filePath": "path",
+ "commandLineSetting": "Allow",
+ "commandLineArguments": "arguments",
+ "showInPortal": true,
+ "iconPath": "icon",
+ "iconIndex": 1,
+ "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
+ "iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "applicationType": "InBuilt",
+ "msixPackageFamilyName": null,
+ "msixPackageApplicationId": null
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "applicationGroup1/application1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups/applications",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "filePath": "path",
+ "commandLineSetting": "Allow",
+ "commandLineArguments": "arguments",
+ "showInPortal": true,
+ "iconPath": "icon",
+ "iconIndex": 1,
+ "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
+ "iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "applicationType": "InBuilt",
+ "msixPackageFamilyName": null,
+ "msixPackageApplicationId": null
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Application_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Application_Delete.json
new file mode 100644
index 000000000000..35df707742a3
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Application_Delete.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "applicationGroupName": "applicationGroup1",
+ "applicationName": "application1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "name": "applicationGroup1/application1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups/applications",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "filePath": "path",
+ "commandLineSetting": "Allow",
+ "commandLineArguments": "arguments",
+ "showInPortal": true,
+ "iconPath": "icon",
+ "iconIndex": 1,
+ "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
+ "iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "applicationType": "InBuilt",
+ "msixPackageFamilyName": null,
+ "msixPackageApplicationId": null
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Application_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Application_Get.json
new file mode 100644
index 000000000000..697562564f4f
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Application_Get.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "applicationGroupName": "applicationGroup1",
+ "applicationName": "application1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "applicationGroup1/application1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups/applications",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "filePath": "path",
+ "commandLineSetting": "Allow",
+ "commandLineArguments": "arguments",
+ "showInPortal": true,
+ "iconPath": "icon",
+ "iconIndex": 1,
+ "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
+ "iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "applicationType": "InBuilt",
+ "msixPackageFamilyName": null,
+ "msixPackageApplicationId": null
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Application_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Application_List.json
new file mode 100644
index 000000000000..a1d75785242e
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Application_List.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "applicationGroupName": "applicationGroup1",
+ "api-version": "2023-11-01-preview",
+ "pageSize": 10,
+ "isDescending": true,
+ "initialSkip": 0
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "applicationGroup1/application1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups/applications",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "filePath": "path",
+ "commandLineSetting": "Allow",
+ "commandLineArguments": "arguments",
+ "showInPortal": true,
+ "iconPath": "icon",
+ "iconIndex": 1,
+ "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
+ "iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "applicationType": "InBuilt",
+ "msixPackageFamilyName": null,
+ "msixPackageApplicationId": null
+ }
+ },
+ {
+ "name": "applicationGroup1/application2",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application2",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups/applications",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des2",
+ "friendlyName": "friendly",
+ "filePath": "path",
+ "commandLineSetting": "Allow",
+ "commandLineArguments": "arguments",
+ "showInPortal": true,
+ "iconPath": "icon",
+ "iconIndex": 1,
+ "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
+ "iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "applicationType": "InBuilt",
+ "msixPackageFamilyName": null,
+ "msixPackageApplicationId": null
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Application_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Application_Update.json
new file mode 100644
index 000000000000..8d326a1b6817
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Application_Update.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "applicationGroupName": "applicationGroup1",
+ "applicationName": "application1",
+ "api-version": "2023-11-01-preview",
+ "application": {
+ "properties": {
+ "description": "des1",
+ "friendlyName": "friendly",
+ "filePath": "path",
+ "commandLineSetting": "Allow",
+ "commandLineArguments": "arguments",
+ "showInPortal": true,
+ "iconPath": "icon",
+ "iconIndex": 1,
+ "applicationType": "InBuilt",
+ "msixPackageFamilyName": null,
+ "msixPackageApplicationId": null
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "applicationGroup1/application1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/application1",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups/applications",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "filePath": "path",
+ "commandLineSetting": "Allow",
+ "commandLineArguments": "arguments",
+ "showInPortal": true,
+ "iconPath": "icon",
+ "iconIndex": 1,
+ "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
+ "iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "applicationType": "InBuilt",
+ "msixPackageFamilyName": null,
+ "msixPackageApplicationId": null
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Desktop_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Desktop_Get.json
new file mode 100644
index 000000000000..380dfa7aca5f
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Desktop_Get.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "applicationGroupName": "applicationGroup1",
+ "desktopName": "SessionDesktop",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "applicationGroup1/SessionDesktop",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups/desktops",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
+ "iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Desktop_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Desktop_List.json
new file mode 100644
index 000000000000..1bb3439dde2d
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Desktop_List.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "applicationGroupName": "applicationGroup1",
+ "api-version": "2023-11-01-preview",
+ "pageSize": 10,
+ "isDescending": true,
+ "initialSkip": 0
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "applicationGroup1/SessionDesktop",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/applications/SessionDesktop",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups/desktops",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
+ "iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Desktop_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Desktop_Update.json
new file mode 100644
index 000000000000..49c1f6330af8
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Desktop_Update.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "applicationGroupName": "applicationGroup1",
+ "desktopName": "SessionDesktop",
+ "api-version": "2023-11-01-preview",
+ "desktop": {
+ "properties": {
+ "description": "des1",
+ "friendlyName": "friendly"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "applicationGroup1/SessionDesktop",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/desktops/SessionDesktop",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups/desktops",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "iconHash": "bEQ1n2HysrGxCDvgt4bfOtkET8ydzh5SXGM0KGTBPVc",
+ "iconContent": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_Create.json
new file mode 100644
index 000000000000..f28f475f9cbd
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_Create.json
@@ -0,0 +1,175 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview",
+ "hostPool": {
+ "location": "centralus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "friendlyName": "friendly",
+ "description": "des1",
+ "hostPoolType": "Pooled",
+ "personalDesktopAssignmentType": "Automatic",
+ "customRdpProperty": null,
+ "maxSessionLimit": 999999,
+ "loadBalancerType": "BreadthFirst",
+ "registrationInfo": {
+ "expirationTime": "2020-10-01T14:01:54.9571247Z",
+ "registrationTokenOperation": "Update"
+ },
+ "vmTemplate": "{json:json}",
+ "managementType": "Automated",
+ "ssoadfsAuthority": "https://adfs",
+ "ssoClientId": "client",
+ "ssoClientSecretKeyVaultPath": "https://keyvault/secret",
+ "ssoSecretType": "SharedKey",
+ "preferredAppGroupType": "Desktop",
+ "startVMOnConnect": false,
+ "agentUpdate": {
+ "type": "Scheduled",
+ "useSessionHostLocalTime": false,
+ "maintenanceWindowTimeZone": "Alaskan Standard Time",
+ "maintenanceWindows": [
+ {
+ "hour": 7,
+ "dayOfWeek": "Friday"
+ },
+ {
+ "hour": 8,
+ "dayOfWeek": "Saturday"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hostPool1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "type": "/Microsoft.DesktopVirtualization/hostPools",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "friendlyName": "friendly",
+ "description": "des1",
+ "hostPoolType": "Pooled",
+ "personalDesktopAssignmentType": "Automatic",
+ "customRdpProperty": null,
+ "maxSessionLimit": 999999,
+ "loadBalancerType": "BreadthFirst",
+ "validationEnvironment": null,
+ "ring": null,
+ "registrationInfo": {
+ "expirationTime": "2020-10-01T14:01:54.9571247Z",
+ "token": "token",
+ "registrationTokenOperation": "Update"
+ },
+ "vmTemplate": "{json:json}",
+ "managementType": "Automated",
+ "ssoadfsAuthority": "https://adfs",
+ "ssoClientId": "client",
+ "ssoClientSecretKeyVaultPath": "https://keyvault/secret",
+ "ssoSecretType": "SharedKey",
+ "preferredAppGroupType": "Desktop",
+ "startVMOnConnect": false,
+ "cloudPcResource": false,
+ "agentUpdate": {
+ "type": "Scheduled",
+ "useSessionHostLocalTime": false,
+ "maintenanceWindowTimeZone": "Alaskan Standard Time",
+ "maintenanceWindows": [
+ {
+ "hour": 7,
+ "dayOfWeek": "Friday"
+ },
+ {
+ "hour": 8,
+ "dayOfWeek": "Saturday"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "hostPool1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "type": "/Microsoft.DesktopVirtualization/hostPools",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "friendlyName": "friendly",
+ "description": "des1",
+ "hostPoolType": "Pooled",
+ "personalDesktopAssignmentType": "Automatic",
+ "customRdpProperty": null,
+ "maxSessionLimit": 999999,
+ "loadBalancerType": "BreadthFirst",
+ "validationEnvironment": null,
+ "ring": null,
+ "registrationInfo": {
+ "expirationTime": "2020-10-01T14:01:54.9571247Z",
+ "token": "token",
+ "registrationTokenOperation": "Update"
+ },
+ "vmTemplate": "{json:json}",
+ "managementType": "Automated",
+ "ssoadfsAuthority": "https://adfs",
+ "ssoClientId": "client",
+ "ssoClientSecretKeyVaultPath": "https://keyvault/secret",
+ "ssoSecretType": "SharedKey",
+ "preferredAppGroupType": "Desktop",
+ "startVMOnConnect": false,
+ "cloudPcResource": false,
+ "agentUpdate": {
+ "type": "Scheduled",
+ "useSessionHostLocalTime": false,
+ "maintenanceWindowTimeZone": "Alaskan Standard Time",
+ "maintenanceWindows": [
+ {
+ "hour": 7,
+ "dayOfWeek": "Friday"
+ },
+ {
+ "hour": 8,
+ "dayOfWeek": "Saturday"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_Delete.json
new file mode 100644
index 000000000000..1f78b3d0411f
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_Delete.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview",
+ "force": true
+ },
+ "responses": {
+ "200": {
+ "name": "hostPool1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "type": "/Microsoft.DesktopVirtualization/hostPools",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "friendlyName": "friendly",
+ "description": "des1",
+ "hostPoolType": "Pooled",
+ "personalDesktopAssignmentType": "Automatic",
+ "customRdpProperty": null,
+ "maxSessionLimit": 999999,
+ "loadBalancerType": "BreadthFirst",
+ "validationEnvironment": null,
+ "ring": null,
+ "registrationInfo": {
+ "expirationTime": "2008-09-22T14:01:54.9571247Z",
+ "token": "token",
+ "registrationTokenOperation": "Update"
+ },
+ "vmTemplate": "{json:json}",
+ "managementType": "Automated",
+ "ssoadfsAuthority": "https://adfs",
+ "ssoClientId": "client",
+ "ssoClientSecretKeyVaultPath": "https://keyvault/secret",
+ "ssoSecretType": "SharedKey",
+ "startVMOnConnect": false,
+ "cloudPcResource": false,
+ "agentUpdate": {
+ "type": "Scheduled",
+ "useSessionHostLocalTime": false,
+ "maintenanceWindowTimeZone": "Alaskan Standard Time",
+ "maintenanceWindows": [
+ {
+ "hour": 7,
+ "dayOfWeek": "Friday"
+ },
+ {
+ "hour": 8,
+ "dayOfWeek": "Saturday"
+ }
+ ]
+ }
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_Get.json
new file mode 100644
index 000000000000..a81c9d15d34b
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_Get.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hostPool1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "type": "/Microsoft.DesktopVirtualization/hostPools",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "friendlyName": "friendly",
+ "description": "des1",
+ "hostPoolType": "Pooled",
+ "personalDesktopAssignmentType": "Automatic",
+ "customRdpProperty": null,
+ "maxSessionLimit": 999999,
+ "loadBalancerType": "BreadthFirst",
+ "validationEnvironment": null,
+ "ring": null,
+ "registrationInfo": {
+ "expirationTime": "2008-09-22T14:01:54.9571247Z",
+ "token": "token",
+ "registrationTokenOperation": "Update"
+ },
+ "vmTemplate": "{json:json}",
+ "managementType": "Automated",
+ "ssoadfsAuthority": "https://adfs",
+ "ssoClientId": "client",
+ "ssoClientSecretKeyVaultPath": "https://keyvault/secret",
+ "ssoSecretType": "SharedKey",
+ "preferredAppGroupType": "Desktop",
+ "startVMOnConnect": false,
+ "cloudPcResource": false,
+ "agentUpdate": {
+ "type": "Scheduled",
+ "useSessionHostLocalTime": false,
+ "maintenanceWindowTimeZone": "Alaskan Standard Time",
+ "maintenanceWindows": [
+ {
+ "hour": 7,
+ "dayOfWeek": "Friday"
+ },
+ {
+ "hour": 8,
+ "dayOfWeek": "Saturday"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "default": {
+ "body": {
+ "error": {
+ "code": "hostPoolDoesNotExist",
+ "message": "Host Pool Does Not Exist"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_List.json
new file mode 100644
index 000000000000..4339bc6d4858
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_List.json
@@ -0,0 +1,135 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "api-version": "2023-11-01-preview",
+ "pageSize": 10,
+ "isDescending": true,
+ "initialSkip": 0
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "hostPool1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "type": "/Microsoft.DesktopVirtualization/hostPools",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "friendlyName": "friendly",
+ "description": "des1",
+ "hostPoolType": "Pooled",
+ "personalDesktopAssignmentType": "Automatic",
+ "customRdpProperty": null,
+ "maxSessionLimit": 999999,
+ "loadBalancerType": "BreadthFirst",
+ "validationEnvironment": null,
+ "ring": null,
+ "registrationInfo": {
+ "expirationTime": "2008-09-22T14:01:54.9571247Z",
+ "token": "token",
+ "registrationTokenOperation": "Update"
+ },
+ "vmTemplate": "{json:json}",
+ "managementType": "Automated",
+ "ssoadfsAuthority": "https://adfs",
+ "ssoClientId": "client",
+ "ssoClientSecretKeyVaultPath": "https://keyvault/secret",
+ "ssoSecretType": "SharedKey",
+ "preferredAppGroupType": "Desktop",
+ "startVMOnConnect": false,
+ "cloudPcResource": false,
+ "agentUpdate": {
+ "type": "Scheduled",
+ "useSessionHostLocalTime": false,
+ "maintenanceWindowTimeZone": "Alaskan Standard Time",
+ "maintenanceWindows": [
+ {
+ "hour": 7,
+ "dayOfWeek": "Friday"
+ },
+ {
+ "hour": 8,
+ "dayOfWeek": "Saturday"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "hostPool2",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2",
+ "type": "/Microsoft.DesktopVirtualization/hostPools",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "friendlyName": "friendly",
+ "description": "des1",
+ "hostPoolType": "Pooled",
+ "personalDesktopAssignmentType": "Automatic",
+ "customRdpProperty": null,
+ "maxSessionLimit": 999999,
+ "loadBalancerType": "BreadthFirst",
+ "validationEnvironment": null,
+ "ring": null,
+ "registrationInfo": {
+ "expirationTime": "2008-09-22T14:01:54.9571247Z",
+ "token": "token",
+ "registrationTokenOperation": "Update"
+ },
+ "vmTemplate": "{json:json}",
+ "managementType": "Automated",
+ "ssoadfsAuthority": "https://adfs",
+ "ssoClientId": "client",
+ "ssoClientSecretKeyVaultPath": "https://keyvault/secret",
+ "ssoSecretType": "SharedKey",
+ "preferredAppGroupType": "Desktop",
+ "startVMOnConnect": false,
+ "cloudPcResource": false,
+ "agentUpdate": {
+ "type": "Scheduled",
+ "useSessionHostLocalTime": false,
+ "maintenanceWindowTimeZone": "Alaskan Standard Time",
+ "maintenanceWindows": [
+ {
+ "hour": 7,
+ "dayOfWeek": "Friday"
+ },
+ {
+ "hour": 8,
+ "dayOfWeek": "Saturday"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_ListByResourceGroup.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_ListByResourceGroup.json
new file mode 100644
index 000000000000..cc69a5df1792
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_ListByResourceGroup.json
@@ -0,0 +1,136 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "api-version": "2023-11-01-preview",
+ "pageSize": 10,
+ "isDescending": true,
+ "initialSkip": 0
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "hostPool1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "type": "/Microsoft.DesktopVirtualization/hostPools",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "friendlyName": "friendly",
+ "description": "des1",
+ "hostPoolType": "Pooled",
+ "personalDesktopAssignmentType": "Automatic",
+ "customRdpProperty": null,
+ "maxSessionLimit": 999999,
+ "loadBalancerType": "BreadthFirst",
+ "validationEnvironment": null,
+ "ring": null,
+ "registrationInfo": {
+ "expirationTime": "2008-09-22T14:01:54.9571247Z",
+ "token": "token",
+ "registrationTokenOperation": "Update"
+ },
+ "vmTemplate": "{json:json}",
+ "managementType": "Automated",
+ "ssoadfsAuthority": "https://adfs",
+ "ssoClientId": "client",
+ "ssoClientSecretKeyVaultPath": "https://keyvault/secret",
+ "ssoSecretType": "SharedKey",
+ "preferredAppGroupType": "Desktop",
+ "startVMOnConnect": false,
+ "cloudPcResource": false,
+ "agentUpdate": {
+ "type": "Scheduled",
+ "useSessionHostLocalTime": false,
+ "maintenanceWindowTimeZone": "Alaskan Standard Time",
+ "maintenanceWindows": [
+ {
+ "hour": 7,
+ "dayOfWeek": "Friday"
+ },
+ {
+ "hour": 8,
+ "dayOfWeek": "Saturday"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "hostPool2",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool2",
+ "type": "/Microsoft.DesktopVirtualization/hostPools",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "friendlyName": "friendly",
+ "description": "des1",
+ "hostPoolType": "Pooled",
+ "personalDesktopAssignmentType": "Automatic",
+ "customRdpProperty": null,
+ "maxSessionLimit": 999999,
+ "loadBalancerType": "BreadthFirst",
+ "validationEnvironment": null,
+ "ring": null,
+ "registrationInfo": {
+ "expirationTime": "2008-09-22T14:01:54.9571247Z",
+ "token": "token",
+ "registrationTokenOperation": "Update"
+ },
+ "vmTemplate": "{json:json}",
+ "managementType": "Automated",
+ "ssoadfsAuthority": "https://adfs",
+ "ssoClientId": "client",
+ "ssoClientSecretKeyVaultPath": "https://keyvault/secret",
+ "ssoSecretType": "SharedKey",
+ "preferredAppGroupType": "Desktop",
+ "startVMOnConnect": false,
+ "cloudPcResource": false,
+ "agentUpdate": {
+ "type": "Scheduled",
+ "useSessionHostLocalTime": false,
+ "maintenanceWindowTimeZone": "Alaskan Standard Time",
+ "maintenanceWindows": [
+ {
+ "hour": 7,
+ "dayOfWeek": "Friday"
+ },
+ {
+ "hour": 8,
+ "dayOfWeek": "Saturday"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_Update.json
new file mode 100644
index 000000000000..9f9d3ff48443
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPool_Update.json
@@ -0,0 +1,110 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview",
+ "hostPool": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "friendlyName": "friendly",
+ "description": "des1",
+ "customRdpProperty": null,
+ "maxSessionLimit": 999999,
+ "loadBalancerType": "BreadthFirst",
+ "personalDesktopAssignmentType": "Automatic",
+ "registrationInfo": {
+ "expirationTime": "2020-10-01T15:01:54.9571247Z",
+ "registrationTokenOperation": "Update"
+ },
+ "vmTemplate": "{json:json}",
+ "ssoadfsAuthority": "https://adfs",
+ "ssoClientId": "client",
+ "ssoClientSecretKeyVaultPath": "https://keyvault/secret",
+ "ssoSecretType": "SharedKey",
+ "startVMOnConnect": false,
+ "agentUpdate": {
+ "type": "Scheduled",
+ "useSessionHostLocalTime": false,
+ "maintenanceWindowTimeZone": "Alaskan Standard Time",
+ "maintenanceWindows": [
+ {
+ "hour": 7,
+ "dayOfWeek": "Friday"
+ },
+ {
+ "hour": 8,
+ "dayOfWeek": "Saturday"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hostPool1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "type": "/Microsoft.DesktopVirtualization/hostPools",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "friendlyName": "friendly",
+ "description": "des1",
+ "hostPoolType": "Pooled",
+ "personalDesktopAssignmentType": "Automatic",
+ "customRdpProperty": null,
+ "maxSessionLimit": 999999,
+ "loadBalancerType": "BreadthFirst",
+ "validationEnvironment": null,
+ "ring": null,
+ "registrationInfo": {
+ "expirationTime": "2008-09-22T14:01:54.9571247Z",
+ "token": "token",
+ "registrationTokenOperation": "Update"
+ },
+ "vmTemplate": "{json:json}",
+ "managementType": "Automated",
+ "ssoadfsAuthority": "https://adfs",
+ "ssoClientId": "client",
+ "ssoClientSecretKeyVaultPath": "https://keyvault/secret",
+ "ssoSecretType": "SharedKey",
+ "preferredAppGroupType": "Desktop",
+ "startVMOnConnect": false,
+ "cloudPcResource": false,
+ "agentUpdate": {
+ "type": "Scheduled",
+ "useSessionHostLocalTime": false,
+ "maintenanceWindowTimeZone": "Alaskan Standard Time",
+ "maintenanceWindows": [
+ {
+ "hour": 7,
+ "dayOfWeek": "Friday"
+ },
+ {
+ "hour": 8,
+ "dayOfWeek": "Saturday"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPools_RetrieveRegistrationToken_Post.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPools_RetrieveRegistrationToken_Post.json
new file mode 100644
index 000000000000..f7cbfe874c47
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/HostPools_RetrieveRegistrationToken_Post.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "expirationTime": "2008-09-22T14:01:54.9571247Z",
+ "token": "token",
+ "registrationTokenOperation": "Update"
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixImage_Expand_Post.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixImage_Expand_Post.json
new file mode 100644
index 000000000000..f205d63c2a19
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixImage_Expand_Post.json
@@ -0,0 +1,99 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostpool1",
+ "api-version": "2023-11-01-preview",
+ "msixImageURI": {
+ "uri": "imagepath"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "hostpool1/expandmsiximage",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostpool1/expandmsiximage",
+ "type": "Microsoft.DesktopVirtualization/hostpools/expandmsiximage",
+ "properties": {
+ "packageAlias": "msixpackagealias",
+ "imagePath": "imagepath",
+ "packageName": "MsixPackageName",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "packageFullName": "MsixPackage_FullName",
+ "displayName": "displayname",
+ "packageRelativePath": "packagerelativepath",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [],
+ "version": "packageversion",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "AppId",
+ "description": "PackageApplicationDescription",
+ "appUserModelID": "AppUserModelId",
+ "friendlyName": "FriendlyName",
+ "iconImageName": "Iconimagename",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ]
+ }
+ },
+ {
+ "name": "hostpool1/expandmsiximage",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostpool1/expandmsiximage",
+ "type": "Microsoft.DesktopVirtualization/hostpools/expandmsiximage",
+ "properties": {
+ "packageAlias": "msixpackagealias2",
+ "imagePath": "imagepath",
+ "packageName": "MsixPackageName2",
+ "packageFamilyName": "MsixPackage_FamilyName2",
+ "packageFullName": "MsixPackage_FullName2",
+ "displayName": "displayname2",
+ "packageRelativePath": "packagerelativepath2",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackageDependency1",
+ "publisher": "PublisherName1",
+ "minVersion": "ver1"
+ },
+ {
+ "dependencyName": "MsixPackageDependency2",
+ "publisher": "PublisherName2",
+ "minVersion": "ver2"
+ }
+ ],
+ "version": "packageversion",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "AppId1",
+ "description": "PackageApplicationDescription1",
+ "appUserModelID": "AppUserModelId1",
+ "friendlyName": "FriendlyName1",
+ "iconImageName": "Iconimagename1",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ },
+ {
+ "appId": "AppId2",
+ "description": "PackageApplicationDescription2",
+ "appUserModelID": "AppUserModelId2",
+ "friendlyName": "FriendlyName2",
+ "iconImageName": "Iconimagename2",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixPackage_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixPackage_Create.json
new file mode 100644
index 000000000000..2d0ab3410b83
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixPackage_Create.json
@@ -0,0 +1,130 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostpool1",
+ "api-version": "2023-11-01-preview",
+ "msixPackageFullName": "msixpackagefullname",
+ "msixPackage": {
+ "properties": {
+ "displayName": "displayname",
+ "imagePath": "imagepath",
+ "isActive": false,
+ "isRegularRegistration": false,
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "description": "application-desc",
+ "appId": "ApplicationId",
+ "appUserModelID": "AppUserModelId",
+ "friendlyName": "friendlyname",
+ "iconImageName": "Apptile",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ],
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixTest_Dependency_Name",
+ "minVersion": "version",
+ "publisher": "PublishedName"
+ }
+ ],
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "packageName": "MsixPackage_name",
+ "packageRelativePath": "packagerelativepath",
+ "version": "version"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hostpool1/MsixPackageFullName",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourcegroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostpool1/msixpackages/msixPackageFullName",
+ "type": "Microsoft.DesktopVirtualization/hostpools/msixpackages",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "imagePath": "imagepath",
+ "packageName": "MsixPackage_Name",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "displayName": "dis",
+ "packageRelativePath": "MsixPackage_RelativePackageRoot",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "version",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "Application_Id",
+ "description": "desc",
+ "appUserModelID": "Application_ModelID",
+ "friendlyName": "fri",
+ "iconImageName": "Apptile",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "hostpool1/MsixPackageFullName",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourcegroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostpool1/msixpackages/msixPackageFullName",
+ "type": "Microsoft.DesktopVirtualization/hostpools/msixpackages",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "imagePath": "imagepath",
+ "packageName": "MsixPackage_Name",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "displayName": "dis",
+ "packageRelativePath": "MsixPackage_RelativePackageRoot",
+ "isRegularRegistration": false,
+ "isActive": true,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "version",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "Application_Id",
+ "description": "desc",
+ "appUserModelID": "Application_ModelID",
+ "friendlyName": "fri",
+ "iconImageName": "Apptile",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixPackage_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixPackage_Delete.json
new file mode 100644
index 000000000000..72bf4f793f4b
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixPackage_Delete.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostpool1",
+ "api-version": "2023-11-01-preview",
+ "msixPackageFullName": "packagefullname"
+ },
+ "responses": {
+ "200": {
+ "name": "hostpool1/MsixPackageFullName",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourcegroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostpool1/msixpackages/msixPackageFullName",
+ "type": "Microsoft.DesktopVirtualization/hostpools/msixpackages",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "imagePath": "imagepath",
+ "packageName": "MsixPackage_Name",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "displayName": "dis",
+ "packageRelativePath": "MsixPackage_RelativePackageRoot",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "version",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "Application_Id",
+ "description": "desc",
+ "appUserModelID": "Application_ModelID",
+ "friendlyName": "fri",
+ "iconImageName": "Apptile",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ]
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixPackage_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixPackage_Get.json
new file mode 100644
index 000000000000..a6c832503063
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixPackage_Get.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostpool1",
+ "api-version": "2023-11-01-preview",
+ "msixPackageFullName": "packagefullname"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hostpool1/MsixPackageFullName",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourcegroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostpool1/msixpackages/msixPackageFullName",
+ "type": "Microsoft.DesktopVirtualization/hostpools/msixpackages",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "imagePath": "imagepath",
+ "packageName": "MsixPackage_Name",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "displayName": "dis",
+ "packageRelativePath": "MsixPackage_RelativePackageRoot",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "version",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "Application_Id",
+ "description": "desc",
+ "appUserModelID": "Application_ModelID",
+ "friendlyName": "fri",
+ "iconImageName": "Apptile",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixPackage_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixPackage_List.json
new file mode 100644
index 000000000000..c0bf7a1c50d2
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixPackage_List.json
@@ -0,0 +1,103 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostpool1",
+ "api-version": "2023-11-01-preview",
+ "pageSize": 10,
+ "isDescending": true,
+ "initialSkip": 0
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "hostpool1/MsixPackageFullName",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourcegroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostpool1/msixpackages/msixPackageFullName",
+ "type": "Microsoft.DesktopVirtualization/hostpools/msixpackages",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "imagePath": "imagepath",
+ "packageName": "MsixPackage_Name",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "displayName": "dis",
+ "packageRelativePath": "MsixPackage_RelativePackageRoot",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "version",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "Application_Id",
+ "description": "desc",
+ "appUserModelID": "Application_ModelID",
+ "friendlyName": "fri",
+ "iconImageName": "Apptile",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ]
+ }
+ },
+ {
+ "name": "hostpool1/MsixPackageFullName2",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourcegroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostpool1/msixpackages/msixPackageFullName2",
+ "type": "Microsoft.DesktopVirtualization/hostpools/msixpackages",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "imagePath": "imagepath2",
+ "packageName": "MsixPackage_Name2",
+ "packageFamilyName": "MsixPackage_FamilyName2",
+ "displayName": "dis2",
+ "packageRelativePath": "MsixPackage_RelativePackageRoot2",
+ "isRegularRegistration": false,
+ "isActive": false,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name2",
+ "publisher": "MsixPackage_Dependency_Publisher2",
+ "minVersion": "packageDep_version2"
+ }
+ ],
+ "version": "version2",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "Application_Id2",
+ "description": "desc2",
+ "appUserModelID": "Application_ModelID2",
+ "friendlyName": "fri2",
+ "iconImageName": "Apptile2",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixPackage_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixPackage_Update.json
new file mode 100644
index 000000000000..69d54bbce84a
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/MsixPackage_Update.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostpool1",
+ "api-version": "2023-11-01-preview",
+ "msixPackageFullName": "msixpackagefullname",
+ "msixPackage": {
+ "properties": {
+ "displayName": "displayname",
+ "isActive": true,
+ "isRegularRegistration": false
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hostpool1/MsixPackageFullName",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourcegroups/resourcegroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostpool1/msixpackages/msixPackageFullName",
+ "type": "Microsoft.DesktopVirtualization/hostpools/msixpackages",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "imagePath": "imagepath",
+ "packageName": "MsixPackage_Name",
+ "packageFamilyName": "MsixPackage_FamilyName",
+ "displayName": "dis",
+ "packageRelativePath": "MsixPackage_RelativePackageRoot",
+ "isRegularRegistration": false,
+ "isActive": true,
+ "packageDependencies": [
+ {
+ "dependencyName": "MsixPackage_Dependency_Name",
+ "publisher": "MsixPackage_Dependency_Publisher",
+ "minVersion": "packageDep_version"
+ }
+ ],
+ "version": "version",
+ "lastUpdated": "2008-09-22T14:01:54.9571247Z",
+ "packageApplications": [
+ {
+ "appId": "Application_Id",
+ "description": "desc",
+ "appUserModelID": "Application_ModelID",
+ "friendlyName": "fri",
+ "iconImageName": "Apptile",
+ "rawIcon": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo",
+ "rawPng": "VGhpcyBpcyBhIHN0cmluZyB0byBoYXNo"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/OperationDescription_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/OperationDescription_List.json
new file mode 100644
index 000000000000..9ac2883ff624
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/OperationDescription_List.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.DesktopVirtualization/hostpools/read",
+ "display": {
+ "provider": "Microsoft.DesktopVirtualization",
+ "resource": "hostpools",
+ "operation": "Read hostpool",
+ "description": "Read hostpool"
+ },
+ "isDataAction": false
+ },
+ {
+ "name": "Microsoft.DesktopVirtualization/hostpools/write",
+ "display": {
+ "provider": "Microsoft.DesktopVirtualization",
+ "resource": "hostpools",
+ "operation": "Write hostpool",
+ "description": "Write hostpool"
+ },
+ "properties": {
+ "serviceSpecification": {
+ "logSpecifications": [
+ {
+ "name": "",
+ "displayName": ""
+ },
+ {
+ "name": "",
+ "displayName": ""
+ },
+ {
+ "name": "",
+ "displayName": ""
+ }
+ ]
+ }
+ },
+ "isDataAction": false
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_DeleteByHostPool.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_DeleteByHostPool.json
new file mode 100644
index 000000000000..a9ee4eec4bcf
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_DeleteByHostPool.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "privateEndpointConnectionName": "hostPool1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_DeleteByWorkspace.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_DeleteByWorkspace.json
new file mode 100644
index 000000000000..c535aee824f7
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_DeleteByWorkspace.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "workspaceName": "workspace1",
+ "privateEndpointConnectionName": "workspace1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_GetByHostPool.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_GetByHostPool.json
new file mode 100644
index 000000000000..b36afe04fbee
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_GetByHostPool.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "privateEndpointConnectionName": "hostPool1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hostPool1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/privateEndpointConnections/hostPool1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "type": "Microsoft.DesktopVirtualization/hostpools/privateEndpointConnections",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup2/providers/Microsoft.Network/privateEndpoints/endpointName1"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-Approved",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_GetByWorkspace.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_GetByWorkspace.json
new file mode 100644
index 000000000000..41dc9892f2a2
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_GetByWorkspace.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "workspaceName": "workspace1",
+ "privateEndpointConnectionName": "workspace1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "workspace1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1/privateEndpointConnections/workspace1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "type": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup2/providers/Microsoft.Network/privateEndpoints/endpointName1"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-Approved",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_ListByHostPool.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_ListByHostPool.json
new file mode 100644
index 000000000000..c6b9cb65f359
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_ListByHostPool.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "hostPool1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/privateEndpointConnections/hostPool1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "type": "Microsoft.DesktopVirtualization/hostpools/privateEndpointConnections",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup2/providers/Microsoft.Network/privateEndpoints/endpointName1"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-Approved",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_ListByWorkspace.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_ListByWorkspace.json
new file mode 100644
index 000000000000..78421deb053a
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_ListByWorkspace.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "workspaceName": "workspace1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "workspace1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1/privateEndpointConnections/workspace1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "type": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup2/providers/Microsoft.Network/privateEndpoints/endpointName1"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-Approved",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_UpdateByHostPool.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_UpdateByHostPool.json
new file mode 100644
index 000000000000..8dbb04ad33ab
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_UpdateByHostPool.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "privateEndpointConnectionName": "hostPool1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "api-version": "2023-11-01-preview",
+ "connection": {
+ "properties": {
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Approved by admin@consoto.com",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hostPool1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/privateEndpointConnections/hostPool1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "type": "Microsoft.DesktopVirtualization/hostpools/privateEndpointConnections",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup2/providers/Microsoft.Network/privateEndpoints/endpointName1"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Approved by admin@consoto.com",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_UpdateByWorkspace.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_UpdateByWorkspace.json
new file mode 100644
index 000000000000..826724e0a4f6
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateEndpointConnection_UpdateByWorkspace.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "workspaceName": "workspace1",
+ "privateEndpointConnectionName": "workspace1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "api-version": "2023-11-01-preview",
+ "connection": {
+ "properties": {
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Approved by admin@consoto.com",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "workspace1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1/privateEndpointConnections/workspace1.377103f1-5179-4bdf-8556-4cdd3207cc5b",
+ "type": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup2/providers/Microsoft.Network/privateEndpoints/endpointName1"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Approved by admin@consoto.com",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateLinkResources_ListByHostPool.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateLinkResources_ListByHostPool.json
new file mode 100644
index 000000000000..615e90d1cf97
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateLinkResources_ListByHostPool.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "hostpool",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostpools/hostPool1/privateLinkResources/hostpool",
+ "type": "Microsoft.DesktopVirtualization/hostpools/privateLinkResources",
+ "properties": {
+ "groupId": "hostpool",
+ "requiredMembers": [
+ "rdbroker",
+ "rddiagnostics",
+ "rdweb",
+ "rdgateway"
+ ],
+ "requiredZoneNames": [
+ "privatelink.wvd.microsoft.com"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateLinkResources_ListByWorkspace.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateLinkResources_ListByWorkspace.json
new file mode 100644
index 000000000000..d68a7a2d8186
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/PrivateLinkResources_ListByWorkspace.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "workspaceName": "workspace1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "workspace",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1/privateLinkResources/workspace",
+ "type": "Microsoft.DesktopVirtualization/workspaces/privateLinkResources",
+ "properties": {
+ "groupId": "workspace",
+ "requiredMembers": [
+ "rdbroker",
+ "rddiagnostics",
+ "rdweb",
+ "rdgateway"
+ ],
+ "requiredZoneNames": [
+ "privatelink.wvd.microsoft.com"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPersonalSchedule_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPersonalSchedule_Create.json
new file mode 100644
index 000000000000..0634ca8fcc26
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPersonalSchedule_Create.json
@@ -0,0 +1,180 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "scalingPlanName": "scalingPlan1",
+ "scalingPlanScheduleName": "scalingPlanScheduleWeekdays1",
+ "api-version": "2023-11-01-preview",
+ "scalingPlanSchedule": {
+ "properties": {
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpAutoStartHosts": "All",
+ "rampUpStartVMOnConnect": "Enable",
+ "rampUpActionOnDisconnect": "None",
+ "rampUpMinutesToWaitOnDisconnect": 10,
+ "rampUpActionOnLogoff": "None",
+ "rampUpMinutesToWaitOnLogoff": 10,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakStartVMOnConnect": "Enable",
+ "peakActionOnDisconnect": "None",
+ "peakMinutesToWaitOnDisconnect": 10,
+ "peakActionOnLogoff": "Deallocate",
+ "peakMinutesToWaitOnLogoff": 10,
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownStartVMOnConnect": "Enable",
+ "rampDownActionOnDisconnect": "None",
+ "rampDownMinutesToWaitOnDisconnect": 10,
+ "rampDownActionOnLogoff": "Deallocate",
+ "rampDownMinutesToWaitOnLogoff": 10,
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakStartVMOnConnect": "Enable",
+ "offPeakActionOnDisconnect": "None",
+ "offPeakMinutesToWaitOnDisconnect": 10,
+ "offPeakActionOnLogoff": "Deallocate",
+ "offPeakMinutesToWaitOnLogoff": 10
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "scalingPlanScheduleWeekdays1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1/personalSchedules/scalingPlanScheduleWeekdays1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpAutoStartHosts": "All",
+ "rampUpActionOnDisconnect": "None",
+ "rampUpMinutesToWaitOnDisconnect": 10,
+ "rampUpActionOnLogoff": "None",
+ "rampUpMinutesToWaitOnLogoff": 10,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakStartVMOnConnect": "Enable",
+ "peakActionOnDisconnect": "None",
+ "peakMinutesToWaitOnDisconnect": 10,
+ "peakActionOnLogoff": "Deallocate",
+ "peakMinutesToWaitOnLogoff": 10,
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownStartVMOnConnect": "Enable",
+ "rampDownActionOnDisconnect": "None",
+ "rampDownMinutesToWaitOnDisconnect": 10,
+ "rampDownActionOnLogoff": "Deallocate",
+ "rampDownMinutesToWaitOnLogoff": 10,
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakStartVMOnConnect": "Enable",
+ "offPeakActionOnDisconnect": "None",
+ "offPeakMinutesToWaitOnDisconnect": 10,
+ "offPeakActionOnLogoff": "Deallocate",
+ "offPeakMinutesToWaitOnLogoff": 10
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "scalingPlanScheduleWeekdays1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1/personalSchedules/scalingPlanScheduleWeekdays1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpAutoStartHosts": "All",
+ "rampUpStartVMOnConnect": "Enable",
+ "rampUpActionOnDisconnect": "None",
+ "rampUpMinutesToWaitOnDisconnect": 10,
+ "rampUpActionOnLogoff": "None",
+ "rampUpMinutesToWaitOnLogoff": 10,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakStartVMOnConnect": "Enable",
+ "peakActionOnDisconnect": "Deallocate",
+ "peakMinutesToWaitOnDisconnect": 10,
+ "peakActionOnLogoff": "Deallocate",
+ "peakMinutesToWaitOnLogoff": 10,
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownStartVMOnConnect": "Enable",
+ "rampDownActionOnDisconnect": "None",
+ "rampDownMinutesToWaitOnDisconnect": 10,
+ "rampDownActionOnLogoff": "Deallocate",
+ "rampDownMinutesToWaitOnLogoff": 10,
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakStartVMOnConnect": "Enable",
+ "offPeakActionOnDisconnect": "None",
+ "offPeakMinutesToWaitOnDisconnect": 10,
+ "offPeakActionOnLogoff": "Deallocate",
+ "offPeakMinutesToWaitOnLogoff": 10
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPersonalSchedule_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPersonalSchedule_Delete.json
new file mode 100644
index 000000000000..ea748fd40510
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPersonalSchedule_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "scalingPlanName": "scalingPlan1",
+ "scalingPlanScheduleName": "scalingPlanScheduleWeekdays1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPersonalSchedule_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPersonalSchedule_Get.json
new file mode 100644
index 000000000000..9d8a101fb735
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPersonalSchedule_Get.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "scalingPlanName": "PersonalScalingPlan1",
+ "scalingPlanScheduleName": "PersonalScalingPlanSchedule",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "PersonalScalingPlanSchedule",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1/personalSchedules/PersonalScalingPlanScheduleWeekdays1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpAutoStartHosts": "All",
+ "rampUpStartVMOnConnect": "Enable",
+ "rampUpActionOnDisconnect": "None",
+ "rampUpMinutesToWaitOnDisconnect": 10,
+ "rampUpActionOnLogoff": "None",
+ "rampUpMinutesToWaitOnLogoff": 10,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakStartVMOnConnect": "Enable",
+ "peakActionOnDisconnect": "None",
+ "peakMinutesToWaitOnDisconnect": 10,
+ "peakActionOnLogoff": "Deallocate",
+ "peakMinutesToWaitOnLogoff": 10,
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownStartVMOnConnect": "Enable",
+ "rampDownActionOnDisconnect": "None",
+ "rampDownMinutesToWaitOnDisconnect": 10,
+ "rampDownActionOnLogoff": "Deallocate",
+ "rampDownMinutesToWaitOnLogoff": 10,
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakStartVMOnConnect": "Enable",
+ "offPeakActionOnDisconnect": "None",
+ "offPeakMinutesToWaitOnDisconnect": 10,
+ "offPeakActionOnLogoff": "Deallocate",
+ "offPeakMinutesToWaitOnLogoff": 10
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPersonalSchedule_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPersonalSchedule_List.json
new file mode 100644
index 000000000000..c259e6544ab8
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPersonalSchedule_List.json
@@ -0,0 +1,134 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "scalingPlanName": "scalingPlan",
+ "api-version": "2023-11-01-preview",
+ "pageSize": 10,
+ "isDescending": true,
+ "initialSkip": 0
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "scalingPlanScheduleWeekday",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1/personalSchedules/scalingPlanScheduleWeekdays1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpAutoStartHosts": "All",
+ "rampUpStartVMOnConnect": "Enable",
+ "rampUpActionOnDisconnect": "None",
+ "rampUpMinutesToWaitOnDisconnect": 10,
+ "rampUpActionOnLogoff": "None",
+ "rampUpMinutesToWaitOnLogoff": 10,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakStartVMOnConnect": "Enable",
+ "peakActionOnDisconnect": "None",
+ "peakMinutesToWaitOnDisconnect": 10,
+ "peakActionOnLogoff": "Deallocate",
+ "peakMinutesToWaitOnLogoff": 10,
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownStartVMOnConnect": "Enable",
+ "rampDownActionOnDisconnect": "None",
+ "rampDownMinutesToWaitOnDisconnect": 10,
+ "rampDownActionOnLogoff": "Deallocate",
+ "rampDownMinutesToWaitOnLogoff": 10,
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakStartVMOnConnect": "Enable",
+ "offPeakActionOnDisconnect": "None",
+ "offPeakMinutesToWaitOnDisconnect": 10,
+ "offPeakActionOnLogoff": "Deallocate",
+ "offPeakMinutesToWaitOnLogoff": 10
+ }
+ },
+ {
+ "name": "scalingPlanScheduleWeekend",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1/personalSchedules/scalingPlanScheduleWeekends1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "daysOfWeek": [
+ "Saturday",
+ "Sunday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpAutoStartHosts": "All",
+ "rampUpStartVMOnConnect": "Enable",
+ "rampUpActionOnDisconnect": "None",
+ "rampUpMinutesToWaitOnDisconnect": 10,
+ "rampUpActionOnLogoff": "None",
+ "rampUpMinutesToWaitOnLogoff": 10,
+ "peakStartTime": {
+ "hour": 10,
+ "minute": 0
+ },
+ "peakStartVMOnConnect": "Enable",
+ "peakActionOnDisconnect": "Deallocate",
+ "peakMinutesToWaitOnDisconnect": 10,
+ "peakActionOnLogoff": "Deallocate",
+ "peakMinutesToWaitOnLogoff": 10,
+ "rampDownStartTime": {
+ "hour": 14,
+ "minute": 0
+ },
+ "rampDownStartVMOnConnect": "Enable",
+ "rampDownActionOnDisconnect": "Deallocate",
+ "rampDownMinutesToWaitOnDisconnect": 10,
+ "rampDownActionOnLogoff": "Deallocate",
+ "rampDownMinutesToWaitOnLogoff": 10,
+ "offPeakStartTime": {
+ "hour": 16,
+ "minute": 0
+ },
+ "offPeakStartVMOnConnect": "Enable",
+ "offPeakActionOnDisconnect": "Deallocate",
+ "offPeakMinutesToWaitOnDisconnect": 10,
+ "offPeakActionOnLogoff": "Deallocate",
+ "offPeakMinutesToWaitOnLogoff": 10
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPersonalSchedule_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPersonalSchedule_Update.json
new file mode 100644
index 000000000000..8aa9bf062fc0
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPersonalSchedule_Update.json
@@ -0,0 +1,101 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "scalingPlanName": "scalingPlan1",
+ "scalingPlanScheduleName": "scalingPlanScheduleWeekdays1",
+ "api-version": "2023-11-01-preview",
+ "scalingPlanSchedule": {
+ "properties": {
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakActionOnDisconnect": "None",
+ "peakMinutesToWaitOnDisconnect": 10,
+ "peakActionOnLogoff": "Deallocate",
+ "peakMinutesToWaitOnLogoff": 10,
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownActionOnDisconnect": "None",
+ "rampDownMinutesToWaitOnDisconnect": 10,
+ "rampDownActionOnLogoff": "Deallocate",
+ "rampDownMinutesToWaitOnLogoff": 10,
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakStartVMOnConnect": "Disable",
+ "offPeakActionOnDisconnect": "None",
+ "offPeakMinutesToWaitOnDisconnect": 10,
+ "offPeakActionOnLogoff": "Deallocate",
+ "offPeakMinutesToWaitOnLogoff": 10
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "scalingPlanScheduleWeekdays1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1/personalSchedules/scalingPlanScheduleWeekdays1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans/personalSchedules",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpAutoStartHosts": "All",
+ "rampUpStartVMOnConnect": "Enable",
+ "rampUpActionOnDisconnect": "None",
+ "rampUpMinutesToWaitOnDisconnect": 10,
+ "rampUpActionOnLogoff": "None",
+ "rampUpMinutesToWaitOnLogoff": 10,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakStartVMOnConnect": "Enable",
+ "peakActionOnDisconnect": "None",
+ "peakMinutesToWaitOnDisconnect": 10,
+ "peakActionOnLogoff": "Deallocate",
+ "peakMinutesToWaitOnLogoff": 10,
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownStartVMOnConnect": "Enable",
+ "rampDownActionOnDisconnect": "None",
+ "rampDownMinutesToWaitOnDisconnect": 10,
+ "rampDownActionOnLogoff": "Deallocate",
+ "rampDownMinutesToWaitOnLogoff": 10,
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakStartVMOnConnect": "Disable",
+ "offPeakActionOnDisconnect": "None",
+ "offPeakMinutesToWaitOnDisconnect": 10,
+ "offPeakActionOnLogoff": "Deallocate",
+ "offPeakMinutesToWaitOnLogoff": 10
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPooledSchedule_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPooledSchedule_Create.json
new file mode 100644
index 000000000000..e275030980e5
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPooledSchedule_Create.json
@@ -0,0 +1,151 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "scalingPlanName": "scalingPlan1",
+ "scalingPlanScheduleName": "scalingPlanScheduleWeekdays1",
+ "api-version": "2023-11-01-preview",
+ "scalingPlanSchedule": {
+ "properties": {
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": true,
+ "rampDownWaitTimeMinutes": 30,
+ "rampDownNotificationMessage": "message",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "scalingPlanScheduleWeekdays1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1/pooledSchedules/scalingPlanScheduleWeekdays1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": true,
+ "rampDownWaitTimeMinutes": 30,
+ "rampDownNotificationMessage": "message",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "scalingPlanScheduleWeekdays1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1/pooledSchedules/scalingPlanScheduleWeekdays1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": true,
+ "rampDownWaitTimeMinutes": 30,
+ "rampDownNotificationMessage": "message",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPooledSchedule_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPooledSchedule_Delete.json
new file mode 100644
index 000000000000..ea748fd40510
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPooledSchedule_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "scalingPlanName": "scalingPlan1",
+ "scalingPlanScheduleName": "scalingPlanScheduleWeekdays1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPooledSchedule_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPooledSchedule_Get.json
new file mode 100644
index 000000000000..dff5fe0b45ec
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPooledSchedule_Get.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "scalingPlanName": "scalingPlan1",
+ "scalingPlanScheduleName": "scalingPlanScheduleWeekdays1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "scalingPlanScheduleWeekdays1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1/pooledSchedules/scalingPlanScheduleWeekdays1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": true,
+ "rampDownWaitTimeMinutes": 30,
+ "rampDownNotificationMessage": "message",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPooledSchedule_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPooledSchedule_List.json
new file mode 100644
index 000000000000..19bc703666bb
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPooledSchedule_List.json
@@ -0,0 +1,114 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "scalingPlanName": "scalingPlan1",
+ "api-version": "2023-11-01-preview",
+ "pageSize": 10,
+ "isDescending": true,
+ "initialSkip": 0
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "scalingPlanScheduleWeekdays1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1/pooledSchedules/scalingPlanScheduleWeekdays1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": true,
+ "rampDownWaitTimeMinutes": 30,
+ "rampDownNotificationMessage": "message",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ },
+ {
+ "name": "scalingPlanScheduleWeekends1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1/pooledSchedules/scalingPlanScheduleWeekends1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "daysOfWeek": [
+ "Saturday",
+ "Sunday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 10,
+ "rampUpCapacityThresholdPct": 90,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 0,
+ "rampDownCapacityThresholdPct": 100,
+ "rampDownForceLogoffUsers": true,
+ "rampDownWaitTimeMinutes": 30,
+ "rampDownNotificationMessage": "message",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPooledSchedule_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPooledSchedule_Update.json
new file mode 100644
index 000000000000..4b39acd2ede3
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlanPooledSchedule_Update.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "scalingPlanName": "scalingPlan1",
+ "scalingPlanScheduleName": "scalingPlanScheduleWeekdays1",
+ "api-version": "2023-11-01-preview",
+ "scalingPlanSchedule": {
+ "properties": {
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownWaitTimeMinutes": 30
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "scalingPlanScheduleWeekdays1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1/pooledSchedules/scalingPlanScheduleWeekdays1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans/pooledSchedules",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": true,
+ "rampDownWaitTimeMinutes": 30,
+ "rampDownNotificationMessage": "message",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_Create.json
new file mode 100644
index 000000000000..a3d2fc818e2c
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_Create.json
@@ -0,0 +1,215 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "scalingPlanName": "scalingPlan1",
+ "api-version": "2023-11-01-preview",
+ "scalingPlan": {
+ "location": "centralus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "description": "Description of Scaling Plan",
+ "friendlyName": "Scaling Plan 1",
+ "timeZone": "Central Standard Time",
+ "hostPoolType": "Pooled",
+ "exclusionTag": "value",
+ "schedules": [
+ {
+ "name": "schedule1",
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": true,
+ "rampDownWaitTimeMinutes": 30,
+ "rampDownNotificationMessage": "message",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ ],
+ "hostPoolReferences": [
+ {
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "scalingPlanEnabled": true
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "scalingPlan1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "description": "Description of Scaling Plan",
+ "friendlyName": "Scaling Plan 1",
+ "timeZone": "Central Standard Time",
+ "hostPoolType": "Pooled",
+ "exclusionTag": "value",
+ "schedules": [
+ {
+ "name": "schedule1",
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": true,
+ "rampDownWaitTimeMinutes": 30,
+ "rampDownNotificationMessage": "message",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ ],
+ "hostPoolReferences": [
+ {
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "scalingPlanEnabled": true
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "scalingPlan1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "description": "Description of Scaling Plan",
+ "friendlyName": "Scaling Plan 1",
+ "timeZone": "Central Standard Time",
+ "hostPoolType": "Pooled",
+ "exclusionTag": "value",
+ "schedules": [
+ {
+ "name": "schedule1",
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": true,
+ "rampDownWaitTimeMinutes": 30,
+ "rampDownNotificationMessage": "message",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ ],
+ "hostPoolReferences": [
+ {
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "scalingPlanEnabled": true
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_Delete.json
new file mode 100644
index 000000000000..244fa947717f
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_Delete.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "scalingPlanName": "scalingPlan1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "name": "scalingPlan1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "description": "Description of Scaling Plan",
+ "friendlyName": "Scaling Plan 1",
+ "timeZone": "Central Standard Time",
+ "hostPoolType": "Pooled",
+ "exclusionTag": "value",
+ "schedules": [
+ {
+ "name": "schedule1",
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": true,
+ "rampDownWaitTimeMinutes": 30,
+ "rampDownNotificationMessage": "message",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ ],
+ "hostPoolReferences": [
+ {
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "scalingPlanEnabled": true
+ }
+ ]
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_Get.json
new file mode 100644
index 000000000000..b2df9dde78e5
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_Get.json
@@ -0,0 +1,83 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "scalingPlanName": "scalingPlan1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "workspace1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "description": "Description of scaling plan",
+ "friendlyName": "Scaling Plan 1",
+ "timeZone": "Central Standard Time",
+ "hostPoolType": "Pooled",
+ "exclusionTag": "value",
+ "schedules": [
+ {
+ "name": "schedule1",
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": true,
+ "rampDownWaitTimeMinutes": 30,
+ "rampDownNotificationMessage": "message",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ ],
+ "hostPoolReferences": [
+ {
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "scalingPlanEnabled": true
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_ListByHostPool.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_ListByHostPool.json
new file mode 100644
index 000000000000..aa8ef5a266af
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_ListByHostPool.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview",
+ "pageSize": 10,
+ "isDescending": true,
+ "initialSkip": 0
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "scalingPlan1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "description": "Description of Scaling Plan",
+ "friendlyName": "Scaling Plan 1",
+ "timeZone": "Central Standard Time",
+ "hostPoolType": "Pooled",
+ "exclusionTag": "value",
+ "schedules": [
+ {
+ "name": "schedule1",
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": true,
+ "rampDownWaitTimeMinutes": 30,
+ "rampDownNotificationMessage": "message",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ ],
+ "hostPoolReferences": [
+ {
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "scalingPlanEnabled": true
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_ListByResourceGroup.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_ListByResourceGroup.json
new file mode 100644
index 000000000000..768c37386e35
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_ListByResourceGroup.json
@@ -0,0 +1,159 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "api-version": "2023-11-01-preview",
+ "pageSize": 10,
+ "isDescending": true,
+ "initialSkip": 0
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "scalingPlan1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "description": "Description of Scaling Plan",
+ "friendlyName": "Scaling Plan 1",
+ "timeZone": "Central Standard Time",
+ "hostPoolType": "Pooled",
+ "exclusionTag": "value",
+ "schedules": [
+ {
+ "name": "schedule1",
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": true,
+ "rampDownWaitTimeMinutes": 30,
+ "rampDownNotificationMessage": "message",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ ],
+ "hostPoolReferences": [
+ {
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "scalingPlanEnabled": true
+ }
+ ]
+ }
+ },
+ {
+ "name": "scalingPlan2",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan2",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "description": "Description of Scaling Plan",
+ "friendlyName": "Scaling Plan 1",
+ "timeZone": "Central Standard Time",
+ "hostPoolType": "Pooled",
+ "exclusionTag": "value",
+ "schedules": [
+ {
+ "name": "schedule1",
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": false,
+ "rampDownStopHostsWhen": "ZeroSessions",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ ],
+ "hostPoolReferences": [
+ {
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "scalingPlanEnabled": true
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_ListBySubscription.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_ListBySubscription.json
new file mode 100644
index 000000000000..93e3a2f11902
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_ListBySubscription.json
@@ -0,0 +1,158 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "api-version": "2023-11-01-preview",
+ "pageSize": 10,
+ "isDescending": true,
+ "initialSkip": 0
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "scalingPlan1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "description": "Description of Scaling Plan",
+ "friendlyName": "Scaling Plan 1",
+ "timeZone": "Central Standard Time",
+ "hostPoolType": "Pooled",
+ "exclusionTag": "value",
+ "schedules": [
+ {
+ "name": "schedule1",
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": true,
+ "rampDownWaitTimeMinutes": 30,
+ "rampDownNotificationMessage": "message",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ ],
+ "hostPoolReferences": [
+ {
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "scalingPlanEnabled": true
+ }
+ ]
+ }
+ },
+ {
+ "name": "scalingPlan2",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan2",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "description": "Description of Scaling Plan",
+ "friendlyName": "Scaling Plan 1",
+ "timeZone": "Central Standard Time",
+ "hostPoolType": "Pooled",
+ "exclusionTag": "value",
+ "schedules": [
+ {
+ "name": "schedule1",
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": false,
+ "rampDownStopHostsWhen": "ZeroActiveSessions",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ ],
+ "hostPoolReferences": [
+ {
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "scalingPlanEnabled": true
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_Update.json
new file mode 100644
index 000000000000..049af1addf2a
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/ScalingPlan_Update.json
@@ -0,0 +1,140 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "scalingPlanName": "scalingPlan1",
+ "api-version": "2023-11-01-preview",
+ "workspace": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "description": "Description of Scaling Plan",
+ "friendlyName": "Scaling Plan 1",
+ "timeZone": "Central Standard Time",
+ "exclusionTag": "value",
+ "schedules": [
+ {
+ "name": "schedule1",
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": true,
+ "rampDownWaitTimeMinutes": 30,
+ "rampDownNotificationMessage": "message",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ ],
+ "hostPoolReferences": [
+ {
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "scalingPlanEnabled": true
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "scalingPlan1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1",
+ "type": "Microsoft.DesktopVirtualization/scalingPlans",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "description": "Description of Scaling Plan",
+ "friendlyName": "Scaling Plan 1",
+ "timeZone": "Central Standard Time",
+ "hostPoolType": "Pooled",
+ "exclusionTag": "value",
+ "schedules": [
+ {
+ "name": "schedule1",
+ "daysOfWeek": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "rampUpStartTime": {
+ "hour": 6,
+ "minute": 0
+ },
+ "rampUpLoadBalancingAlgorithm": "DepthFirst",
+ "rampUpMinimumHostsPct": 20,
+ "rampUpCapacityThresholdPct": 80,
+ "peakStartTime": {
+ "hour": 8,
+ "minute": 0
+ },
+ "peakLoadBalancingAlgorithm": "BreadthFirst",
+ "rampDownStartTime": {
+ "hour": 18,
+ "minute": 0
+ },
+ "rampDownLoadBalancingAlgorithm": "DepthFirst",
+ "rampDownMinimumHostsPct": 20,
+ "rampDownCapacityThresholdPct": 50,
+ "rampDownForceLogoffUsers": true,
+ "rampDownWaitTimeMinutes": 30,
+ "rampDownNotificationMessage": "message",
+ "offPeakStartTime": {
+ "hour": 20,
+ "minute": 0
+ },
+ "offPeakLoadBalancingAlgorithm": "DepthFirst"
+ }
+ ],
+ "hostPoolReferences": [
+ {
+ "hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
+ "scalingPlanEnabled": true
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurationsOperationStatus_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurationsOperationStatus_Get.json
new file mode 100644
index 000000000000..5b3cfd4ad513
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurationsOperationStatus_Get.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview",
+ "operationId": "55582798-3f6e-4cda-9371-8723b27bd664"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Kusto/locations/westus/operationresults/30972f1b-b61d-4fd8-bd34-3dcfa24670f3",
+ "name": "30972f1b-b61d-4fd8-bd34-3dcfa24670f3",
+ "status": "Failed",
+ "startTime": "2020-10-26T13:45:39.6554616Z",
+ "endTime": "2020-10-26T13:45:42.7025301Z",
+ "percentComplete": 1.0,
+ "operations": [],
+ "error": {
+ "code": "BadArgument",
+ "message": "The provided database 'foo' has an invalid username."
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurationsOperationStatus_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurationsOperationStatus_List.json
new file mode 100644
index 000000000000..a32c4fbaee7a
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurationsOperationStatus_List.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview",
+ "isLatest": true,
+ "isNonTerminal": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Kusto/locations/westus/operationresults/30972f1b-b61d-4fd8-bd34-3dcfa24670f3",
+ "name": "30972f1b-b61d-4fd8-bd34-3dcfa24670f3",
+ "status": "Failed",
+ "startTime": "2020-10-26T13:45:39.6554616Z",
+ "endTime": "2020-10-26T13:45:42.7025301Z",
+ "percentComplete": 1.0,
+ "operations": [],
+ "error": {
+ "code": "BadArgument",
+ "message": "The provided database 'foo' has an invalid username."
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurations_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurations_Create.json
new file mode 100644
index 000000000000..49161f81c988
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurations_Create.json
@@ -0,0 +1,238 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview",
+ "sessionHostConfiguration": {
+ "properties": {
+ "friendlyName": "InitialConfiguration",
+ "vmTags": {
+ "Department": "myDepartment",
+ "Team": "myTeam"
+ },
+ "vmLocation": "eastus2",
+ "vmResourceGroup": "myResourceGroup",
+ "vmNamePrefix": "westus2-vm",
+ "availabilityZones": [
+ 1,
+ 3
+ ],
+ "networkInfo": {
+ "subnetId": "/subscriptions/.../resourceGroups/.../providers/Microsoft.Network/virtualNetworks/.../subnets/subnet1",
+ "securityGroupId": "/subscriptions/.../resourceGroups/.../provider s/Microsoft.Network/networkSecurityGroups/nsg1"
+ },
+ "vmSizeId": "Standard_D2s_v3",
+ "diskInfo": {
+ "type": "Standard_LRS"
+ },
+ "customConfigurationScriptUrl": "https://storageaccountname.blob.core.windows.net/blobcontainer/file",
+ "imageInfo": {
+ "type": "Marketplace",
+ "marketplaceInfo": {
+ "offer": "Windows-10",
+ "publisher": "MicrosoftWindowsDesktop",
+ "sku": "19h2-ent",
+ "exactVersion": "2019.0.20190115"
+ },
+ "customInfo": {
+ "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/images/imageName"
+ }
+ },
+ "domainInfo": {
+ "joinType": "ActiveDirectory",
+ "activeDirectoryInfo": {
+ "domainCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "ouPath": "OU=testOU,DC=domain,DC=Domain,DC=com",
+ "domainName": "wvdarmtest1.net"
+ },
+ "azureActiveDirectoryInfo": {
+ "mdmProviderGuid": "bdefabc0-95b4-48b3-b645-8a753a63c4fa"
+ }
+ },
+ "securityInfo": {
+ "type": "TrustedLaunch",
+ "secureBootEnabled": true,
+ "vTpmEnabled": true
+ },
+ "vmAdminCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "bootDiagnosticsInfo": {
+ "enabled": true,
+ "storageUri": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostConfigurations/default/operationStatuses/ed5d502c-acaa-42ec-ad61-0d8488a9fd1d"
+ },
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostConfigurations/default",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "version": "2022-10-21T17:18:19.1234567Z",
+ "friendlyName": "InitialConfiguration",
+ "provisioningState": "Provisioning",
+ "vmTags": {
+ "Department": "myDepartment",
+ "Team": "myTeam"
+ },
+ "vmLocation": "eastus2",
+ "vmResourceGroup": "myResourceGroup",
+ "vmNamePrefix": "westus2-vm",
+ "availabilityZones": [
+ 1,
+ 3
+ ],
+ "networkInfo": {
+ "subnetId": "/subscriptions/.../resourceGroups/.../providers/Microsoft.Network/virtualNetworks/.../subnets/subnet1",
+ "securityGroupId": "/subscriptions/.../resourceGroups/.../provider s/Microsoft.Network/networkSecurityGroups/nsg1"
+ },
+ "vmSizeId": "Standard_D2s_v3",
+ "diskInfo": {
+ "type": "Standard_LRS"
+ },
+ "customConfigurationScriptUrl": "https://storageaccountname.blob.core.windows.net/blobcontainer/file",
+ "imageInfo": {
+ "type": "Marketplace",
+ "marketplaceInfo": {
+ "offer": "Windows-10",
+ "publisher": "MicrosoftWindowsDesktop",
+ "sku": "19h2-ent",
+ "exactVersion": "2019.0.20190115"
+ },
+ "customInfo": {
+ "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/images/imageName"
+ }
+ },
+ "domainInfo": {
+ "joinType": "ActiveDirectory",
+ "activeDirectoryInfo": {
+ "domainCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "ouPath": "OU=testOU,DC=domain,DC=Domain,DC=com",
+ "domainName": "wvdarmtest1.net"
+ },
+ "azureActiveDirectoryInfo": {
+ "mdmProviderGuid": "bdefabc0-95b4-48b3-b645-8a753a63c4fa"
+ }
+ },
+ "securityInfo": {
+ "type": "TrustedLaunch",
+ "secureBootEnabled": true,
+ "vTpmEnabled": true
+ },
+ "vmAdminCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "bootDiagnosticsInfo": {
+ "enabled": true,
+ "storageUri": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
+ }
+ }
+ }
+ },
+ "201": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostConfigurations/default/operationStatuses/ed5d502c-acaa-42ec-ad61-0d8488a9fd1d"
+ },
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostConfigurations/default",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "version": "2022-10-21T17:18:19.1234567Z",
+ "friendlyName": "InitialConfiguration",
+ "provisioningState": "Provisioning",
+ "vmTags": {
+ "Department": "myDepartment",
+ "Team": "myTeam"
+ },
+ "vmLocation": "eastus2",
+ "vmResourceGroup": "myResourceGroup",
+ "vmNamePrefix": "westus2-vm",
+ "availabilityZones": [
+ 1,
+ 3
+ ],
+ "networkInfo": {
+ "subnetId": "/subscriptions/.../resourceGroups/.../providers/Microsoft.Network/virtualNetworks/.../subnets/subnet1",
+ "securityGroupId": "/subscriptions/.../resourceGroups/.../provider s/Microsoft.Network/networkSecurityGroups/nsg1"
+ },
+ "vmSizeId": "Standard_D2s_v3",
+ "diskInfo": {
+ "type": "Standard_LRS"
+ },
+ "customConfigurationScriptUrl": "https://storageaccountname.blob.core.windows.net/blobcontainer/file",
+ "imageInfo": {
+ "type": "Marketplace",
+ "marketplaceInfo": {
+ "offer": "Windows-10",
+ "publisher": "MicrosoftWindowsDesktop",
+ "sku": "19h2-ent",
+ "exactVersion": "2019.0.20190115"
+ },
+ "customInfo": {
+ "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/images/imageName"
+ }
+ },
+ "domainInfo": {
+ "joinType": "ActiveDirectory",
+ "activeDirectoryInfo": {
+ "domainCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "ouPath": "OU=testOU,DC=domain,DC=Domain,DC=com",
+ "domainName": "wvdarmtest1.net"
+ },
+ "azureActiveDirectoryInfo": {
+ "mdmProviderGuid": "bdefabc0-95b4-48b3-b645-8a753a63c4fa"
+ }
+ },
+ "securityInfo": {
+ "type": "TrustedLaunch",
+ "secureBootEnabled": true,
+ "vTpmEnabled": true
+ },
+ "vmAdminCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "bootDiagnosticsInfo": {
+ "enabled": true,
+ "storageUri": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurations_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurations_Get.json
new file mode 100644
index 000000000000..875ad83a55fc
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurations_Get.json
@@ -0,0 +1,89 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostConfigurations/default",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "version": "2022-10-21T17:18:19.1234567Z",
+ "friendlyName": "InitialConfiguration",
+ "provisioningState": "Provisioning",
+ "vmTags": {
+ "Department": "myDepartment",
+ "Team": "myTeam"
+ },
+ "vmLocation": "eastus2",
+ "vmResourceGroup": "myResourceGroup",
+ "vmNamePrefix": "westus2-vm",
+ "availabilityZones": [
+ 1,
+ 3
+ ],
+ "networkInfo": {
+ "subnetId": "/subscriptions/.../resourceGroups/.../providers/Microsoft.Network/virtualNetworks/.../subnets/subnet1",
+ "securityGroupId": "/subscriptions/.../resourceGroups/.../provider s/Microsoft.Network/networkSecurityGroups/nsg1"
+ },
+ "vmSizeId": "Standard_D2s_v3",
+ "diskInfo": {
+ "type": "Standard_LRS"
+ },
+ "customConfigurationScriptUrl": "https://storageaccountname.blob.core.windows.net/blobcontainer/file",
+ "imageInfo": {
+ "type": "Marketplace",
+ "marketplaceInfo": {
+ "offer": "Windows-10",
+ "publisher": "MicrosoftWindowsDesktop",
+ "sku": "19h2-ent",
+ "exactVersion": "2019.0.20190115"
+ },
+ "customInfo": {
+ "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/images/imageName"
+ }
+ },
+ "domainInfo": {
+ "joinType": "ActiveDirectory",
+ "activeDirectoryInfo": {
+ "domainCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "ouPath": "OU=testOU,DC=domain,DC=Domain,DC=com",
+ "domainName": "wvdarmtest1.net"
+ },
+ "azureActiveDirectoryInfo": {
+ "mdmProviderGuid": "bdefabc0-95b4-48b3-b645-8a753a63c4fa"
+ }
+ },
+ "securityInfo": {
+ "type": "TrustedLaunch",
+ "secureBootEnabled": true,
+ "vTpmEnabled": true
+ },
+ "vmAdminCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "bootDiagnosticsInfo": {
+ "enabled": true,
+ "storageUri": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurations_ListByHostPool.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurations_ListByHostPool.json
new file mode 100644
index 000000000000..2c6e6937b3f2
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurations_ListByHostPool.json
@@ -0,0 +1,93 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "default",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostConfigurations/default",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations",
+ "systemData": {
+ "createdBy": "user2",
+ "createdByType": "User",
+ "createdAt": "2020-02-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user3",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-02-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "version": "2022-10-21T17:18:19.1234567Z",
+ "friendlyName": "InitialConfiguration",
+ "provisioningState": "Provisioning",
+ "vmTags": {
+ "Department": "myDepartment",
+ "Team": "myTeam"
+ },
+ "vmLocation": "westus2",
+ "vmResourceGroup": "myResourceGroup",
+ "vmNamePrefix": "westus2-vm",
+ "availabilityZones": [
+ 1,
+ 3
+ ],
+ "networkInfo": {
+ "subnetId": "/subscriptions/.../resourceGroups/.../providers/Microsoft.Network/virtualNetworks/.../subnets/subnet1",
+ "securityGroupId": "/subscriptions/.../resourceGroups/.../provider s/Microsoft.Network/networkSecurityGroups/nsg1"
+ },
+ "vmSizeId": "Standard_D2s_v3",
+ "diskInfo": {
+ "type": "Standard_LRS"
+ },
+ "customConfigurationScriptUrl": "https://storageaccountname.blob.core.windows.net/blobcontainer/file",
+ "imageInfo": {
+ "type": "Marketplace",
+ "marketplaceInfo": {
+ "offer": "Windows-10",
+ "publisher": "MicrosoftWindowsDesktop",
+ "sku": "19h2-ent",
+ "exactVersion": "2019.0.20190115"
+ },
+ "customInfo": {
+ "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/images/imageName"
+ }
+ },
+ "domainInfo": {
+ "joinType": "ActiveDirectory",
+ "activeDirectoryInfo": {
+ "domainCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "ouPath": "OU=testOU,DC=domain,DC=Domain,DC=com",
+ "domainName": "wvdarmtest1.net"
+ },
+ "azureActiveDirectoryInfo": {
+ "mdmProviderGuid": "bdefabc0-95b4-48b3-b645-8a753a63c4fa"
+ }
+ },
+ "securityInfo": {
+ "type": "TrustedLaunch",
+ "secureBootEnabled": true,
+ "vTpmEnabled": true
+ },
+ "vmAdminCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "bootDiagnosticsInfo": {
+ "enabled": true,
+ "storageUri": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurations_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurations_Update.json
new file mode 100644
index 000000000000..43ca8e0bfba9
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostConfigurations_Update.json
@@ -0,0 +1,157 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview",
+ "sessionHostConfiguration": {
+ "properties": {
+ "friendlyName": "Second Version, Updated Location",
+ "vmTags": {
+ "Department": "myDepartment",
+ "Team": "myTeam"
+ },
+ "vmLocation": "eastus2",
+ "vmResourceGroup": "myResourceGroup",
+ "vmNamePrefix": "westus2-vm",
+ "availabilityZones": [
+ 1,
+ 3
+ ],
+ "networkInfo": {
+ "subnetId": "/subscriptions/.../resourceGroups/.../providers/Microsoft.Network/virtualNetworks/.../subnets/subnet1",
+ "securityGroupId": "/subscriptions/.../resourceGroups/.../provider s/Microsoft.Network/networkSecurityGroups/nsg1"
+ },
+ "vmSizeId": "Standard_D2s_v3",
+ "diskInfo": {
+ "type": "Standard_LRS"
+ },
+ "customConfigurationScriptUrl": "https://storageaccountname.blob.core.windows.net/blobcontainer/file",
+ "imageInfo": {
+ "type": "Marketplace",
+ "marketplaceInfo": {
+ "offer": "Windows-10",
+ "publisher": "MicrosoftWindowsDesktop",
+ "sku": "19h2-ent",
+ "exactVersion": "2019.0.20190115"
+ },
+ "customInfo": {
+ "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/images/imageName"
+ }
+ },
+ "domainInfo": {
+ "activeDirectoryInfo": {
+ "domainCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ }
+ }
+ },
+ "securityInfo": {
+ "type": "TrustedLaunch",
+ "secureBootEnabled": true,
+ "vTpmEnabled": true
+ },
+ "vmAdminCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "bootDiagnosticsInfo": {
+ "enabled": true,
+ "storageUri": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostConfigurations/default/operationStatuses/ed5d502c-acaa-42ec-ad61-0d8488a9fd1d"
+ },
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostConfigurations/default",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "version": "2022-10-21T17:18:19.1234567Z",
+ "friendlyName": "InitialConfiguration",
+ "provisioningState": "Provisioning",
+ "vmTags": {
+ "Department": "myDepartment",
+ "Team": "myTeam"
+ },
+ "vmLocation": "eastus2",
+ "vmResourceGroup": "myResourceGroup",
+ "vmNamePrefix": "westus2-vm",
+ "availabilityZones": [
+ 1,
+ 3
+ ],
+ "networkInfo": {
+ "subnetId": "/subscriptions/.../resourceGroups/.../providers/Microsoft.Network/virtualNetworks/.../subnets/subnet1",
+ "securityGroupId": "/subscriptions/.../resourceGroups/.../provider s/Microsoft.Network/networkSecurityGroups/nsg1"
+ },
+ "vmSizeId": "Standard_D2s_v3",
+ "diskInfo": {
+ "type": "Standard_LRS"
+ },
+ "customConfigurationScriptUrl": "https://storageaccountname.blob.core.windows.net/blobcontainer/file",
+ "imageInfo": {
+ "type": "Marketplace",
+ "marketplaceInfo": {
+ "offer": "Windows-10",
+ "publisher": "MicrosoftWindowsDesktop",
+ "sku": "19h2-ent",
+ "exactVersion": "2019.0.20190115"
+ },
+ "customInfo": {
+ "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/images/imageName"
+ }
+ },
+ "domainInfo": {
+ "joinType": "ActiveDirectory",
+ "activeDirectoryInfo": {
+ "domainCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "ouPath": "OU=testOU,DC=domain,DC=Domain,DC=com",
+ "domainName": "wvdarmtest1.net"
+ },
+ "azureActiveDirectoryInfo": {
+ "mdmProviderGuid": "bdefabc0-95b4-48b3-b645-8a753a63c4fa"
+ }
+ },
+ "securityInfo": {
+ "type": "TrustedLaunch",
+ "secureBootEnabled": true,
+ "vTpmEnabled": true
+ },
+ "vmAdminCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "bootDiagnosticsInfo": {
+ "enabled": true,
+ "storageUri": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
+ }
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostConfigurations/default/operationResults/ed5d502c-acaa-42ec-ad61-0d8488a9fd1d",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostConfigurations/default/operationStatuses/ed5d502c-acaa-42ec-ad61-0d8488a9fd1d",
+ "Retry-After": "60"
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagementsOperationStatus_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagementsOperationStatus_Get.json
new file mode 100644
index 000000000000..b6fd7f99fba0
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagementsOperationStatus_Get.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "operationId": "12345678-1234-1234-1234-123456789012",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default/operationStatuses/12345678-1234-1234-1234-123456789012",
+ "name": "12345678-1234-1234-1234-123456789012",
+ "status": "Failed",
+ "startTime": "2020-07-10T15:00:00.000Z",
+ "endTime": "2020-07-11T15:00:00.000Z",
+ "percentComplete": 0.0,
+ "operations": [],
+ "error": {
+ "code": "ProvisioningError",
+ "message": "Provision 200 session hosts. \nTime Stamp: '2008-09-22T14:01:54.9571247Z' \nRequests: 120, 80. \nCanary Succeeded. \n120 successful. \n80 failed. \nSession Host Configuration Version '2008-09-22T14:01:54.9571247Z'. \n'Error code 'AADJoinFailed'. Message: User name or password is incorrect. Session Hosts: 'brman-abc1.mycompany.azure.com, brman- abc3.mycompany.azure.com, brman-abc4.mycompany.azure.com ...' \nError code 'RDAgentInstallationFailed'. Message: Failed to download RDAgent installer. Session Hosts: 'brman-abc6.mycompany.azure.com, brman-abc7.mycompany.azure.com, brman-abc8.mycompany.azure.com ...'"
+ },
+ "properties": {
+ "correlationId": "2fa5c06c-2771-448b-a71e-e1124f44907f",
+ "type": "InitiateSessionHostUpdate | ValidateSessionHostUpdate",
+ "action": "Start | Retry | Pause | Resume | Cancel",
+ "progress": {
+ "executionStartTime": "2020-10-01T14:01:54.9571247Z",
+ "totalSessionHosts": 1,
+ "sessionHostsInProgress": 1,
+ "sessionHostsCompleted": 1,
+ "sessionHostsRollbackFailed": 1
+ },
+ "scheduledDateTime": "2020-10-01T14:01:54.9571247Z",
+ "sessionHostManagement": {
+ "name": "default",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHostManagements",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "scheduledDateTimeZone": "Alaskan Standard Time",
+ "update": {
+ "deleteOriginalVm": true,
+ "maxVmsRemoved": 4,
+ "logOffDelayMinutes": 10,
+ "logOffMessage": "Logging off for host pool update"
+ }
+ }
+ },
+ "parentId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default/operationStatuses/0000000-1234-1234-1234-000000000"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagementsOperationStatus_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagementsOperationStatus_List.json
new file mode 100644
index 000000000000..b612edf8b294
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagementsOperationStatus_List.json
@@ -0,0 +1,120 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview",
+ "isLatest": false,
+ "type": "InitiateSessionHostUpdate",
+ "isNonTerminal": true,
+ "correlationId": "2fa5c06c-2771-448b-a71e-e1124f44907f",
+ "action": "",
+ "isInitiatingOperation": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default/operationStatuses/12345678-1234-1234-1234-123456789012",
+ "name": "12345678-1234-1234-1234-123456789012",
+ "status": "Failed",
+ "startTime": "2020-07-10T15:00:00.000Z",
+ "endTime": "2020-07-11T15:00:00.000Z",
+ "percentComplete": 0.0,
+ "operations": [],
+ "error": {
+ "code": "ProvisioningError",
+ "message": "Provision 200 session hosts. \nTime Stamp: '2008-09-22T14:01:54.9571247Z' \nRequests: 120, 80. \nCanary Succeeded. \n120 successful. \n80 failed. \nSession Host Configuration Version '2008-09-22T14:01:54.9571247Z'. \n'Error code 'AADJoinFailed'. Message: User name or password is incorrect. Session Hosts: 'brman-abc1.mycompany.azure.com, brman- abc3.mycompany.azure.com, brman-abc4.mycompany.azure.com ...' \nError code 'RDAgentInstallationFailed'. Message: Failed to download RDAgent installer. Session Hosts: 'brman-abc6.mycompany.azure.com, brman-abc7.mycompany.azure.com, brman-abc8.mycompany.azure.com ...'"
+ },
+ "properties": {
+ "correlationId": "2fa5c06c-2771-448b-a71e-e1124f44907f",
+ "type": "InitiateSessionHostUpdate | ValidateSessionHostUpdate",
+ "action": "Start | Retry | Pause | Resume | Cancel",
+ "progress": {
+ "executionStartTime": "2020-10-01T14:01:54.9571247Z",
+ "totalSessionHosts": 1,
+ "sessionHostsInProgress": 1,
+ "sessionHostsCompleted": 1,
+ "sessionHostsRollbackFailed": 1
+ },
+ "scheduledDateTime": "2020-10-01T14:01:54.9571247Z",
+ "sessionHostManagement": {
+ "name": "default",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHostManagements",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "scheduledDateTimeZone": "Alaskan Standard Time",
+ "update": {
+ "deleteOriginalVm": true,
+ "maxVmsRemoved": 4,
+ "logOffDelayMinutes": 10,
+ "logOffMessage": "Logging off for host pool update"
+ }
+ }
+ },
+ "parentId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default/operationStatuses/0000000-1234-1234-1234-000000000"
+ }
+ },
+ {
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default/operationStatuses/2fa5c06c-2771-448b-a71e-e1124f44907f",
+ "name": "2fa5c06c-2771-448b-a71e-e1124f44907f",
+ "status": "Failed",
+ "startTime": "2020-07-10T15:00:00.000Z",
+ "endTime": "2020-07-11T15:00:00.000Z",
+ "percentComplete": 0.0,
+ "operations": [],
+ "error": {
+ "code": "ProvisioningError",
+ "message": "Provision 200 session hosts. \nTime Stamp: '2008-09-22T14:01:54.9571247Z' \nRequests: 120, 80. \nCanary Succeeded. \n120 successful. \n80 failed. \nSession Host Configuration Version '2008-09-22T14:01:54.9571247Z'. \n'Error code 'AADJoinFailed'. Message: User name or password is incorrect. Session Hosts: 'brman-abc1.mycompany.azure.com, brman- abc3.mycompany.azure.com, brman-abc4.mycompany.azure.com ...' \nError code 'RDAgentInstallationFailed'. Message: Failed to download RDAgent installer. Session Hosts: 'brman-abc6.mycompany.azure.com, brman-abc7.mycompany.azure.com, brman-abc8.mycompany.azure.com ...'"
+ },
+ "properties": {
+ "correlationId": "2fa5c06c-2771-448b-a71e-e1124f44907f",
+ "type": "InitiateSessionHostUpdate | ValidateSessionHostUpdate",
+ "action": "Start | Retry | Pause | Resume | Cancel",
+ "progress": {
+ "executionStartTime": "2020-10-01T14:01:54.9571247Z",
+ "totalSessionHosts": 1,
+ "sessionHostsInProgress": 1,
+ "sessionHostsCompleted": 1,
+ "sessionHostsRollbackFailed": 1
+ },
+ "scheduledDateTime": "2020-10-01T14:01:54.9571247Z",
+ "sessionHostManagement": {
+ "name": "default",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHostManagements",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "scheduledDateTimeZone": "Alaskan Standard Time",
+ "update": {
+ "deleteOriginalVm": true,
+ "maxVmsRemoved": 4,
+ "logOffDelayMinutes": 10,
+ "logOffMessage": "Logging off for host pool update"
+ }
+ }
+ },
+ "parentId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default/operationStatuses/0000000-1234-1234-1234-000000000"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_ControlSessionHostUpdate_Post.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_ControlSessionHostUpdate_Post.json
new file mode 100644
index 000000000000..288b3a3778e8
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_ControlSessionHostUpdate_Post.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview",
+ "hostPoolControlParameter": {
+ "action": "Start",
+ "cancelMessage": "Host pool update started"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default/operationResults/ed5d502c-acaa-42ec-ad61-0d8488a9fd1d",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default/operationStatuses/ed5d502c-acaa-42ec-ad61-0d8488a9fd1d",
+ "Retry-After": "60"
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_Create.json
new file mode 100644
index 000000000000..0b1735ef5150
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_Create.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview",
+ "sessionHostManagement": {
+ "properties": {
+ "scheduledDateTimeZone": "Alaskan Standard Time",
+ "update": {
+ "deleteOriginalVm": true,
+ "maxVmsRemoved": 4,
+ "logOffDelayMinutes": 10,
+ "logOffMessage": "logging off for hostpool update"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHostManagements",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "scheduledDateTimeZone": "Alaskan Standard Time",
+ "update": {
+ "deleteOriginalVm": true,
+ "maxVmsRemoved": 4,
+ "logOffDelayMinutes": 10,
+ "logOffMessage": "logging off for hostpool update"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHostManagements",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "scheduledDateTimeZone": "Alaskan Standard Time",
+ "update": {
+ "deleteOriginalVm": true,
+ "maxVmsRemoved": 4,
+ "logOffDelayMinutes": 10,
+ "logOffMessage": "logging off for hostpool update"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_Get.json
new file mode 100644
index 000000000000..1955bfd64f10
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_Get.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Location": "https://management.azure.com/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default/operationResults/ed5d502c-acaa-42ec-ad61-0d8488a9fd1d"
+ },
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHostManagements",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "scheduledDateTimeZone": "Alaskan Standard Time",
+ "update": {
+ "deleteOriginalVm": true,
+ "maxVmsRemoved": 4,
+ "logOffDelayMinutes": 10,
+ "logOffMessage": "logging off for hostpool update"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_ListByHostPool.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_ListByHostPool.json
new file mode 100644
index 000000000000..d5e9527457ef
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_ListByHostPool.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "default",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHostManagements",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "scheduledDateTimeZone": "Alaskan Standard Time",
+ "update": {
+ "deleteOriginalVm": true,
+ "maxVmsRemoved": 4,
+ "logOffDelayMinutes": 10,
+ "logOffMessage": "logging off for hostpool update"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_Update.json
new file mode 100644
index 000000000000..24d8fcd9fbef
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_Update.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview",
+ "sessionHostManagement": {
+ "properties": {
+ "scheduledDateTimeZone": "Alaskan Standard Time",
+ "update": {
+ "deleteOriginalVm": true,
+ "maxVmsRemoved": 4,
+ "logOffDelayMinutes": 10,
+ "logOffMessage": "logging off for hostpool update"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHostManagements",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "scheduledDateTimeZone": "Alaskan Standard Time",
+ "update": {
+ "deleteOriginalVm": true,
+ "maxVmsRemoved": 4,
+ "logOffDelayMinutes": 10,
+ "logOffMessage": "logging off for hostpool update"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_UpdateSessionHosts_Post.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_UpdateSessionHosts_Post.json
new file mode 100644
index 000000000000..b4427edbca44
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_UpdateSessionHosts_Post.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview",
+ "updateSessionHostsRequestBody": {
+ "scheduledDateTime": "2008-09-22T14:01:54.9571247Z",
+ "scheduledDateTimeZone": "Alaskan Standard Time",
+ "update": {
+ "deleteOriginalVm": true,
+ "maxVmsRemoved": 4,
+ "logOffDelayMinutes": 10,
+ "logOffMessage": "logging off for hostpool update"
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default/operationResults/ed5d502c-acaa-42ec-ad61-0d8488a9fd1d",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default/operationStatuses/ed5d502c-acaa-42ec-ad61-0d8488a9fd1d",
+ "Retry-After": "60"
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_ValidateSessionHostUpdate_Post.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_ValidateSessionHostUpdate_Post.json
new file mode 100644
index 000000000000..bb2526a77aff
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHostManagements_ValidateSessionHostUpdate_Post.json
@@ -0,0 +1,95 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview",
+ "validateSessionHostUpdateRequestBody": {
+ "sessionHostConfiguration": {
+ "properties": {
+ "friendlyName": "InitialConfiguration",
+ "vmTags": {
+ "Department": "myDepartment",
+ "Team": "myTeam"
+ },
+ "vmLocation": "eastus2",
+ "vmResourceGroup": "myResourceGroup",
+ "vmNamePrefix": "westus2-vm",
+ "availabilityZones": [
+ 1,
+ 3
+ ],
+ "networkInfo": {
+ "subnetId": "/subscriptions/.../resourceGroups/.../providers/Microsoft.Network/virtualNetworks/.../subnets/subnet1",
+ "securityGroupId": "/subscriptions/.../resourceGroups/.../provider s/Microsoft.Network/networkSecurityGroups/nsg1"
+ },
+ "vmSizeId": "Standard_D2s_v3",
+ "diskInfo": {
+ "type": "Standard_LRS"
+ },
+ "customConfigurationScriptUrl": "https://storageaccountname.blob.core.windows.net/blobcontainer/file",
+ "imageInfo": {
+ "type": "Marketplace",
+ "marketplaceInfo": {
+ "offer": "Windows-10",
+ "publisher": "MicrosoftWindowsDesktop",
+ "sku": "19h2-ent",
+ "exactVersion": "2019.0.20190115"
+ },
+ "customInfo": {
+ "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/images/imageName"
+ }
+ },
+ "domainInfo": {
+ "joinType": "ActiveDirectory",
+ "activeDirectoryInfo": {
+ "domainCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "ouPath": "OU=testOU,DC=domain,DC=Domain,DC=com",
+ "domainName": "wvdarmtest1.net"
+ },
+ "azureActiveDirectoryInfo": {
+ "mdmProviderGuid": "bdefabc0-95b4-48b3-b645-8a753a63c4fa"
+ }
+ },
+ "securityInfo": {
+ "type": "TrustedLaunch",
+ "secureBootEnabled": true,
+ "vTpmEnabled": true
+ },
+ "vmAdminCredentials": {
+ "usernameKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/myusername",
+ "passwordKeyVaultSecretUri": "https://myvault.vault.azure.net/secrets/mysecretname"
+ },
+ "bootDiagnosticsInfo": {
+ "enabled": true,
+ "storageUri": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
+ }
+ }
+ },
+ "sessionHostManagement": {
+ "properties": {
+ "scheduledDateTimeZone": "Alaskan Standard Time",
+ "update": {
+ "deleteOriginalVm": true,
+ "maxVmsRemoved": 4,
+ "logOffDelayMinutes": 10,
+ "logOffMessage": "logging off for hostpool update"
+ }
+ }
+ },
+ "scheduledDateTime": "2008-09-22T14:01:54.9571247Z"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default/operationResults/ed5d502c-acaa-42ec-ad61-0d8488a9fd1d",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHostManagements/default/operationStatuses/ed5d502c-acaa-42ec-ad61-0d8488a9fd1d",
+ "Retry-After": "60"
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHost_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHost_Delete.json
new file mode 100644
index 000000000000..925022a51e14
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHost_Delete.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "sessionHostName": "sessionHost1.microsoft.com",
+ "api-version": "2023-11-01-preview",
+ "force": true
+ },
+ "responses": {
+ "200": {
+ "name": "sessionHost1.microsoft.com",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "lastHeartBeat": "2008-09-22T14:01:54.9571247Z",
+ "sessions": 1,
+ "agentVersion": "1.0.0.1391",
+ "allowNewSession": true,
+ "assignedUser": "user1@microsoft.com",
+ "status": "Available",
+ "statusTimestamp": "2008-09-22T14:01:54.9571247Z",
+ "osVersion": "10.0.17763",
+ "sxSStackVersion": "rdp-sxs190816002",
+ "updateState": "Succeeded",
+ "lastUpdateTime": "2008-09-22T14:01:54.9571247Z",
+ "updateErrorMessage": "",
+ "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef",
+ "lastSessionHostUpdateTime": "2021-01-14T02:09:37.6236843Z",
+ "sessionHostConfiguration": "2021-01-14T02:09:37.6236843Z",
+ "friendlyName": "friendly",
+ "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1",
+ "sessionHostHealthCheckResults": [
+ {
+ "healthCheckName": "DomainJoinedCheck",
+ "healthCheckResult": "HealthCheckSucceeded",
+ "additionalFailureDetails": {
+ "message": "SessionHost healthy: is joined to domain ≤wvdarmtest1.net≥",
+ "errorCode": 0,
+ "lastHealthCheckDateTime": "2021-01-14T02:09:37.6236843Z"
+ }
+ }
+ ]
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHost_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHost_Get.json
new file mode 100644
index 000000000000..b48ac7678330
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHost_Get.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "sessionHostName": "sessionHost1.microsoft.com",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "sessionHost1.microsoft.com",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "lastHeartBeat": "2008-09-22T14:01:54.9571247Z",
+ "sessions": 1,
+ "agentVersion": "1.0.0.1391",
+ "allowNewSession": true,
+ "assignedUser": "user1@microsoft.com",
+ "status": "Available",
+ "statusTimestamp": "2008-09-22T14:01:54.9571247Z",
+ "osVersion": "10.0.17763",
+ "sxSStackVersion": "rdp-sxs190816002",
+ "updateState": "Succeeded",
+ "lastUpdateTime": "2008-09-22T14:01:54.9571247Z",
+ "updateErrorMessage": "",
+ "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef",
+ "lastSessionHostUpdateTime": "2021-01-14T02:09:37.6236843Z",
+ "sessionHostConfiguration": "2021-01-14T02:09:37.6236843Z",
+ "friendlyName": "friendly",
+ "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1",
+ "sessionHostHealthCheckResults": [
+ {
+ "healthCheckName": "DomainJoinedCheck",
+ "healthCheckResult": "HealthCheckSucceeded",
+ "additionalFailureDetails": {
+ "message": "SessionHost healthy: is joined to domain ≤wvdarmtest1.net≥",
+ "errorCode": 0,
+ "lastHealthCheckDateTime": "2021-01-14T02:09:37.6236843Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHost_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHost_List.json
new file mode 100644
index 000000000000..dad54520ed12
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHost_List.json
@@ -0,0 +1,107 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview",
+ "pageSize": 10,
+ "isDescending": true,
+ "initialSkip": 0
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "sessionHost1.microsoft.com",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "lastHeartBeat": "2008-09-22T14:01:54.9571247Z",
+ "sessions": 1,
+ "agentVersion": "1.0.0.1391",
+ "allowNewSession": true,
+ "assignedUser": "user1@microsoft.com",
+ "status": "Available",
+ "statusTimestamp": "2008-09-22T14:01:54.9571247Z",
+ "osVersion": "10.0.17763",
+ "sxSStackVersion": "rdp-sxs190816002",
+ "updateState": "Succeeded",
+ "lastUpdateTime": "2008-09-22T14:01:54.9571247Z",
+ "updateErrorMessage": "",
+ "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef",
+ "lastSessionHostUpdateTime": "2021-01-14T02:09:37.6236843Z",
+ "sessionHostConfiguration": "2021-01-14T02:09:37.6236843Z",
+ "friendlyName": "friendly",
+ "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1",
+ "sessionHostHealthCheckResults": [
+ {
+ "healthCheckName": "DomainJoinedCheck",
+ "healthCheckResult": "HealthCheckSucceeded",
+ "additionalFailureDetails": {
+ "message": "SessionHost healthy: is joined to domain ≤wvdarmtest1.net≥",
+ "errorCode": 0,
+ "lastHealthCheckDateTime": "2021-01-14T02:09:37.6236843Z"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "sessionHost2.microsoft.com",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost2microsoft.com",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "lastHeartBeat": "2008-09-22T14:01:54.9571247Z",
+ "sessions": 1,
+ "agentVersion": "1.0.0.1391",
+ "allowNewSession": true,
+ "assignedUser": "user2@microsoft.com",
+ "status": "Available",
+ "statusTimestamp": "2008-09-22T14:01:54.9571247Z",
+ "osVersion": "10.0.17763",
+ "sxSStackVersion": "rdp-sxs190816002",
+ "updateState": "Succeeded",
+ "lastUpdateTime": "2008-09-22T14:01:54.9571247Z",
+ "updateErrorMessage": "",
+ "virtualMachineId": "39491b54-c033-4dec-b09a-18bf0ebafaef",
+ "lastSessionHostUpdateTime": "2021-01-14T02:09:37.6236843Z",
+ "sessionHostConfiguration": "2021-01-14T02:09:37.6236843Z",
+ "friendlyName": "friendly",
+ "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost2",
+ "sessionHostHealthCheckResults": [
+ {
+ "healthCheckName": "DomainJoinedCheck",
+ "healthCheckResult": "HealthCheckSucceeded",
+ "additionalFailureDetails": {
+ "message": "SessionHost healthy: is joined to domain ≤wvdarmtest1.net≥",
+ "errorCode": 0,
+ "lastHealthCheckDateTime": "2021-01-14T02:09:37.6236843Z"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHost_RetryProvisioning_Post.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHost_RetryProvisioning_Post.json
new file mode 100644
index 000000000000..181e3e5aa3fb
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHost_RetryProvisioning_Post.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "sessionHostName": "sessionHost1.microsoft.com",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHost_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHost_Update.json
new file mode 100644
index 000000000000..603df5ecdaba
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/SessionHost_Update.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "sessionHostName": "sessionHost1.microsoft.com",
+ "api-version": "2023-11-01-preview",
+ "force": true,
+ "sessionHost": {
+ "properties": {
+ "allowNewSession": true,
+ "assignedUser": "user1@microsoft.com",
+ "friendlyName": "friendly"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "sessionHost1.microsoft.com",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionhosts",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "lastHeartBeat": "2019-01-11T19:27:13.6108027Z",
+ "sessions": 1,
+ "agentVersion": "1.0.0.1391",
+ "allowNewSession": true,
+ "assignedUser": "user1@microsoft.com",
+ "status": "Available",
+ "statusTimestamp": "2019-01-24T20:00:08.2893033Z",
+ "osVersion": "10.0.17763",
+ "sxSStackVersion": "rdp-sxs190816002",
+ "updateState": "Succeeded",
+ "lastUpdateTime": "2008-09-22T14:01:54.9571247Z",
+ "updateErrorMessage": "",
+ "virtualMachineId": "29491b54-c033-4dec-b09a-18bf0ebafaef",
+ "lastSessionHostUpdateTime": "2021-01-14T02:09:37.6236843Z",
+ "sessionHostConfiguration": "2021-01-14T02:09:37.6236843Z",
+ "friendlyName": "friendly",
+ "resourceId": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.Compute/virtualMachines/sessionHost1",
+ "sessionHostHealthCheckResults": [
+ {
+ "healthCheckName": "DomainJoinedCheck",
+ "healthCheckResult": "HealthCheckSucceeded",
+ "additionalFailureDetails": {
+ "message": "SessionHost healthy: is joined to domain ≤wvdarmtest1.net≥",
+ "errorCode": 0,
+ "lastHealthCheckDateTime": "2021-01-14T02:09:37.6236843Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/StartMenuItem_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/StartMenuItem_List.json
new file mode 100644
index 000000000000..7b369aa32883
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/StartMenuItem_List.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "applicationGroupName": "applicationGroup1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "application1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application1",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups/startMenuItems",
+ "properties": {
+ "appAlias": "word",
+ "filePath": "/path/to/file",
+ "commandLineArguments": "arguments",
+ "iconPath": "/path/to/icon",
+ "iconIndex": 1
+ }
+ },
+ {
+ "name": "application2",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1/startMenuItem/application2",
+ "type": "Microsoft.DesktopVirtualization/applicationGroups/startMenuItems",
+ "properties": {
+ "appAlias": "excel",
+ "filePath": "/path/to/file",
+ "commandLineArguments": "arguments",
+ "iconPath": "/path/to/icon",
+ "iconIndex": 1
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_Delete.json
new file mode 100644
index 000000000000..dcd550642eda
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_Delete.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "sessionHostName": "sessionHost1.microsoft.com",
+ "userSessionId": "1",
+ "api-version": "2023-11-01-preview",
+ "force": true
+ },
+ "responses": {
+ "200": {
+ "name": "1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "userPrincipalName": "user1@microsoft.com",
+ "applicationType": "Desktop",
+ "sessionState": "Active",
+ "activeDirectoryUserName": "WVDARM\\user1",
+ "createTime": "2008-09-22T14:01:54.9571247Z"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_Disconnect_Post.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_Disconnect_Post.json
new file mode 100644
index 000000000000..3f93cbb16b3d
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_Disconnect_Post.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "sessionHostName": "sessionHost1.microsoft.com",
+ "userSessionId": "1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_Get.json
new file mode 100644
index 000000000000..3bae63f60db7
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_Get.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "sessionHostName": "sessionHost1.microsoft.com",
+ "userSessionId": "1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "userPrincipalName": "user1@microsoft.com",
+ "applicationType": "Desktop",
+ "sessionState": "Active",
+ "activeDirectoryUserName": "WVDARM\\user1",
+ "createTime": "2008-09-22T14:01:54.9571247Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_List.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_List.json
new file mode 100644
index 000000000000..798be10cdef4
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_List.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "sessionHostName": "sessionHost1.microsoft.com",
+ "api-version": "2023-11-01-preview",
+ "pageSize": 10,
+ "isDescending": true,
+ "initialSkip": 0
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "userPrincipalName": "user1@microsoft.com",
+ "applicationType": "Desktop",
+ "sessionState": "Active",
+ "activeDirectoryUserName": "WVDARM\\user1",
+ "createTime": "2008-09-22T14:01:54.9571247Z"
+ }
+ },
+ {
+ "name": "2",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "userPrincipalName": "user1@microsoft.com",
+ "applicationType": "Desktop",
+ "sessionState": "Active",
+ "activeDirectoryUserName": "WVDARM\\user1",
+ "createTime": "2008-09-22T14:01:54.9571247Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_ListByHostPool.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_ListByHostPool.json
new file mode 100644
index 000000000000..e6ae46f52b38
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_ListByHostPool.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "api-version": "2023-11-01-preview",
+ "$filter": "userPrincipalName eq 'user1@microsoft.com' and state eq 'active'",
+ "pageSize": 10,
+ "isDescending": true,
+ "initialSkip": 0
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/1",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "userPrincipalName": "user1@microsoft.com",
+ "applicationType": "Desktop",
+ "sessionState": "Active",
+ "activeDirectoryUserName": "WVDARM\\user1",
+ "createTime": "2008-09-22T14:01:54.9571247Z"
+ }
+ },
+ {
+ "name": "2",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1/sessionHosts/sessionHost1.microsoft.com/userSessions/2",
+ "type": "Microsoft.DesktopVirtualization/hostPools/sessionHosts/userSessions",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "userPrincipalName": "user1@microsoft.com",
+ "applicationType": "Desktop",
+ "sessionState": "Active",
+ "activeDirectoryUserName": "WVDARM\\user1",
+ "createTime": "2008-09-22T14:01:54.9571247Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_SendMessage_Post.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_SendMessage_Post.json
new file mode 100644
index 000000000000..447577f75ce9
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/UserSession_SendMessage_Post.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "hostPoolName": "hostPool1",
+ "sessionHostName": "sessionHost1.microsoft.com",
+ "userSessionId": "1",
+ "api-version": "2023-11-01-preview",
+ "sendMessage": {
+ "messageTitle": "title",
+ "messageBody": "body"
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_Create.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_Create.json
new file mode 100644
index 000000000000..cb6f8bc6b669
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_Create.json
@@ -0,0 +1,73 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "workspaceName": "workspace1",
+ "api-version": "2023-11-01-preview",
+ "workspace": {
+ "location": "centralus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "description": "des1",
+ "friendlyName": "friendly"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "workspace1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1",
+ "type": "Microsoft.DesktopVirtualization/workspaces",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "cloudPcResource": false
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "workspace1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1",
+ "type": "Microsoft.DesktopVirtualization/workspaces",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "cloudPcResource": false
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_Delete.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_Delete.json
new file mode 100644
index 000000000000..64e1ee9d04fd
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_Delete.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "workspaceName": "workspace1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "name": "workspace1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1",
+ "type": "Microsoft.DesktopVirtualization/workspaces",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "cloudPcResource": false
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_Get.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_Get.json
new file mode 100644
index 000000000000..772fc1198a33
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_Get.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "workspaceName": "workspace1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "workspace1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1",
+ "type": "Microsoft.DesktopVirtualization/workspaces",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "cloudPcResource": false
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_ListByResourceGroup.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_ListByResourceGroup.json
new file mode 100644
index 000000000000..cd05142c8605
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_ListByResourceGroup.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "api-version": "2023-11-01-preview",
+ "pageSize": 10,
+ "isDescending": true,
+ "initialSkip": 0
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "workspace1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1",
+ "type": "Microsoft.DesktopVirtualization/workspaces",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "cloudPcResource": false
+ }
+ },
+ {
+ "name": "workspace2",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2",
+ "type": "Microsoft.DesktopVirtualization/workspaces",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "cloudPcResource": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_ListBySubscription.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_ListBySubscription.json
new file mode 100644
index 000000000000..ab6f7ce7a996
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_ListBySubscription.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "api-version": "2023-11-01-preview",
+ "pageSize": 10,
+ "isDescending": true,
+ "initialSkip": 0
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "workspace1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1",
+ "type": "Microsoft.DesktopVirtualization/workspaces",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "cloudPcResource": false
+ }
+ },
+ {
+ "name": "workspace2",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace2",
+ "type": "Microsoft.DesktopVirtualization/workspaces",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "cloudPcResource": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_Update.json b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_Update.json
new file mode 100644
index 000000000000..e416ffd35595
--- /dev/null
+++ b/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-11-01-preview/examples/Workspace_Update.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa",
+ "resourceGroupName": "resourceGroup1",
+ "workspaceName": "workspace1",
+ "api-version": "2023-11-01-preview",
+ "workspace": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "description": "des1",
+ "friendlyName": "friendly"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "workspace1",
+ "id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1",
+ "type": "Microsoft.DesktopVirtualization/workspaces",
+ "location": "centralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325",
+ "description": "des1",
+ "friendlyName": "friendly",
+ "cloudPcResource": false
+ }
+ }
+ }
+ }
+}
diff --git a/specification/desktopvirtualization/resource-manager/readme.md b/specification/desktopvirtualization/resource-manager/readme.md
index 01c70e05e54d..a45e559605e9 100644
--- a/specification/desktopvirtualization/resource-manager/readme.md
+++ b/specification/desktopvirtualization/resource-manager/readme.md
@@ -26,21 +26,34 @@ These are the global settings for the DesktopVirtualizationClient API.
``` yaml
openapi-type: arm
-tag: package-preview-2023-10
+tag: package-preview-2023-11
```
+### Tag: package-preview-2023-11
+
+These settings apply only when `--tag=package-preview-2023-11` is specified on the command line.
+
+```yaml $(tag) == 'package-preview-2023-11'
+input-file:
+ - Microsoft.DesktopVirtualization/preview/2023-11-01-preview/desktopvirtualization.json
+suppressions:
+ - code: ResourceNameRestriction
+ from: desktopvirtualization.json
+ reason: Pattern restriction will be a breaking change. Update for next stable version. Work item to fix https://microsoft.visualstudio.com/OS/_workitems/edit/47527278
+```
### Tag: package-preview-2023-10
These settings apply only when `--tag=package-preview-2023-10` is specified on the command line.
-```yaml $(tag) == 'package-preview-2023-10'
+``` yaml $(tag) == 'package-preview-2023-10'
input-file:
- Microsoft.DesktopVirtualization/preview/2023-10-04-preview/desktopvirtualization.json
suppressions:
- code: ResourceNameRestriction
reason: HostPoolName, ApplicationGroupName, WorkspaceName, ScalingPlanName were already implemented in previous versions of the API and we cannot change naming pattern now.
```
+
### Tag: package-2023-09
These settings apply only when `--tag=package-2023-09` is specified on the command line.
diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/preview/2023-10-01-preview/devbox.json b/specification/devcenter/data-plane/Microsoft.DevCenter/preview/2023-10-01-preview/devbox.json
index a52092f44377..e3a9ecab8bc7 100644
--- a/specification/devcenter/data-plane/Microsoft.DevCenter/preview/2023-10-01-preview/devbox.json
+++ b/specification/devcenter/data-plane/Microsoft.DevCenter/preview/2023-10-01-preview/devbox.json
@@ -418,6 +418,12 @@
"description": "The request was accepted.",
"schema": {
"$ref": "#/definitions/CustomizationTaskListValidationOperationResult"
+ },
+ "headers": {
+ "Operation-Location": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
}
},
"default": {
diff --git a/specification/devcenter/data-plane/Microsoft.DevCenter/preview/2023-10-01-preview/environments.json b/specification/devcenter/data-plane/Microsoft.DevCenter/preview/2023-10-01-preview/environments.json
index 575ffa3f6f66..e1ce248beebd 100644
--- a/specification/devcenter/data-plane/Microsoft.DevCenter/preview/2023-10-01-preview/environments.json
+++ b/specification/devcenter/data-plane/Microsoft.DevCenter/preview/2023-10-01-preview/environments.json
@@ -262,6 +262,9 @@
"application/merge-patch+json"
],
"parameters": [
+ {
+ "$ref": "devcenter.json#/parameters/ApiVersionParameter"
+ },
{
"$ref": "devcenter.json#/parameters/ProjectNameParameter"
},
diff --git a/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/GenerateAccessToken.json b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/GenerateAccessToken.json
new file mode 100644
index 000000000000..7a4d9285a003
--- /dev/null
+++ b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/GenerateAccessToken.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2023-08-01",
+ "offerId": "0001-com-ubuntu-pro-jammy",
+ "resourceUri": "subscriptions/4bed37fd-19a1-4d31-8b44-40267555bec5/resourceGroups/edgemarketplace-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/edgemarketplace-demo",
+ "body": {
+ "deviceVersion": "1.0.18062.1",
+ "deviceSku": "edge",
+ "egeMarketPlaceResourceId": "testid",
+ "edgeMarketPlaceRegion": "EastUS2Euap",
+ "hypervGeneration": "V2",
+ "marketPlaceSku": "2022-datacenter-azure-edition-core",
+ "marketPlaceSkuVersion": "20348.1129.221007",
+ "publisherName": "ubuntu"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "location": "https://foo.com/operationStatuses"
+ }
+ },
+ "200": {
+ "body": {
+ "diskId": "abcd",
+ "status": "created",
+ "accessToken": "hidden"
+ }
+ }
+ }
+}
diff --git a/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/GetAccessToken.json b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/GetAccessToken.json
new file mode 100644
index 000000000000..80c7df409aa4
--- /dev/null
+++ b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/GetAccessToken.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2023-08-01",
+ "offerId": "0001-com-ubuntu-pro-jammy",
+ "resourceUri": "subscriptions/4bed37fd-19a1-4d31-8b44-40267555bec5/resourceGroups/edgemarketplace-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/edgemarketplace-demo",
+ "body": {
+ "requestId": "1.0.18062.1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "diskId": "abcd",
+ "status": "created",
+ "accessToken": "hidden"
+ }
+ }
+ }
+}
diff --git a/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/GetOffer.json b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/GetOffer.json
new file mode 100644
index 000000000000..a1df6f0c2614
--- /dev/null
+++ b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/GetOffer.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2023-08-01",
+ "offerId": "0001-com-ubuntu-pro-jammy",
+ "resourceUri": "subscriptions/4bed37fd-19a1-4d31-8b44-40267555bec5/resourceGroups/edgemarketplace-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/edgemarketplace-demo"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "contentVersion": "1.0",
+ "contentUrl": "test",
+ "provisioningState": "Succeeded",
+ "offerContent": {
+ "displayName": "Ubuntu Pro 22.04 LTS",
+ "summary": "Ubuntu Pro is providing additional coverage for production environments running in the cloud.",
+ "longSummary": "The official Ubuntu Linux, optimized for Azure with ten years of maintenance and additional security, compliance (e.g. FIPS, CIS, DISA) and management tools.",
+ "description": "Ubuntu Pro is a cross-cloud OS optimized for Azure",
+ "offerId": "0001-com-ubuntu-pro-jammy",
+ "popularity": 8,
+ "offerPublisher": {
+ "publisherId": "canonical",
+ "publisherDisplayName": "Canonical"
+ },
+ "offerType": "VirtualMachine",
+ "availability": "Preview",
+ "releaseType": "Preview",
+ "termsAndConditions": {
+ "legalTermsUri": "https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RW14H4N",
+ "legalTermsType": "None",
+ "privacyPolicyUri": "http://www.ubuntu.com/aboutus/privacypolicy"
+ },
+ "supportUri": "https://ubuntu.com/azure/support",
+ "categoryIds": [],
+ "iconFileUris": {
+ "small": "https://store-images.s-microsoft.com/image/apps.32072.2b66b35a-b926-4ddc-85fa-cc9d9cb874d9.77c42e2a-c945-4abb-8faa-365a38a108ed.42bcf340-fd72-405a-844d-7b0331419ec1",
+ "medium": "https://store-images.s-microsoft.com/image/apps.58881.2b66b35a-b926-4ddc-85fa-cc9d9cb874d9.77c42e2a-c945-4abb-8faa-365a38a108ed.31dd70ea-0671-4ad3-992b-6ce1a3f7a49e",
+ "wide": "https://store-images.s-microsoft.com/image/apps.17366.2b66b35a-b926-4ddc-85fa-cc9d9cb874d9.77c42e2a-c945-4abb-8faa-365a38a108ed.a2ff8d5b-de36-4d9c-be47-81e15b0c6f6a",
+ "large": "https://store-images.s-microsoft.com/image/apps.60707.2b66b35a-b926-4ddc-85fa-cc9d9cb874d9.77c42e2a-c945-4abb-8faa-365a38a108ed.50b643a0-de63-4ac1-88a2-d2390e2123c2"
+ }
+ },
+ "marketplaceSkus": [
+ {
+ "catalogPlanId": "canonical.0001-com-ubuntu-pro-jammypro-22_04-lts",
+ "marketplaceSkuId": "pro-22_04-lts",
+ "displayName": "pro-22_04-lts",
+ "type": "test",
+ "operatingSystem": {
+ "name": "linux",
+ "type": "test",
+ "family": "test"
+ },
+ "marketplaceSkuVersions": [
+ {
+ "name": "22.04.202204200",
+ "sizeOnDiskInMb": 0,
+ "minimumDownloadSizeInMb": 0,
+ "stageName": "teststage"
+ }
+ ]
+ }
+ ]
+ },
+ "id": "subscriptions/4bed37fd-19a1-4d31-8b44-40267555bec5/resourceGroups/edgemarketplace-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/edgemarketplace-demo/providers/Microsoft.EdgeMarketplace/publishers/canonical/offers/0001-com-ubuntu-pro-jammy",
+ "name": "0001-com-ubuntu-pro-jammy",
+ "type": "Microsoft.EdgeMarketplace/publishers/offers"
+ }
+ }
+ }
+}
diff --git a/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/GetPublisher.json b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/GetPublisher.json
new file mode 100644
index 000000000000..f77ae06ccb86
--- /dev/null
+++ b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/GetPublisher.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2023-08-01",
+ "resourceUri": "subscriptions/4bed37fd-19a1-4d31-8b44-40267555bec5/resourceGroups/edgemarketplace-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/edgemarketplace-demo",
+ "publisherName": "canonical"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/4bed37fd-19a1-4d31-8b44-40267555bec5/resourceGroups/edgemarketplace-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/edgemarketplace-demo/providers/Microsoft.EdgeMarketplace/publishers/canonical",
+ "name": "canonical",
+ "type": "Microsoft.EdgeMarketplace/publishers",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/ListOffers.json b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/ListOffers.json
new file mode 100644
index 000000000000..39d26df76dbd
--- /dev/null
+++ b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/ListOffers.json
@@ -0,0 +1,73 @@
+{
+ "parameters": {
+ "api-version": "2023-08-01",
+ "resourceUri": "subscriptions/4bed37fd-19a1-4d31-8b44-40267555bec5/resourceGroups/edgemarketplace-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/edgemarketplace-demo"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "contentVersion": "1.0",
+ "contentUrl": "test",
+ "provisioningState": "Succeeded",
+ "offerContent": {
+ "displayName": "Ubuntu Pro 22.04 LTS",
+ "summary": "Ubuntu Pro is providing additional coverage for production environments running in the cloud.",
+ "longSummary": "The official Ubuntu Linux, optimized for Azure with ten years of maintenance and additional security, compliance (e.g. FIPS, CIS, DISA) and management tools.",
+ "description": "
Ubuntu Pro is a cross-cloud OS optimized for Azure",
+ "offerId": "0001-com-ubuntu-pro-jammy",
+ "popularity": 8,
+ "offerPublisher": {
+ "publisherId": "canonical",
+ "publisherDisplayName": "Canonical"
+ },
+ "offerType": "VirtualMachine",
+ "availability": "Preview",
+ "releaseType": "Preview",
+ "termsAndConditions": {
+ "legalTermsUri": "https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RW14H4N",
+ "legalTermsType": "None",
+ "privacyPolicyUri": "http://www.ubuntu.com/aboutus/privacypolicy"
+ },
+ "supportUri": "https://ubuntu.com/azure/support",
+ "categoryIds": [],
+ "iconFileUris": {
+ "small": "https://store-images.s-microsoft.com/image/apps.32072.2b66b35a-b926-4ddc-85fa-cc9d9cb874d9.77c42e2a-c945-4abb-8faa-365a38a108ed.42bcf340-fd72-405a-844d-7b0331419ec1",
+ "medium": "https://store-images.s-microsoft.com/image/apps.58881.2b66b35a-b926-4ddc-85fa-cc9d9cb874d9.77c42e2a-c945-4abb-8faa-365a38a108ed.31dd70ea-0671-4ad3-992b-6ce1a3f7a49e",
+ "wide": "https://store-images.s-microsoft.com/image/apps.17366.2b66b35a-b926-4ddc-85fa-cc9d9cb874d9.77c42e2a-c945-4abb-8faa-365a38a108ed.a2ff8d5b-de36-4d9c-be47-81e15b0c6f6a",
+ "large": "https://store-images.s-microsoft.com/image/apps.60707.2b66b35a-b926-4ddc-85fa-cc9d9cb874d9.77c42e2a-c945-4abb-8faa-365a38a108ed.50b643a0-de63-4ac1-88a2-d2390e2123c2"
+ }
+ },
+ "marketplaceSkus": [
+ {
+ "catalogPlanId": "canonical.0001-com-ubuntu-pro-jammypro-22_04-lts",
+ "marketplaceSkuId": "pro-22_04-lts",
+ "displayName": "pro-22_04-lts",
+ "type": "test",
+ "operatingSystem": {
+ "name": "linux",
+ "type": "test",
+ "family": "test"
+ },
+ "marketplaceSkuVersions": [
+ {
+ "name": "22.04.202204200",
+ "sizeOnDiskInMb": 0,
+ "minimumDownloadSizeInMb": 0,
+ "stageName": "teststage"
+ }
+ ]
+ }
+ ]
+ },
+ "id": "subscriptions/4bed37fd-19a1-4d31-8b44-40267555bec5/resourceGroups/edgemarketplace-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/edgemarketplace-demo/providers/Microsoft.EdgeMarketplace/publishers/canonical/offers/0001-com-ubuntu-pro-jammy",
+ "name": "0001-com-ubuntu-pro-jammy",
+ "type": "Microsoft.EdgeMarketplace/publishers/offers"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/ListOffersBySubscription.json b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/ListOffersBySubscription.json
new file mode 100644
index 000000000000..e281a5f99706
--- /dev/null
+++ b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/ListOffersBySubscription.json
@@ -0,0 +1,73 @@
+{
+ "parameters": {
+ "api-version": "2023-08-01",
+ "subscriptionId": "4bed37fd-19a1-4d31-8b44-40267555bec5"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "contentVersion": "1.0",
+ "contentUrl": "test",
+ "provisioningState": "Succeeded",
+ "offerContent": {
+ "displayName": "Ubuntu Pro 22.04 LTS",
+ "summary": "Ubuntu Pro is providing additional coverage for production environments running in the cloud.",
+ "longSummary": "The official Ubuntu Linux, optimized for Azure with ten years of maintenance and additional security, compliance (e.g. FIPS, CIS, DISA) and management tools.",
+ "description": "
Ubuntu Pro is a cross-cloud OS optimized for Azure",
+ "offerId": "0001-com-ubuntu-pro-jammy",
+ "popularity": 8,
+ "offerPublisher": {
+ "publisherId": "canonical",
+ "publisherDisplayName": "Canonical"
+ },
+ "offerType": "VirtualMachine",
+ "availability": "Preview",
+ "releaseType": "Preview",
+ "termsAndConditions": {
+ "legalTermsUri": "https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RW14H4N",
+ "legalTermsType": "None",
+ "privacyPolicyUri": "http://www.ubuntu.com/aboutus/privacypolicy"
+ },
+ "supportUri": "https://ubuntu.com/azure/support",
+ "categoryIds": [],
+ "iconFileUris": {
+ "small": "https://store-images.s-microsoft.com/image/apps.32072.2b66b35a-b926-4ddc-85fa-cc9d9cb874d9.77c42e2a-c945-4abb-8faa-365a38a108ed.42bcf340-fd72-405a-844d-7b0331419ec1",
+ "medium": "https://store-images.s-microsoft.com/image/apps.58881.2b66b35a-b926-4ddc-85fa-cc9d9cb874d9.77c42e2a-c945-4abb-8faa-365a38a108ed.31dd70ea-0671-4ad3-992b-6ce1a3f7a49e",
+ "wide": "https://store-images.s-microsoft.com/image/apps.17366.2b66b35a-b926-4ddc-85fa-cc9d9cb874d9.77c42e2a-c945-4abb-8faa-365a38a108ed.a2ff8d5b-de36-4d9c-be47-81e15b0c6f6a",
+ "large": "https://store-images.s-microsoft.com/image/apps.60707.2b66b35a-b926-4ddc-85fa-cc9d9cb874d9.77c42e2a-c945-4abb-8faa-365a38a108ed.50b643a0-de63-4ac1-88a2-d2390e2123c2"
+ }
+ },
+ "marketplaceSkus": [
+ {
+ "catalogPlanId": "canonical.0001-com-ubuntu-pro-jammypro-22_04-lts",
+ "marketplaceSkuId": "pro-22_04-lts",
+ "displayName": "pro-22_04-lts",
+ "type": "test",
+ "operatingSystem": {
+ "name": "linux",
+ "type": "test",
+ "family": "test"
+ },
+ "marketplaceSkuVersions": [
+ {
+ "name": "22.04.202204200",
+ "sizeOnDiskInMb": 0,
+ "minimumDownloadSizeInMb": 0,
+ "stageName": "teststage"
+ }
+ ]
+ }
+ ]
+ },
+ "id": "subscriptions/4bed37fd-19a1-4d31-8b44-40267555bec5/resourceGroups/edgemarketplace-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/edgemarketplace-demo/providers/Microsoft.EdgeMarketplace/publishers/canonical/offers/0001-com-ubuntu-pro-jammy",
+ "name": "0001-com-ubuntu-pro-jammy",
+ "type": "Microsoft.EdgeMarketplace/publishers/offers"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/ListOperations.json b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/ListOperations.json
new file mode 100644
index 000000000000..d5e85b08f9ae
--- /dev/null
+++ b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/ListOperations.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "api-version": "2023-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.EdgeMarketplace/Publishers",
+ "isDataAction": false,
+ "display": {
+ "provider": "Microsoft.EdgeMarketplace",
+ "resource": "Publishers",
+ "operation": "List the publishers",
+ "description": "Gets the list of the publishers."
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/ListPublishers.json b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/ListPublishers.json
new file mode 100644
index 000000000000..4716c707d7fa
--- /dev/null
+++ b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/ListPublishers.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2023-08-01",
+ "resourceUri": "subscriptions/4bed37fd-19a1-4d31-8b44-40267555bec5/resourceGroups/edgemarketplace-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/edgemarketplace-demo",
+ "filter": "deviceSku eq 'edgepro1'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/4bed37fd-19a1-4d31-8b44-40267555bec5/resourceGroups/edgemarketplace-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/edgemarketplace-demo/providers/Microsoft.EdgeMarketplace/publishers/canonical",
+ "name": "canonical",
+ "type": "Microsoft.EdgeMarketplace/publishers",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "subscriptions/4bed37fd-19a1-4d31-8b44-40267555bec5/resourceGroups/edgemarketplace-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/edgemarketplace-demo/providers/Microsoft.EdgeMarketplace/publishers/ntegralinc1586961136942",
+ "name": "ntegralinc1586961136942",
+ "type": "Microsoft.EdgeMarketplace/publishers"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/ListPublishersBySubscription.json b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/ListPublishersBySubscription.json
new file mode 100644
index 000000000000..2ded643a1440
--- /dev/null
+++ b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/examples/ListPublishersBySubscription.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2023-08-01",
+ "subscriptionId": "4bed37fd-19a1-4d31-8b44-40267555bec5",
+ "filter": "deviceSku eq 'edgepro1'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/4bed37fd-19a1-4d31-8b44-40267555bec5/resourceGroups/edgemarketplace-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/edgemarketplace-demo/providers/Microsoft.EdgeMarketplace/publishers/canonical",
+ "name": "canonical",
+ "type": "Microsoft.EdgeMarketplace/publishers",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "subscriptions/4bed37fd-19a1-4d31-8b44-40267555bec5/resourceGroups/edgemarketplace-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/edgemarketplace-demo/providers/Microsoft.EdgeMarketplace/publishers/ntegralinc1586961136942",
+ "name": "ntegralinc1586961136942",
+ "type": "Microsoft.EdgeMarketplace/publishers"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/offers.json b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/offers.json
new file mode 100644
index 000000000000..9ad2124a4cd7
--- /dev/null
+++ b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/offers.json
@@ -0,0 +1,853 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "EdgeMarketplaceClient",
+ "version": "2023-08-01",
+ "description": "Edge Market Place Resource Provider management API.",
+ "x-typespec-generated": [
+ {
+ "emitter": "@azure-tools/typespec-autorest"
+ }
+ ]
+ },
+ "schemes": [
+ "https"
+ ],
+ "host": "management.azure.com",
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "tags": [
+ {
+ "name": "Offers"
+ }
+ ],
+ "paths": {
+ "/{resourceUri}/providers/Microsoft.EdgeMarketplace/offers": {
+ "get": {
+ "tags": [
+ "Offers"
+ ],
+ "operationId": "Offers_List",
+ "x-ms-examples": {
+ "List offers": {
+ "$ref": "./examples/ListOffers.json"
+ }
+ },
+ "description": "List Offer resources by parent",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.TopQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.SkipQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.FilterQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.SkipTokenParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/OfferListResult"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeMarketplace/offers": {
+ "get": {
+ "tags": [
+ "Offers"
+ ],
+ "operationId": "Offers_ListBySubscription",
+ "x-ms-examples": {
+ "List offers by subscription": {
+ "$ref": "./examples/ListOffersBySubscription.json"
+ }
+ },
+ "description": "List Offer resources by subscription",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.TopQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.SkipQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.FilterQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.SkipTokenParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/OfferListResult"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/{resourceUri}/providers/Microsoft.EdgeMarketplace/offers/{offerId}": {
+ "get": {
+ "tags": [
+ "Offers"
+ ],
+ "operationId": "Offers_Get",
+ "x-ms-examples": {
+ "Get offer": {
+ "$ref": "./examples/GetOffer.json"
+ }
+ },
+ "description": "Get a Offer",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter"
+ },
+ {
+ "name": "offerId",
+ "in": "path",
+ "required": true,
+ "description": "Id of the offer",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/Offer"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/{resourceUri}/providers/Microsoft.EdgeMarketplace/offers/{offerId}/generateAccessToken": {
+ "post": {
+ "tags": [
+ "Offers"
+ ],
+ "operationId": "Offers_GenerateAccessToken",
+ "x-ms-examples": {
+ "Generate AccessToken": {
+ "$ref": "./examples/GenerateAccessToken.json"
+ }
+ },
+ "description": "A long-running resource action.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter"
+ },
+ {
+ "name": "offerId",
+ "in": "path",
+ "required": true,
+ "description": "Id of the offer",
+ "type": "string"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "required": true,
+ "description": "The content of the action request",
+ "schema": {
+ "$ref": "#/definitions/AccessTokenRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/DiskAccessToken"
+ }
+ },
+ "202": {
+ "description": "Resource operation accepted.",
+ "headers": {
+ "Retry-After": {
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
+ "type": "integer",
+ "format": "int32"
+ },
+ "Location": {
+ "description": "The Location header contains the URL where the status of the long running operation can be checked.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/{resourceUri}/providers/Microsoft.EdgeMarketplace/offers/{offerId}/getAccessToken": {
+ "post": {
+ "tags": [
+ "Offers"
+ ],
+ "operationId": "Offers_GetAccessToken",
+ "x-ms-examples": {
+ "Get AccessToken": {
+ "$ref": "./examples/GetAccessToken.json"
+ }
+ },
+ "description": "get access token.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter"
+ },
+ {
+ "name": "offerId",
+ "in": "path",
+ "required": true,
+ "description": "Id of the offer",
+ "type": "string"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "required": true,
+ "description": "The content of the action request",
+ "schema": {
+ "$ref": "#/definitions/AccessTokenReadRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/DiskAccessToken"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "AccessTokenReadRequest": {
+ "type": "object",
+ "properties": {
+ "requestId": {
+ "type": "string",
+ "description": "The name of the publisher."
+ }
+ },
+ "description": "Access token request object",
+ "required": [
+ "requestId"
+ ]
+ },
+ "AccessTokenRequest": {
+ "type": "object",
+ "properties": {
+ "publisherName": {
+ "type": "string",
+ "description": "The name of the publisher."
+ },
+ "edgeMarketPlaceRegion": {
+ "type": "string",
+ "description": "The region where the disk will be created."
+ },
+ "egeMarketPlaceResourceId": {
+ "type": "string",
+ "description": "The region where the disk will be created."
+ },
+ "hypervGeneration": {
+ "type": "string",
+ "description": "The hyperv version."
+ },
+ "marketPlaceSku": {
+ "type": "string",
+ "description": "The marketplace sku."
+ },
+ "marketPlaceSkuVersion": {
+ "type": "string",
+ "description": "The marketplace sku version."
+ },
+ "deviceSku": {
+ "type": "string",
+ "description": "The device sku."
+ },
+ "deviceVersion": {
+ "type": "string",
+ "description": "The device sku version."
+ }
+ },
+ "description": "Access token request object",
+ "required": [
+ "edgeMarketPlaceRegion"
+ ]
+ },
+ "Azure.ResourceManager.ResourceProvisioningState": {
+ "type": "string",
+ "description": "The provisioning state of a resource type.",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ResourceProvisioningState",
+ "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."
+ }
+ ]
+ }
+ },
+ "DiskAccessToken": {
+ "type": "object",
+ "properties": {
+ "diskId": {
+ "type": "string",
+ "description": "The disk id."
+ },
+ "status": {
+ "type": "string",
+ "description": "The access token creation status."
+ },
+ "accessToken": {
+ "type": "string",
+ "description": "The access token."
+ }
+ },
+ "description": "The disk access token",
+ "required": [
+ "accessToken"
+ ]
+ },
+ "IconFileUris": {
+ "type": "object",
+ "properties": {
+ "small": {
+ "type": "string",
+ "description": "uri of small icon"
+ },
+ "medium": {
+ "type": "string",
+ "description": "uri of medium icon"
+ },
+ "wide": {
+ "type": "string",
+ "description": "uri of wide icon"
+ },
+ "large": {
+ "type": "string",
+ "description": "uri of large icon"
+ }
+ },
+ "description": "Icon files"
+ },
+ "MarketplaceSku": {
+ "type": "object",
+ "properties": {
+ "catalogPlanId": {
+ "type": "string",
+ "description": "The catalog plan id"
+ },
+ "marketplaceSkuId": {
+ "type": "string",
+ "description": "The marketplace sku id"
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of marketplace sku"
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The display name of marketplace sku"
+ },
+ "summary": {
+ "type": "string",
+ "description": "The summary"
+ },
+ "longSummary": {
+ "type": "string",
+ "description": "The long summary"
+ },
+ "description": {
+ "type": "string",
+ "description": "The description"
+ },
+ "generation": {
+ "type": "string",
+ "description": "The generation"
+ },
+ "displayRank": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The display rank of the sku"
+ },
+ "operatingSystem": {
+ "$ref": "#/definitions/SkuOperatingSystem",
+ "description": "The operating system supported"
+ },
+ "marketplaceSkuVersions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MarketplaceSkuVersion"
+ },
+ "x-ms-identifiers": [],
+ "description": "The marketplace sku version",
+ "x-typespec-name": "MarketplaceSkuVersion[]"
+ }
+ },
+ "description": "The marketplace sku",
+ "required": [
+ "catalogPlanId",
+ "marketplaceSkuId"
+ ]
+ },
+ "MarketplaceSkuVersion": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of sku version"
+ },
+ "sizeOnDiskInMb": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The size of the image"
+ },
+ "minimumDownloadSizeInMb": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The size of the download"
+ },
+ "stageName": {
+ "type": "string",
+ "description": "The stage name"
+ }
+ },
+ "description": "The marketplace sku version",
+ "required": [
+ "name"
+ ]
+ },
+ "Offer": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/OfferProperties",
+ "description": "The resource-specific properties for this resource.",
+ "x-ms-client-flatten": true,
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ },
+ "description": "An offer.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "OfferAvailability": {
+ "type": "string",
+ "description": "Says if the offer is public/private",
+ "enum": [
+ "Private",
+ "Public"
+ ],
+ "x-ms-enum": {
+ "name": "OfferAvailability",
+ "modelAsString": true,
+ "values": [
+ {
+ "name": "Private",
+ "value": "Private",
+ "description": "The offer availability is private"
+ },
+ {
+ "name": "Public",
+ "value": "Public",
+ "description": "The offer availability is public"
+ }
+ ]
+ }
+ },
+ "OfferContent": {
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "description": "The display name of the offer"
+ },
+ "summary": {
+ "type": "string",
+ "description": "The summary"
+ },
+ "longSummary": {
+ "type": "string",
+ "description": "The long summary"
+ },
+ "description": {
+ "type": "string",
+ "description": "The description"
+ },
+ "offerId": {
+ "type": "string",
+ "description": "The offer id"
+ },
+ "offerType": {
+ "type": "string",
+ "description": "The offer type"
+ },
+ "supportUri": {
+ "type": "string",
+ "description": "The support uri"
+ },
+ "popularity": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The popularity of the offer"
+ },
+ "offerPublisher": {
+ "$ref": "#/definitions/OfferPublisher",
+ "description": "The publisher of the offer"
+ },
+ "availability": {
+ "$ref": "#/definitions/OfferAvailability",
+ "description": "The availability of the offer"
+ },
+ "releaseType": {
+ "$ref": "#/definitions/OfferReleaseType",
+ "description": "The release type of the offer"
+ },
+ "iconFileUris": {
+ "$ref": "#/definitions/IconFileUris",
+ "description": "The icon files"
+ },
+ "termsAndConditions": {
+ "$ref": "#/definitions/TermsAndConditions",
+ "description": "The terms and conditions"
+ },
+ "categoryIds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The category ids ",
+ "x-typespec-name": "string[]"
+ },
+ "operatingSystems": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The operating systems",
+ "x-typespec-name": "string[]"
+ }
+ },
+ "description": "The offer content",
+ "required": [
+ "displayName",
+ "offerId"
+ ]
+ },
+ "OfferListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Offer"
+ },
+ "description": "The Offer items on this page",
+ "x-typespec-name": "Offer[]"
+ },
+ "nextLink": {
+ "type": "string",
+ "format": "uri",
+ "description": "The link to the next page of items",
+ "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ }
+ },
+ "description": "The response of a Offer list operation.",
+ "required": [
+ "value"
+ ]
+ },
+ "OfferProperties": {
+ "type": "object",
+ "properties": {
+ "contentVersion": {
+ "type": "string",
+ "description": "The content version"
+ },
+ "contentUrl": {
+ "type": "string",
+ "description": "The content url"
+ },
+ "offerContent": {
+ "$ref": "#/definitions/OfferContent",
+ "description": "The offer content"
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/Azure.ResourceManager.ResourceProvisioningState",
+ "description": "The resource provisioning state"
+ },
+ "marketplaceSkus": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MarketplaceSku"
+ },
+ "x-ms-identifiers": [],
+ "description": "The marketplace skus",
+ "x-typespec-name": "MarketplaceSku[]"
+ }
+ },
+ "description": "The offer properties",
+ "required": [
+ "offerContent"
+ ]
+ },
+ "OfferPublisher": {
+ "type": "object",
+ "properties": {
+ "publisherId": {
+ "type": "string",
+ "description": "The publisher Id"
+ },
+ "publisherDisplayName": {
+ "type": "string",
+ "description": "The publisher name"
+ }
+ },
+ "description": "The offer publisher",
+ "required": [
+ "publisherId",
+ "publisherDisplayName"
+ ]
+ },
+ "OfferReleaseType": {
+ "type": "string",
+ "description": "Offer release type",
+ "enum": [
+ "Preview",
+ "GA"
+ ],
+ "x-ms-enum": {
+ "name": "OfferReleaseType",
+ "modelAsString": true,
+ "values": [
+ {
+ "name": "Preview",
+ "value": "Preview",
+ "description": "The offer in preview"
+ },
+ {
+ "name": "GA",
+ "value": "GA",
+ "description": "The offer in GA"
+ }
+ ]
+ }
+ },
+ "SkuOperatingSystem": {
+ "type": "object",
+ "properties": {
+ "family": {
+ "type": "string",
+ "description": "The family of the operating system"
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the operating system"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the operating system"
+ }
+ },
+ "description": "The sku operating system",
+ "required": [
+ "name"
+ ]
+ },
+ "TermsAndConditions": {
+ "type": "object",
+ "properties": {
+ "legalTermsUri": {
+ "type": "string",
+ "description": "The legal terms and conditions uri"
+ },
+ "legalTermsType": {
+ "type": "string",
+ "description": "The type of legal terms"
+ },
+ "privacyPolicyUri": {
+ "type": "string",
+ "description": "The privacy policy uri"
+ }
+ },
+ "description": "Terms and conditions"
+ }
+ },
+ "parameters": {
+ "Azure.Core.FilterQueryParameter": {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "description": "Filter the result list using the given expression.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "Azure.Core.MaxPageSizeQueryParameter": {
+ "name": "maxpagesize",
+ "in": "query",
+ "required": false,
+ "description": "The maximum number of result items per page.",
+ "type": "integer",
+ "format": "int32",
+ "x-ms-parameter-location": "method"
+ },
+ "Azure.Core.SkipQueryParameter": {
+ "name": "skip",
+ "in": "query",
+ "required": false,
+ "description": "The number of result items to skip.",
+ "default": 0,
+ "type": "integer",
+ "format": "int32",
+ "x-ms-parameter-location": "method"
+ },
+ "Azure.Core.TopQueryParameter": {
+ "name": "$top",
+ "in": "query",
+ "required": false,
+ "description": "The number of result items to return.",
+ "type": "integer",
+ "format": "int32",
+ "x-ms-parameter-location": "method"
+ },
+ "Azure.Core.SkipTokenParameter": {
+ "name": "$skipToken",
+ "in": "query",
+ "required": false,
+ "description": "Skip over when retrieving results.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "Azure.ResourceManager.ResourceUriParameter": {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "description": "The fully qualified Azure Resource manager identifier of the resource.",
+ "type": "string",
+ "x-ms-skip-url-encoding": true,
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/operations.json b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/operations.json
new file mode 100644
index 000000000000..d0cf488ed4bc
--- /dev/null
+++ b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/operations.json
@@ -0,0 +1,86 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "EdgeMarketplaceClient",
+ "version": "2023-08-01",
+ "description": "Edge Market Place Resource Provider management API.",
+ "x-typespec-generated": [
+ {
+ "emitter": "@azure-tools/typespec-autorest"
+ }
+ ]
+ },
+ "schemes": [
+ "https"
+ ],
+ "host": "management.azure.com",
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "tags": [
+ {
+ "name": "Operations"
+ }
+ ],
+ "paths": {
+ "/providers/Microsoft.EdgeMarketplace/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "operationId": "Operations_List",
+ "x-ms-examples": {
+ "List operations": {
+ "$ref": "./examples/ListOperations.json"
+ }
+ },
+ "description": "List the operations for the provider",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {},
+ "parameters": {}
+}
diff --git a/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/publishers.json b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/publishers.json
new file mode 100644
index 000000000000..92eff9cd9626
--- /dev/null
+++ b/specification/edgemarketplace/resource-manager/Microsoft.EdgeMarketplace/stable/2023-08-01/publishers.json
@@ -0,0 +1,343 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "EdgeMarketplaceClient",
+ "version": "2023-08-01",
+ "description": "Edge Market Place Resource Provider management API.",
+ "x-typespec-generated": [
+ {
+ "emitter": "@azure-tools/typespec-autorest"
+ }
+ ]
+ },
+ "schemes": [
+ "https"
+ ],
+ "host": "management.azure.com",
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "tags": [
+ {
+ "name": "Publishers"
+ }
+ ],
+ "paths": {
+ "/{resourceUri}/providers/Microsoft.EdgeMarketplace/publishers": {
+ "get": {
+ "tags": [
+ "Publishers"
+ ],
+ "operationId": "Publishers_List",
+ "x-ms-examples": {
+ "List publishers": {
+ "$ref": "./examples/ListPublishers.json"
+ }
+ },
+ "description": "List Publisher resources by parent",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.TopQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.SkipQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.FilterQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.SkipTokenParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/PublisherListResult"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeMarketplace/publishers": {
+ "get": {
+ "tags": [
+ "Publishers"
+ ],
+ "operationId": "Publishers_ListBySubscription",
+ "x-ms-examples": {
+ "List publishers by subscription": {
+ "$ref": "./examples/ListPublishersBySubscription.json"
+ }
+ },
+ "description": "List Publisher resources in subscription",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.TopQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.SkipQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.MaxPageSizeQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.FilterQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.Core.SkipTokenParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/PublisherListResult"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/{resourceUri}/providers/Microsoft.EdgeMarketplace/publishers/{publisherName}": {
+ "get": {
+ "tags": [
+ "Publishers"
+ ],
+ "operationId": "Publishers_Get",
+ "x-ms-examples": {
+ "Get publisher": {
+ "$ref": "./examples/GetPublisher.json"
+ }
+ },
+ "description": "Get a Publisher",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter"
+ },
+ {
+ "name": "publisherName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the publisher",
+ "pattern": "^.*$",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/Publisher"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Azure.ResourceManager.ResourceProvisioningState": {
+ "type": "string",
+ "description": "The provisioning state of a resource type.",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ResourceProvisioningState",
+ "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."
+ }
+ ]
+ }
+ },
+ "Publisher": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PublisherProperties",
+ "description": "The resource-specific properties for this resource.",
+ "x-ms-client-flatten": true,
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ },
+ "description": "A publisher who provides offers.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "PublisherListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Publisher"
+ },
+ "description": "The Publisher items on this page",
+ "x-typespec-name": "Publisher[]"
+ },
+ "nextLink": {
+ "type": "string",
+ "format": "uri",
+ "description": "The link to the next page of items",
+ "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ }
+ },
+ "description": "The response of a Publisher list operation.",
+ "required": [
+ "value"
+ ]
+ },
+ "PublisherProperties": {
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "$ref": "#/definitions/Azure.ResourceManager.ResourceProvisioningState",
+ "description": "The resource provisioning state"
+ }
+ },
+ "description": "Publisher properties",
+ "required": [
+ "provisioningState"
+ ]
+ }
+ },
+ "parameters": {
+ "Azure.Core.FilterQueryParameter": {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "description": "Filter the result list using the given expression.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "Azure.Core.MaxPageSizeQueryParameter": {
+ "name": "maxpagesize",
+ "in": "query",
+ "required": false,
+ "description": "The maximum number of result items per page.",
+ "type": "integer",
+ "format": "int32",
+ "x-ms-parameter-location": "method"
+ },
+ "Azure.Core.SkipQueryParameter": {
+ "name": "skip",
+ "in": "query",
+ "required": false,
+ "description": "The number of result items to skip.",
+ "default": 0,
+ "type": "integer",
+ "format": "int32",
+ "x-ms-parameter-location": "method"
+ },
+ "Azure.Core.TopQueryParameter": {
+ "name": "$top",
+ "in": "query",
+ "required": false,
+ "description": "The number of result items to return.",
+ "type": "integer",
+ "format": "int32",
+ "x-ms-parameter-location": "method"
+ },
+ "Azure.Core.SkipTokenParameter": {
+ "name": "$skipToken",
+ "in": "query",
+ "required": false,
+ "description": "Skip over when retrieving results.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "Azure.ResourceManager.ResourceUriParameter": {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "description": "The fully qualified Azure Resource manager identifier of the resource.",
+ "type": "string",
+ "x-ms-skip-url-encoding": true,
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/edgemarketplace/resource-manager/readme.azureresourceschema.md b/specification/edgemarketplace/resource-manager/readme.azureresourceschema.md
index b266f23d200d..141aac507e0b 100644
--- a/specification/edgemarketplace/resource-manager/readme.azureresourceschema.md
+++ b/specification/edgemarketplace/resource-manager/readme.azureresourceschema.md
@@ -6,13 +6,13 @@ These settings apply only when `--azureresourceschema` is specified on the comma
``` yaml $(azureresourceschema) && $(multiapi)
batch:
- - tag: package-2023-08-01-preview
+ - tag: package-2023-08-01
```
Please also specify `--azureresourceschema-folder=`.
-### Tag: package-2023-08-01-preview and azureresourceschema
+### Tag: package-2023-08-01 and azureresourceschema
-``` yaml $(tag) == '2023-08-01-preview' && $(azureresourceschema)
+``` yaml $(tag) == '2023-08-01' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
\ No newline at end of file
diff --git a/specification/edgemarketplace/resource-manager/readme.cli.md b/specification/edgemarketplace/resource-manager/readme.cli.md
new file mode 100644
index 000000000000..179636a56760
--- /dev/null
+++ b/specification/edgemarketplace/resource-manager/readme.cli.md
@@ -0,0 +1,4 @@
+``` yaml
+# add any configuration here for all CLI languages
+# refer to the faq.md for more details
+```
\ No newline at end of file
diff --git a/specification/edgemarketplace/resource-manager/readme.java.md b/specification/edgemarketplace/resource-manager/readme.java.md
index 97621ad7b24e..545dacee55fc 100644
--- a/specification/edgemarketplace/resource-manager/readme.java.md
+++ b/specification/edgemarketplace/resource-manager/readme.java.md
@@ -32,18 +32,18 @@ directive:
``` yaml $(java) && $(multiapi)
batch:
- - tag: package-2023-08-preview
+ - tag: package-2023-08
```
-### Tag: package-2023-08-preview and java
+### Tag: package-2023-08 and java
-These settings apply only when `--tag=package-2023-08-preview --java` is specified on the command line.
+These settings apply only when `--tag=package-2023-08 --java` is specified on the command line.
Please also specify `--azure-libraries-for-java=`.
-``` yaml $(tag) == 'package-2023-08-preview' && $(java) && $(multiapi)
+``` yaml $(tag) == 'package-2023-08' && $(java) && $(multiapi)
java:
- namespace: com.microsoft.azure.management.edgemarketplace.v2023_08_01_preview
- output-folder: $(azure-libraries-for-java-folder)/sdk/edgemarketplace/mgmt-v2023_08_01_preview
+ namespace: com.microsoft.azure.management.edgemarketplace.v2023_08_01
+ output-folder: $(azure-libraries-for-java-folder)/sdk/edgemarketplace/mgmt-v2023_08_01
regenerate-manager: true
generate-interface: true
-```
\ No newline at end of file
+```
diff --git a/specification/edgemarketplace/resource-manager/readme.md b/specification/edgemarketplace/resource-manager/readme.md
index a38a9a267689..c1af3dc628a0 100644
--- a/specification/edgemarketplace/resource-manager/readme.md
+++ b/specification/edgemarketplace/resource-manager/readme.md
@@ -29,19 +29,31 @@ title: EdgeMarketplaceClient
description: Edge marketplace extensions
openapi-type: arm
openapi-subtype: rpaas
-tag: package-2023-08-preview
+tag: package-2023-08-01
```
-### Tag: package-2023-08-preview
-These settings apply only when `--tag=package-2023-08-preview` is specified on the command line.
+### Tag: package-2023-08-01-preview
-```yaml $(tag) == 'package-2023-08-preview'
+These settings apply only when `--tag=package-2023-08-01-preview` is specified on the command line.
+
+```yaml $(tag) == 'package-2023-08-01-preview'
input-file:
- Microsoft.EdgeMarketplace/preview/2023-08-01-preview/publishers.json
- Microsoft.EdgeMarketplace/preview/2023-08-01-preview/operations.json
- Microsoft.EdgeMarketplace/preview/2023-08-01-preview/offers.json
```
+### Tag: package-2023-08-01
+
+These settings apply only when `--tag=package-2023-08-01` is specified on the command line.
+
+```yaml $(tag) == 'package-2023-08-01'
+input-file:
+ - Microsoft.EdgeMarketplace/stable/2023-08-01/publishers.json
+ - Microsoft.EdgeMarketplace/stable/2023-08-01/operations.json
+ - Microsoft.EdgeMarketplace/stable/2023-08-01/offers.json
+```
+
---
# Code Generation
@@ -79,4 +91,4 @@ See configuration in [readme.typescript.md](./readme.typescript.md)
## CSharp
-See configuration in [readme.csharp.md](./readme.csharp.md)
+See configuration in [readme.csharp.md](./readme.csharp.md)
\ No newline at end of file
diff --git a/specification/edgemarketplace/resource-manager/readme.python.md b/specification/edgemarketplace/resource-manager/readme.python.md
index d00659094582..4a654882802d 100644
--- a/specification/edgemarketplace/resource-manager/readme.python.md
+++ b/specification/edgemarketplace/resource-manager/readme.python.md
@@ -1,35 +1,19 @@
-f## Python
+## Python
These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=`.
```yaml $(python)
-python:
- azure-arm: true
- license-header: MICROSOFT_MIT_NO_VERSION
- payload-flattening-threshold: 2
- namespace: azure.mgmt.edgemarketplace
- package-name: azure-mgmt-edgemarketplace
- package-version: 2023-08-01-preview
- clear-output-folder: true
+title: EdgeMarketPlaceMgmtClient
+azure-arm: true
+license-header: MICROSOFT_MIT_NO_VERSION
+namespace: azure.mgmt.edgemarketplace
+package-name: azure-mgmt-edgemarketplace
+package-version: 1.0.0b1
+clear-output-folder: true
```
-### Python multi-api
-
-Generate all API versions currently shipped for this package
-
-```yaml $(python) && $(multiapi)
-batch:
- - tag: package-2023-08-01-preview
-```
-
-### Tag: package-2023-08-01-preview and python
-
-These settings apply only when `--tag=package-2023-08-01-preview --python` is specified on the command line.
-Please also specify `--python-sdks-folder=`.
-
-``` yaml $(tag) == 'package-2023-08-01-preview' && $(python)
-python:
- namespace: azure.mgmt.edgemarketplace.v2023_08_01_preview
- output-folder: $(python-sdks-folder)/edgemarketplace/azure-mgmt-edgemarketplace/azure/mgmt/edgemarketplace/v2023_08_01_preview
+``` yaml $(python)
+no-namespace-folders: true
+output-folder: $(python-sdks-folder)/edgemarketplace/azure-mgmt-edgemarketplace/azure/mgmt/edgemarketplace
```
diff --git a/specification/edgemarketplace/resource-manager/readme.ruby.md b/specification/edgemarketplace/resource-manager/readme.ruby.md
new file mode 100644
index 000000000000..06b501a94a51
--- /dev/null
+++ b/specification/edgemarketplace/resource-manager/readme.ruby.md
@@ -0,0 +1,19 @@
+## Ruby
+
+These settings apply only when `--ruby` is specified on the command line.
+
+```yaml
+package-name: azure_mgmt_edgemarketplace
+package-version: 2023-08-01
+azure-arm: true
+```
+
+### Tag: package-2023-08-01 and ruby
+
+These settings apply only when `--tag=package-2023-08-01 --ruby` is specified on the command line.
+Please also specify `--ruby-sdks-folder=`.
+
+```yaml $(tag) == 'package-2023-08-01' && $(ruby)
+namespace: Microsoft.EdgeMarketplace
+output-folder: $(ruby-sdks-folder)/edgemarketplace
+```
diff --git a/specification/edgemarketplace/resource-manager/readme.typescript.md b/specification/edgemarketplace/resource-manager/readme.typescript.md
new file mode 100644
index 000000000000..3149f1ecff39
--- /dev/null
+++ b/specification/edgemarketplace/resource-manager/readme.typescript.md
@@ -0,0 +1,13 @@
+## TypeScript
+
+These settings apply only when `--typescript` is specified on the command line.
+Please also specify `--typescript-sdks-folder=`.
+
+```yaml $(typescript)
+typescript:
+ azure-arm: true
+ package-name: "edgemarketplace"
+ output-folder: "$(typescript-sdks-folder)/packages/edgemarketplace"
+ payload-flattening-threshold: 1
+ generate-metadata: true
+```
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/elastic.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/elastic.json
new file mode 100644
index 000000000000..712f8383bca4
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/elastic.json
@@ -0,0 +1,2793 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Microsoft.Elastic",
+ "version": "2023-11-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Microsoft Entra ID OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.Elastic/operations": {
+ "get": {
+ "tags": [
+ "MonitorsResource"
+ ],
+ "summary": "List all operations provided by Microsoft.Elastic.",
+ "operationId": "Operations_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Operations_List": {
+ "$ref": "./examples/Operations_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Elastic/monitors": {
+ "get": {
+ "tags": [
+ "MonitorsResource"
+ ],
+ "summary": "List all monitors under the specified subscription.",
+ "operationId": "Monitors_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ElasticMonitorResourceListResponse"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Monitors_List": {
+ "$ref": "./examples/Monitors_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Elastic/elasticVersions": {
+ "get": {
+ "tags": [
+ "ElasticVersions"
+ ],
+ "summary": "Get a list of available versions for a region.",
+ "operationId": "ElasticVersions_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "in": "query",
+ "name": "region",
+ "description": "Region where elastic deployment will take place.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ElasticVersionsListResponse"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ElasticVersions_List": {
+ "$ref": "./examples/ElasticVersions_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors": {
+ "get": {
+ "tags": [
+ "MonitorsResource"
+ ],
+ "summary": "List all monitors under the specified resource group.",
+ "operationId": "Monitors_ListByResourceGroup",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ElasticMonitorResourceListResponse"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Monitors_ListByResourceGroup": {
+ "$ref": "./examples/Monitors_ListByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}": {
+ "get": {
+ "tags": [
+ "MonitorsResource"
+ ],
+ "summary": "Get the properties of a specific monitor resource.",
+ "operationId": "Monitors_Get",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ElasticMonitorResource"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Monitors_Get": {
+ "$ref": "./examples/Monitors_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "MonitorsResource"
+ ],
+ "summary": "Create a monitor resource.",
+ "operationId": "Monitors_Create",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Elastic monitor resource model",
+ "schema": {
+ "$ref": "#/definitions/ElasticMonitorResource"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ElasticMonitorResource"
+ }
+ },
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ElasticMonitorResource"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Monitors_Create": {
+ "$ref": "./examples/Monitors_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "MonitorsResource"
+ ],
+ "summary": "Update a monitor resource.",
+ "operationId": "Monitors_Update",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Elastic resource model update parameters.",
+ "schema": {
+ "$ref": "#/definitions/ElasticMonitorResourceUpdateParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ElasticMonitorResource"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Monitors_Update": {
+ "$ref": "./examples/Monitors_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "MonitorsResource"
+ ],
+ "summary": "Delete a monitor resource.",
+ "operationId": "Monitors_Delete",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "202": {
+ "description": "Success"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Monitors_Delete": {
+ "$ref": "./examples/Monitors_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listMonitoredResources": {
+ "post": {
+ "tags": [
+ "MonitoredResources"
+ ],
+ "summary": "List the resources currently being monitored by the Elastic monitor resource.",
+ "operationId": "MonitoredResources_List",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/MonitoredResourceListResponse"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "MonitoredResources_List": {
+ "$ref": "./examples/MonitoredResources_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listDeploymentInfo": {
+ "post": {
+ "tags": [
+ "DeploymentInfo"
+ ],
+ "summary": "Fetch information regarding Elastic cloud deployment corresponding to the Elastic monitor resource.",
+ "operationId": "DeploymentInfo_List",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DeploymentInfoResponse"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DeploymentInfo_List": {
+ "$ref": "./examples/DeploymentInfo_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/createOrUpdateExternalUser": {
+ "post": {
+ "tags": [
+ "DeploymentInfo"
+ ],
+ "summary": "Create User inside elastic deployment which are used by customers to perform operations on the elastic deployment",
+ "operationId": "ExternalUser_CreateOrUpdate",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Elastic External User Creation Parameters",
+ "schema": {
+ "$ref": "#/definitions/ExternalUserInfo"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ExternalUserCreationResponse"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ExternalUser_CreateOrUpdate": {
+ "$ref": "./examples/ExternalUserInfo.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/getBillingInfo": {
+ "post": {
+ "tags": [
+ "ConnectedResources"
+ ],
+ "summary": "Get marketplace and organization info mapped to the given monitor.",
+ "operationId": "BillingInfo_Get",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/BillingInfoResponse"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "BillingInfo_Get": {
+ "$ref": "./examples/BillingInfo_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listConnectedPartnerResources": {
+ "post": {
+ "tags": [
+ "ConnectedResources"
+ ],
+ "summary": "List of all active deployments that are associated with the marketplace subscription linked to the given monitor.",
+ "operationId": "ConnectedPartnerResources_List",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ConnectedPartnerResourcesListResponse"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ConnectedPartnerResources_List": {
+ "$ref": "./examples/ConnectedPartnerResources_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules": {
+ "get": {
+ "tags": [
+ "Rules"
+ ],
+ "summary": "List the tag rules for a given monitor resource.",
+ "operationId": "TagRules_List",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/MonitoringTagRulesListResponse"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "TagRules_List": {
+ "$ref": "./examples/TagRules_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules/{ruleSetName}": {
+ "put": {
+ "tags": [
+ "Rules"
+ ],
+ "summary": "Create or update a tag rule set for a given monitor resource.",
+ "operationId": "TagRules_CreateOrUpdate",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RuleSetNameParameter"
+ },
+ {
+ "description": "request body of MonitoringTagRules",
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/MonitoringTagRules"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/MonitoringTagRules"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TagRules_CreateOrUpdate": {
+ "$ref": "./examples/TagRules_CreateOrUpdate.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Rules"
+ ],
+ "summary": "Get a tag rule set for a given monitor resource.",
+ "operationId": "TagRules_Get",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RuleSetNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/MonitoringTagRules"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TagRules_Get": {
+ "$ref": "./examples/TagRules_Get.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Rules"
+ ],
+ "summary": "Delete a tag rule set for a given monitor resource.",
+ "operationId": "TagRules_Delete",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RuleSetNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "202": {
+ "description": "Success"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "TagRules_Delete": {
+ "$ref": "./examples/TagRules_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listVMHost": {
+ "post": {
+ "tags": [
+ "VMHHostList"
+ ],
+ "summary": "List the vm resources currently being monitored by the Elastic monitor resource.",
+ "operationId": "VMHost_List",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/VMHostListResponse"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "VMHost_List": {
+ "$ref": "./examples/VMHost_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/vmIngestionDetails": {
+ "post": {
+ "tags": [
+ "VMIngestionDetails"
+ ],
+ "summary": "List the vm ingestion details that will be monitored by the Elastic monitor resource.",
+ "operationId": "VMIngestion_Details",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/VMIngestionDetailsResponse"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VMIngestion_Details": {
+ "$ref": "./examples/VMIngestion_Details.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/vmCollectionUpdate": {
+ "post": {
+ "tags": [
+ "VMCollectionUpdate"
+ ],
+ "summary": "Update the vm details that will be monitored by the Elastic monitor resource.",
+ "operationId": "VMCollection_Update",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "VM resource Id",
+ "schema": {
+ "$ref": "#/definitions/VMCollectionUpdate"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VMCollection_Update": {
+ "$ref": "./examples/VMCollection_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listUpgradableVersions": {
+ "post": {
+ "tags": [
+ "MonitorUpgradableVersions"
+ ],
+ "summary": "List of upgradable versions for a given monitor resource.",
+ "operationId": "UpgradableVersions_Details",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/UpgradableVersionsList"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "UpgradableVersions_Details": {
+ "$ref": "./examples/UpgradableVersions_Details.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/upgrade": {
+ "post": {
+ "tags": [
+ "DeploymentUpdate"
+ ],
+ "summary": "Upgradable version for a monitor resource.",
+ "operationId": "Monitor_Upgrade",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Elastic Monitor Upgrade Parameters",
+ "schema": {
+ "$ref": "#/definitions/ElasticMonitorUpgrade"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Monitor_Upgrade": {
+ "$ref": "./examples/Monitor_Upgrade.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listAllTrafficFilters": {
+ "post": {
+ "tags": [
+ "TrafficFilter"
+ ],
+ "summary": "Get the list of all traffic filters for the account.",
+ "operationId": "AllTrafficFilters_list",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ElasticTrafficFilterResponse"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "AllTrafficFilters_list": {
+ "$ref": "./examples/AllTrafficFilters_list.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listAssociatedTrafficFilters": {
+ "post": {
+ "tags": [
+ "TrafficFilter"
+ ],
+ "summary": "Get the list of all associated traffic filters for the given deployment.",
+ "operationId": "listAssociatedTrafficFilters_list",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ElasticTrafficFilterResponse"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "listAssociatedTrafficFilters_list": {
+ "$ref": "./examples/AssociatedFiltersForDeployment_list.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/createAndAssociateIPFilter": {
+ "post": {
+ "tags": [
+ "TrafficFilter"
+ ],
+ "summary": "Create and Associate IP traffic filter for the given deployment.",
+ "operationId": "createAndAssociateIPFilter_Create",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ },
+ {
+ "in": "query",
+ "name": "ips",
+ "description": "List of ips",
+ "type": "string"
+ },
+ {
+ "in": "query",
+ "name": "name",
+ "description": "Name of the traffic filter",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "createAndAssociateIPFilter_Create": {
+ "$ref": "./examples/IPTrafficFilter_Create.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/createAndAssociatePLFilter": {
+ "post": {
+ "tags": [
+ "TrafficFilter"
+ ],
+ "summary": "Create and Associate private link traffic filter for the given deployment.",
+ "operationId": "createAndAssociatePLFilter_Create",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ },
+ {
+ "in": "query",
+ "name": "name",
+ "description": "Name of the traffic filter",
+ "type": "string"
+ },
+ {
+ "in": "query",
+ "name": "privateEndpointGuid",
+ "description": "Guid of the private endpoint",
+ "type": "string"
+ },
+ {
+ "in": "query",
+ "name": "privateEndpointName",
+ "description": "Name of the private endpoint",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "createAndAssociatePLFilter_Create": {
+ "$ref": "./examples/PrivateLinkTrafficFilters_Create.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/associateTrafficFilter": {
+ "post": {
+ "tags": [
+ "TrafficFilter"
+ ],
+ "summary": "Associate traffic filter for the given deployment.",
+ "operationId": "AssociateTrafficFilter_Associate",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ },
+ {
+ "in": "query",
+ "name": "rulesetId",
+ "description": "Ruleset Id of the filter",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "AssociateTrafficFilter_Associate": {
+ "$ref": "./examples/AssociateTrafficFilter_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/detachAndDeleteTrafficFilter": {
+ "post": {
+ "tags": [
+ "TrafficFilter"
+ ],
+ "summary": "Detach and Delete traffic filter from the given deployment.",
+ "operationId": "DetachAndDeleteTrafficFilter_Delete",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ },
+ {
+ "in": "query",
+ "name": "rulesetId",
+ "description": "Ruleset Id of the filter",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DetachAndDeleteTrafficFilter_Delete": {
+ "$ref": "./examples/DetachAndDeleteTrafficFilter_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/detachTrafficFilter": {
+ "post": {
+ "tags": [
+ "TrafficFilter"
+ ],
+ "summary": "Detach traffic filter for the given deployment.",
+ "operationId": "DetachTrafficFilter_Update",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ },
+ {
+ "in": "query",
+ "name": "rulesetId",
+ "description": "Ruleset Id of the filter",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "DetachTrafficFilter_Update": {
+ "$ref": "./examples/DetachTrafficFilters_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/deleteTrafficFilter": {
+ "post": {
+ "tags": [
+ "TrafficFilter"
+ ],
+ "summary": "Delete traffic filter from the account.",
+ "operationId": "TrafficFilters_Delete",
+ "produces": [
+ "application/json"
+ ],
+ "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"
+ },
+ {
+ "$ref": "#/parameters/MonitorNameParameter"
+ },
+ {
+ "in": "query",
+ "name": "rulesetId",
+ "description": "Ruleset Id of the filter",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TrafficFilters_Delete": {
+ "$ref": "./examples/TrafficFilters_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Elastic/getOrganizationApiKey": {
+ "post": {
+ "tags": [
+ "ApiKey"
+ ],
+ "summary": "Fetch User API Key from internal database, if it was generated and stored while creating the Elasticsearch Organization.",
+ "description": "Fetch User API Key from internal database, if it was generated and stored while creating the Elasticsearch Organization.",
+ "operationId": "Organizations_GetApiKey",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Email Id parameter of the User Organization, of which the API Key must be returned",
+ "schema": {
+ "$ref": "#/definitions/UserEmailId"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/UserApiKeyResponse"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Organizations_GetApiKey": {
+ "$ref": "./examples/Organizations_GetApiKey.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Elastic/getElasticOrganizationToAzureSubscriptionMapping": {
+ "post": {
+ "tags": [
+ "UserOrganization"
+ ],
+ "summary": "Get Elastic Organization To Azure Subscription Mapping details for the logged-in user.",
+ "description": "Get Elastic Organization To Azure Subscription Mapping details for the logged-in user.",
+ "operationId": "Organizations_GetElasticToAzureSubscriptionMapping",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ElasticOrganizationToAzureSubscriptionMappingResponse"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "#/definitions/ResourceProviderDefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Organizations_GetElasticToAzureSubscriptionMapping": {
+ "$ref": "./examples/Organizations_GetElasticToAzureSubscriptionMapping.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ErrorResponseBody": {
+ "description": "Error response body.",
+ "title": "ErrorResponseBody",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code.",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message.",
+ "type": "string"
+ },
+ "target": {
+ "description": "Error target.",
+ "type": "string"
+ },
+ "details": {
+ "description": "Error details.",
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/ErrorResponseBody"
+ }
+ }
+ }
+ },
+ "ResourceProviderDefaultErrorResponse": {
+ "description": "RP default error response.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "Response body of Error",
+ "readOnly": true,
+ "$ref": "#/definitions/ErrorResponseBody"
+ }
+ }
+ },
+ "OperationDisplay": {
+ "description": "The object that represents the operation.",
+ "type": "object",
+ "properties": {
+ "provider": {
+ "description": "Service provider, i.e., Microsoft.Elastic.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Type on which the operation is performed, e.g., 'monitors'.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Operation type, e.g., read, write, delete, etc.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the operation, e.g., 'Write monitors'.",
+ "type": "string"
+ }
+ }
+ },
+ "OperationResult": {
+ "description": "A Microsoft.Elastic REST API operation.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name, i.e., {provider}/{resource}/{operation}.",
+ "type": "string"
+ },
+ "isDataAction": {
+ "description": "Indicates whether the operation is a data action",
+ "type": "boolean"
+ },
+ "display": {
+ "description": "The object that represents the operation.",
+ "$ref": "#/definitions/OperationDisplay"
+ },
+ "origin": {
+ "description": "Origin of the operation",
+ "type": "string"
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "Result of GET request to list the Microsoft.Elastic operations.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of operations supported by the Microsoft.Elastic provider.",
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/OperationResult"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next set of operation list results if there are any.",
+ "type": "string"
+ }
+ }
+ },
+ "ResourceSku": {
+ "description": "Microsoft.Elastic SKU.",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the SKU.",
+ "type": "string"
+ }
+ }
+ },
+ "ProvisioningState": {
+ "enum": [
+ "Accepted",
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Deleted",
+ "NotSpecified"
+ ],
+ "type": "string",
+ "description": "Provisioning state of Elastic resource.",
+ "title": "ProvisioningState",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "ProvisioningState"
+ }
+ },
+ "MonitoringStatus": {
+ "description": "Flag specifying if the resource monitoring is enabled or disabled.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "MonitoringStatus"
+ }
+ },
+ "ElasticCloudUser": {
+ "description": "Details of the user's elastic account.",
+ "type": "object",
+ "properties": {
+ "emailAddress": {
+ "description": "Email of the Elastic User Account.",
+ "type": "string",
+ "readOnly": true
+ },
+ "id": {
+ "description": "User Id of the elastic account of the User.",
+ "type": "string",
+ "readOnly": true
+ },
+ "elasticCloudSsoDefaultUrl": {
+ "description": "Elastic cloud default dashboard sso URL of the Elastic user account.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ElasticCloudDeployment": {
+ "description": "Details of the user's elastic deployment associated with the monitor resource.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Elastic deployment name",
+ "type": "string",
+ "readOnly": true
+ },
+ "deploymentId": {
+ "description": "Elastic deployment Id",
+ "type": "string",
+ "readOnly": true
+ },
+ "azureSubscriptionId": {
+ "description": "Associated Azure subscription Id for the elastic deployment.",
+ "type": "string",
+ "readOnly": true
+ },
+ "elasticsearchRegion": {
+ "description": "Region where Deployment at Elastic side took place.",
+ "type": "string",
+ "readOnly": true
+ },
+ "elasticsearchServiceUrl": {
+ "description": "Elasticsearch ingestion endpoint of the Elastic deployment.",
+ "type": "string",
+ "readOnly": true
+ },
+ "kibanaServiceUrl": {
+ "description": "Kibana endpoint of the Elastic deployment.",
+ "type": "string",
+ "readOnly": true
+ },
+ "kibanaSsoUrl": {
+ "description": "Kibana dashboard sso URL of the Elastic deployment.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ElasticProperties": {
+ "description": "Elastic Resource Properties.",
+ "type": "object",
+ "properties": {
+ "elasticCloudUser": {
+ "description": "Details of the user's elastic account.",
+ "$ref": "#/definitions/ElasticCloudUser"
+ },
+ "elasticCloudDeployment": {
+ "description": "Details of the elastic cloud deployment.",
+ "$ref": "#/definitions/ElasticCloudDeployment"
+ }
+ }
+ },
+ "CompanyInfo": {
+ "description": "Company information of the user to be passed to partners.",
+ "type": "object",
+ "properties": {
+ "domain": {
+ "description": "Domain of the company",
+ "maxLength": 250,
+ "type": "string"
+ },
+ "business": {
+ "description": "Business of the company",
+ "maxLength": 64,
+ "type": "string"
+ },
+ "employeesNumber": {
+ "description": "Number of employees in the company",
+ "maxLength": 20,
+ "type": "string"
+ },
+ "state": {
+ "description": "State of the company location.",
+ "maxLength": 64,
+ "type": "string"
+ },
+ "country": {
+ "description": "Country of the company location.",
+ "maxLength": 64,
+ "type": "string"
+ }
+ }
+ },
+ "UserInfo": {
+ "description": "User Information to be passed to partners.",
+ "type": "object",
+ "properties": {
+ "firstName": {
+ "description": "First name of the user",
+ "maxLength": 50,
+ "type": "string"
+ },
+ "lastName": {
+ "description": "Last name of the user",
+ "maxLength": 50,
+ "type": "string"
+ },
+ "companyName": {
+ "description": "Company name of the user",
+ "maxLength": 64,
+ "type": "string"
+ },
+ "emailAddress": {
+ "description": "Email of the user used by Elastic for contacting them if needed",
+ "pattern": "^([^<>()\\[\\]\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\.,;:\\s@\"]+)*)@(([a-zA-Z-_0-9]+\\.)+[a-zA-Z]{2,})$",
+ "type": "string"
+ },
+ "companyInfo": {
+ "description": "Company information of the user to be passed to partners.",
+ "$ref": "#/definitions/CompanyInfo"
+ }
+ }
+ },
+ "PlanDetails": {
+ "description": "Plan details of the monitor resource.",
+ "type": "object",
+ "properties": {
+ "offerID": {
+ "description": "Offer ID of the plan",
+ "type": "string"
+ },
+ "publisherID": {
+ "description": "Publisher ID of the plan",
+ "type": "string"
+ },
+ "termID": {
+ "description": "Term ID of the plan",
+ "type": "string"
+ },
+ "planID": {
+ "description": "Plan ID",
+ "type": "string"
+ },
+ "planName": {
+ "description": "Plan Name",
+ "type": "string"
+ }
+ }
+ },
+ "LiftrResourceCategories": {
+ "enum": [
+ "Unknown",
+ "MonitorLogs"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "LiftrResourceCategories"
+ },
+ "readOnly": true
+ },
+ "MonitorProperties": {
+ "description": "Properties specific to the monitor resource.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "Provisioning state of the monitor resource.",
+ "$ref": "#/definitions/ProvisioningState"
+ },
+ "monitoringStatus": {
+ "description": "Flag specifying if the resource monitoring is enabled or disabled.",
+ "$ref": "#/definitions/MonitoringStatus"
+ },
+ "elasticProperties": {
+ "description": "Elastic cloud properties.",
+ "$ref": "#/definitions/ElasticProperties"
+ },
+ "userInfo": {
+ "description": "User information.",
+ "$ref": "#/definitions/UserInfo",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "planDetails": {
+ "description": "Plan details of the monitor resource.",
+ "$ref": "#/definitions/PlanDetails"
+ },
+ "version": {
+ "description": "Version of elastic of the monitor resource",
+ "type": "string"
+ },
+ "saaSAzureSubscriptionStatus": {
+ "description": "Status of Azure Subscription where Marketplace SaaS is located.",
+ "type": "string"
+ },
+ "sourceCampaignName": {
+ "description": "Name of the marketing campaign.",
+ "type": "string"
+ },
+ "sourceCampaignId": {
+ "description": "A unique identifier associated with the campaign.",
+ "type": "string"
+ },
+ "liftrResourceCategory": {
+ "$ref": "#/definitions/LiftrResourceCategories"
+ },
+ "liftrResourcePreference": {
+ "description": "The priority of the resource.",
+ "format": "int32",
+ "type": "integer",
+ "readOnly": true
+ },
+ "generateApiKey": {
+ "description": "Flag to determine if User API Key has to be generated and shared.",
+ "type": "boolean"
+ }
+ }
+ },
+ "ManagedIdentityTypes": {
+ "enum": [
+ "SystemAssigned"
+ ],
+ "type": "string",
+ "description": "Managed Identity types.",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "ManagedIdentityTypes"
+ }
+ },
+ "IdentityProperties": {
+ "description": "Identity properties.",
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "description": "The identity ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "tenantId": {
+ "description": "The tenant ID of resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Managed identity type.",
+ "$ref": "#/definitions/ManagedIdentityTypes"
+ }
+ }
+ },
+ "ElasticMonitorResource": {
+ "description": "Monitor resource.",
+ "required": [
+ "location"
+ ],
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "id": {
+ "description": "ARM id of the monitor resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Name of the monitor resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The type of the monitor resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "sku": {
+ "description": "SKU of the monitor resource.",
+ "$ref": "#/definitions/ResourceSku"
+ },
+ "properties": {
+ "description": "Properties of the monitor resource.",
+ "$ref": "#/definitions/MonitorProperties",
+ "x-ms-client-flatten": false
+ },
+ "identity": {
+ "description": "Identity properties of the monitor resource.",
+ "$ref": "#/definitions/IdentityProperties"
+ },
+ "tags": {
+ "description": "The tags of the monitor resource.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "location": {
+ "description": "The location of the monitor resource",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "systemData": {
+ "readOnly": true,
+ "description": "The system metadata relating to this resource",
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData"
+ }
+ }
+ },
+ "ElasticMonitorResourceListResponse": {
+ "description": "Response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of a list operation.",
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/ElasticMonitorResource"
+ }
+ },
+ "nextLink": {
+ "description": "Link to the next set of results, if any.",
+ "type": "string"
+ }
+ }
+ },
+ "ElasticMonitorResourceUpdateParameters": {
+ "description": "Monitor resource update parameters.",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "elastic monitor resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "SendingLogs": {
+ "enum": [
+ "True",
+ "False"
+ ],
+ "type": "string",
+ "description": "Flag indicating the status of the resource for sending logs operation to Elastic.",
+ "title": "SendingLogs",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "SendingLogs"
+ }
+ },
+ "MonitoredResource": {
+ "description": "The properties of a resource currently being monitored by the Elastic monitor resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The ARM id of the resource.",
+ "type": "string"
+ },
+ "sendingLogs": {
+ "description": "Flag indicating the status of the resource for sending logs operation to Elastic.",
+ "$ref": "#/definitions/SendingLogs"
+ },
+ "reasonForLogsStatus": {
+ "description": "Reason for why the resource is sending logs (or why it is not sending).",
+ "type": "string"
+ }
+ }
+ },
+ "MonitoredResourceListResponse": {
+ "description": "Response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of a list operation.",
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/MonitoredResource"
+ }
+ },
+ "nextLink": {
+ "description": "Link to the next set of results, if any.",
+ "type": "string"
+ }
+ }
+ },
+ "TagAction": {
+ "description": "Valid actions for a filtering tag. Exclusion takes priority over inclusion.",
+ "enum": [
+ "Include",
+ "Exclude"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "TagAction"
+ }
+ },
+ "FilteringTag": {
+ "description": "The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name (also known as the key) of the tag.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value of the tag.",
+ "type": "string"
+ },
+ "action": {
+ "description": "Valid actions for a filtering tag.",
+ "$ref": "#/definitions/TagAction"
+ }
+ }
+ },
+ "ElasticVersionListFormat": {
+ "description": "Elastic Version List Format",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ElasticVersionListProperties"
+ }
+ }
+ },
+ "ElasticVersionListProperties": {
+ "description": "Elastic Version Properties",
+ "type": "object",
+ "properties": {
+ "version": {
+ "description": "Available elastic version of the given region",
+ "type": "string"
+ }
+ }
+ },
+ "ElasticVersionsListResponse": {
+ "description": "List of elastic versions available in a region.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of a list operation.",
+ "type": "array",
+ "x-ms-identifiers": [
+ "properties/version"
+ ],
+ "items": {
+ "$ref": "#/definitions/ElasticVersionListFormat"
+ }
+ },
+ "nextLink": {
+ "description": "Link to the next set of results, if any.",
+ "type": "string"
+ }
+ }
+ },
+ "LogRules": {
+ "description": "Set of rules for sending logs for the Monitor resource.",
+ "type": "object",
+ "properties": {
+ "sendAadLogs": {
+ "description": "Flag specifying if AAD logs should be sent for the Monitor resource.",
+ "type": "boolean"
+ },
+ "sendSubscriptionLogs": {
+ "description": "Flag specifying if subscription logs should be sent for the Monitor resource.",
+ "type": "boolean"
+ },
+ "sendActivityLogs": {
+ "description": "Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.",
+ "type": "boolean"
+ },
+ "filteringTags": {
+ "description": "List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.",
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/FilteringTag"
+ }
+ }
+ }
+ },
+ "MonitoringTagRulesProperties": {
+ "description": "Definition of the properties for a TagRules resource.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "Provisioning state of the monitoring tag rules.",
+ "$ref": "#/definitions/ProvisioningState"
+ },
+ "logRules": {
+ "description": "Rules for sending logs.",
+ "$ref": "#/definitions/LogRules"
+ }
+ }
+ },
+ "MonitoringTagRules": {
+ "description": "Capture logs and metrics of Azure resources based on ARM tags.",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "name": {
+ "description": "Name of the rule set.",
+ "type": "string",
+ "readOnly": true
+ },
+ "id": {
+ "description": "The id of the rule set.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The type of the rule set.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "description": "Properties of the monitoring tag rules.",
+ "$ref": "#/definitions/MonitoringTagRulesProperties",
+ "x-ms-client-flatten": false
+ },
+ "systemData": {
+ "readOnly": true,
+ "description": "The system metadata relating to this resource",
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData"
+ }
+ }
+ },
+ "MonitoringTagRulesListResponse": {
+ "description": "Response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of a list operation.",
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/MonitoringTagRules"
+ }
+ },
+ "nextLink": {
+ "description": "Link to the next set of results, if any.",
+ "type": "string"
+ }
+ }
+ },
+ "BillingInfoResponse": {
+ "description": "Marketplace Subscription and Organization details to which resource gets billed into.",
+ "type": "object",
+ "properties": {
+ "marketplaceSaasInfo": {
+ "description": "Marketplace Subscription details",
+ "$ref": "#/definitions/MarketplaceSaaSInfo"
+ },
+ "partnerBillingEntity": {
+ "description": "Partner Billing Entity details: Organization Info",
+ "$ref": "#/definitions/PartnerBillingEntity"
+ }
+ }
+ },
+ "MarketplaceSaaSInfo": {
+ "description": "Marketplace SAAS Info of the resource.",
+ "type": "object",
+ "properties": {
+ "marketplaceSubscription": {
+ "description": "Marketplace Subscription",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Marketplace Subscription Id. This is a GUID-formatted string.",
+ "type": "string"
+ }
+ }
+ },
+ "marketplaceName": {
+ "description": "Marketplace Subscription Details: SAAS Name",
+ "type": "string"
+ },
+ "marketplaceResourceId": {
+ "description": "Marketplace Subscription Details: Resource URI",
+ "type": "string"
+ },
+ "marketplaceStatus": {
+ "description": "Marketplace Subscription Details: SaaS Subscription Status",
+ "type": "string"
+ },
+ "billedAzureSubscriptionId": {
+ "description": "The Azure Subscription ID to which the Marketplace Subscription belongs and gets billed into.",
+ "type": "string"
+ },
+ "subscribed": {
+ "description": "Flag specifying if the Marketplace status is subscribed or not.",
+ "type": "boolean"
+ }
+ }
+ },
+ "PartnerBillingEntity": {
+ "description": "Partner Billing details associated with the resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The Elastic Organization Id.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The Elastic Organization Name.",
+ "type": "string"
+ },
+ "partnerEntityUri": {
+ "description": "Link to the elastic organization page",
+ "type": "string"
+ }
+ }
+ },
+ "ConnectedPartnerResourceProperties": {
+ "description": "Connected Partner Resource Properties",
+ "type": "object",
+ "properties": {
+ "partnerDeploymentName": {
+ "description": "Elastic deployment name",
+ "type": "string"
+ },
+ "partnerDeploymentUri": {
+ "description": "Deployment URL of the elasticsearch in Elastic cloud deployment.",
+ "type": "string"
+ },
+ "azureResourceId": {
+ "description": "The azure resource Id of the deployment.",
+ "type": "string"
+ },
+ "location": {
+ "description": "The location of the deployment.",
+ "type": "string"
+ }
+ }
+ },
+ "ConnectedPartnerResourcesListFormat": {
+ "description": "Connected Partner Resources List Format",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ConnectedPartnerResourceProperties"
+ }
+ }
+ },
+ "ConnectedPartnerResourcesListResponse": {
+ "description": " List of all active elastic deployments.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of a list operation.",
+ "type": "array",
+ "x-ms-identifiers": [
+ "properties/azureResourceId"
+ ],
+ "items": {
+ "$ref": "#/definitions/ConnectedPartnerResourcesListFormat"
+ }
+ },
+ "nextLink": {
+ "description": "Link to the next set of results, if any.",
+ "type": "string"
+ }
+ }
+ },
+ "ElasticDeploymentStatus": {
+ "description": "Flag specifying if the Elastic deployment status is healthy or not.",
+ "enum": [
+ "Healthy",
+ "Unhealthy"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "ElasticDeploymentStatus"
+ }
+ },
+ "DeploymentInfoResponse": {
+ "description": "The properties of deployment in Elastic cloud corresponding to the Elastic monitor resource.",
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "The Elastic deployment status.",
+ "$ref": "#/definitions/ElasticDeploymentStatus",
+ "readOnly": true
+ },
+ "version": {
+ "description": "Version of the elasticsearch in Elastic cloud deployment.",
+ "type": "string",
+ "readOnly": true
+ },
+ "memoryCapacity": {
+ "description": "RAM capacity of the elasticsearch in Elastic cloud deployment.",
+ "type": "string",
+ "readOnly": true
+ },
+ "diskCapacity": {
+ "description": "Disk capacity of the elasticsearch in Elastic cloud deployment.",
+ "type": "string",
+ "readOnly": true
+ },
+ "elasticsearchEndPoint": {
+ "description": "Elasticsearch endpoint in Elastic cloud deployment. This is either the aliased_endpoint if available, or the service_url otherwise.",
+ "type": "string",
+ "readOnly": true
+ },
+ "deploymentUrl": {
+ "description": "Deployment URL of the elasticsearch in Elastic cloud deployment.",
+ "type": "string",
+ "readOnly": true
+ },
+ "marketplaceSaasInfo": {
+ "description": "Marketplace SaaS Info of the resource.",
+ "$ref": "#/definitions/MarketplaceSaaSInfo",
+ "readOnly": true
+ }
+ }
+ },
+ "ExternalUserCreationResponse": {
+ "description": "The properties of the response we got from elastic while creating external user",
+ "type": "object",
+ "properties": {
+ "created": {
+ "description": "Shows if user is created or updated",
+ "type": "boolean",
+ "readOnly": true
+ }
+ }
+ },
+ "ExternalUserInfo": {
+ "description": "The properties of the request required for creating user on elastic side",
+ "type": "object",
+ "properties": {
+ "userName": {
+ "description": "Username of the user to be created or updated",
+ "type": "string"
+ },
+ "fullName": {
+ "description": "Full name of the user to be created or updated",
+ "type": "string"
+ },
+ "password": {
+ "x-ms-secret": true,
+ "description": "Password of the user to be created or updated",
+ "type": "string"
+ },
+ "emailId": {
+ "description": "Email id of the user to be created or updated",
+ "type": "string"
+ },
+ "roles": {
+ "description": "Roles to be assigned for created or updated user",
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "VMHostListResponse": {
+ "description": "Response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of a list operation.",
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/VMResources"
+ }
+ },
+ "nextLink": {
+ "description": "Link to the next Vm resource Id, if any.",
+ "type": "string"
+ }
+ }
+ },
+ "VMResources": {
+ "description": "The vm resource properties that is currently being monitored by the Elastic monitor resource.",
+ "type": "object",
+ "properties": {
+ "vmResourceId": {
+ "description": "The ARM id of the VM resource.",
+ "type": "string"
+ }
+ }
+ },
+ "VMIngestionDetailsResponse": {
+ "description": "The vm ingestion details to install an agent.",
+ "type": "object",
+ "properties": {
+ "cloudId": {
+ "description": "The cloudId of given Elastic monitor resource.",
+ "type": "string"
+ },
+ "ingestionKey": {
+ "description": "Ingestion details to install agent on given VM.",
+ "type": "string",
+ "x-ms-secret": true
+ }
+ }
+ },
+ "OperationName": {
+ "enum": [
+ "Add",
+ "Delete"
+ ],
+ "type": "string",
+ "description": "Operation to be performed on the given vm resource id.",
+ "title": "OperationName",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "OperationName"
+ }
+ },
+ "VMCollectionUpdate": {
+ "description": "Update VM resource collection.",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "vmResourceId": {
+ "description": "ARM id of the VM resource.",
+ "type": "string"
+ },
+ "operationName": {
+ "description": "Operation to be performed for given VM.",
+ "$ref": "#/definitions/OperationName"
+ }
+ }
+ },
+ "UpgradableVersionsList": {
+ "description": "Stack Versions that this version can upgrade to",
+ "type": "object",
+ "properties": {
+ "currentVersion": {
+ "type": "string",
+ "description": "Current version of the elastic monitor"
+ },
+ "upgradableVersions": {
+ "type": "array",
+ "x-ms-identifiers": [],
+ "description": "Stack Versions that this version can upgrade to",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "ElasticTrafficFilterResponse": {
+ "description": "List of elastic traffic filters in the account",
+ "type": "object",
+ "properties": {
+ "rulesets": {
+ "type": "array",
+ "x-ms-identifiers": [],
+ "description": "List of elastic traffic filters in the account",
+ "items": {
+ "$ref": "#/definitions/ElasticTrafficFilter"
+ }
+ }
+ }
+ },
+ "ElasticTrafficFilter": {
+ "description": "Elastic traffic filter object",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Id of the elastic filter"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the elastic filter"
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the elastic filter"
+ },
+ "region": {
+ "type": "string",
+ "description": "Region of the elastic filter"
+ },
+ "type": {
+ "enum": [
+ "ip",
+ "azure_private_endpoint"
+ ],
+ "type": "string",
+ "description": "Type of the elastic filter",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "type"
+ }
+ },
+ "includeByDefault": {
+ "type": "boolean",
+ "description": "IncludeByDefault for the elastic filter"
+ },
+ "rules": {
+ "type": "array",
+ "description": "Rules in the elastic filter",
+ "items": {
+ "$ref": "#/definitions/ElasticTrafficFilterRule"
+ }
+ }
+ }
+ },
+ "ElasticTrafficFilterRule": {
+ "description": "Elastic traffic filter rule object",
+ "type": "object",
+ "properties": {
+ "source": {
+ "type": "string",
+ "description": "IP of the elastic filter rule"
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the elastic filter rule"
+ },
+ "azureEndpointGuid": {
+ "type": "string",
+ "description": "Guid of Private Endpoint in the elastic filter rule"
+ },
+ "azureEndpointName": {
+ "type": "string",
+ "description": "Name of the Private Endpoint in the elastic filter rule"
+ },
+ "id": {
+ "type": "string",
+ "description": "Id of the elastic filter rule"
+ }
+ }
+ },
+ "ElasticMonitorUpgrade": {
+ "description": "Upgrade elastic monitor version",
+ "type": "object",
+ "properties": {
+ "version": {
+ "type": "string",
+ "description": "Version to which the elastic monitor should be upgraded to"
+ }
+ }
+ },
+ "UserEmailId": {
+ "description": "Email Id of the User Organization, of which the API Key must be returned",
+ "type": "object",
+ "properties": {
+ "emailId": {
+ "type": "string",
+ "description": "The User email Id"
+ }
+ }
+ },
+ "UserApiKeyResponse": {
+ "description": "The User Api Key created for the Organization associated with the User Email Id that was passed in the request",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/UserApiKeyResponseProperties"
+ }
+ }
+ },
+ "UserApiKeyResponseProperties": {
+ "type": "object",
+ "properties": {
+ "apiKey": {
+ "description": "The User Api Key Generated based on GenerateApiKey flag. This is applicable for non-Portal clients only.",
+ "type": "string",
+ "x-ms-secret": true
+ }
+ }
+ },
+ "ElasticOrganizationToAzureSubscriptionMappingResponse": {
+ "description": "The Azure Subscription ID to which the Organization of the logged in user belongs and gets billed into.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ElasticOrganizationToAzureSubscriptionMappingResponseProperties"
+ }
+ }
+ },
+ "ElasticOrganizationToAzureSubscriptionMappingResponseProperties": {
+ "description": "The properties of Azure Subscription ID to which the Organization of the logged in user belongs and gets billed into.",
+ "type": "object",
+ "properties": {
+ "billedAzureSubscriptionId": {
+ "description": "The Azure Subscription ID to which the Organization belongs and gets billed into. This is empty for a new user OR a user without an Elastic Organization.",
+ "type": "string"
+ },
+ "marketplaceSaasInfo": {
+ "description": "Marketplace SaaS Info of the resource.",
+ "$ref": "#/definitions/MarketplaceSaaSInfo",
+ "readOnly": true
+ },
+ "elasticOrganizationId": {
+ "description": "The Elastic Organization Id.",
+ "type": "string"
+ },
+ "elasticOrganizationName": {
+ "description": "The Elastic Organization Name.",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "MonitorNameParameter": {
+ "in": "path",
+ "name": "monitorName",
+ "description": "Monitor resource name",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "RuleSetNameParameter": {
+ "in": "path",
+ "name": "ruleSetName",
+ "description": "Tag Rule Set resource name",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/AllTrafficFilters_list.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/AllTrafficFilters_list.json
new file mode 100644
index 000000000000..9c2938a2997a
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/AllTrafficFilters_list.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "rulesets": [
+ {
+ "id": "31d91b5afb6f4c2eaaf104c97b1991dd",
+ "name": "IPFromApi",
+ "description": "created from azure",
+ "type": "ip",
+ "includeByDefault": false,
+ "region": "azure-eastus",
+ "rules": [
+ {
+ "id": "f0297dad72af4a5e964cddf817f35e65",
+ "description": "Allow inbound traffic from IP address 192.168.131.0",
+ "source": "192.168.131.0"
+ },
+ {
+ "id": "f9c00169f0e54931ae72aabde326b589",
+ "description": "Allow inbound traffic from IP address block 192.168.132.6/22",
+ "source": "192.168.132.6/22"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/AssociateTrafficFilter_Update.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/AssociateTrafficFilter_Update.json
new file mode 100644
index 000000000000..b83871b7db40
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/AssociateTrafficFilter_Update.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/associateTrafficFilter?api-version=2023-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/AssociatedFiltersForDeployment_list.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/AssociatedFiltersForDeployment_list.json
new file mode 100644
index 000000000000..9c2938a2997a
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/AssociatedFiltersForDeployment_list.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "rulesets": [
+ {
+ "id": "31d91b5afb6f4c2eaaf104c97b1991dd",
+ "name": "IPFromApi",
+ "description": "created from azure",
+ "type": "ip",
+ "includeByDefault": false,
+ "region": "azure-eastus",
+ "rules": [
+ {
+ "id": "f0297dad72af4a5e964cddf817f35e65",
+ "description": "Allow inbound traffic from IP address 192.168.131.0",
+ "source": "192.168.131.0"
+ },
+ {
+ "id": "f9c00169f0e54931ae72aabde326b589",
+ "description": "Allow inbound traffic from IP address block 192.168.132.6/22",
+ "source": "192.168.132.6/22"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/BillingInfo_Get.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/BillingInfo_Get.json
new file mode 100644
index 000000000000..110429fd4719
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/BillingInfo_Get.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "marketplaceSaasInfo": {
+ "marketplaceSubscription": {
+ "id": "12345678-1234-1234-1234-123456789012"
+ },
+ "marketplaceName": "MP_RESOURCE",
+ "marketplaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.SaaS/resources/AzElastic_b1190c8f",
+ "marketplaceStatus": "Status",
+ "billedAzureSubscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscribed": true
+ },
+ "partnerBillingEntity": {
+ "id": "1234567890",
+ "name": "elasticOrganizationName",
+ "partnerEntityUri": "https://example.com"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/ConnectedPartnerResources_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/ConnectedPartnerResources_List.json
new file mode 100644
index 000000000000..020a5c31cdac
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/ConnectedPartnerResources_List.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "partnerDeploymentName": "deploymentname",
+ "partnerDeploymentUri": "https://examplessourl.com",
+ "azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
+ "location": "West US 2"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/DeploymentInfo_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/DeploymentInfo_List.json
new file mode 100644
index 000000000000..c0137f926829
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/DeploymentInfo_List.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "status": "Healthy",
+ "version": "7.9.3",
+ "memoryCapacity": "1024",
+ "diskCapacity": "245760",
+ "elasticsearchEndPoint": "alias.es.eastus2.staging.azure.foundit.no",
+ "deploymentUrl": "https://endpoint.eastus.kb.azure.elastic-cloud.com:9243",
+ "marketplaceSaasInfo": {
+ "marketplaceSubscription": {
+ "id": "12345678-1234-1234-1234-123456789012"
+ },
+ "marketplaceName": "MP_RESOURCE",
+ "marketplaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.SaaS/resources/AzElastic_b1190c8f",
+ "marketplaceStatus": "Status"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/DetachAndDeleteTrafficFilter_Delete.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/DetachAndDeleteTrafficFilter_Delete.json
new file mode 100644
index 000000000000..317beba0bc4f
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/DetachAndDeleteTrafficFilter_Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/DetachTrafficFilters_Update.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/DetachTrafficFilters_Update.json
new file mode 100644
index 000000000000..1b37fe25de2a
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/DetachTrafficFilters_Update.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/detachTrafficFilter?api-version=2023-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/ElasticVersions_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/ElasticVersions_List.json
new file mode 100644
index 000000000000..e37835f399a6
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/ElasticVersions_List.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "region": "myregion",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "version": "version1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/ExternalUserInfo.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/ExternalUserInfo.json
new file mode 100644
index 000000000000..3cab114f4033
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/ExternalUserInfo.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "requestBody": {
+ "UserName": "newuser",
+ "FullName": "fullname",
+ "Password": "Password",
+ "EmailId": "myemail@outlook.com",
+ "Roles": [
+ "admin",
+ "other_role1"
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "created": true
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/IPTrafficFilter_Create.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/IPTrafficFilter_Create.json
new file mode 100644
index 000000000000..ac58c4f3380c
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/IPTrafficFilter_Create.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd",
+ "ips": "192.168.131.0, 192.168.132.6/22"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/createAndAssociateIPFilter?api-version=2023-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitor_Upgrade.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitor_Upgrade.json
new file mode 100644
index 000000000000..ae0564ae3def
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitor_Upgrade.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "requestBody": {
+ "version": "7.15.1"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/upgrade?api-version=2023-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/MonitoredResources_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/MonitoredResources_List.json
new file mode 100644
index 000000000000..7df161998148
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/MonitoredResources_List.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVault",
+ "sendingLogs": "True",
+ "reasonForLogsStatus": "CapturedByRules"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_Create.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_Create.json
new file mode 100644
index 000000000000..312716ce8980
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_Create.json
@@ -0,0 +1,114 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "requestBody": {
+ "name": "myMonitor",
+ "sku": {
+ "name": "free_Monthly"
+ },
+ "properties": {
+ "userInfo": {
+ "firstName": "Alice",
+ "lastName": "Bob",
+ "companyName": "Microsoft",
+ "emailAddress": "alice@microsoft.com",
+ "companyInfo": {
+ "domain": "microsoft.com",
+ "business": "Technology",
+ "employeeNumber": "10000",
+ "state": "WA",
+ "country": "US"
+ }
+ },
+ "planDetails": {
+ "offerID": "00000",
+ "publisherID": "1234",
+ "termID": "free_Monthly",
+ "planID": "xxxyyy",
+ "planName": "myPlan"
+ },
+ "saaSAzureSubscriptionStatus": "Subscribed",
+ "sourceCampaignName": "Elastic",
+ "sourceCampaignId": "0000"
+ },
+ "tags": {
+ "Environment": "Dev"
+ },
+ "location": "West US 2"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
+ "name": "myMonitor",
+ "type": "Microsoft.Elastic/monitors",
+ "sku": {
+ "name": "free_Monthly"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "elasticProperties": {
+ "elasticCloudUser": {
+ "emailAddress": "alice@microsoft.com",
+ "id": "myid123",
+ "elasticCloudSsoDefaultUrl": "https://examplessourl.com"
+ },
+ "elasticCloudDeployment": {
+ "name": "deploymentname",
+ "deploymentId": "deployment_id",
+ "azureSubscriptionId": "00000000-0000-0000-0000-000000000000",
+ "elasticsearchRegion": "azure-westus2",
+ "elasticsearchServiceUrl": "https://elasticsearchendpoint.com",
+ "kibanaServiceUrl": "https://kibanaserviceurl.com",
+ "kibanaSsoUrl": "https://kibanssourl.com"
+ }
+ }
+ },
+ "tags": {
+ "Environment": "Dev"
+ },
+ "location": "West US 2"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
+ "name": "myMonitor",
+ "type": "Microsoft.Elastic/monitors",
+ "sku": {
+ "name": "free_Monthly"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "monitoringStatus": "Enabled",
+ "elasticProperties": {
+ "elasticCloudUser": {
+ "emailAddress": "alice@microsoft.com",
+ "id": "myid123",
+ "elasticCloudSsoDefaultUrl": "https://examplessourl.com"
+ },
+ "elasticCloudDeployment": {
+ "name": "deploymentname",
+ "deploymentId": "deployment_id",
+ "azureSubscriptionId": "00000000-0000-0000-0000-000000000000",
+ "elasticsearchRegion": "azure-westus2",
+ "elasticsearchServiceUrl": "https://elasticsearchendpoint.com",
+ "kibanaServiceUrl": "https://kibanaserviceurl.com",
+ "kibanaSsoUrl": "https://kibanssourl.com"
+ }
+ },
+ "liftrResourceCategory": "MonitorLogs",
+ "liftrResourcePreference": 0
+ },
+ "tags": {
+ "Environment": "Dev"
+ },
+ "location": "West US 2"
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_Delete.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_Delete.json
new file mode 100644
index 000000000000..e367af781176
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_Delete.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname?api-version=2022-07-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_Get.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_Get.json
new file mode 100644
index 000000000000..b6aef6341fa0
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_Get.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
+ "name": "myMonitor",
+ "type": "Microsoft.Elastic/monitors",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "monitoringStatus": "Enabled",
+ "elasticProperties": {
+ "elasticCloudUser": {
+ "emailAddress": "alice@microsoft.com",
+ "id": "myid123",
+ "elasticCloudSsoDefaultUrl": "https://examplessourl.com"
+ },
+ "elasticCloudDeployment": {
+ "name": "deploymentname",
+ "deploymentId": "deployment_id",
+ "azureSubscriptionId": "00000000-0000-0000-0000-000000000000",
+ "elasticsearchRegion": "azure-westus2",
+ "elasticsearchServiceUrl": "https://elasticsearchendpoint.com",
+ "kibanaServiceUrl": "https://kibanaserviceurl.com",
+ "kibanaSsoUrl": "https://kibanssourl.com"
+ }
+ },
+ "liftrResourceCategory": "MonitorLogs",
+ "liftrResourcePreference": 0
+ },
+ "tags": {
+ "Environment": "Dev"
+ },
+ "location": "West US 2"
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_List.json
new file mode 100644
index 000000000000..f502c7e40573
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_List.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
+ "name": "myMonitor",
+ "type": "Microsoft.Elastic/monitors",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "monitoringStatus": "Enabled",
+ "elasticProperties": {
+ "elasticCloudUser": {
+ "emailAddress": "alice@microsoft.com",
+ "id": "myid123",
+ "elasticCloudSsoDefaultUrl": "https://examplessourl.com"
+ },
+ "elasticCloudDeployment": {
+ "name": "deploymentname",
+ "deploymentId": "deployment_id",
+ "azureSubscriptionId": "00000000-0000-0000-0000-000000000000",
+ "elasticsearchRegion": "azure-westus2",
+ "elasticsearchServiceUrl": "https://elasticsearchendpoint.com",
+ "kibanaServiceUrl": "https://kibanaserviceurl.com",
+ "kibanaSsoUrl": "https://kibanssourl.com"
+ }
+ },
+ "liftrResourceCategory": "MonitorLogs",
+ "liftrResourcePreference": 0
+ },
+ "tags": {
+ "Environment": "Dev"
+ },
+ "location": "West US 2"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_ListByResourceGroup.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_ListByResourceGroup.json
new file mode 100644
index 000000000000..091f71695eb9
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_ListByResourceGroup.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
+ "name": "myMonitor",
+ "type": "Microsoft.Elastic/monitors",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "monitoringStatus": "Enabled",
+ "elasticProperties": {
+ "elasticCloudUser": {
+ "emailAddress": "alice@microsoft.com",
+ "id": "myid123",
+ "elasticCloudSsoDefaultUrl": "https://examplessourl.com"
+ },
+ "elasticCloudDeployment": {
+ "name": "deploymentname",
+ "deploymentId": "deployment_id",
+ "azureSubscriptionId": "00000000-0000-0000-0000-000000000000",
+ "elasticsearchRegion": "azure-westus2",
+ "elasticsearchServiceUrl": "https://elasticsearchendpoint.com",
+ "kibanaServiceUrl": "https://kibanaserviceurl.com",
+ "kibanaSsoUrl": "https://kibanssourl.com"
+ }
+ },
+ "liftrResourceCategory": "MonitorLogs",
+ "liftrResourcePreference": 0
+ },
+ "tags": {
+ "Environment": "Dev"
+ },
+ "location": "West US 2"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_Update.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_Update.json
new file mode 100644
index 000000000000..4ba77fd7c305
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Monitors_Update.json
@@ -0,0 +1,86 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "requestBody": {
+ "name": "myMonitor",
+ "sku": {
+ "name": "free_Monthly"
+ },
+ "properties": {
+ "elasticProperties": {
+ "elasticCloudUser": {
+ "emailAddress": "alice@microsoft.com",
+ "id": "myid123",
+ "elasticCloudSsoDefaultUrl": "https://examplessourl.com"
+ },
+ "elasticCloudDeployment": {
+ "name": "deploymentname",
+ "azureSubscriptionId": "00000000-0000-0000-0000-000000000000",
+ "elasticsearchRegion": "azure-westus2",
+ "elasticsearchServiceUrl": "https://elasticsearchendpoint.com",
+ "kibanaServiceUrl": "https://kibanaserviceurl.com",
+ "kibanaSsoUrl": "https://kibanssourl.com"
+ }
+ },
+ "userInfo": {
+ "firstName": "Alice",
+ "lastName": "Bob",
+ "companyName": "Microsoft",
+ "emailAddress": "alice@microsoft.com",
+ "companyInfo": {
+ "domain": "microsoft.com",
+ "business": "Technology",
+ "employeeNumber": "10000",
+ "state": "WA",
+ "country": "US"
+ }
+ }
+ },
+ "tags": {
+ "Environment": "Dev"
+ },
+ "location": "West US 2"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
+ "name": "myMonitor",
+ "type": "Microsoft.Elastic/monitors",
+ "sku": {
+ "name": "free_Monthly"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "monitoringStatus": "Enabled",
+ "elasticProperties": {
+ "elasticCloudUser": {
+ "emailAddress": "alice@microsoft.com",
+ "id": "myid123",
+ "elasticCloudSsoDefaultUrl": "https://examplessourl.com"
+ },
+ "elasticCloudDeployment": {
+ "name": "deploymentname",
+ "deploymentId": "deployment_id",
+ "azureSubscriptionId": "00000000-0000-0000-0000-000000000000",
+ "elasticsearchRegion": "azure-westus2",
+ "elasticsearchServiceUrl": "https://elasticsearchendpoint.com",
+ "kibanaServiceUrl": "https://kibanaserviceurl.com",
+ "kibanaSsoUrl": "https://kibanssourl.com"
+ }
+ },
+ "liftrResourceCategory": "MonitorLogs",
+ "liftrResourcePreference": 0
+ },
+ "tags": {
+ "Environment": "Dev"
+ },
+ "location": "West US 2"
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Operations_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Operations_List.json
new file mode 100644
index 000000000000..ac2924f10197
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Operations_List.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Elastic/monitors/write",
+ "display": {
+ "provider": "Microsoft.Elastic",
+ "resource": "monitors",
+ "operation": "write",
+ "description": "Write monitors resource"
+ }
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Organizations_GetApiKey.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Organizations_GetApiKey.json
new file mode 100644
index 000000000000..deee38a5758f
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Organizations_GetApiKey.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "requestBody": {
+ "emailId": "myemail@outlook.com"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "apiKey": "AbCdEfGhIjKlMnOpQrStUvWxYz"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Organizations_GetElasticToAzureSubscriptionMapping.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Organizations_GetElasticToAzureSubscriptionMapping.json
new file mode 100644
index 000000000000..541d31d56d8f
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/Organizations_GetElasticToAzureSubscriptionMapping.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "billedAzureSubscriptionId": "00000000-0000-0000-0000-000000000000",
+ "marketplaceSaasInfo": {
+ "marketplaceSubscription": {
+ "id": "12345678-1234-1234-1234-123456789012"
+ },
+ "marketplaceName": "MP_RESOURCE",
+ "marketplaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.SaaS/resources/AzElastic_b1190c8f",
+ "marketplaceStatus": "Status"
+ },
+ "elasticOrganizationId": "1234567890",
+ "elasticOrganizationName": "elasticOrganizationName"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/PrivateLinkTrafficFilters_Create.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/PrivateLinkTrafficFilters_Create.json
new file mode 100644
index 000000000000..c55dd36cff19
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/PrivateLinkTrafficFilters_Create.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd",
+ "privateEndpointName": "myPrivateEndpoint",
+ "privateEndpointGuid": "fdb54d3b-e85e-4d08-8958-0d2f7g523df9"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/createAndAssociatePLFilter?api-version=2022-07-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/TagRules_CreateOrUpdate.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/TagRules_CreateOrUpdate.json
new file mode 100644
index 000000000000..e91c1a6de70e
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/TagRules_CreateOrUpdate.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "ruleSetName": "default",
+ "requestBody": {
+ "properties": {
+ "logRules": {
+ "sendAadLogs": false,
+ "sendSubscriptionLogs": true,
+ "sendActivityLogs": true,
+ "filteringTags": [
+ {
+ "name": "Environment",
+ "value": "Prod",
+ "action": "Include"
+ },
+ {
+ "name": "Environment",
+ "value": "Dev",
+ "action": "Exclude"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Datadog/monitors/myMonitor/tagRules/default",
+ "type": "Microsoft.Datadog/monitors/tagRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "logRules": {
+ "sendAadLogs": false,
+ "sendSubscriptionLogs": true,
+ "sendActivityLogs": true,
+ "filteringTags": [
+ {
+ "name": "Environment",
+ "value": "Prod",
+ "action": "Include"
+ },
+ {
+ "name": "Environment",
+ "value": "Dev",
+ "action": "Exclude"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/TagRules_Delete.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/TagRules_Delete.json
new file mode 100644
index 000000000000..be97e1cb8cac
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/TagRules_Delete.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "ruleSetName": "default"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/tagRules/tagRuleName?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/TagRules_Get.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/TagRules_Get.json
new file mode 100644
index 000000000000..27d719de7d09
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/TagRules_Get.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "ruleSetName": "default"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Datadog/monitors/myMonitor/tagRules/default",
+ "type": "Microsoft.Datadog/monitors/tagRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "logRules": {
+ "sendAadLogs": false,
+ "sendSubscriptionLogs": true,
+ "sendActivityLogs": true,
+ "filteringTags": [
+ {
+ "name": "Environment",
+ "value": "Prod",
+ "action": "Include"
+ },
+ {
+ "name": "Environment",
+ "value": "Dev",
+ "action": "Exclude"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/TagRules_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/TagRules_List.json
new file mode 100644
index 000000000000..ff697c576627
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/TagRules_List.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "default",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Datadog/monitors/myMonitor/tagRules/default",
+ "type": "Microsoft.Datadog/monitors/tagRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "logRules": {
+ "sendAadLogs": false,
+ "sendSubscriptionLogs": true,
+ "sendActivityLogs": true,
+ "filteringTags": [
+ {
+ "name": "Environment",
+ "value": "Prod",
+ "action": "Include"
+ },
+ {
+ "name": "Environment",
+ "value": "Dev",
+ "action": "Exclude"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/TrafficFilters_Delete.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/TrafficFilters_Delete.json
new file mode 100644
index 000000000000..317beba0bc4f
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/TrafficFilters_Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/UpgradableVersions_Details.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/UpgradableVersions_Details.json
new file mode 100644
index 000000000000..b521c66495ba
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/UpgradableVersions_Details.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "currentVersion": "7.15.0",
+ "upgradableVersions": [
+ "7.15.1",
+ "7.16.0"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/VMCollection_Update.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/VMCollection_Update.json
new file mode 100644
index 000000000000..0244ef377f80
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/VMCollection_Update.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "requestBody": {
+ "vmResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualmachines/myVM",
+ "operationName": "Add"
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/VMHost_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/VMHost_List.json
new file mode 100644
index 000000000000..f28a1cbe5ba9
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/VMHost_List.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "vmResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualmachines/myVM"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/VMIngestion_Details.json b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/VMIngestion_Details.json
new file mode 100644
index 000000000000..56dd23df9d7a
--- /dev/null
+++ b/specification/elastic/resource-manager/Microsoft.Elastic/preview/2023-11-01-preview/examples/VMIngestion_Details.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "cloudId": "myid123",
+ "ingestionKey": "Vmingeationkey"
+ }
+ }
+ }
+}
diff --git a/specification/elastic/resource-manager/readme.md b/specification/elastic/resource-manager/readme.md
index 94a8875881d9..d81ca937061a 100644
--- a/specification/elastic/resource-manager/readme.md
+++ b/specification/elastic/resource-manager/readme.md
@@ -27,7 +27,7 @@ These are the global settings for the elastic.
```yaml
openapi-type: arm
openapi-subtype: rpaas
-tag: package-2023-10-01-preview
+tag: package-2023-11-01-preview
```
### Tag: package-2021-09-01-preview
@@ -147,6 +147,15 @@ input-file:
- Microsoft.Elastic/preview/2023-10-01-preview/elastic.json
```
+### Tag: package-2023-11-01-preview
+
+These settings apply only when `--tag=package-2023-11-01-preview` is specified on the command line.
+
+```yaml $(tag) == 'package-2023-11-01-preview'
+input-file:
+ - Microsoft.Elastic/preview/2023-11-01-preview/elastic.json
+```
+
---
# Code Generation
diff --git a/specification/eventgrid/data-plane/readme.md b/specification/eventgrid/data-plane/readme.md
index c44046e5aa9d..5459d39db65e 100644
--- a/specification/eventgrid/data-plane/readme.md
+++ b/specification/eventgrid/data-plane/readme.md
@@ -14,7 +14,7 @@ This enables customers to download one EventGrid data plane library instead of h
### Guidelines for defining a new event
-> **_NOTE:_** New events must not be delivered to Event Grid production endpoints until the events have been reviewed with the Azure SDK Architecture board and the PR is merged into main. Once the PR is merged to main, the events are considered GA regardless of whether docs list them as being in preview. This is because customers cannot control which version of events they consume - it is entirely up to the service publishing the events. Any breaking changes to events would need to be implemented as a new event type. Full details can be found in the [Azure Breaking Changes Policy](http://aka.ms/AzBreakingChangesPolicy/), Section 4.
+> **_NOTE:_** New events must not be delivered to Event Grid production endpoints until the events have been reviewed with the Azure SDK Architecture board and the PR is merged into main. The architecture board meeting will be scheduled by a member of the Azure SDK team - you do not need to use the scheduling tool. Once the PR is merged to main, the events are considered GA regardless of whether docs list them as being in preview. This is because customers cannot control which version of events they consume - it is entirely up to the service publishing the events. Any breaking changes to events would need to be implemented as a new event type. Full details can be found in the [Azure Breaking Changes Policy](http://aka.ms/AzBreakingChangesPolicy/), Section 4.
In order to automate the mapping of event definition with event type, please follow the guidelines below when adding new events to your swagger:
- The name of a new event definition should have `EventData` suffix. For e.g. `AcsChatMessageReceivedEventData`.
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/cloudhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/cloudhsm.json
new file mode 100644
index 000000000000..cdcb4aa56cce
--- /dev/null
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/cloudhsm.json
@@ -0,0 +1,980 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Cloud HSM Resource Provider",
+ "description": "The Azure management API provides a RESTful set of web services that interact with Azure Cloud HSM RP.",
+ "version": "2023-12-10-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}": {
+ "put": {
+ "tags": [
+ ""
+ ],
+ "operationId": "CloudHsmClusters_CreateOrUpdate",
+ "description": "Create or Update a Cloud HSM Cluster in the specified subscription.",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "original-uri"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/cloudHsmClusterName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "x-ms-client-flatten": true,
+ "schema": {
+ "$ref": "#/definitions/CloudHsmCluster"
+ },
+ "description": "Parameters to create Cloud HSM Cluster"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Created or Update Cloud HSM Cluster",
+ "schema": {
+ "$ref": "#/definitions/CloudHsmCluster"
+ }
+ },
+ "201": {
+ "description": "Created or Update Cloud HSM Cluster",
+ "schema": {
+ "$ref": "#/definitions/CloudHsmCluster"
+ }
+ },
+ "default": {
+ "description": "The error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudHsmClusterError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen": {
+ "$ref": "./examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ ""
+ ],
+ "operationId": "CloudHsmClusters_Update",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "description": "Update a Cloud HSM Cluster in the specified subscription.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/cloudHsmClusterName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "x-ms-client-flatten": true,
+ "schema": {
+ "$ref": "#/definitions/CloudHsmClusterPatchParameters"
+ },
+ "description": "Parameters to create Cloud HSM Cluster"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Patched Cloud HSM Cluster",
+ "schema": {
+ "$ref": "#/definitions/CloudHsmCluster"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "headers": {
+ "Location": {
+ "description": "The URI to poll for completion status.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "The error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudHsmClusterError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CloudHsmCluster_Update_MaximumSet_Gen": {
+ "$ref": "./examples/CloudHsmCluster_Update_MaximumSet_Gen.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ ""
+ ],
+ "operationId": "CloudHsmClusters_Get",
+ "description": "Gets the specified Cloud HSM Cluster",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/cloudHsmClusterName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Retrieved Cloud HSM Cluster",
+ "schema": {
+ "$ref": "#/definitions/CloudHsmCluster"
+ }
+ },
+ "default": {
+ "description": "The error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudHsmClusterError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CloudHsmCluster_Get_MaximumSet_Gen": {
+ "$ref": "./examples/CloudHsmCluster_Get_MaximumSet_Gen.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ ""
+ ],
+ "operationId": "CloudHsmClusters_Delete",
+ "description": "Deletes the specified Cloud HSM Cluster",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/cloudHsmClusterName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK Response."
+ },
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "description": "The URI to poll for completion status.",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "The error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudHsmClusterError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CloudHsmCluster_Delete_MaximumSet_Gen": {
+ "$ref": "./examples/CloudHsmCluster_Delete_MaximumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters": {
+ "get": {
+ "tags": [
+ ""
+ ],
+ "operationId": "CloudHsmClusters_ListByResourceGroup",
+ "description": "The List operation gets information about the Cloud HSM Clusters associated with the subscription and within the specified resource group.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "in": "query",
+ "name": "$skiptoken",
+ "type": "string",
+ "required": false,
+ "description": "The page-continuation token to use with a paged version of this API"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get information about all Cloud HSM Clusters in the specified resource group.",
+ "schema": {
+ "$ref": "#/definitions/CloudHsmClusterListResult"
+ }
+ },
+ "default": {
+ "description": "The error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudHsmClusterError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen": {
+ "$ref": "./examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters": {
+ "get": {
+ "tags": [
+ ""
+ ],
+ "operationId": "CloudHsmClusters_ListBySubscription",
+ "description": "The List operation gets information about the Cloud HSM Clusters associated with the subscription.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "in": "query",
+ "name": "$skiptoken",
+ "type": "string",
+ "required": false,
+ "description": "The page-continuation token to use with a paged version of this API"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get information about all Cloud HSM Clusters in the specified subscription.",
+ "schema": {
+ "$ref": "#/definitions/CloudHsmClusterListResult"
+ }
+ },
+ "default": {
+ "description": "The error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudHsmClusterError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "CloudHsmCluster_ListBySubscription_MaximumSet_Gen": {
+ "$ref": "./examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateLinkResources": {
+ "get": {
+ "tags": [
+ ""
+ ],
+ "operationId": "CloudHsmClusterPrivateLinkResources_ListByCloudHsmCluster",
+ "description": "Gets the private link resources supported for the Cloud Hsm Cluster.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/cloudHsmClusterName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved private link resources.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateLinkResourceListResult"
+ }
+ },
+ "default": {
+ "description": "The error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudHsmClusterError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CloudHsmClusterPrivateLinkResources_ListByResource_MaximumSet_Gen": {
+ "$ref": "./examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections/{peConnectionName}": {
+ "put": {
+ "tags": [
+ ""
+ ],
+ "operationId": "CloudHsmClusterPrivateEndpointConnections_Create",
+ "description": "Creates or updates the private endpoint connection for the Cloud Hsm Cluster.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/cloudHsmClusterName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/peConnectionName"
+ },
+ {
+ "in": "body",
+ "name": "properties",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ },
+ "description": "Parameters of the PrivateEndpointConnection"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- Create or Update the private endpoint connection properties successfully.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "default": {
+ "description": "The error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudHsmClusterError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen": {
+ "$ref": "./examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ ""
+ ],
+ "operationId": "CloudHsmClusterPrivateEndpointConnections_Delete",
+ "description": "Deletes the private endpoint connection for the Cloud Hsm Cluster.",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/cloudHsmClusterName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/peConnectionName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The private endpoint connection was successfully deleted."
+ },
+ "202": {
+ "description": "The private endpoint connection is being deleted.",
+ "headers": {
+ "Location": {
+ "description": "The URI to poll for completion status.",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "The private endpoint connection does not exist."
+ },
+ "default": {
+ "description": "The error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudHsmClusterError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen": {
+ "$ref": "./examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ ""
+ ],
+ "operationId": "CloudHsmClusterPrivateEndpointConnections_Get",
+ "description": "Gets the private endpoint connection for the Cloud Hsm Cluster.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/cloudHsmClusterName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/peConnectionName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Private endpoint connection successfully returned.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "default": {
+ "description": "The error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudHsmClusterError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen": {
+ "$ref": "./examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/privateEndpointConnections": {
+ "get": {
+ "tags": [
+ ""
+ ],
+ "operationId": "PrivateEndpointConnections_ListByCloudHsmCluster",
+ "description": "The List operation gets information about the private endpoint connections associated with the Cloud HSM Cluster",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/cloudHsmClusterName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of all CloudHsmCluster private endpoint connections associated with the Cloud HSM Cluster.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnectionListResult"
+ }
+ },
+ "default": {
+ "description": "The error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudHsmClusterError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "CloudHsmClusterPrivateEndpointConnection_ListByResource_MaximumSet_Gen": {
+ "$ref": "./examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "CloudHsmProperties": {
+ "type": "object",
+ "description": "The Cloud HSM Properties",
+ "properties": {
+ "fqdn": {
+ "type": "string",
+ "description": "FQDN of the Cloud HSM"
+ },
+ "state": {
+ "type": "string",
+ "description": "The Cloud HSM State"
+ },
+ "stateMessage": {
+ "type": "string",
+ "description": "The Cloud HSM State message"
+ }
+ }
+ },
+ "CloudHsmCluster": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/CloudHsmClusterProperties",
+ "description": "Properties of the Cloud HSM Cluster"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/CloudHsmClusterResource"
+ }
+ ],
+ "description": "Resource information with extended details.",
+ "type": "object"
+ },
+ "CloudHsmClusterResource": {
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/CloudHsmClusterSku",
+ "description": "SKU details"
+ },
+ "identity": {
+ "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "description": "Cloud HSM Cluster Resource",
+ "type": "object",
+ "x-ms-azure-resource": true
+ },
+ "CloudHsmClusterProperties": {
+ "properties": {
+ "provisioningState": {
+ "type": "string",
+ "description": "The Cloud HSM Cluster's provisioningState",
+ "enum": [
+ "Provisioning",
+ "Succeeded",
+ "Failed",
+ "Deleting",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "autoGeneratedDomainNameLabelScope": {
+ "type": "string",
+ "description": "The Cloud HSM Cluster's auto-generated Domain Name Label Scope"
+ },
+ "securityDomain": {
+ "$ref": "#/definitions/CloudHsmClusterSecurityDomainProperties"
+ },
+ "hsms": {
+ "type": "array",
+ "description": "An array of Cloud HSM Cluster's HSMs",
+ "x-ms-identifiers": [
+ "fqdn"
+ ],
+ "items": {
+ "$ref": "#/definitions/CloudHsmProperties"
+ }
+ },
+ "publicNetworkAccess": {
+ "type": "string",
+ "description": "The Cloud HSM Cluster public network access"
+ },
+ "privateEndpointConnections": {
+ "type": "array",
+ "description": "List of private endpoint connection resources",
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "items": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "statusMessage": {
+ "type": "string",
+ "description": "Cloud HSM Cluster status message",
+ "readOnly": true
+ },
+ "restoreProperties": {
+ "$ref": "#/definitions/RestoreProperties"
+ },
+ "backupProperties": {
+ "$ref": "#/definitions/BackupProperties"
+ }
+ },
+ "description": "Properties of a Cloud HSM Cluster.",
+ "type": "object"
+ },
+ "CloudHsmClusterPatchParameters": {
+ "properties": {
+ "tags": {
+ "type": "object",
+ "description": "The Cloud HSM Cluster's tags",
+ "additionalProperties": {
+ "type": "string",
+ "description": "The Cloud HSM Cluster's tag's additional properties"
+ }
+ },
+ "sku": {
+ "$ref": "#/definitions/CloudHsmClusterSku",
+ "description": "SKU details"
+ },
+ "identity": {
+ "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "type": "object",
+ "description": "Properties of the Cloud HSM Cluster",
+ "properties": {
+ "backupProperties": {
+ "$ref": "#/definitions/BackupProperties"
+ }
+ }
+ }
+ },
+ "description": "Patchable properties of the Cloud HSM Cluster",
+ "type": "object"
+ },
+ "CloudHsmClusterSecurityDomainProperties": {
+ "type": "object",
+ "description": "Security domain properties information for Cloud HSM cluster",
+ "properties": {
+ "fipsState": {
+ "format": "int32",
+ "type": "integer",
+ "description": "FIPS state information for security domain"
+ },
+ "activationStatus": {
+ "type": "string",
+ "description": "status of security domain activation"
+ }
+ }
+ },
+ "CloudHsmClusterSku": {
+ "type": "object",
+ "description": "Cloud Hsm Cluster SKU information",
+ "required": [
+ "name",
+ "family"
+ ],
+ "properties": {
+ "family": {
+ "type": "string",
+ "description": "Sku family of the Cloud HSM Cluster",
+ "enum": [
+ "B"
+ ],
+ "x-ms-client-default": "B",
+ "x-ms-enum": {
+ "name": "CloudHsmClusterSkuFamily",
+ "modelAsString": true
+ }
+ },
+ "name": {
+ "type": "string",
+ "description": "Sku name of the Cloud HSM Cluster",
+ "enum": [
+ "Standard_B1",
+ "Standard B10"
+ ],
+ "x-ms-enum": {
+ "name": "CloudHsmClusterSkuName",
+ "modelAsString": false
+ }
+ },
+ "capacity": {
+ "format": "int32",
+ "type": "integer",
+ "description": "Sku capacity"
+ }
+ }
+ },
+ "BackupProperties": {
+ "type": "object",
+ "description": "Cloud Hsm Cluster backup information",
+ "properties": {
+ "azureStorageResourceUri": {
+ "type": "string",
+ "description": "Azure storage Resource Uri"
+ },
+ "lastBackupDateTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "Last Date Time that Customer Enabled Backup was taken"
+ },
+ "lastBackupStatus": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Status of last backup"
+ }
+ }
+ },
+ "RestoreProperties": {
+ "type": "object",
+ "description": "Cloud Hsm Cluster restore information",
+ "properties": {
+ "foldername": {
+ "type": "string",
+ "description": "Directory name in Azure Storage Blob where the backup is stored"
+ },
+ "azureStorageResourceUri": {
+ "type": "string",
+ "description": "Azure Blob storage container Uri"
+ }
+ }
+ },
+ "CloudHsmClusterError": {
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CHsmError"
+ }
+ },
+ "description": "The Cloud HSM Cluster error details",
+ "type": "object"
+ },
+ "CHsmError": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The error code."
+ },
+ "message": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The error message."
+ }
+ },
+ "type": "object",
+ "description": "Error details"
+ },
+ "CloudHsmClusterListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudHsmCluster"
+ },
+ "description": "The list of Cloud HSM Clusters."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of Cloud HSM Clusters."
+ }
+ },
+ "description": "List of Cloud HSM Clusters",
+ "type": "object"
+ },
+ "PrivateEndpointConnection": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PrivateEndpointConnectionProperties",
+ "x-ms-client-flatten": true,
+ "description": "Resource properties."
+ },
+ "etag": {
+ "type": "string",
+ "description": "Modified whenever there is a change in the state of private endpoint connection."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "description": "The private endpoint connection resource.",
+ "x-ms-azure-resource": true
+ },
+ "PrivateEndpointConnectionProperties": {
+ "type": "object",
+ "properties": {
+ "privateEndpoint": {
+ "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpoint",
+ "description": "The private endpoint resource."
+ },
+ "privateLinkServiceConnectionState": {
+ "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateLinkServiceConnectionState",
+ "description": "A collection of information about the state of the connection between service consumer and provider."
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState",
+ "description": "The provisioning state of the private endpoint connection resource."
+ },
+ "groupIds": {
+ "description": "The group ids for the private endpoint resource.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ }
+ },
+ "required": [
+ "privateLinkServiceConnectionState"
+ ],
+ "description": "Properties of the private endpoint connection."
+ },
+ "PrivateEndpointConnectionProvisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The current provisioning state.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Failed",
+ "Updating",
+ "InternalError",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "PrivateEndpointConnectionProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "PrivateEndpointConnectionListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "Array of private endpoint connections.",
+ "items": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of private endpoint connections."
+ }
+ },
+ "description": "List of private endpoint connections associated with the specified resource."
+ }
+ },
+ "parameters": {
+ "cloudHsmClusterName": {
+ "name": "cloudHsmClusterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 24 characters in length.",
+ "pattern": "^[a-zA-Z0-9-]{3,24}$",
+ "maxLength": 24,
+ "minLength": 3,
+ "x-ms-parameter-location": "method"
+ },
+ "peConnectionName": {
+ "name": "peConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the private endpoint connection associated with the Cloud HSM Cluster.",
+ "pattern": "^[a-zA-Z0-9-]{3,24}$",
+ "maxLength": 24,
+ "minLength": 3,
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json
new file mode 100644
index 000000000000..646dafdae6a5
--- /dev/null
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgcloudhsm",
+ "cloudHsmClusterName": "chsm1",
+ "api-version": "2023-12-10-preview",
+ "peConnectionName": "sample-pec",
+ "properties": {
+ "properties": {
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "My name is Joe and I'm approving this."
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1/privateEndpointConnections/sample-pec",
+ "name": "sample-pec",
+ "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters/privateEndpointConnections",
+ "systemData": {
+ "createdBy": "User1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T12:00:00.0000000Z",
+ "lastModifiedBy": "User2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-01T12:00:00.0000000Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/00000000-0000-0000-1234-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pec"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "My name is Joe and I'm approving this.",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json
new file mode 100644
index 000000000000..81bf363e9edb
--- /dev/null
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgcloudhsm",
+ "cloudHsmClusterName": "chsm1",
+ "api-version": "2023-12-10-preview",
+ "peConnectionName": "sample-pec"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1/privateEndpointConnections/sample-pec?operationid=25334578"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json
new file mode 100644
index 000000000000..bad05d1d590d
--- /dev/null
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgcloudhsm",
+ "cloudHsmClusterName": "chsm1",
+ "api-version": "2023-12-10-preview",
+ "peConnectionName": "sample-pec"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1/privateEndpointConnections/sample-pec",
+ "name": "sample-pec",
+ "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters/privateEndpointConnections",
+ "systemData": {
+ "createdBy": "User1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T12:00:00.0000000Z",
+ "lastModifiedBy": "User2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-01T12:00:00.0000000Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.Network/privateEndpoints/sample-pec"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "This was automatically approved by user1234@contoso.com",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json
new file mode 100644
index 000000000000..dac4dda54541
--- /dev/null
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgcloudhsm",
+ "cloudHsmClusterName": "chsm1",
+ "api-version": "2023-12-10-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1/privateEndpointConnections/sample-pec1",
+ "name": "chsm1",
+ "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters/privateEndpointConnections",
+ "systemData": {
+ "createdBy": "User1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T12:00:00.0000000Z",
+ "lastModifiedBy": "User2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-01T12:00:00.0000000Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pec1"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "This was automatically approved by user1234@contoso.com",
+ "actionsRequired": "None"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm2/privateEndpointConnections/sample-pec2",
+ "name": "chsm2",
+ "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters/privateEndpointConnections",
+ "systemData": {
+ "createdBy": "User1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T12:00:00.0000000Z",
+ "lastModifiedBy": "User2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-01T12:00:00.0000000Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.Network/privateEndpoints/sample-pec2"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "This was automatically approved by user1234@contoso.com",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json
new file mode 100644
index 000000000000..f16ba148ab90
--- /dev/null
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgcloudhsm",
+ "cloudHsmClusterName": "chsm1",
+ "api-version": "2023-12-10-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1/privateLinkResources/sample-pls",
+ "name": "sample-pls",
+ "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters/privateLinkResources",
+ "properties": {
+ "groupId": "cloudHsm",
+ "requiredMembers": [
+ "hsm1",
+ "hsm2",
+ "hsm3"
+ ],
+ "requiredZoneNames": [
+ "privatelink.cloudhsm.azure-int.net"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json
new file mode 100644
index 000000000000..f5db634778bc
--- /dev/null
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json
@@ -0,0 +1,135 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgcloudhsm",
+ "cloudHsmClusterName": "chsm1",
+ "api-version": "2023-12-10-preview",
+ "body": {
+ "location": "eastus2",
+ "sku": {
+ "family": "B",
+ "name": "Standard_B1"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood"
+ },
+ "properties": {
+ "securityDomain": {
+ "fipsState": 2
+ },
+ "publicNetworkAccess": "Disabled",
+ "backupProperties": {
+ "azureStorageResourceUri": "testStorageResourceUri"
+ }
+ },
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-1": {}
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "chsm1",
+ "location": "eastus2",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1",
+ "sku": {
+ "family": "B",
+ "name": "Standard_B1"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood"
+ },
+ "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters",
+ "systemData": {
+ "createdBy": "CHsmUser1",
+ "createdByType": "User",
+ "createdAt": "2022-09-12T12:00:00.0000000Z",
+ "lastModifiedBy": "CHsmUser2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-09-12T12:00:00.0000000Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "autoGeneratedDomainNameLabelScope": "TenantReuse",
+ "securityDomain": {
+ "fipsState": 2,
+ "activationStatus": "null"
+ },
+ "hsms": null,
+ "publicNetworkAccess": "Disabled",
+ "privateEndpointConnections": null,
+ "backupProperties": {
+ "azureStorageResourceUri": "testStorageResourceUri",
+ "lastBackupDateTime": "2023-11-09T12:00:00.0000000Z",
+ "lastBackupStatus": "Status Of last backup"
+ },
+ "statusMessage": "This is a status message"
+ },
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-1": {
+ "principalId": "00000000-0000-0000-0000-000000000000",
+ "clientId": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "chsm1",
+ "location": "eastus2",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1",
+ "sku": {
+ "family": "B",
+ "name": "Standard_B1"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood"
+ },
+ "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters",
+ "systemData": {
+ "createdBy": "CHsmUser1",
+ "createdByType": "User",
+ "createdAt": "2022-09-12T12:00:00.0000000Z",
+ "lastModifiedBy": "CHsmUser2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-09-12T12:00:00.0000000Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "autoGeneratedDomainNameLabelScope": "TenantReuse",
+ "securityDomain": {
+ "fipsState": 2,
+ "activationStatus": "null"
+ },
+ "hsms": null,
+ "publicNetworkAccess": "Disabled",
+ "privateEndpointConnections": null,
+ "backupProperties": {
+ "azureStorageResourceUri": "testStorageResourceUri",
+ "lastBackupDateTime": "2023-11-09T12:00:00.0000000Z",
+ "lastBackupStatus": "Status Of last backup"
+ }
+ },
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-1": {
+ "principalId": "00000000-0000-0000-0000-000000000000",
+ "clientId": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json
new file mode 100644
index 000000000000..c5c5603ef1ac
--- /dev/null
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgcloudhsm",
+ "cloudHsmClusterName": "chsm1",
+ "api-version": "2023-12-10-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1?api-version=2022-03-31&operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json
new file mode 100644
index 000000000000..edc403dba30a
--- /dev/null
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgcloudhsm",
+ "cloudHsmClusterName": "chsm1",
+ "api-version": "2023-12-10-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "chsm1",
+ "location": "eastus2",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1",
+ "sku": {
+ "family": "B",
+ "name": "Standard_B1"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood"
+ },
+ "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters",
+ "systemData": {
+ "createdBy": "CHsmUser1",
+ "createdByType": "User",
+ "createdAt": "2022-09-12T12:00:00.0000000Z",
+ "lastModifiedBy": "CHsmUser2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-09-12T12:00:00.0000000Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "autoGeneratedDomainNameLabelScope": "TenantReuse",
+ "securityDomain": {
+ "fipsState": 2,
+ "activationStatus": "null"
+ },
+ "hsms": null,
+ "publicNetworkAccess": "Disabled",
+ "privateEndpointConnections": null,
+ "backupProperties": {
+ "azureStorageResourceUri": "testStorageResourceUri",
+ "lastBackupDateTime": "2023-11-09T12:00:00.0000000Z",
+ "lastBackupStatus": "Status Of last backup"
+ },
+ "statusMessage": "This is a status message"
+ },
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-1": {
+ "principalId": "00000000-0000-0000-0000-000000000000",
+ "clientId": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json
new file mode 100644
index 000000000000..b4fa2933c522
--- /dev/null
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json
@@ -0,0 +1,111 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgcloudhsm",
+ "api-version": "2023-12-10-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "chsm1",
+ "location": "eastus2",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1",
+ "sku": {
+ "family": "B",
+ "name": "Standard_B1"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood"
+ },
+ "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters",
+ "systemData": {
+ "createdBy": "CHsmUser1",
+ "createdByType": "User",
+ "createdAt": "2022-09-12T12:00:00.0000000Z",
+ "lastModifiedBy": "CHsmUser2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-09-12T12:00:00.0000000Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "autoGeneratedDomainNameLabelScope": "TenantReuse",
+ "securityDomain": {
+ "fipsState": 2,
+ "activationStatus": "null"
+ },
+ "hsms": null,
+ "publicNetworkAccess": "Disabled",
+ "privateEndpointConnections": null,
+ "backupProperties": {
+ "azureStorageResourceUri": "testStorageResourceUri",
+ "lastBackupDateTime": "2023-11-09T12:00:00.0000000Z",
+ "lastBackupStatus": "Status Of last backup"
+ },
+ "statusMessage": "This is a status message"
+ },
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-1": {
+ "principalId": "00000000-0000-0000-0000-000000000000",
+ "clientId": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ },
+ {
+ "name": "chsm2",
+ "location": "eastus2",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm2",
+ "sku": {
+ "family": "B",
+ "name": "Standard_B1"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood"
+ },
+ "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters",
+ "systemData": {
+ "createdBy": "CHsmUser1",
+ "createdByType": "User",
+ "createdAt": "2022-09-12T12:00:00.0000000Z",
+ "lastModifiedBy": "CHsmUser2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-09-12T12:00:00.0000000Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "autoGeneratedDomainNameLabelScope": "TenantReuse",
+ "securityDomain": {
+ "fipsState": 2,
+ "activationStatus": "null"
+ },
+ "hsms": null,
+ "publicNetworkAccess": "Disabled",
+ "privateEndpointConnections": null,
+ "backupProperties": {
+ "azureStorageResourceUri": "testStorageResourceUri",
+ "lastBackupDateTime": "2023-11-09T12:00:00.0000000Z",
+ "lastBackupStatus": "Status Of last backup"
+ }
+ },
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-2": {
+ "principalId": "00000000-0000-0000-0000-000000000000",
+ "clientId": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters?api-version=2022-03-31&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
+ }
+ }
+ }
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json
new file mode 100644
index 000000000000..0576e3efd6eb
--- /dev/null
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json
@@ -0,0 +1,111 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-12-10-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "chsm1",
+ "location": "eastus2",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1",
+ "sku": {
+ "family": "B",
+ "name": "Standard_B1"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood"
+ },
+ "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters",
+ "systemData": {
+ "createdBy": "CHsmUser1",
+ "createdByType": "User",
+ "createdAt": "2022-09-12T12:00:00.0000000Z",
+ "lastModifiedBy": "CHsmUser2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-09-12T12:00:00.0000000Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "autoGeneratedDomainNameLabelScope": "TenantReuse",
+ "securityDomain": {
+ "fipsState": 2,
+ "activationStatus": "null"
+ },
+ "hsms": null,
+ "publicNetworkAccess": "Disabled",
+ "privateEndpointConnections": null,
+ "backupProperties": {
+ "azureStorageResourceUri": "testStorageResourceUri",
+ "lastBackupDateTime": "2023-11-09T12:00:00.0000000Z",
+ "lastBackupStatus": "Status Of last backup"
+ },
+ "statusMessage": "This is a status message"
+ },
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-1": {
+ "principalId": null,
+ "clientId": null
+ }
+ }
+ }
+ },
+ {
+ "name": "chsm2",
+ "location": "eastus2",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm2",
+ "sku": {
+ "family": "B",
+ "name": "Standard_B1"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood"
+ },
+ "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters",
+ "systemData": {
+ "createdBy": "CHsmUser1",
+ "createdByType": "User",
+ "createdAt": "2022-09-12T12:00:00.0000000Z",
+ "lastModifiedBy": "CHsmUser2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-09-12T12:00:00.0000000Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "autoGeneratedDomainNameLabelScope": "TenantReuse",
+ "securityDomain": {
+ "fipsState": 2,
+ "activationStatus": "null"
+ },
+ "hsms": null,
+ "publicNetworkAccess": "Disabled",
+ "privateEndpointConnections": null,
+ "backupProperties": {
+ "azureStorageResourceUri": "testStorageResourceUri",
+ "lastBackupDateTime": "2023-11-09T12:00:00.0000000Z",
+ "lastBackupStatus": "Status Of last backup"
+ },
+ "statusMessage": "This is a status message"
+ },
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-2": {
+ "principalId": "00000000-0000-0000-0000-000000000000",
+ "clientId": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters?api-version=2022-07-01&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
+ }
+ }
+ }
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json
new file mode 100644
index 000000000000..92f59deedeed
--- /dev/null
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json
@@ -0,0 +1,84 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgcloudhsm",
+ "cloudHsmClusterName": "chsm1",
+ "api-version": "2023-12-10-preview",
+ "body": {
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood",
+ "Slice": "A"
+ },
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-1": {}
+ }
+ },
+ "properties": {
+ "backupProperties": {
+ "azureStorageResourceUri": "testStorageResourceUri"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "chsm1",
+ "location": "eastus2",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1",
+ "sku": {
+ "family": "B",
+ "name": "Standard_B1"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood",
+ "Slice": "A"
+ },
+ "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters",
+ "systemData": {
+ "createdBy": "CHsmUser1",
+ "createdByType": "User",
+ "createdAt": "2022-09-12T12:00:00.0000000Z",
+ "lastModifiedBy": "CHsmUser2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-09-12T12:00:00.0000000Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "autoGeneratedDomainNameLabelScope": "TenantReuse",
+ "securityDomain": {
+ "fipsState": 2,
+ "activationStatus": "null"
+ },
+ "hsms": null,
+ "publicNetworkAccess": "Disabled",
+ "privateEndpointConnections": null,
+ "backupProperties": {
+ "azureStorageResourceUri": "testStorageResourceUri",
+ "lastBackupDateTime": "2023-11-09T12:00:00.0000000Z",
+ "lastBackupStatus": "Status Of last backup"
+ },
+ "statusMessage": "This is a status message"
+ },
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-1": {
+ "principalId": "00000000-0000-0000-0000-000000000000",
+ "clientId": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1?api-version=2022-07-01&kv-operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9"
+ }
+ }
+ }
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.go.md b/specification/hardwaresecuritymodules/resource-manager/readme.go.md
index 69802444eacb..2ff7cb732e18 100644
--- a/specification/hardwaresecuritymodules/resource-manager/readme.go.md
+++ b/specification/hardwaresecuritymodules/resource-manager/readme.go.md
@@ -15,12 +15,15 @@ module-name: sdk/resourcemanager/hardwaresecuritymodules/armhardwaresecuritymodu
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
+modelerfour:
+ lenient-model-deduplication: true
```
### Go multi-api
```yaml $(go) && $(multiapi)
batch:
+ - tag: package-2023-12-preview
- tag: package-2022-08-preview
- tag: package-2021-11
- tag: package-2018-10
@@ -50,4 +53,14 @@ These settings apply only when `--tag=package-2022-08-preview --go` is specified
Please also specify `--go-sdk-folder=`.
```yaml $(tag)=='package-2022-08-preview' && $(go)
-output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2022-08-31-preview/$(namespace)
\ No newline at end of file
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2022-08-31-preview/$(namespace)
+```
+
+### Tag: package-2023-12 and go
+
+These settings apply only when `--tag=package-2023-12-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+```yaml $(tag)=='package-2023-12-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/package-2023-12-preview/$(namespace)
+```
diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.md b/specification/hardwaresecuritymodules/resource-manager/readme.md
index 95abf20b05c4..4d8b4417f60a 100644
--- a/specification/hardwaresecuritymodules/resource-manager/readme.md
+++ b/specification/hardwaresecuritymodules/resource-manager/readme.md
@@ -4,10 +4,10 @@
This is the AutoRest configuration file for hardware security module RP.
-
-
---
+
## Getting Started
+
To build the SDK for hardware security modules, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
> `autorest`
@@ -15,23 +15,22 @@ To build the SDK for hardware security modules, simply [Install AutoRest](https:
To see additional help and options, run:
> `autorest --help`
+
---
## Configuration
-
-
### Basic Information
+
These are the global settings for the Hardware Security Modules API.
``` yaml
title: Azure HSM Resource Provider
description: The Azure management API provides a RESTful set of web services that interact with Azure HSM RP.
openapi-type: arm
-tag: package-2022-08-preview
+tag: package-2023-12-preview
```
-
### Tag: package-2018-10
These settings apply only when `--tag=package-2018-10` is specified on the command line.
@@ -60,8 +59,17 @@ input-file:
- Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json
```
-# Code Generation
+### Tag: package-2023-12-preview
+
+These settings apply only when `--tag=package-2023-12-preview` is specified on the command line.
+
+```yaml $(tag) == 'package-2023-12-preview'
+input-file:
+ - Microsoft.HardwareSecurityModules/preview/2023-12-10-preview/cloudhsm.json
+ - Microsoft.HardwareSecurityModules/stable/2021-11-30/dedicatedhsm.json
+```
+# Code Generation
## Swagger to SDK
@@ -77,4 +85,3 @@ swagger-to-sdk:
- repo: azure-powershell
- repo: azure-sdk-for-java
```
-
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateAutoscaleCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateAutoscaleCluster.json
index ef5b63e96ac4..daa33d9609b1 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateAutoscaleCluster.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateAutoscaleCluster.json
@@ -8,19 +8,24 @@
"HDInsightCluster": {
"location": "West US 2",
"properties": {
- "clusterType": "kafka",
+ "clusterType": "Trino",
"computeProfile": {
"nodes": [
{
- "type": "worker",
- "vmSize": "Standard_D3_v2",
- "count": 4
+ "type": "Head",
+ "vmSize": "Standard_E8as_v5",
+ "count": 2
+ },
+ {
+ "type": "Worker",
+ "vmSize": "Standard_E8as_v5",
+ "count": 3
}
]
},
"clusterProfile": {
- "clusterVersion": "1.0.1",
- "ossVersion": "2.4.1",
+ "clusterVersion": "1.0.6",
+ "ossVersion": "0.410.0",
"identityProfile": {
"msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi",
"msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34",
@@ -32,7 +37,7 @@
"testuser2"
]
},
- "kafkaProfile": {},
+ "trinoProfile": {},
"sshProfile": {
"count": 2
},
@@ -101,24 +106,33 @@
"type": "Microsoft.HDInsight/clusterPools/clusters",
"properties": {
"provisioningState": "Succeeded",
- "clusterType": "kafka",
+ "clusterType": "Trino",
"deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36",
"computeProfile": {
"nodes": [
{
- "type": "worker",
- "vmSize": "Standard_D3_v2",
- "count": 4
+ "type": "Head",
+ "vmSize": "Standard_E8as_v5",
+ "count": 2
+ },
+ {
+ "type": "Worker",
+ "vmSize": "Standard_E8as_v5",
+ "count": 3
}
]
},
"clusterProfile": {
- "clusterVersion": "1.0.1",
- "ossVersion": "2.4.1",
+ "clusterVersion": "1.0.6",
+ "ossVersion": "0.410.0",
"components": [
{
- "name": "Hive",
- "version": "2.4.1"
+ "name": "Trino",
+ "version": "410"
+ },
+ {
+ "name": "Hive metastore",
+ "version": "3.1.2"
}
],
"identityProfile": {
@@ -145,7 +159,7 @@
}
]
},
- "kafkaProfile": {},
+ "trinoProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "sshnode"
@@ -223,19 +237,24 @@
"type": "Microsoft.HDInsight/clusterPools/clusters",
"properties": {
"provisioningState": "Accepted",
- "clusterType": "kafka",
+ "clusterType": "Trino",
"computeProfile": {
"nodes": [
{
- "type": "worker",
- "vmSize": "Standard_D3_v2",
- "count": 4
+ "type": "Head",
+ "vmSize": "Standard_E8as_v5",
+ "count": 2
+ },
+ {
+ "type": "Worker",
+ "vmSize": "Standard_E8as_v5",
+ "count": 3
}
]
},
"clusterProfile": {
- "clusterVersion": "1.0.1",
- "ossVersion": "2.4.1",
+ "clusterVersion": "1.0.6",
+ "ossVersion": "0.410.0",
"identityProfile": {
"msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi",
"msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34",
@@ -260,7 +279,7 @@
}
]
},
- "kafkaProfile": {},
+ "trinoProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "sshnode"
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetCluster.json
index d3df7c8b1424..9eaad022d260 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetCluster.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetCluster.json
@@ -14,24 +14,33 @@
"type": "Microsoft.HDInsight/clusterPools/clusters",
"properties": {
"provisioningState": "Succeeded",
- "clusterType": "kafka",
+ "clusterType": "Trino",
"deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36",
"computeProfile": {
"nodes": [
{
- "type": "worker",
- "vmSize": "Standard_D3_v2",
- "count": 4
+ "type": "Head",
+ "vmSize": "Standard_E8as_v5",
+ "count": 2
+ },
+ {
+ "type": "Worker",
+ "vmSize": "Standard_E8as_v5",
+ "count": 3
}
]
},
"clusterProfile": {
- "clusterVersion": "1.0.1",
- "ossVersion": "2.4.1",
+ "clusterVersion": "1.0.6",
+ "ossVersion": "0.410.0",
"components": [
{
- "name": "Hive",
- "version": "2.4.1"
+ "name": "Trino",
+ "version": "410"
+ },
+ {
+ "name": "Hive metastore",
+ "version": "3.1.2"
}
],
"identityProfile": {
@@ -58,7 +67,7 @@
}
]
},
- "kafkaProfile": {},
+ "trinoProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "sshnode"
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClustersByClusterPoolName.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClustersByClusterPoolName.json
index d44a41d76507..903f8f90bdec 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClustersByClusterPoolName.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClustersByClusterPoolName.json
@@ -15,24 +15,33 @@
"type": "Microsoft.HDInsight/clusterPools/clusters",
"properties": {
"provisioningState": "Succeeded",
- "clusterType": "kafka",
+ "clusterType": "Trino",
"deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36",
"computeProfile": {
"nodes": [
{
- "type": "worker",
- "vmSize": "Standard_D3_v2",
- "count": 4
+ "type": "Head",
+ "vmSize": "Standard_E8as_v5",
+ "count": 2
+ },
+ {
+ "type": "Worker",
+ "vmSize": "Standard_E8as_v5",
+ "count": 3
}
]
},
"clusterProfile": {
- "clusterVersion": "1.0.1",
- "ossVersion": "2.4.1",
+ "clusterVersion": "1.0.6",
+ "ossVersion": "0.410.0",
"components": [
{
- "name": "Hive",
- "version": "2.4.1"
+ "name": "Trino",
+ "version": "410"
+ },
+ {
+ "name": "Hive metastore",
+ "version": "3.1.2"
}
],
"identityProfile": {
@@ -59,7 +68,7 @@
}
]
},
- "kafkaProfile": {},
+ "trinoProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "sshnode"
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/PatchCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/PatchCluster.json
index a6758a9d0626..f43f807874e3 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/PatchCluster.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/PatchCluster.json
@@ -124,20 +124,25 @@
"type": "Microsoft.HDInsight/clusterPools/clusters",
"properties": {
"provisioningState": "Succeeded",
- "clusterType": "kafka",
+ "clusterType": "Trino",
"deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36",
"computeProfile": {
"nodes": [
{
- "type": "worker",
- "vmSize": "Standard_D3_v2",
- "count": 4
+ "type": "Head",
+ "vmSize": "Standard_E8as_v5",
+ "count": 2
+ },
+ {
+ "type": "Worker",
+ "vmSize": "Standard_E8as_v5",
+ "count": 3
}
]
},
"clusterProfile": {
- "clusterVersion": "1.0.1",
- "ossVersion": "2.4.1",
+ "clusterVersion": "1.0.6",
+ "ossVersion": "0.410.0",
"identityProfile": {
"msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi",
"msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34",
@@ -256,7 +261,7 @@
}
]
},
- "kafkaProfile": {},
+ "trinoProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "sshnode"
@@ -288,20 +293,25 @@
"type": "Microsoft.HDInsight/clusterPools/clusters",
"properties": {
"provisioningState": "Succeeded",
- "clusterType": "kafka",
+ "clusterType": "Trino",
"deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36",
"computeProfile": {
"nodes": [
{
- "type": "worker",
- "vmSize": "Standard_D3_v2",
- "count": 4
+ "type": "Head",
+ "vmSize": "Standard_E8as_v5",
+ "count": 2
+ },
+ {
+ "type": "Worker",
+ "vmSize": "Standard_E8as_v5",
+ "count": 3
}
]
},
"clusterProfile": {
- "clusterVersion": "1.0.1",
- "ossVersion": "2.4.1",
+ "clusterVersion": "1.0.6",
+ "ossVersion": "0.410.0",
"identityProfile": {
"msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi",
"msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34",
@@ -420,7 +430,7 @@
}
]
},
- "kafkaProfile": {},
+ "trinoProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "sshnode"
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ResizeCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ResizeCluster.json
index 57f4a5eb1f75..acdc0d83e062 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ResizeCluster.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ResizeCluster.json
@@ -20,20 +20,25 @@
"type": "Microsoft.HDInsight/clusterPools/clusters",
"properties": {
"provisioningState": "Succeeded",
- "clusterType": "kafka",
+ "clusterType": "Trino",
"deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36",
"computeProfile": {
"nodes": [
{
- "type": "worker",
- "vmSize": "Standard_D3_v2",
- "count": 3
+ "type": "Head",
+ "vmSize": "Standard_E8as_v5",
+ "count": 2
+ },
+ {
+ "type": "Worker",
+ "vmSize": "Standard_E8as_v5",
+ "count": 5
}
]
},
"clusterProfile": {
- "clusterVersion": "1.0.1",
- "ossVersion": "2.4.1",
+ "clusterVersion": "1.0.6",
+ "ossVersion": "0.410.0",
"identityProfile": {
"msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi",
"msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34",
@@ -58,7 +63,7 @@
}
]
},
- "kafkaProfile": {},
+ "trinoProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "sshnode"
diff --git a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2023-11-15-preview/provisionedClusterInstances.json b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2023-11-15-preview/provisionedClusterInstances.json
index d3cc2fe45b1b..7a1c6b85d7cf 100644
--- a/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2023-11-15-preview/provisionedClusterInstances.json
+++ b/specification/hybridaks/resource-manager/Microsoft.HybridContainerService/preview/2023-11-15-preview/provisionedClusterInstances.json
@@ -1775,7 +1775,7 @@
"type": "array",
"description": "List of supported Kubernetes versions",
"items": {
- "$ref": "#/definitions/KubernetesVersionProfileProperties"
+ "$ref": "#/definitions/KubernetesVersionProperties"
},
"x-ms-identifiers": []
}
@@ -1783,7 +1783,7 @@
}
}
},
- "KubernetesVersionProfileProperties": {
+ "KubernetesVersionProperties": {
"type": "object",
"description": "Kubernetes version profile for given major.minor release",
"properties": {
@@ -1866,19 +1866,7 @@
}
},
"osSku": {
- "type": "string",
- "description": "The particular KubernetesVersion's Image's OS SKU (CBLMariner, Windows, Windows2022)",
- "readOnly": true,
- "enum": [
- "CBLMariner",
- "Windows2019",
- "Windows2022"
- ],
- "default": "CBLMariner",
- "x-ms-enum": {
- "modelAsString": true,
- "name": "osSku"
- }
+ "$ref": "#/definitions/OSSKU"
},
"ready": {
"type": "boolean",
@@ -1948,7 +1936,7 @@
"type": "array",
"description": "Array of HybridAKS Support VM Skus",
"items": {
- "$ref": "#/definitions/VmSkuProfileProperties"
+ "$ref": "#/definitions/VmSkuProperties"
},
"x-ms-identifiers": []
}
@@ -1956,7 +1944,7 @@
}
}
},
- "VmSkuProfileProperties": {
+ "VmSkuProperties": {
"type": "object",
"description": "The profile for supported VM skus",
"readOnly": true,
diff --git a/specification/iotoperationsdataprocessor/readme.java.md b/specification/iotoperationsdataprocessor/readme.java.md
new file mode 100644
index 000000000000..01cdabebe9ad
--- /dev/null
+++ b/specification/iotoperationsdataprocessor/readme.java.md
@@ -0,0 +1,7 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+
+``` yaml $(java)
+client-flattened-annotation-target: disabled
+```
diff --git a/specification/iotoperationsmq/resource-manager/readme.java.md b/specification/iotoperationsmq/resource-manager/readme.java.md
new file mode 100644
index 000000000000..01cdabebe9ad
--- /dev/null
+++ b/specification/iotoperationsmq/resource-manager/readme.java.md
@@ -0,0 +1,7 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+
+``` yaml $(java)
+client-flattened-annotation-target: disabled
+```
diff --git a/specification/iotoperationsorchestrator/resource-manager/readme.java.md b/specification/iotoperationsorchestrator/resource-manager/readme.java.md
new file mode 100644
index 000000000000..01cdabebe9ad
--- /dev/null
+++ b/specification/iotoperationsorchestrator/resource-manager/readme.java.md
@@ -0,0 +1,7 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+
+``` yaml $(java)
+client-flattened-annotation-target: disabled
+```
diff --git a/specification/liftrastronomer/resource-manager/readme.java.md b/specification/liftrastronomer/resource-manager/readme.java.md
new file mode 100644
index 000000000000..01cdabebe9ad
--- /dev/null
+++ b/specification/liftrastronomer/resource-manager/readme.java.md
@@ -0,0 +1,7 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+
+``` yaml $(java)
+client-flattened-annotation-target: disabled
+```
diff --git a/specification/logz/resource-manager/Microsoft.Logz/preview/2020-10-01-preview/examples/Monitors_Delete.json b/specification/logz/resource-manager/Microsoft.Logz/preview/2020-10-01-preview/examples/Monitors_Delete.json
index 714a9adac970..dac59052f0c3 100644
--- a/specification/logz/resource-manager/Microsoft.Logz/preview/2020-10-01-preview/examples/Monitors_Delete.json
+++ b/specification/logz/resource-manager/Microsoft.Logz/preview/2020-10-01-preview/examples/Monitors_Delete.json
@@ -7,7 +7,11 @@
},
"responses": {
"200": {},
- "202": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Logz/monitors/test?api-version=2020-10-01-preview"
+ }
+ },
"204": {}
}
}
diff --git a/specification/logz/resource-manager/Microsoft.Logz/preview/2020-10-01-preview/examples/SubAccount_Delete.json b/specification/logz/resource-manager/Microsoft.Logz/preview/2020-10-01-preview/examples/SubAccount_Delete.json
index 705fcb4328eb..7add79437a9c 100644
--- a/specification/logz/resource-manager/Microsoft.Logz/preview/2020-10-01-preview/examples/SubAccount_Delete.json
+++ b/specification/logz/resource-manager/Microsoft.Logz/preview/2020-10-01-preview/examples/SubAccount_Delete.json
@@ -8,7 +8,11 @@
},
"responses": {
"200": {},
- "202": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Logz/monitors/test?api-version=2020-10-01-preview"
+ }
+ },
"204": {}
}
}
diff --git a/specification/logz/resource-manager/Microsoft.Logz/preview/2020-10-01-preview/logz.json b/specification/logz/resource-manager/Microsoft.Logz/preview/2020-10-01-preview/logz.json
index 2123c23aa81b..9416e695675d 100644
--- a/specification/logz/resource-manager/Microsoft.Logz/preview/2020-10-01-preview/logz.json
+++ b/specification/logz/resource-manager/Microsoft.Logz/preview/2020-10-01-preview/logz.json
@@ -19,7 +19,7 @@
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
+ "description": "Microsoft Entra ID OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
diff --git a/specification/logz/resource-manager/Microsoft.Logz/preview/2022-01-01-preview/examples/MetricsSource_Delete.json b/specification/logz/resource-manager/Microsoft.Logz/preview/2022-01-01-preview/examples/MetricsSource_Delete.json
index e1d37d82583c..7d6eb2ebba3b 100644
--- a/specification/logz/resource-manager/Microsoft.Logz/preview/2022-01-01-preview/examples/MetricsSource_Delete.json
+++ b/specification/logz/resource-manager/Microsoft.Logz/preview/2022-01-01-preview/examples/MetricsSource_Delete.json
@@ -8,7 +8,11 @@
},
"responses": {
"200": {},
- "202": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Logz/monitors/test?api-version=2022-01-01-preview"
+ }
+ },
"204": {}
}
}
diff --git a/specification/logz/resource-manager/Microsoft.Logz/preview/2022-01-01-preview/examples/Monitors_Delete.json b/specification/logz/resource-manager/Microsoft.Logz/preview/2022-01-01-preview/examples/Monitors_Delete.json
index 656e98f098ba..8cc8ce3aa67d 100644
--- a/specification/logz/resource-manager/Microsoft.Logz/preview/2022-01-01-preview/examples/Monitors_Delete.json
+++ b/specification/logz/resource-manager/Microsoft.Logz/preview/2022-01-01-preview/examples/Monitors_Delete.json
@@ -7,7 +7,11 @@
},
"responses": {
"200": {},
- "202": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Logz/monitors/test?api-version=2022-01-01-preview"
+ }
+ },
"204": {}
}
}
diff --git a/specification/logz/resource-manager/Microsoft.Logz/preview/2022-01-01-preview/examples/SubAccount_Delete.json b/specification/logz/resource-manager/Microsoft.Logz/preview/2022-01-01-preview/examples/SubAccount_Delete.json
index c575d87cd143..706b7c10b112 100644
--- a/specification/logz/resource-manager/Microsoft.Logz/preview/2022-01-01-preview/examples/SubAccount_Delete.json
+++ b/specification/logz/resource-manager/Microsoft.Logz/preview/2022-01-01-preview/examples/SubAccount_Delete.json
@@ -8,7 +8,11 @@
},
"responses": {
"200": {},
- "202": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Logz/monitors/test?api-version=2022-01-01-preview"
+ }
+ },
"204": {}
}
}
diff --git a/specification/logz/resource-manager/Microsoft.Logz/preview/2022-01-01-preview/logz.json b/specification/logz/resource-manager/Microsoft.Logz/preview/2022-01-01-preview/logz.json
index 27e06bfbc93d..f0f2c3a20c34 100644
--- a/specification/logz/resource-manager/Microsoft.Logz/preview/2022-01-01-preview/logz.json
+++ b/specification/logz/resource-manager/Microsoft.Logz/preview/2022-01-01-preview/logz.json
@@ -19,7 +19,7 @@
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
+ "description": "Microsoft Entra ID OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
diff --git a/specification/logz/resource-manager/Microsoft.Logz/stable/2020-10-01/logz.json b/specification/logz/resource-manager/Microsoft.Logz/stable/2020-10-01/logz.json
index dc5bf5834839..3b6b7109ac4d 100644
--- a/specification/logz/resource-manager/Microsoft.Logz/stable/2020-10-01/logz.json
+++ b/specification/logz/resource-manager/Microsoft.Logz/stable/2020-10-01/logz.json
@@ -19,7 +19,7 @@
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
+ "description": "Microsoft Entra ID OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
diff --git a/specification/maps/data-plane/Route/preview/2023-10-01-preview/examples/PostRouteDirections.json b/specification/maps/data-plane/Route/preview/2023-10-01-preview/examples/PostRouteDirections.json
index 82c3da963f10..e2afb73d26f4 100644
--- a/specification/maps/data-plane/Route/preview/2023-10-01-preview/examples/PostRouteDirections.json
+++ b/specification/maps/data-plane/Route/preview/2023-10-01-preview/examples/PostRouteDirections.json
@@ -47,7 +47,7 @@
}
}
],
- "optimizeRoute": "fastestWithoutTraffic",
+ "optimizeRoute": "fastestWithTraffic",
"routeOutputOptions": [
"routePath"
],
diff --git a/specification/maps/data-plane/Route/preview/2023-10-01-preview/examples/PostRouteDirectionsBatch.json b/specification/maps/data-plane/Route/preview/2023-10-01-preview/examples/PostRouteDirectionsBatch.json
index 87fe91d60e8d..00bd2ed8aeaa 100644
--- a/specification/maps/data-plane/Route/preview/2023-10-01-preview/examples/PostRouteDirectionsBatch.json
+++ b/specification/maps/data-plane/Route/preview/2023-10-01-preview/examples/PostRouteDirectionsBatch.json
@@ -35,7 +35,7 @@
}
}
],
- "optimizeRoute": "fastestWithoutTraffic",
+ "optimizeRoute": "fastestWithTraffic",
"routeOutputOptions": [
"routeSummary"
],
@@ -74,7 +74,7 @@
}
}
],
- "optimizeRoute": "fastestWithoutTraffic",
+ "optimizeRoute": "fastestWithTraffic",
"routeOutputOptions": [
"routeSummary"
],
diff --git a/specification/maps/data-plane/Route/preview/2023-10-01-preview/route.json b/specification/maps/data-plane/Route/preview/2023-10-01-preview/route.json
index 52ef269a5834..2d89580240b2 100644
--- a/specification/maps/data-plane/Route/preview/2023-10-01-preview/route.json
+++ b/specification/maps/data-plane/Route/preview/2023-10-01-preview/route.json
@@ -468,7 +468,7 @@
"readOnly": true
},
"durationTrafficInSeconds": {
- "description": "The time that it takes, in seconds, to travel a corresponding TravelDistance with current traffic conditions. This value is always provided for the complete route and does not depend on the availability of traffic information.",
+ "description": "The time that it takes, in seconds, to travel a corresponding TravelDistance with current traffic conditions. This value is provided if optimizeRoute includes traffic considerations.",
"format": "int64",
"type": "integer",
"readOnly": true
@@ -772,7 +772,7 @@
"readOnly": true
},
"durationTrafficInSeconds": {
- "description": "The time that it takes, in seconds, to travel a corresponding TravelDistance with current traffic conditions. This value is always provided for the complete route and does not depend on the availability of traffic information.",
+ "description": "The time that it takes, in seconds, to travel a corresponding TravelDistance with current traffic conditions. This value is provided if optimizeRoute includes traffic considerations.",
"format": "int64",
"type": "integer",
"readOnly": true
@@ -894,7 +894,7 @@
"readOnly": true
},
"durationTrafficInSeconds": {
- "description": "The time that it takes, in seconds, to travel a corresponding TravelDistance with current traffic conditions. This value is always provided for the complete route and does not depend on the availability of traffic information.",
+ "description": "The time that it takes, in seconds, to travel a corresponding TravelDistance with current traffic conditions. This value is provided if optimizeRoute includes traffic considerations.",
"format": "int64",
"type": "integer",
"readOnly": true
@@ -926,7 +926,7 @@
"readOnly": true
},
"durationTrafficInSeconds": {
- "description": "The time that it takes, in seconds, to travel a corresponding TravelDistance with current traffic conditions. This value is always provided for the complete route and does not depend on the availability of traffic information.",
+ "description": "The time that it takes, in seconds, to travel a corresponding TravelDistance with current traffic conditions. This value is provided if optimizeRoute includes traffic considerations.",
"format": "int64",
"type": "integer",
"readOnly": true
@@ -975,7 +975,7 @@
"readOnly": true
},
"durationTrafficInSeconds": {
- "description": "The time that it takes, in seconds, to travel a corresponding TravelDistance with current traffic conditions. This value is always provided for the complete route and does not depend on the availability of traffic information.",
+ "description": "The time that it takes, in seconds, to travel a corresponding TravelDistance with current traffic conditions. This value is provided if optimizeRoute includes traffic considerations.",
"format": "int64",
"type": "integer",
"readOnly": true
diff --git a/specification/maps/data-plane/readme.md b/specification/maps/data-plane/readme.md
index fe2b8aa34b34..b6e5e96a733f 100644
--- a/specification/maps/data-plane/readme.md
+++ b/specification/maps/data-plane/readme.md
@@ -51,7 +51,7 @@ These settings apply only when `--tag=package-stable-2023-07-01` is specified on
```yaml $(tag) == 'package-stable-2023-07-01'
input-file:
- - Common/stable/2023-07-01/common.json
+ - Common/stable/2023-06-01/common.json
- Creator/stable/2023-07-01/alias.json
- Creator/stable/2023-07-01/dataset.json
- Creator/stable/2023-07-01/dwgconversion.json
diff --git a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/IisWebApplicationsController_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/IisWebApplicationsController_Get_MaximumSet_Gen.json
index a5a68e2f8fd5..f1a6b2273e89 100644
--- a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/IisWebApplicationsController_Get_MaximumSet_Gen.json
+++ b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/IisWebApplicationsController_Get_MaximumSet_Gen.json
@@ -3,11 +3,11 @@
"operationId": "IisWebApplicationsController_Get",
"parameters": {
"api-version": "2023-06-06",
- "subscriptionId": "B91B3C41-A3C4-4A9B-BEA9-936F1C33EA3F",
+ "subscriptionId": "F4A3C7D3-C4AB-4400-8931-E2DBA0E5DA34",
"resourceGroupName": "rgmigrate",
- "siteName": "6-7I5Fi-0-1-3Jh7L--6",
- "webAppSiteName": "1SnJ6nVswmZ-F-L17u-",
- "webApplicationName": "285--2AL-S2"
+ "siteName": "J7vb06z3-3-5q2DB3bVW4",
+ "webAppSiteName": "N81g1PJ3dj-JI-3KCv7R",
+ "webApplicationName": "8Jy7H2--CX1"
},
"responses": {
"200": {
@@ -15,18 +15,18 @@
"properties": {
"applications": [
{
- "applicationPoolName": "burgxiihza",
- "managedPipelineMode": "oejpxogjxakk",
- "runtimeVersion": "fxazzasvpc",
+ "applicationPoolName": "abprrfsmryfysrp",
+ "managedPipelineMode": "megrjvlxjp",
+ "runtimeVersion": "pfedonnmmypuoysseu",
"enable32BitApiOnWin64": true,
"path": {
- "virtual": "eehayhsaltbyzpfdumcksrkmkfjwme",
- "physical": "vppvnuddunbgthybapnkwh"
+ "virtual": "kbthlvxgruupzqjyqabzghewtpyy",
+ "physical": "kdwavzgeiityrazrzqwncjsnlufl"
},
"directories": [
{
- "virtual": "eehayhsaltbyzpfdumcksrkmkfjwme",
- "physical": "vppvnuddunbgthybapnkwh"
+ "virtual": "kbthlvxgruupzqjyqabzghewtpyy",
+ "physical": "kdwavzgeiityrazrzqwncjsnlufl"
}
]
}
@@ -35,106 +35,109 @@
{
"isVirtualDirectory": true,
"path": {
- "virtual": "eehayhsaltbyzpfdumcksrkmkfjwme",
- "physical": "vppvnuddunbgthybapnkwh"
+ "virtual": "kbthlvxgruupzqjyqabzghewtpyy",
+ "physical": "kdwavzgeiityrazrzqwncjsnlufl"
},
"directories": [
{
- "virtual": "eehayhsaltbyzpfdumcksrkmkfjwme",
- "physical": "vppvnuddunbgthybapnkwh"
+ "virtual": "kbthlvxgruupzqjyqabzghewtpyy",
+ "physical": "kdwavzgeiityrazrzqwncjsnlufl"
}
]
}
],
- "webServerId": "uzrohdyb",
- "webServerName": "fpzatfrzjbsnl",
- "virtualPath": "zfzjqqpqejquxmjsnxhxgkf",
- "physicalPath": "grdcbphawmtomejrjoowipt",
+ "webServerId": "olkxakxpylmawjpxvyqvabhykjpkvr",
+ "webServerName": "pe",
+ "machineArmIds": [
+ "pbituobvyvg"
+ ],
+ "virtualPath": "agttxxwvjwthvoclmarruwjctaueog",
+ "physicalPath": "mpksnzg",
"bindings": [
{
- "protocol": "fngttkyb",
- "hostName": "qydghmqbbzveyutdofa",
- "port": "aanhmwhbtbpussdaepv",
- "ipAddress": "jcqyaawtidcuvngbcfolobguthvct"
+ "protocol": "mzvedcpco",
+ "hostName": "vrvzeewrdufdujrskwcrpzquabjs",
+ "port": "mfexwjtuqfdbghysemzxahzujg",
+ "ipAddress": "pdwukppcisy"
}
],
"frameworks": [
{
- "name": "ezgoydfudnxmprptlaaxi",
- "version": "wywzvpuowxaerwx"
+ "name": "nqvsgxfgajxdu",
+ "version": "sjuqzki"
}
],
"configurations": [
{
- "name": "zvsvrvngzmlcuflltnqafwsvpwxzfs",
- "filePath": "vljpocynvcjaka",
- "localFilePath": "wllg",
- "targetFilePath": "bzbhygsvdbb",
- "section": "v",
- "type": "nllbprrznbbkrkw",
+ "name": "fujapsbevanbtdqijc",
+ "filePath": "pnqnhvepc",
+ "localFilePath": "fazylclscoilzkzwqhyaeqjw",
+ "targetFilePath": "symewjmneejaaulniyivmzwowbq",
+ "section": "fwrxpwohoh",
+ "type": "pmuqrvifkjqguuknwvp",
"isDeploymentTimeEditable": true,
- "identifier": "kaogmxbzcjd"
+ "identifier": "kmungxntdzeuf"
}
],
"directories": [
{
- "id": "etzqzimqqiplkdc",
+ "id": "awnkpdks",
"isEditable": true,
"sourcePaths": [
- "sfucje"
+ "ojgkzhyzbylxukdfztkbtvxtnnfmvh"
],
- "localScratchPath": "htvqybdroepwfqiyeaprozhrpj",
- "mountPath": "ubtugdniedpvlihrfkwzphybdmlwl",
- "sourceSize": "uiyeofjwprdg"
+ "localScratchPath": "oqxpekgyx",
+ "mountPath": "imrbevkul",
+ "sourceSize": "uarzydjdouzasjnnx"
}
],
- "displayName": "fx",
+ "displayName": "tvjmkklopxgpmqireubwykl",
"tags": {
- "key5772": "tqyfqeuymacelfopertc"
+ "key3494": "aisuptprvsfskvcvzfgmwxwvcjvtoh"
},
"staticFolders": [
- "zhsyeyhxedfywtjcifxn"
+ "hbyt"
],
- "machineDisplayName": "hdkyrmgmakaznwtpwuqrgjqvnrekqk",
+ "machineDisplayName": "csmy",
"isDeleted": true,
- "createdTimestamp": "ysyrrzzt",
- "updatedTimestamp": "dpzvwuptydqlxpqcauhnavval",
- "serverType": "kgvdirkdhndxkiph",
+ "createdTimestamp": "humplzmkakaytkgyiiinodugta",
+ "updatedTimestamp": "jmfj",
+ "serverType": "hfgsyc",
"errors": [
{
- "message": "whzrtghfrhmuypkiway",
+ "message": "rlqnsu",
"messageParameters": {
- "key6922": "tlcuwdfzhhjxleeqtmlahxba"
+ "key736": "fuzukesrxdillaj"
},
- "applianceName": "lfxolxp",
- "id": 26,
- "code": "amyfkrkwvziaqwrzvreyscdgtscg",
- "possibleCauses": "jvstvosewxjvcqxmodmzx",
- "recommendedAction": "lkuzyfhosdyzbin",
- "severity": "lek",
- "summaryMessage": "tmrblehgylapcamanvr",
+ "applianceName": "llseidstennfoiltgflblxhfbj",
+ "id": 11,
+ "code": "hhdznmtaqhvhz",
+ "possibleCauses": "f",
+ "recommendedAction": "mcllhcihkorwqyaadzmqktukah",
+ "severity": "ke",
+ "summaryMessage": "kgxaaqsx",
"source": "RefreshFabricLayout",
- "updatedTimeStamp": "2023-08-21T05:00:01.013Z",
- "runAsAccountId": "drikcaihbjhhvzskywytzhhxmhlew",
+ "updatedTimeStamp": "2023-11-29T09:34:03.225Z",
+ "runAsAccountId": "ankwgtiuaxhfnqyiqmhwd",
"discoveryScope": "AppsAndRoles"
}
],
"applianceNames": [
- "jkugvyajyvmnndlwrkmudiyiyfpwg"
+ "qjvgstblrumhvcuelxwxwlvwj"
],
"hasErrors": true,
"provisioningState": "Created"
},
- "id": "fqwfvsexuwlpydtoueoqylnbzc",
- "name": "avvwmxihjssjubhn",
- "type": "ujtkhagsxzlmh",
+ "id": "kkmnclgsiarnemepsgcwvrsssxtbo",
+ "name": "iekrk",
+ "type": "qkugsqczlzxwwmwjessfrgitxlymc",
"systemData": {
- "createdBy": "lguj",
+ "createdBy": "xoellpecudjqgxornwrldlwuu",
"createdByType": "User",
- "createdAt": "2023-08-21T04:59:22.848Z",
- "lastModifiedBy": "ljksfywnicbqrzrcqfk",
+ "createdAt": "2023-11-29T09:32:59.480Z",
+ "lastModifiedBy": "vopmszwqhxskyawwxkufcq",
"lastModifiedByType": "User",
- "lastModifiedAt": "2023-08-21T04:59:22.848Z"
+ "lastModifiedAt": "2023-11-29T09:32:59.480Z"
}
}
}
diff --git a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/IisWebApplicationsController_ListByWebAppSite_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/IisWebApplicationsController_ListByWebAppSite_MaximumSet_Gen.json
index 437617efc7c9..27234410787f 100644
--- a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/IisWebApplicationsController_ListByWebAppSite_MaximumSet_Gen.json
+++ b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/IisWebApplicationsController_ListByWebAppSite_MaximumSet_Gen.json
@@ -2,15 +2,15 @@
"title": "IisWebApplicationsController_ListByWebAppSite",
"operationId": "IisWebApplicationsController_ListByWebAppSite",
"parameters": {
- "subscriptionId": "B91B3C41-A3C4-4A9B-BEA9-936F1C33EA3F",
+ "subscriptionId": "F4A3C7D3-C4AB-4400-8931-E2DBA0E5DA34",
"resourceGroupName": "rgmigrate",
"api-version": "2023-06-06",
- "filter": "mxfsg",
- "top": "vqshavzwierjlkuymdhzp",
- "continuationToken": "flukawebngogmoxqblooxzhpkydl",
- "totalRecordCount": 25,
- "siteName": "91JKy98xU57",
- "webAppSiteName": "-8T2P23X-r83RwKYU-R-E-9Q"
+ "filter": "horqufqxkmjstoznxhizaelmw",
+ "top": "bgvqi",
+ "continuationToken": "cysgeivttxdi",
+ "totalRecordCount": 20,
+ "siteName": "77A747V2B-Ce-BR2H7-JuY",
+ "webAppSiteName": "WN27fTy-JX2z7"
},
"responses": {
"200": {
@@ -20,18 +20,18 @@
"properties": {
"applications": [
{
- "applicationPoolName": "burgxiihza",
- "managedPipelineMode": "oejpxogjxakk",
- "runtimeVersion": "fxazzasvpc",
+ "applicationPoolName": "abprrfsmryfysrp",
+ "managedPipelineMode": "megrjvlxjp",
+ "runtimeVersion": "pfedonnmmypuoysseu",
"enable32BitApiOnWin64": true,
"path": {
- "virtual": "eehayhsaltbyzpfdumcksrkmkfjwme",
- "physical": "vppvnuddunbgthybapnkwh"
+ "virtual": "kbthlvxgruupzqjyqabzghewtpyy",
+ "physical": "kdwavzgeiityrazrzqwncjsnlufl"
},
"directories": [
{
- "virtual": "eehayhsaltbyzpfdumcksrkmkfjwme",
- "physical": "vppvnuddunbgthybapnkwh"
+ "virtual": "kbthlvxgruupzqjyqabzghewtpyy",
+ "physical": "kdwavzgeiityrazrzqwncjsnlufl"
}
]
}
@@ -40,110 +40,113 @@
{
"isVirtualDirectory": true,
"path": {
- "virtual": "eehayhsaltbyzpfdumcksrkmkfjwme",
- "physical": "vppvnuddunbgthybapnkwh"
+ "virtual": "kbthlvxgruupzqjyqabzghewtpyy",
+ "physical": "kdwavzgeiityrazrzqwncjsnlufl"
},
"directories": [
{
- "virtual": "eehayhsaltbyzpfdumcksrkmkfjwme",
- "physical": "vppvnuddunbgthybapnkwh"
+ "virtual": "kbthlvxgruupzqjyqabzghewtpyy",
+ "physical": "kdwavzgeiityrazrzqwncjsnlufl"
}
]
}
],
- "webServerId": "uzrohdyb",
- "webServerName": "fpzatfrzjbsnl",
- "virtualPath": "zfzjqqpqejquxmjsnxhxgkf",
- "physicalPath": "grdcbphawmtomejrjoowipt",
+ "webServerId": "olkxakxpylmawjpxvyqvabhykjpkvr",
+ "webServerName": "pe",
+ "machineArmIds": [
+ "pbituobvyvg"
+ ],
+ "virtualPath": "agttxxwvjwthvoclmarruwjctaueog",
+ "physicalPath": "mpksnzg",
"bindings": [
{
- "protocol": "fngttkyb",
- "hostName": "qydghmqbbzveyutdofa",
- "port": "aanhmwhbtbpussdaepv",
- "ipAddress": "jcqyaawtidcuvngbcfolobguthvct"
+ "protocol": "mzvedcpco",
+ "hostName": "vrvzeewrdufdujrskwcrpzquabjs",
+ "port": "mfexwjtuqfdbghysemzxahzujg",
+ "ipAddress": "pdwukppcisy"
}
],
"frameworks": [
{
- "name": "ezgoydfudnxmprptlaaxi",
- "version": "wywzvpuowxaerwx"
+ "name": "nqvsgxfgajxdu",
+ "version": "sjuqzki"
}
],
"configurations": [
{
- "name": "zvsvrvngzmlcuflltnqafwsvpwxzfs",
- "filePath": "vljpocynvcjaka",
- "localFilePath": "wllg",
- "targetFilePath": "bzbhygsvdbb",
- "section": "v",
- "type": "nllbprrznbbkrkw",
+ "name": "fujapsbevanbtdqijc",
+ "filePath": "pnqnhvepc",
+ "localFilePath": "fazylclscoilzkzwqhyaeqjw",
+ "targetFilePath": "symewjmneejaaulniyivmzwowbq",
+ "section": "fwrxpwohoh",
+ "type": "pmuqrvifkjqguuknwvp",
"isDeploymentTimeEditable": true,
- "identifier": "kaogmxbzcjd"
+ "identifier": "kmungxntdzeuf"
}
],
"directories": [
{
- "id": "etzqzimqqiplkdc",
+ "id": "awnkpdks",
"isEditable": true,
"sourcePaths": [
- "sfucje"
+ "ojgkzhyzbylxukdfztkbtvxtnnfmvh"
],
- "localScratchPath": "htvqybdroepwfqiyeaprozhrpj",
- "mountPath": "ubtugdniedpvlihrfkwzphybdmlwl",
- "sourceSize": "uiyeofjwprdg"
+ "localScratchPath": "oqxpekgyx",
+ "mountPath": "imrbevkul",
+ "sourceSize": "uarzydjdouzasjnnx"
}
],
- "displayName": "fx",
+ "displayName": "tvjmkklopxgpmqireubwykl",
"tags": {
- "key5772": "tqyfqeuymacelfopertc"
+ "key3494": "aisuptprvsfskvcvzfgmwxwvcjvtoh"
},
"staticFolders": [
- "zhsyeyhxedfywtjcifxn"
+ "hbyt"
],
- "machineDisplayName": "hdkyrmgmakaznwtpwuqrgjqvnrekqk",
+ "machineDisplayName": "csmy",
"isDeleted": true,
- "createdTimestamp": "ysyrrzzt",
- "updatedTimestamp": "dpzvwuptydqlxpqcauhnavval",
- "serverType": "kgvdirkdhndxkiph",
+ "createdTimestamp": "humplzmkakaytkgyiiinodugta",
+ "updatedTimestamp": "jmfj",
+ "serverType": "hfgsyc",
"errors": [
{
- "message": "whzrtghfrhmuypkiway",
+ "message": "rlqnsu",
"messageParameters": {
- "key6922": "tlcuwdfzhhjxleeqtmlahxba"
+ "key736": "fuzukesrxdillaj"
},
- "applianceName": "lfxolxp",
- "id": 26,
- "code": "amyfkrkwvziaqwrzvreyscdgtscg",
- "possibleCauses": "jvstvosewxjvcqxmodmzx",
- "recommendedAction": "lkuzyfhosdyzbin",
- "severity": "lek",
- "summaryMessage": "tmrblehgylapcamanvr",
+ "applianceName": "llseidstennfoiltgflblxhfbj",
+ "id": 11,
+ "code": "hhdznmtaqhvhz",
+ "possibleCauses": "f",
+ "recommendedAction": "mcllhcihkorwqyaadzmqktukah",
+ "severity": "ke",
+ "summaryMessage": "kgxaaqsx",
"source": "RefreshFabricLayout",
- "updatedTimeStamp": "2023-08-21T05:00:01.013Z",
- "runAsAccountId": "drikcaihbjhhvzskywytzhhxmhlew",
+ "updatedTimeStamp": "2023-11-29T09:34:03.225Z",
+ "runAsAccountId": "ankwgtiuaxhfnqyiqmhwd",
"discoveryScope": "AppsAndRoles"
}
],
"applianceNames": [
- "jkugvyajyvmnndlwrkmudiyiyfpwg"
+ "qjvgstblrumhvcuelxwxwlvwj"
],
"hasErrors": true,
"provisioningState": "Created"
},
- "id": "fqwfvsexuwlpydtoueoqylnbzc",
- "name": "avvwmxihjssjubhn",
- "type": "ujtkhagsxzlmh",
+ "id": "kkmnclgsiarnemepsgcwvrsssxtbo",
+ "name": "iekrk",
+ "type": "qkugsqczlzxwwmwjessfrgitxlymc",
"systemData": {
- "createdBy": "lguj",
+ "createdBy": "xoellpecudjqgxornwrldlwuu",
"createdByType": "User",
- "createdAt": "2023-08-21T04:59:22.848Z",
- "lastModifiedBy": "ljksfywnicbqrzrcqfk",
+ "createdAt": "2023-11-29T09:32:59.480Z",
+ "lastModifiedBy": "vopmszwqhxskyawwxkufcq",
"lastModifiedByType": "User",
- "lastModifiedAt": "2023-08-21T04:59:22.848Z"
+ "lastModifiedAt": "2023-11-29T09:32:59.480Z"
}
}
],
- "nextLink": "https://microsoft.com/a"
+ "nextLink": "https://microsoft.com/ahs"
}
}
}
diff --git a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/IisWebApplicationsController_Update_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/IisWebApplicationsController_Update_MaximumSet_Gen.json
index 24ecea8d8db7..56ed8da399b1 100644
--- a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/IisWebApplicationsController_Update_MaximumSet_Gen.json
+++ b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/IisWebApplicationsController_Update_MaximumSet_Gen.json
@@ -3,15 +3,15 @@
"operationId": "IisWebApplicationsController_Update",
"parameters": {
"api-version": "2023-06-06",
- "subscriptionId": "B91B3C41-A3C4-4A9B-BEA9-936F1C33EA3F",
+ "subscriptionId": "F4A3C7D3-C4AB-4400-8931-E2DBA0E5DA34",
"resourceGroupName": "rgmigrate",
- "siteName": "ZY1-L3TL7R47tDU-W1Bh7W8",
- "webAppSiteName": "-KBo2-T5MXXCy",
- "webApplicationName": "Q-FS7D2X-5",
+ "siteName": "NM11",
+ "webAppSiteName": "YB0CSXSS7-28-p9-I",
+ "webApplicationName": "-1Nc2961wZ",
"body": {
"properties": {
"tags": {
- "key6576": "sasikhgomexejsgnhfpf"
+ "key9542": "rhpptnmplnhqrj"
}
}
}
@@ -22,18 +22,18 @@
"properties": {
"applications": [
{
- "applicationPoolName": "burgxiihza",
- "managedPipelineMode": "oejpxogjxakk",
- "runtimeVersion": "fxazzasvpc",
+ "applicationPoolName": "abprrfsmryfysrp",
+ "managedPipelineMode": "megrjvlxjp",
+ "runtimeVersion": "pfedonnmmypuoysseu",
"enable32BitApiOnWin64": true,
"path": {
- "virtual": "eehayhsaltbyzpfdumcksrkmkfjwme",
- "physical": "vppvnuddunbgthybapnkwh"
+ "virtual": "kbthlvxgruupzqjyqabzghewtpyy",
+ "physical": "kdwavzgeiityrazrzqwncjsnlufl"
},
"directories": [
{
- "virtual": "eehayhsaltbyzpfdumcksrkmkfjwme",
- "physical": "vppvnuddunbgthybapnkwh"
+ "virtual": "kbthlvxgruupzqjyqabzghewtpyy",
+ "physical": "kdwavzgeiityrazrzqwncjsnlufl"
}
]
}
@@ -42,106 +42,109 @@
{
"isVirtualDirectory": true,
"path": {
- "virtual": "eehayhsaltbyzpfdumcksrkmkfjwme",
- "physical": "vppvnuddunbgthybapnkwh"
+ "virtual": "kbthlvxgruupzqjyqabzghewtpyy",
+ "physical": "kdwavzgeiityrazrzqwncjsnlufl"
},
"directories": [
{
- "virtual": "eehayhsaltbyzpfdumcksrkmkfjwme",
- "physical": "vppvnuddunbgthybapnkwh"
+ "virtual": "kbthlvxgruupzqjyqabzghewtpyy",
+ "physical": "kdwavzgeiityrazrzqwncjsnlufl"
}
]
}
],
- "webServerId": "uzrohdyb",
- "webServerName": "fpzatfrzjbsnl",
- "virtualPath": "zfzjqqpqejquxmjsnxhxgkf",
- "physicalPath": "grdcbphawmtomejrjoowipt",
+ "webServerId": "olkxakxpylmawjpxvyqvabhykjpkvr",
+ "webServerName": "pe",
+ "machineArmIds": [
+ "pbituobvyvg"
+ ],
+ "virtualPath": "agttxxwvjwthvoclmarruwjctaueog",
+ "physicalPath": "mpksnzg",
"bindings": [
{
- "protocol": "fngttkyb",
- "hostName": "qydghmqbbzveyutdofa",
- "port": "aanhmwhbtbpussdaepv",
- "ipAddress": "jcqyaawtidcuvngbcfolobguthvct"
+ "protocol": "mzvedcpco",
+ "hostName": "vrvzeewrdufdujrskwcrpzquabjs",
+ "port": "mfexwjtuqfdbghysemzxahzujg",
+ "ipAddress": "pdwukppcisy"
}
],
"frameworks": [
{
- "name": "ezgoydfudnxmprptlaaxi",
- "version": "wywzvpuowxaerwx"
+ "name": "nqvsgxfgajxdu",
+ "version": "sjuqzki"
}
],
"configurations": [
{
- "name": "zvsvrvngzmlcuflltnqafwsvpwxzfs",
- "filePath": "vljpocynvcjaka",
- "localFilePath": "wllg",
- "targetFilePath": "bzbhygsvdbb",
- "section": "v",
- "type": "nllbprrznbbkrkw",
+ "name": "fujapsbevanbtdqijc",
+ "filePath": "pnqnhvepc",
+ "localFilePath": "fazylclscoilzkzwqhyaeqjw",
+ "targetFilePath": "symewjmneejaaulniyivmzwowbq",
+ "section": "fwrxpwohoh",
+ "type": "pmuqrvifkjqguuknwvp",
"isDeploymentTimeEditable": true,
- "identifier": "kaogmxbzcjd"
+ "identifier": "kmungxntdzeuf"
}
],
"directories": [
{
- "id": "etzqzimqqiplkdc",
+ "id": "awnkpdks",
"isEditable": true,
"sourcePaths": [
- "sfucje"
+ "ojgkzhyzbylxukdfztkbtvxtnnfmvh"
],
- "localScratchPath": "htvqybdroepwfqiyeaprozhrpj",
- "mountPath": "ubtugdniedpvlihrfkwzphybdmlwl",
- "sourceSize": "uiyeofjwprdg"
+ "localScratchPath": "oqxpekgyx",
+ "mountPath": "imrbevkul",
+ "sourceSize": "uarzydjdouzasjnnx"
}
],
- "displayName": "fx",
+ "displayName": "tvjmkklopxgpmqireubwykl",
"tags": {
- "key5772": "tqyfqeuymacelfopertc"
+ "key3494": "aisuptprvsfskvcvzfgmwxwvcjvtoh"
},
"staticFolders": [
- "zhsyeyhxedfywtjcifxn"
+ "hbyt"
],
- "machineDisplayName": "hdkyrmgmakaznwtpwuqrgjqvnrekqk",
+ "machineDisplayName": "csmy",
"isDeleted": true,
- "createdTimestamp": "ysyrrzzt",
- "updatedTimestamp": "dpzvwuptydqlxpqcauhnavval",
- "serverType": "kgvdirkdhndxkiph",
+ "createdTimestamp": "humplzmkakaytkgyiiinodugta",
+ "updatedTimestamp": "jmfj",
+ "serverType": "hfgsyc",
"errors": [
{
- "message": "whzrtghfrhmuypkiway",
+ "message": "rlqnsu",
"messageParameters": {
- "key6922": "tlcuwdfzhhjxleeqtmlahxba"
+ "key736": "fuzukesrxdillaj"
},
- "applianceName": "lfxolxp",
- "id": 26,
- "code": "amyfkrkwvziaqwrzvreyscdgtscg",
- "possibleCauses": "jvstvosewxjvcqxmodmzx",
- "recommendedAction": "lkuzyfhosdyzbin",
- "severity": "lek",
- "summaryMessage": "tmrblehgylapcamanvr",
+ "applianceName": "llseidstennfoiltgflblxhfbj",
+ "id": 11,
+ "code": "hhdznmtaqhvhz",
+ "possibleCauses": "f",
+ "recommendedAction": "mcllhcihkorwqyaadzmqktukah",
+ "severity": "ke",
+ "summaryMessage": "kgxaaqsx",
"source": "RefreshFabricLayout",
- "updatedTimeStamp": "2023-08-21T05:00:01.013Z",
- "runAsAccountId": "drikcaihbjhhvzskywytzhhxmhlew",
+ "updatedTimeStamp": "2023-11-29T09:34:03.225Z",
+ "runAsAccountId": "ankwgtiuaxhfnqyiqmhwd",
"discoveryScope": "AppsAndRoles"
}
],
"applianceNames": [
- "jkugvyajyvmnndlwrkmudiyiyfpwg"
+ "qjvgstblrumhvcuelxwxwlvwj"
],
"hasErrors": true,
"provisioningState": "Created"
},
- "id": "fqwfvsexuwlpydtoueoqylnbzc",
- "name": "avvwmxihjssjubhn",
- "type": "ujtkhagsxzlmh",
+ "id": "kkmnclgsiarnemepsgcwvrsssxtbo",
+ "name": "iekrk",
+ "type": "qkugsqczlzxwwmwjessfrgitxlymc",
"systemData": {
- "createdBy": "lguj",
+ "createdBy": "xoellpecudjqgxornwrldlwuu",
"createdByType": "User",
- "createdAt": "2023-08-21T04:59:22.848Z",
- "lastModifiedBy": "ljksfywnicbqrzrcqfk",
+ "createdAt": "2023-11-29T09:32:59.480Z",
+ "lastModifiedBy": "vopmszwqhxskyawwxkufcq",
"lastModifiedByType": "User",
- "lastModifiedAt": "2023-08-21T04:59:22.848Z"
+ "lastModifiedAt": "2023-11-29T09:32:59.480Z"
}
}
}
diff --git a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/TomcatWebApplicationsController_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/TomcatWebApplicationsController_Get_MaximumSet_Gen.json
index 73a6caf44ff9..ab5c492acbb6 100644
--- a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/TomcatWebApplicationsController_Get_MaximumSet_Gen.json
+++ b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/TomcatWebApplicationsController_Get_MaximumSet_Gen.json
@@ -3,11 +3,11 @@
"operationId": "TomcatWebApplicationsController_Get",
"parameters": {
"api-version": "2023-06-06",
- "subscriptionId": "B91B3C41-A3C4-4A9B-BEA9-936F1C33EA3F",
+ "subscriptionId": "F4A3C7D3-C4AB-4400-8931-E2DBA0E5DA34",
"resourceGroupName": "rgmigrate",
- "siteName": "-I1XwV-0--N-s3-Hl4wC865",
- "webAppSiteName": "8t8Y45q3l1JC-8MT-24-",
- "webApplicationName": "4Y00j7w-Wl1tWhrHl"
+ "siteName": "lBYit-iOl6-U",
+ "webAppSiteName": "44-l",
+ "webApplicationName": "9-0N--SMKPUFgr"
},
"responses": {
"200": {
@@ -15,95 +15,98 @@
"properties": {
"hasDatabaseDependency": true,
"isExternalLoggingConfigured": true,
- "webServerId": "szauhhuyilzobujjhexzuqiaesie",
- "webServerName": "gjxjiempxtegwevmikynkj",
- "virtualPath": "gjwpktwy",
- "physicalPath": "icphfjhecho",
+ "webServerId": "mjkitphplujocpu",
+ "webServerName": "hguhxhpbnkbcn",
+ "machineArmIds": [
+ "lrbwysitecnfyiluzvb"
+ ],
+ "virtualPath": "xnrcprspd",
+ "physicalPath": "qrdpknaqhdxy",
"bindings": [
{
- "protocol": "fngttkyb",
- "hostName": "qydghmqbbzveyutdofa",
- "port": "aanhmwhbtbpussdaepv",
- "ipAddress": "jcqyaawtidcuvngbcfolobguthvct"
+ "protocol": "mzvedcpco",
+ "hostName": "vrvzeewrdufdujrskwcrpzquabjs",
+ "port": "mfexwjtuqfdbghysemzxahzujg",
+ "ipAddress": "pdwukppcisy"
}
],
"frameworks": [
{
- "name": "ezgoydfudnxmprptlaaxi",
- "version": "wywzvpuowxaerwx"
+ "name": "nqvsgxfgajxdu",
+ "version": "sjuqzki"
}
],
"configurations": [
{
- "name": "zvsvrvngzmlcuflltnqafwsvpwxzfs",
- "filePath": "vljpocynvcjaka",
- "localFilePath": "wllg",
- "targetFilePath": "bzbhygsvdbb",
- "section": "v",
- "type": "nllbprrznbbkrkw",
+ "name": "fujapsbevanbtdqijc",
+ "filePath": "pnqnhvepc",
+ "localFilePath": "fazylclscoilzkzwqhyaeqjw",
+ "targetFilePath": "symewjmneejaaulniyivmzwowbq",
+ "section": "fwrxpwohoh",
+ "type": "pmuqrvifkjqguuknwvp",
"isDeploymentTimeEditable": true,
- "identifier": "kaogmxbzcjd"
+ "identifier": "kmungxntdzeuf"
}
],
"directories": [
{
- "id": "etzqzimqqiplkdc",
+ "id": "awnkpdks",
"isEditable": true,
"sourcePaths": [
- "sfucje"
+ "ojgkzhyzbylxukdfztkbtvxtnnfmvh"
],
- "localScratchPath": "htvqybdroepwfqiyeaprozhrpj",
- "mountPath": "ubtugdniedpvlihrfkwzphybdmlwl",
- "sourceSize": "uiyeofjwprdg"
+ "localScratchPath": "oqxpekgyx",
+ "mountPath": "imrbevkul",
+ "sourceSize": "uarzydjdouzasjnnx"
}
],
- "displayName": "uiyjhkjhrqaefxoggfwmrcsscmewzj",
+ "displayName": "ggkehulnhfzmblo",
"tags": {
- "key2051": "pqucah"
+ "key2725": "vxnrbkypuugwdcwncc"
},
"staticFolders": [
- "jssjbvhfjwuagbvy"
+ "hnclhyndfbisqoscqdfgovma"
],
- "machineDisplayName": "ikvtzm",
+ "machineDisplayName": "eehqmsndwamzdairaqhmdy",
"isDeleted": true,
- "createdTimestamp": "meq",
- "updatedTimestamp": "msgfmjdneggbgtppqtymnygff",
- "serverType": "duutxr",
+ "createdTimestamp": "nlsuznhojownfmxd",
+ "updatedTimestamp": "ldyipyvypjdbasl",
+ "serverType": "yxtyqr",
"errors": [
{
- "message": "whzrtghfrhmuypkiway",
+ "message": "rlqnsu",
"messageParameters": {
- "key6922": "tlcuwdfzhhjxleeqtmlahxba"
+ "key736": "fuzukesrxdillaj"
},
- "applianceName": "lfxolxp",
- "id": 26,
- "code": "amyfkrkwvziaqwrzvreyscdgtscg",
- "possibleCauses": "jvstvosewxjvcqxmodmzx",
- "recommendedAction": "lkuzyfhosdyzbin",
- "severity": "lek",
- "summaryMessage": "tmrblehgylapcamanvr",
+ "applianceName": "llseidstennfoiltgflblxhfbj",
+ "id": 11,
+ "code": "hhdznmtaqhvhz",
+ "possibleCauses": "f",
+ "recommendedAction": "mcllhcihkorwqyaadzmqktukah",
+ "severity": "ke",
+ "summaryMessage": "kgxaaqsx",
"source": "RefreshFabricLayout",
- "updatedTimeStamp": "2023-08-21T05:00:01.013Z",
- "runAsAccountId": "drikcaihbjhhvzskywytzhhxmhlew",
+ "updatedTimeStamp": "2023-11-29T09:34:03.225Z",
+ "runAsAccountId": "ankwgtiuaxhfnqyiqmhwd",
"discoveryScope": "AppsAndRoles"
}
],
"applianceNames": [
- "xwcamabxukllishnmda"
+ "ri"
],
"hasErrors": true,
"provisioningState": "Created"
},
- "id": "xacqzbyikowv",
- "name": "ixddvmlrvrjl",
- "type": "czmbxesjdjpwdbzxhmvaerofo",
+ "id": "vltnlstcuywugqwbqeuoqukicsn",
+ "name": "sszngssjyckm",
+ "type": "esbubsuntgftwh",
"systemData": {
- "createdBy": "lguj",
+ "createdBy": "xoellpecudjqgxornwrldlwuu",
"createdByType": "User",
- "createdAt": "2023-08-21T04:59:22.848Z",
- "lastModifiedBy": "ljksfywnicbqrzrcqfk",
+ "createdAt": "2023-11-29T09:32:59.480Z",
+ "lastModifiedBy": "vopmszwqhxskyawwxkufcq",
"lastModifiedByType": "User",
- "lastModifiedAt": "2023-08-21T04:59:22.848Z"
+ "lastModifiedAt": "2023-11-29T09:32:59.480Z"
}
}
}
diff --git a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/TomcatWebApplicationsController_ListByWebAppSite_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/TomcatWebApplicationsController_ListByWebAppSite_MaximumSet_Gen.json
index a2bfbd21e335..699402f7f57c 100644
--- a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/TomcatWebApplicationsController_ListByWebAppSite_MaximumSet_Gen.json
+++ b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/TomcatWebApplicationsController_ListByWebAppSite_MaximumSet_Gen.json
@@ -2,15 +2,15 @@
"title": "TomcatWebApplicationsController_ListByWebAppSite",
"operationId": "TomcatWebApplicationsController_ListByWebAppSite",
"parameters": {
- "subscriptionId": "B91B3C41-A3C4-4A9B-BEA9-936F1C33EA3F",
+ "subscriptionId": "F4A3C7D3-C4AB-4400-8931-E2DBA0E5DA34",
"resourceGroupName": "rgmigrate",
"api-version": "2023-06-06",
- "filter": "wzkkiurhj",
- "top": "cnifojn",
- "continuationToken": "hyrkbboxjgwnf",
- "totalRecordCount": 18,
- "siteName": "6AW-37o",
- "webAppSiteName": "776---5-l-b"
+ "filter": "sfonumsziyhnu",
+ "top": "wwuvdi",
+ "continuationToken": "xhrniguygvo",
+ "totalRecordCount": 9,
+ "siteName": "---7-",
+ "webAppSiteName": "-R-vt-B--y-RH60-bJ7K7-"
},
"responses": {
"200": {
@@ -20,95 +20,98 @@
"properties": {
"hasDatabaseDependency": true,
"isExternalLoggingConfigured": true,
- "webServerId": "szauhhuyilzobujjhexzuqiaesie",
- "webServerName": "gjxjiempxtegwevmikynkj",
- "virtualPath": "gjwpktwy",
- "physicalPath": "icphfjhecho",
+ "webServerId": "mjkitphplujocpu",
+ "webServerName": "hguhxhpbnkbcn",
+ "machineArmIds": [
+ "lrbwysitecnfyiluzvb"
+ ],
+ "virtualPath": "xnrcprspd",
+ "physicalPath": "qrdpknaqhdxy",
"bindings": [
{
- "protocol": "fngttkyb",
- "hostName": "qydghmqbbzveyutdofa",
- "port": "aanhmwhbtbpussdaepv",
- "ipAddress": "jcqyaawtidcuvngbcfolobguthvct"
+ "protocol": "mzvedcpco",
+ "hostName": "vrvzeewrdufdujrskwcrpzquabjs",
+ "port": "mfexwjtuqfdbghysemzxahzujg",
+ "ipAddress": "pdwukppcisy"
}
],
"frameworks": [
{
- "name": "ezgoydfudnxmprptlaaxi",
- "version": "wywzvpuowxaerwx"
+ "name": "nqvsgxfgajxdu",
+ "version": "sjuqzki"
}
],
"configurations": [
{
- "name": "zvsvrvngzmlcuflltnqafwsvpwxzfs",
- "filePath": "vljpocynvcjaka",
- "localFilePath": "wllg",
- "targetFilePath": "bzbhygsvdbb",
- "section": "v",
- "type": "nllbprrznbbkrkw",
+ "name": "fujapsbevanbtdqijc",
+ "filePath": "pnqnhvepc",
+ "localFilePath": "fazylclscoilzkzwqhyaeqjw",
+ "targetFilePath": "symewjmneejaaulniyivmzwowbq",
+ "section": "fwrxpwohoh",
+ "type": "pmuqrvifkjqguuknwvp",
"isDeploymentTimeEditable": true,
- "identifier": "kaogmxbzcjd"
+ "identifier": "kmungxntdzeuf"
}
],
"directories": [
{
- "id": "etzqzimqqiplkdc",
+ "id": "awnkpdks",
"isEditable": true,
"sourcePaths": [
- "sfucje"
+ "ojgkzhyzbylxukdfztkbtvxtnnfmvh"
],
- "localScratchPath": "htvqybdroepwfqiyeaprozhrpj",
- "mountPath": "ubtugdniedpvlihrfkwzphybdmlwl",
- "sourceSize": "uiyeofjwprdg"
+ "localScratchPath": "oqxpekgyx",
+ "mountPath": "imrbevkul",
+ "sourceSize": "uarzydjdouzasjnnx"
}
],
- "displayName": "uiyjhkjhrqaefxoggfwmrcsscmewzj",
+ "displayName": "ggkehulnhfzmblo",
"tags": {
- "key2051": "pqucah"
+ "key2725": "vxnrbkypuugwdcwncc"
},
"staticFolders": [
- "jssjbvhfjwuagbvy"
+ "hnclhyndfbisqoscqdfgovma"
],
- "machineDisplayName": "ikvtzm",
+ "machineDisplayName": "eehqmsndwamzdairaqhmdy",
"isDeleted": true,
- "createdTimestamp": "meq",
- "updatedTimestamp": "msgfmjdneggbgtppqtymnygff",
- "serverType": "duutxr",
+ "createdTimestamp": "nlsuznhojownfmxd",
+ "updatedTimestamp": "ldyipyvypjdbasl",
+ "serverType": "yxtyqr",
"errors": [
{
- "message": "whzrtghfrhmuypkiway",
+ "message": "rlqnsu",
"messageParameters": {
- "key6922": "tlcuwdfzhhjxleeqtmlahxba"
+ "key736": "fuzukesrxdillaj"
},
- "applianceName": "lfxolxp",
- "id": 26,
- "code": "amyfkrkwvziaqwrzvreyscdgtscg",
- "possibleCauses": "jvstvosewxjvcqxmodmzx",
- "recommendedAction": "lkuzyfhosdyzbin",
- "severity": "lek",
- "summaryMessage": "tmrblehgylapcamanvr",
+ "applianceName": "llseidstennfoiltgflblxhfbj",
+ "id": 11,
+ "code": "hhdznmtaqhvhz",
+ "possibleCauses": "f",
+ "recommendedAction": "mcllhcihkorwqyaadzmqktukah",
+ "severity": "ke",
+ "summaryMessage": "kgxaaqsx",
"source": "RefreshFabricLayout",
- "updatedTimeStamp": "2023-08-21T05:00:01.013Z",
- "runAsAccountId": "drikcaihbjhhvzskywytzhhxmhlew",
+ "updatedTimeStamp": "2023-11-29T09:34:03.225Z",
+ "runAsAccountId": "ankwgtiuaxhfnqyiqmhwd",
"discoveryScope": "AppsAndRoles"
}
],
"applianceNames": [
- "xwcamabxukllishnmda"
+ "ri"
],
"hasErrors": true,
"provisioningState": "Created"
},
- "id": "xacqzbyikowv",
- "name": "ixddvmlrvrjl",
- "type": "czmbxesjdjpwdbzxhmvaerofo",
+ "id": "vltnlstcuywugqwbqeuoqukicsn",
+ "name": "sszngssjyckm",
+ "type": "esbubsuntgftwh",
"systemData": {
- "createdBy": "lguj",
+ "createdBy": "xoellpecudjqgxornwrldlwuu",
"createdByType": "User",
- "createdAt": "2023-08-21T04:59:22.848Z",
- "lastModifiedBy": "ljksfywnicbqrzrcqfk",
+ "createdAt": "2023-11-29T09:32:59.480Z",
+ "lastModifiedBy": "vopmszwqhxskyawwxkufcq",
"lastModifiedByType": "User",
- "lastModifiedAt": "2023-08-21T04:59:22.848Z"
+ "lastModifiedAt": "2023-11-29T09:32:59.480Z"
}
}
],
diff --git a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/TomcatWebApplicationsController_Update_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/TomcatWebApplicationsController_Update_MaximumSet_Gen.json
index 8afb45452c14..366b5d3f7645 100644
--- a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/TomcatWebApplicationsController_Update_MaximumSet_Gen.json
+++ b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/TomcatWebApplicationsController_Update_MaximumSet_Gen.json
@@ -3,11 +3,11 @@
"operationId": "TomcatWebApplicationsController_Update",
"parameters": {
"api-version": "2023-06-06",
- "subscriptionId": "B91B3C41-A3C4-4A9B-BEA9-936F1C33EA3F",
+ "subscriptionId": "F4A3C7D3-C4AB-4400-8931-E2DBA0E5DA34",
"resourceGroupName": "rgmigrate",
- "siteName": "Ev-6W8ZUALP",
- "webAppSiteName": "e-EPeP7--9-K-10Y6-",
- "webApplicationName": "b72DEB7ML2JW7JSERR8-kK",
+ "siteName": "-VXRq7C-247NQ-bnEZQ-Q7U",
+ "webAppSiteName": "--f7x69RFDKJujRI3",
+ "webApplicationName": "Q1-5rFEHTX",
"body": {}
},
"responses": {
@@ -16,95 +16,98 @@
"properties": {
"hasDatabaseDependency": true,
"isExternalLoggingConfigured": true,
- "webServerId": "szauhhuyilzobujjhexzuqiaesie",
- "webServerName": "gjxjiempxtegwevmikynkj",
- "virtualPath": "gjwpktwy",
- "physicalPath": "icphfjhecho",
+ "webServerId": "mjkitphplujocpu",
+ "webServerName": "hguhxhpbnkbcn",
+ "machineArmIds": [
+ "lrbwysitecnfyiluzvb"
+ ],
+ "virtualPath": "xnrcprspd",
+ "physicalPath": "qrdpknaqhdxy",
"bindings": [
{
- "protocol": "fngttkyb",
- "hostName": "qydghmqbbzveyutdofa",
- "port": "aanhmwhbtbpussdaepv",
- "ipAddress": "jcqyaawtidcuvngbcfolobguthvct"
+ "protocol": "mzvedcpco",
+ "hostName": "vrvzeewrdufdujrskwcrpzquabjs",
+ "port": "mfexwjtuqfdbghysemzxahzujg",
+ "ipAddress": "pdwukppcisy"
}
],
"frameworks": [
{
- "name": "ezgoydfudnxmprptlaaxi",
- "version": "wywzvpuowxaerwx"
+ "name": "nqvsgxfgajxdu",
+ "version": "sjuqzki"
}
],
"configurations": [
{
- "name": "zvsvrvngzmlcuflltnqafwsvpwxzfs",
- "filePath": "vljpocynvcjaka",
- "localFilePath": "wllg",
- "targetFilePath": "bzbhygsvdbb",
- "section": "v",
- "type": "nllbprrznbbkrkw",
+ "name": "fujapsbevanbtdqijc",
+ "filePath": "pnqnhvepc",
+ "localFilePath": "fazylclscoilzkzwqhyaeqjw",
+ "targetFilePath": "symewjmneejaaulniyivmzwowbq",
+ "section": "fwrxpwohoh",
+ "type": "pmuqrvifkjqguuknwvp",
"isDeploymentTimeEditable": true,
- "identifier": "kaogmxbzcjd"
+ "identifier": "kmungxntdzeuf"
}
],
"directories": [
{
- "id": "etzqzimqqiplkdc",
+ "id": "awnkpdks",
"isEditable": true,
"sourcePaths": [
- "sfucje"
+ "ojgkzhyzbylxukdfztkbtvxtnnfmvh"
],
- "localScratchPath": "htvqybdroepwfqiyeaprozhrpj",
- "mountPath": "ubtugdniedpvlihrfkwzphybdmlwl",
- "sourceSize": "uiyeofjwprdg"
+ "localScratchPath": "oqxpekgyx",
+ "mountPath": "imrbevkul",
+ "sourceSize": "uarzydjdouzasjnnx"
}
],
- "displayName": "uiyjhkjhrqaefxoggfwmrcsscmewzj",
+ "displayName": "ggkehulnhfzmblo",
"tags": {
- "key2051": "pqucah"
+ "key2725": "vxnrbkypuugwdcwncc"
},
"staticFolders": [
- "jssjbvhfjwuagbvy"
+ "hnclhyndfbisqoscqdfgovma"
],
- "machineDisplayName": "ikvtzm",
+ "machineDisplayName": "eehqmsndwamzdairaqhmdy",
"isDeleted": true,
- "createdTimestamp": "meq",
- "updatedTimestamp": "msgfmjdneggbgtppqtymnygff",
- "serverType": "duutxr",
+ "createdTimestamp": "nlsuznhojownfmxd",
+ "updatedTimestamp": "ldyipyvypjdbasl",
+ "serverType": "yxtyqr",
"errors": [
{
- "message": "whzrtghfrhmuypkiway",
+ "message": "rlqnsu",
"messageParameters": {
- "key6922": "tlcuwdfzhhjxleeqtmlahxba"
+ "key736": "fuzukesrxdillaj"
},
- "applianceName": "lfxolxp",
- "id": 26,
- "code": "amyfkrkwvziaqwrzvreyscdgtscg",
- "possibleCauses": "jvstvosewxjvcqxmodmzx",
- "recommendedAction": "lkuzyfhosdyzbin",
- "severity": "lek",
- "summaryMessage": "tmrblehgylapcamanvr",
+ "applianceName": "llseidstennfoiltgflblxhfbj",
+ "id": 11,
+ "code": "hhdznmtaqhvhz",
+ "possibleCauses": "f",
+ "recommendedAction": "mcllhcihkorwqyaadzmqktukah",
+ "severity": "ke",
+ "summaryMessage": "kgxaaqsx",
"source": "RefreshFabricLayout",
- "updatedTimeStamp": "2023-08-21T05:00:01.013Z",
- "runAsAccountId": "drikcaihbjhhvzskywytzhhxmhlew",
+ "updatedTimeStamp": "2023-11-29T09:34:03.225Z",
+ "runAsAccountId": "ankwgtiuaxhfnqyiqmhwd",
"discoveryScope": "AppsAndRoles"
}
],
"applianceNames": [
- "xwcamabxukllishnmda"
+ "ri"
],
"hasErrors": true,
"provisioningState": "Created"
},
- "id": "xacqzbyikowv",
- "name": "ixddvmlrvrjl",
- "type": "czmbxesjdjpwdbzxhmvaerofo",
+ "id": "vltnlstcuywugqwbqeuoqukicsn",
+ "name": "sszngssjyckm",
+ "type": "esbubsuntgftwh",
"systemData": {
- "createdBy": "lguj",
+ "createdBy": "xoellpecudjqgxornwrldlwuu",
"createdByType": "User",
- "createdAt": "2023-08-21T04:59:22.848Z",
- "lastModifiedBy": "ljksfywnicbqrzrcqfk",
+ "createdAt": "2023-11-29T09:32:59.480Z",
+ "lastModifiedBy": "vopmszwqhxskyawwxkufcq",
"lastModifiedByType": "User",
- "lastModifiedAt": "2023-08-21T04:59:22.848Z"
+ "lastModifiedAt": "2023-11-29T09:32:59.480Z"
}
}
}
diff --git a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/WebApplicationsController_ListByWebAppSite_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/WebApplicationsController_ListByWebAppSite_MaximumSet_Gen.json
index eba738bd9417..e9dd7f3bbf85 100644
--- a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/WebApplicationsController_ListByWebAppSite_MaximumSet_Gen.json
+++ b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/examples/WebApplicationsController_ListByWebAppSite_MaximumSet_Gen.json
@@ -2,15 +2,15 @@
"title": "WebApplicationsController_ListByWebAppSite",
"operationId": "WebApplicationsController_ListByWebAppSite",
"parameters": {
- "subscriptionId": "B91B3C41-A3C4-4A9B-BEA9-936F1C33EA3F",
+ "subscriptionId": "F4A3C7D3-C4AB-4400-8931-E2DBA0E5DA34",
"resourceGroupName": "rgmigrate",
"api-version": "2023-06-06",
- "filter": "nyinjj",
- "top": "xvslji",
- "continuationToken": "lzamnulfqvnodclttpcnhppmh",
- "totalRecordCount": 14,
- "siteName": "6656UYYcr153hH08",
- "webAppSiteName": "uG666A30738Dyd3p"
+ "filter": "bjw",
+ "top": "bnmiivqzqgr",
+ "continuationToken": "bive",
+ "totalRecordCount": 29,
+ "siteName": "-E-y-E7-D14shBi7-30HH6-",
+ "webAppSiteName": "2F23-bB34SY58YV"
},
"responses": {
"200": {
@@ -18,95 +18,98 @@
"value": [
{
"properties": {
- "webServerId": "yicvyfflru",
- "webServerName": "pojoizyjhzkkeqapghwmi",
- "virtualPath": "hayhzlxlluftbjferwmaycpbhijvg",
- "physicalPath": "ppiiiva",
+ "webServerId": "ovsnwwlfdyyrvcpiedk",
+ "webServerName": "jqk",
+ "machineArmIds": [
+ "spcehdvdurbtkldlml"
+ ],
+ "virtualPath": "c",
+ "physicalPath": "jiycfsnchfmkcnpfwwhrou",
"bindings": [
{
- "protocol": "fngttkyb",
- "hostName": "qydghmqbbzveyutdofa",
- "port": "aanhmwhbtbpussdaepv",
- "ipAddress": "jcqyaawtidcuvngbcfolobguthvct"
+ "protocol": "mzvedcpco",
+ "hostName": "vrvzeewrdufdujrskwcrpzquabjs",
+ "port": "mfexwjtuqfdbghysemzxahzujg",
+ "ipAddress": "pdwukppcisy"
}
],
"frameworks": [
{
- "name": "ezgoydfudnxmprptlaaxi",
- "version": "wywzvpuowxaerwx"
+ "name": "nqvsgxfgajxdu",
+ "version": "sjuqzki"
}
],
"configurations": [
{
- "name": "zvsvrvngzmlcuflltnqafwsvpwxzfs",
- "filePath": "vljpocynvcjaka",
- "localFilePath": "wllg",
- "targetFilePath": "bzbhygsvdbb",
- "section": "v",
- "type": "nllbprrznbbkrkw",
+ "name": "fujapsbevanbtdqijc",
+ "filePath": "pnqnhvepc",
+ "localFilePath": "fazylclscoilzkzwqhyaeqjw",
+ "targetFilePath": "symewjmneejaaulniyivmzwowbq",
+ "section": "fwrxpwohoh",
+ "type": "pmuqrvifkjqguuknwvp",
"isDeploymentTimeEditable": true,
- "identifier": "kaogmxbzcjd"
+ "identifier": "kmungxntdzeuf"
}
],
"directories": [
{
- "id": "etzqzimqqiplkdc",
+ "id": "awnkpdks",
"isEditable": true,
"sourcePaths": [
- "sfucje"
+ "ojgkzhyzbylxukdfztkbtvxtnnfmvh"
],
- "localScratchPath": "htvqybdroepwfqiyeaprozhrpj",
- "mountPath": "ubtugdniedpvlihrfkwzphybdmlwl",
- "sourceSize": "uiyeofjwprdg"
+ "localScratchPath": "oqxpekgyx",
+ "mountPath": "imrbevkul",
+ "sourceSize": "uarzydjdouzasjnnx"
}
],
- "displayName": "hdhslocejisaasbcbnll",
+ "displayName": "obdpycnpabwvoda",
"tags": {
- "key606": "xoofzuvyidmspo"
+ "key1925": "kxdqicxdeifnbvon"
},
"staticFolders": [
- "qiuxualveyhw"
+ "zaqmqjxxbvemhxqxyyae"
],
- "machineDisplayName": "abssmn",
+ "machineDisplayName": "ynx",
"isDeleted": true,
- "createdTimestamp": "pxafvupclklugpvwcplofzdh",
- "updatedTimestamp": "n",
- "serverType": "czxdsahhwwxrvnkmhylbkhggpds",
+ "createdTimestamp": "vkpkawnrdwvuhrealallaaatdqq",
+ "updatedTimestamp": "yxmqvhshmmxppad",
+ "serverType": "tcduhtixeiizppfynuksqs",
"errors": [
{
- "message": "whzrtghfrhmuypkiway",
+ "message": "rlqnsu",
"messageParameters": {
- "key6922": "tlcuwdfzhhjxleeqtmlahxba"
+ "key736": "fuzukesrxdillaj"
},
- "applianceName": "lfxolxp",
- "id": 26,
- "code": "amyfkrkwvziaqwrzvreyscdgtscg",
- "possibleCauses": "jvstvosewxjvcqxmodmzx",
- "recommendedAction": "lkuzyfhosdyzbin",
- "severity": "lek",
- "summaryMessage": "tmrblehgylapcamanvr",
+ "applianceName": "llseidstennfoiltgflblxhfbj",
+ "id": 11,
+ "code": "hhdznmtaqhvhz",
+ "possibleCauses": "f",
+ "recommendedAction": "mcllhcihkorwqyaadzmqktukah",
+ "severity": "ke",
+ "summaryMessage": "kgxaaqsx",
"source": "RefreshFabricLayout",
- "updatedTimeStamp": "2023-08-21T05:00:01.013Z",
- "runAsAccountId": "drikcaihbjhhvzskywytzhhxmhlew",
+ "updatedTimeStamp": "2023-11-29T09:34:03.225Z",
+ "runAsAccountId": "ankwgtiuaxhfnqyiqmhwd",
"discoveryScope": "AppsAndRoles"
}
],
"applianceNames": [
- "nnmowqaii"
+ "lmkdudx"
],
"hasErrors": true,
"provisioningState": "Created"
},
- "id": "woopdrpkzqyuysjpnp",
- "name": "dnr",
- "type": "aumwmxvjdxyfcnboq",
+ "id": "lhxdvgzmliklnfgtmsjpgifs",
+ "name": "rhrligfkoeavfojlajorpbkfclbojb",
+ "type": "ntvnikfjduihltpoja",
"systemData": {
- "createdBy": "lguj",
+ "createdBy": "xoellpecudjqgxornwrldlwuu",
"createdByType": "User",
- "createdAt": "2023-08-21T04:59:22.848Z",
- "lastModifiedBy": "ljksfywnicbqrzrcqfk",
+ "createdAt": "2023-11-29T09:32:59.480Z",
+ "lastModifiedBy": "vopmszwqhxskyawwxkufcq",
"lastModifiedByType": "User",
- "lastModifiedAt": "2023-08-21T04:59:22.848Z"
+ "lastModifiedAt": "2023-11-29T09:32:59.480Z"
}
}
],
diff --git a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/migrate.json b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/migrate.json
index 3fe6325fdd53..4480e87c98e1 100644
--- a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/migrate.json
+++ b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2023-06-06/migrate.json
@@ -205,10 +205,10 @@
"paths": {
"/providers/Microsoft.OffAzure/operations": {
"get": {
+ "operationId": "Operations_List",
"tags": [
"Operations"
],
- "operationId": "Operations_List",
"description": "List the operations for the provider",
"parameters": [
{
@@ -244,10 +244,10 @@
},
"/subscriptions/{subscriptionId}/providers/Microsoft.OffAzure/hypervSites": {
"get": {
+ "operationId": "HypervSites_ListBySubscription",
"tags": [
"HypervSites"
],
- "operationId": "HypervSites_ListBySubscription",
"summary": "Get all hyperv sites.",
"description": "Get all the hyperv sites in the subscription.",
"parameters": [
@@ -287,10 +287,10 @@
},
"/subscriptions/{subscriptionId}/providers/Microsoft.OffAzure/importSites": {
"get": {
+ "operationId": "ImportSitesController_ListBySubscription",
"tags": [
"ImportSitesController"
],
- "operationId": "ImportSitesController_ListBySubscription",
"description": "List ImportSite resources by subscription ID",
"parameters": [
{
@@ -329,10 +329,10 @@
},
"/subscriptions/{subscriptionId}/providers/Microsoft.OffAzure/masterSites": {
"get": {
+ "operationId": "MasterSitesController_ListBySubscription",
"tags": [
"MasterSitesController"
],
- "operationId": "MasterSitesController_ListBySubscription",
"summary": "Get all the sites in the subscription.",
"description": "List MasterSite resources by subscription ID",
"parameters": [
@@ -372,10 +372,10 @@
},
"/subscriptions/{subscriptionId}/providers/Microsoft.OffAzure/serverSites": {
"get": {
+ "operationId": "ServerSitesController_ListBySubscription",
"tags": [
"ServerSitesController"
],
- "operationId": "ServerSitesController_ListBySubscription",
"description": "List ServerSiteResource resources by subscription ID",
"parameters": [
{
@@ -414,10 +414,10 @@
},
"/subscriptions/{subscriptionId}/providers/Microsoft.OffAzure/vmwareSites": {
"get": {
+ "operationId": "SitesController_ListBySubscription",
"tags": [
"SitesController"
],
- "operationId": "SitesController_ListBySubscription",
"summary": "Get all vmware sites.",
"description": "Get all the vmware sites in the subscription.",
"parameters": [
@@ -457,10 +457,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites": {
"get": {
+ "operationId": "HypervSites_ListByResourceGroup",
"tags": [
"HypervSites"
],
- "operationId": "HypervSites_ListByResourceGroup",
"summary": "Get all hyperv sites.",
"description": "Get all the hyperv sites in the subscription.",
"parameters": [
@@ -503,10 +503,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}": {
"get": {
+ "operationId": "HypervSitesController_Get",
"tags": [
"HypervSitesController"
],
- "operationId": "HypervSitesController_Get",
"description": "Get a HypervSite",
"parameters": [
{
@@ -521,8 +521,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -551,10 +551,10 @@
}
},
"put": {
+ "operationId": "HypervSitesController_Create",
"tags": [
"HypervSitesController"
],
- "operationId": "HypervSitesController_Create",
"description": "Create a HypervSite",
"parameters": [
{
@@ -569,16 +569,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "Resource create parameters.",
+ "required": true,
"schema": {
"$ref": "#/definitions/HypervSite"
}
@@ -593,15 +593,15 @@
},
"201": {
"description": "ARM create operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/HypervSite"
+ },
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
}
- },
- "schema": {
- "$ref": "#/definitions/HypervSite"
}
},
"default": {
@@ -621,10 +621,10 @@
}
},
"patch": {
+ "operationId": "HypervSitesController_Update",
"tags": [
"HypervSitesController"
],
- "operationId": "HypervSitesController_Update",
"description": "Update a HypervSite",
"parameters": [
{
@@ -639,16 +639,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The resource properties to be updated.",
+ "required": true,
"schema": {
"$ref": "#/definitions/HypervSiteUpdate"
}
@@ -678,10 +678,10 @@
}
},
"delete": {
+ "operationId": "HypervSitesController_Delete",
"tags": [
"HypervSitesController"
],
- "operationId": "HypervSitesController_Delete",
"description": "Delete a HypervSite",
"parameters": [
{
@@ -696,8 +696,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -728,10 +728,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/clientGroupMembers": {
"post": {
+ "operationId": "HypervDependencyMapController_ClientGroupMembers",
"tags": [
"HypervDependencyMapController"
],
- "operationId": "HypervDependencyMapController_ClientGroupMembers",
"description": "API to list client group members for the selected client group.",
"parameters": [
{
@@ -746,16 +746,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "mapRequest",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/DependencyMapServiceMapextensionsClientGroupMembersRequest"
}
@@ -765,22 +765,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -807,10 +805,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/clusters": {
"get": {
+ "operationId": "HypervClusterController_ListByHypervSite",
"tags": [
"HypervClusterController"
],
- "operationId": "HypervClusterController_ListByHypervSite",
"description": "List HypervCluster resources by HypervSite",
"parameters": [
{
@@ -825,15 +823,15 @@
{
"name": "filter",
"in": "query",
- "required": false,
"description": "filter query",
+ "required": false,
"type": "string"
},
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -867,10 +865,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/clusters/{clusterName}": {
"get": {
+ "operationId": "HypervClusterController_GetCluster",
"tags": [
"HypervClusterController"
],
- "operationId": "HypervClusterController_GetCluster",
"description": "Method to get a Hyper-V cluster.",
"parameters": [
{
@@ -885,16 +883,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "clusterName",
"in": "path",
- "required": true,
"description": " Cluster ARM name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -923,10 +921,10 @@
}
},
"put": {
+ "operationId": "HypervClusterController_CreateCluster",
"tags": [
"HypervClusterController"
],
- "operationId": "HypervClusterController_CreateCluster",
"description": "Method to create or update a Hyper-V cluster.",
"parameters": [
{
@@ -941,24 +939,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "clusterName",
"in": "path",
- "required": true,
"description": " Cluster ARM name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "Resource create parameters.",
+ "required": true,
"schema": {
"$ref": "#/definitions/HypervCluster"
}
@@ -973,15 +971,15 @@
},
"201": {
"description": "ARM create operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/HypervCluster"
+ },
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
}
- },
- "schema": {
- "$ref": "#/definitions/HypervCluster"
}
},
"default": {
@@ -1005,10 +1003,10 @@
}
},
"delete": {
+ "operationId": "HypervClusterController_Delete",
"tags": [
"HypervClusterController"
],
- "operationId": "HypervClusterController_Delete",
"description": "Delete a HypervCluster",
"parameters": [
{
@@ -1023,16 +1021,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "clusterName",
"in": "path",
- "required": true,
"description": " Cluster ARM name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -1063,10 +1061,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/computeErrorSummary": {
"post": {
+ "operationId": "HypervSitesController_ComputeErrorSummary",
"tags": [
"HypervSitesController"
],
- "operationId": "HypervSitesController_ComputeErrorSummary",
"description": "Method to get site error summary.",
"parameters": [
{
@@ -1081,20 +1079,18 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
}
],
@@ -1124,10 +1120,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/computeusage": {
"post": {
+ "operationId": "HypervSitesController_Computeusage",
"tags": [
"HypervSitesController"
],
- "operationId": "HypervSitesController_Computeusage",
"description": "Get a hyperv site usage.",
"parameters": [
{
@@ -1142,20 +1138,18 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
}
],
@@ -1185,10 +1179,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/exportApplications": {
"post": {
+ "operationId": "HypervSitesController_ExportApplications",
"tags": [
"HypervSitesController"
],
- "operationId": "HypervSitesController_ExportApplications",
"description": "Method to generate report containing\r\n machine and the deep discovery of the application installed in the machine.",
"parameters": [
{
@@ -1203,20 +1197,18 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
}
],
@@ -1224,22 +1216,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -1266,10 +1256,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/exportDependencies": {
"post": {
+ "operationId": "HypervDependencyMapController_ExportDependencies",
"tags": [
"HypervDependencyMapController"
],
- "operationId": "HypervDependencyMapController_ExportDependencies",
"description": "API to generate report containing agentless dependencies.",
"parameters": [
{
@@ -1284,16 +1274,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "requestBody",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/DependencyMapServiceMapextensionsExportDependenciesRequest"
}
@@ -1303,22 +1293,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -1345,10 +1333,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/exportMachineErrors": {
"post": {
+ "operationId": "HypervSitesController_ExportMachineErrors",
"tags": [
"HypervSitesController"
],
- "operationId": "HypervSitesController_ExportMachineErrors",
"description": "Method to generate report containing \r\n machine and the errors encountered during guest discovery of the machine.",
"parameters": [
{
@@ -1363,16 +1351,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/ExportMachineErrorsRequest"
}
@@ -1382,22 +1370,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -1424,10 +1410,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/generateCoarseMap": {
"post": {
+ "operationId": "HypervDependencyMapController_GenerateCoarseMap",
"tags": [
"HypervDependencyMapController"
],
- "operationId": "HypervDependencyMapController_GenerateCoarseMap",
"description": "API to generate coarse map for the list of machines.",
"parameters": [
{
@@ -1442,16 +1428,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "mapRequest",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/DependencyMapServiceMapextensionsScopeMapRequest"
}
@@ -1461,22 +1447,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -1503,10 +1487,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/generateDetailedMap": {
"post": {
+ "operationId": "HypervDependencyMapController_GenerateDetailedMap",
"tags": [
"HypervDependencyMapController"
],
- "operationId": "HypervDependencyMapController_GenerateDetailedMap",
"description": "API to generate detailed map for a selected machine.",
"parameters": [
{
@@ -1521,16 +1505,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "mapRequest",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/DependencyMapServiceMapextensionsSingleMachineDetailedMapRequest"
}
@@ -1540,22 +1524,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -1582,10 +1564,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/hosts": {
"get": {
+ "operationId": "HypervHostController_ListByHypervSite",
"tags": [
"HypervHostController"
],
- "operationId": "HypervHostController_ListByHypervSite",
"description": "List HypervHost resources by HypervSite",
"parameters": [
{
@@ -1600,15 +1582,15 @@
{
"name": "filter",
"in": "query",
- "required": false,
"description": "filter query",
+ "required": false,
"type": "string"
},
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -1642,10 +1624,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/hosts/{hostName}": {
"get": {
+ "operationId": "HypervHostController_Get",
"tags": [
"HypervHostController"
],
- "operationId": "HypervHostController_Get",
"description": "Get a HypervHost",
"parameters": [
{
@@ -1660,16 +1642,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "hostName",
"in": "path",
- "required": true,
"description": " Host name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -1698,10 +1680,10 @@
}
},
"put": {
+ "operationId": "HypervHostController_Create",
"tags": [
"HypervHostController"
],
- "operationId": "HypervHostController_Create",
"description": "Create a HypervHost",
"parameters": [
{
@@ -1716,24 +1698,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "hostName",
"in": "path",
- "required": true,
"description": " Host name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "Resource create parameters.",
+ "required": true,
"schema": {
"$ref": "#/definitions/HypervHost"
}
@@ -1748,15 +1730,15 @@
},
"201": {
"description": "ARM create operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/HypervHost"
+ },
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
}
- },
- "schema": {
- "$ref": "#/definitions/HypervHost"
}
},
"default": {
@@ -1780,10 +1762,10 @@
}
},
"delete": {
+ "operationId": "HypervHostController_Delete",
"tags": [
"HypervHostController"
],
- "operationId": "HypervHostController_Delete",
"description": "Delete a HypervHost",
"parameters": [
{
@@ -1798,16 +1780,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "hostName",
"in": "path",
- "required": true,
"description": " Host name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -1820,13 +1802,13 @@
"description": "Resource deletion accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -1856,10 +1838,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/jobs": {
"get": {
+ "operationId": "HypervJobs_ListByHypervSite",
"tags": [
"HypervJobs"
],
- "operationId": "HypervJobs_ListByHypervSite",
"description": "List HypervJob resources by HypervSite",
"parameters": [
{
@@ -1874,8 +1856,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -1909,10 +1891,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/jobs/{jobName}": {
"get": {
+ "operationId": "HypervJobs_Get",
"tags": [
"HypervJobs"
],
- "operationId": "HypervJobs_Get",
"description": "Get a HypervJob",
"parameters": [
{
@@ -1927,16 +1909,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "jobName",
"in": "path",
- "required": true,
"description": " Job name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -1967,10 +1949,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/listHealthSummary": {
"post": {
+ "operationId": "HypervSitesController_ListHealthSummary",
"tags": [
"HypervSitesController"
],
- "operationId": "HypervSitesController_ListHealthSummary",
"description": "Method to get site health summary.",
"parameters": [
{
@@ -1985,8 +1967,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -2017,10 +1999,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/machines": {
"get": {
+ "operationId": "HypervMachinesController_ListByHypervSite",
"tags": [
"HypervMachinesController"
],
- "operationId": "HypervMachinesController_ListByHypervSite",
"description": "List HypervMachine resources by HypervSite",
"parameters": [
{
@@ -2035,38 +2017,38 @@
{
"name": "filter",
"in": "query",
- "required": false,
"description": "filter query",
+ "required": false,
"type": "string"
},
{
"name": "top",
"in": "query",
- "required": false,
"description": "page size query",
+ "required": false,
"type": "integer",
"format": "int32"
},
{
"name": "continuationToken",
"in": "query",
- "required": false,
"description": "Optional parameter for continuation token.",
+ "required": false,
"type": "string"
},
{
"name": "totalRecordCount",
"in": "query",
- "required": false,
"description": "Total count of machines in the given site.",
+ "required": false,
"type": "integer",
"format": "int32"
},
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -2100,10 +2082,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/machines/{machineName}": {
"get": {
+ "operationId": "HypervMachinesController_Get",
"tags": [
"HypervMachinesController"
],
- "operationId": "HypervMachinesController_Get",
"description": "Get a HypervMachine",
"parameters": [
{
@@ -2118,16 +2100,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "machineName",
"in": "path",
- "required": true,
"description": " HypervMachine name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -2156,10 +2138,10 @@
}
},
"patch": {
+ "operationId": "HypervMachinesController_Update",
"tags": [
"HypervMachinesController"
],
- "operationId": "HypervMachinesController_Update",
"description": "Update a HypervMachine",
"parameters": [
{
@@ -2174,24 +2156,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "machineName",
"in": "path",
- "required": true,
"description": " HypervMachine name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The resource properties to be updated.",
+ "required": true,
"schema": {
"$ref": "#/definitions/HypervMachineUpdate"
}
@@ -2221,13 +2203,13 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/machines/{machineName}/softwareinventories": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/machines/{machineName}/softwareInventories/{default}": {
"get": {
+ "operationId": "HypervSoftwareInventoriesController_GetMachineSoftwareInventory",
"tags": [
"HypervSoftwareInventoriesController"
],
- "operationId": "HypervSoftwareInventoriesController_ListByHypervMachine",
- "description": "List HypervVmSoftwareInventory resources by HypervMachine",
+ "description": "Method to get a machines software inventory like applications and roles.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
@@ -2241,25 +2223,46 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "machineName",
"in": "path",
- "required": true,
"description": " HypervMachine name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
+ },
+ {
+ "name": "default",
+ "in": "path",
+ "description": "Default value.",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-enum": {
+ "name": "Default",
+ "modelAsString": true,
+ "values": [
+ {
+ "name": "default",
+ "value": "default",
+ "description": "default value."
+ }
+ ]
+ }
}
],
"responses": {
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "$ref": "#/definitions/HypervVmSoftwareInventoryListResult"
+ "$ref": "#/definitions/HypervVmSoftwareInventory"
}
},
"default": {
@@ -2269,26 +2272,23 @@
}
}
},
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
"x-ms-examples": {
- "HypervSoftwareInventoriesController_ListByHypervMachine_MaximumSet_Gen": {
- "$ref": "./examples/HypervSoftwareInventoriesController_ListByHypervMachine_MaximumSet_Gen.json"
+ "HypervSoftwareInventoriesController_GetMachineSoftwareInventory_MaximumSet_Gen": {
+ "$ref": "./examples/HypervSoftwareInventoriesController_GetMachineSoftwareInventory_MaximumSet_Gen.json"
},
- "HypervSoftwareInventoriesController_ListByHypervMachine_MinimumSet_Gen": {
- "$ref": "./examples/HypervSoftwareInventoriesController_ListByHypervMachine_MinimumSet_Gen.json"
+ "HypervSoftwareInventoriesController_GetMachineSoftwareInventory_MinimumSet_Gen": {
+ "$ref": "./examples/HypervSoftwareInventoriesController_GetMachineSoftwareInventory_MinimumSet_Gen.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/machines/{machineName}/softwareInventories/{default}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/machines/{machineName}/softwareinventories": {
"get": {
+ "operationId": "HypervSoftwareInventoriesController_ListByHypervMachine",
"tags": [
"HypervSoftwareInventoriesController"
],
- "operationId": "HypervSoftwareInventoriesController_GetMachineSoftwareInventory",
- "description": "Method to get a machines software inventory like applications and roles.",
+ "description": "List HypervVmSoftwareInventory resources by HypervMachine",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
@@ -2302,47 +2302,26 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "machineName",
"in": "path",
- "required": true,
"description": " HypervMachine name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
- },
- {
- "name": "default",
- "in": "path",
- "required": true,
- "description": "Default value.",
- "type": "string",
- "enum": [
- "default"
- ],
- "x-ms-enum": {
- "name": "Default",
- "modelAsString": true,
- "values": [
- {
- "name": "default",
- "value": "default",
- "description": "default value."
- }
- ]
- }
- }
- ],
- "responses": {
- "200": {
- "description": "ARM operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/HypervVmSoftwareInventory"
- }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/HypervVmSoftwareInventoryListResult"
+ }
},
"default": {
"description": "An unexpected error response.",
@@ -2351,22 +2330,25 @@
}
}
},
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
"x-ms-examples": {
- "HypervSoftwareInventoriesController_GetMachineSoftwareInventory_MaximumSet_Gen": {
- "$ref": "./examples/HypervSoftwareInventoriesController_GetMachineSoftwareInventory_MaximumSet_Gen.json"
+ "HypervSoftwareInventoriesController_ListByHypervMachine_MaximumSet_Gen": {
+ "$ref": "./examples/HypervSoftwareInventoriesController_ListByHypervMachine_MaximumSet_Gen.json"
},
- "HypervSoftwareInventoriesController_GetMachineSoftwareInventory_MinimumSet_Gen": {
- "$ref": "./examples/HypervSoftwareInventoriesController_GetMachineSoftwareInventory_MinimumSet_Gen.json"
+ "HypervSoftwareInventoriesController_ListByHypervMachine_MinimumSet_Gen": {
+ "$ref": "./examples/HypervSoftwareInventoriesController_ListByHypervMachine_MinimumSet_Gen.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/operationsStatus/{operationStatusName}": {
"get": {
+ "operationId": "HypervOperationsStatusController_GetHypervOperationsStatus",
"tags": [
"HypervOperationsStatusController"
],
- "operationId": "HypervOperationsStatusController_GetHypervOperationsStatus",
"description": "Method to get operation status.",
"parameters": [
{
@@ -2381,16 +2363,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "operationStatusName",
"in": "path",
- "required": true,
"description": "Operation status Arm Name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -2421,10 +2403,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/runAsAccounts": {
"get": {
+ "operationId": "HypervRunAsAccountsController_ListByHypervSite",
"tags": [
"HypervRunAsAccountsController"
],
- "operationId": "HypervRunAsAccountsController_ListByHypervSite",
"description": "List HypervRunAsAccountResource resources by HypervSite",
"parameters": [
{
@@ -2439,8 +2421,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -2474,10 +2456,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/runAsAccounts/{accountName}": {
"get": {
+ "operationId": "HypervRunAsAccountsController_Get",
"tags": [
"HypervRunAsAccountsController"
],
- "operationId": "HypervRunAsAccountsController_Get",
"description": "Get a HypervRunAsAccountResource",
"parameters": [
{
@@ -2492,16 +2474,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "accountName",
"in": "path",
- "required": true,
"description": " RunAsAccounts name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -2532,10 +2514,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/serverGroupMembers": {
"post": {
+ "operationId": "HypervDependencyMapController_ServerGroupMembers",
"tags": [
"HypervDependencyMapController"
],
- "operationId": "HypervDependencyMapController_ServerGroupMembers",
"description": "API to list server group members for the selected server group.",
"parameters": [
{
@@ -2550,16 +2532,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "mapRequest",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/DependencyMapServiceMapextensionsServerGroupMembersRequest"
}
@@ -2569,22 +2551,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -2611,10 +2591,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/summary": {
"post": {
+ "operationId": "HypervSitesController_Summary",
"tags": [
"HypervSitesController"
],
- "operationId": "HypervSitesController_Summary",
"description": "Method to get site usage.",
"parameters": [
{
@@ -2629,8 +2609,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -2661,10 +2641,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/updateDependencyMapStatus": {
"post": {
+ "operationId": "HypervDependencyMapController_UpdateDependencyMapStatus",
"tags": [
"HypervDependencyMapController"
],
- "operationId": "HypervDependencyMapController_UpdateDependencyMapStatus",
"description": "Method to enable disable dependency map status for machines\r\n in a site.",
"parameters": [
{
@@ -2679,16 +2659,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "mapRequest",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/UpdateMachineDepMapStatus"
}
@@ -2698,22 +2678,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -2740,10 +2718,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/updateProperties": {
"post": {
+ "operationId": "HypervMachinesController_UpdateProperties",
"tags": [
"HypervMachinesController"
],
- "operationId": "HypervMachinesController_UpdateProperties",
"description": "Method to update custom properties for HYPERV machines\r\n in a site.",
"parameters": [
{
@@ -2758,16 +2736,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "metaData",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/MachineMetadataCollection"
}
@@ -2777,22 +2755,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -2819,10 +2795,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites": {
"get": {
+ "operationId": "ImportSitesController_ListByResourceGroup",
"tags": [
"ImportSitesController"
],
- "operationId": "ImportSitesController_ListByResourceGroup",
"description": "Get all import sites.",
"parameters": [
{
@@ -2864,10 +2840,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}": {
"get": {
+ "operationId": "ImportSitesController_Get",
"tags": [
"ImportSitesController"
],
- "operationId": "ImportSitesController_Get",
"description": "Get a ImportSite",
"parameters": [
{
@@ -2882,8 +2858,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -2912,10 +2888,10 @@
}
},
"put": {
+ "operationId": "ImportSitesController_Create",
"tags": [
"ImportSitesController"
],
- "operationId": "ImportSitesController_Create",
"description": "Create a ImportSite",
"parameters": [
{
@@ -2930,16 +2906,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "Resource create parameters.",
+ "required": true,
"schema": {
"$ref": "#/definitions/ImportSite"
}
@@ -2954,15 +2930,15 @@
},
"201": {
"description": "ARM create operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ImportSite"
+ },
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
}
- },
- "schema": {
- "$ref": "#/definitions/ImportSite"
}
},
"default": {
@@ -2982,10 +2958,10 @@
}
},
"patch": {
+ "operationId": "ImportSitesController_Update",
"tags": [
"ImportSitesController"
],
- "operationId": "ImportSitesController_Update",
"description": "Update a ImportSite",
"parameters": [
{
@@ -3000,16 +2976,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The resource properties to be updated.",
+ "required": true,
"schema": {
"$ref": "#/definitions/ImportSiteUpdate"
}
@@ -3039,10 +3015,10 @@
}
},
"delete": {
+ "operationId": "ImportSitesController_Delete",
"tags": [
"ImportSitesController"
],
- "operationId": "ImportSitesController_Delete",
"description": "Delete a ImportSite",
"parameters": [
{
@@ -3057,8 +3033,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -3089,10 +3065,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/deleteImportedMachines": {
"post": {
+ "operationId": "ImportSitesController_DeleteImportedMachines",
"tags": [
"ImportSitesController"
],
- "operationId": "ImportSitesController_DeleteImportedMachines",
"description": "Deletes the imported machines for site.",
"parameters": [
{
@@ -3107,20 +3083,18 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
}
],
@@ -3150,10 +3124,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/deleteJobs": {
"get": {
+ "operationId": "ImportJobsController_ListDeletejobs",
"tags": [
"ImportJobsController"
],
- "operationId": "ImportJobsController_ListDeletejobs",
"description": "Method to get all delete import machines job for the given site.",
"parameters": [
{
@@ -3168,8 +3142,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -3203,10 +3177,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/deleteJobs/{jobName}": {
"get": {
+ "operationId": "ImportJobsController_GetDeletejob",
"tags": [
"ImportJobsController"
],
- "operationId": "ImportJobsController_GetDeletejob",
"description": "Gets the delete imported machines job with the given job name.",
"parameters": [
{
@@ -3221,16 +3195,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "jobName",
"in": "path",
- "required": true,
"description": "Job Arm Name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -3261,10 +3235,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/exportJobs": {
"get": {
+ "operationId": "ImportJobsController_ListExportjobs",
"tags": [
"ImportJobsController"
],
- "operationId": "ImportJobsController_ListExportjobs",
"description": "Method to get all export import machines job for the given site.",
"parameters": [
{
@@ -3279,8 +3253,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -3314,10 +3288,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/exportJobs/{jobName}": {
"get": {
+ "operationId": "ImportJobsController_GetExportjob",
"tags": [
"ImportJobsController"
],
- "operationId": "ImportJobsController_GetExportjob",
"description": "Gets the export imported machines job with the given job name.",
"parameters": [
{
@@ -3332,16 +3306,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "jobName",
"in": "path",
- "required": true,
"description": "Job Arm Name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -3372,10 +3346,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/exportUri": {
"post": {
+ "operationId": "ImportSitesController_ExportUri",
"tags": [
"ImportSitesController"
],
- "operationId": "ImportSitesController_ExportUri",
"description": "Method to export a site.",
"parameters": [
{
@@ -3390,16 +3364,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/SasUriResponse"
}
@@ -3431,10 +3405,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/importJobs": {
"get": {
+ "operationId": "ImportJobsController_ListImportjobs",
"tags": [
"ImportJobsController"
],
- "operationId": "ImportJobsController_ListImportjobs",
"description": "Method to get all import machines job for the given site.",
"parameters": [
{
@@ -3449,8 +3423,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -3484,10 +3458,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/importJobs/{jobName}": {
"get": {
+ "operationId": "ImportJobsController_GetImportjob",
"tags": [
"ImportJobsController"
],
- "operationId": "ImportJobsController_GetImportjob",
"description": "Gets the import job with the given job name.",
"parameters": [
{
@@ -3502,16 +3476,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "jobName",
"in": "path",
- "required": true,
"description": "Job Arm Name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -3542,10 +3516,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/importUri": {
"post": {
+ "operationId": "ImportSitesController_ImportUri",
"tags": [
"ImportSitesController"
],
- "operationId": "ImportSitesController_ImportUri",
"description": "Method to import a site.",
"parameters": [
{
@@ -3560,16 +3534,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/SasUriResponse"
}
@@ -3601,10 +3575,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/jobs": {
"get": {
+ "operationId": "ImportJobsController_ListByImportSite",
"tags": [
"ImportJobsController"
],
- "operationId": "ImportJobsController_ListByImportSite",
"description": "List ImportJob resources by ImportSite",
"parameters": [
{
@@ -3619,8 +3593,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -3654,10 +3628,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/jobs/{jobName}": {
"get": {
+ "operationId": "ImportJobsController_Get",
"tags": [
"ImportJobsController"
],
- "operationId": "ImportJobsController_Get",
"description": "Get a ImportJob",
"parameters": [
{
@@ -3672,16 +3646,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "jobName",
"in": "path",
- "required": true,
"description": " Jobs name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -3712,10 +3686,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/machines": {
"get": {
+ "operationId": "ImportMachinesController_ListByImportSite",
"tags": [
"ImportMachinesController"
],
- "operationId": "ImportMachinesController_ListByImportSite",
"description": "List ImportMachine resources by ImportSite",
"parameters": [
{
@@ -3730,37 +3704,37 @@
{
"name": "filter",
"in": "query",
- "required": false,
"description": "filter query",
+ "required": false,
"type": "string"
},
{
"name": "top",
"in": "query",
- "required": false,
"description": "page size query",
+ "required": false,
"type": "string"
},
{
"name": "continuationToken",
"in": "query",
- "required": false,
"description": "Optional parameter for continuation token.",
+ "required": false,
"type": "string"
},
{
"name": "totalRecordCount",
"in": "query",
- "required": false,
"description": "Total count of machines in the given site.",
+ "required": false,
"type": "integer",
"format": "int32"
},
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -3794,10 +3768,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/machines/{machineName}": {
"get": {
+ "operationId": "ImportMachinesController_Get",
"tags": [
"ImportMachinesController"
],
- "operationId": "ImportMachinesController_Get",
"description": "Get a ImportMachine",
"parameters": [
{
@@ -3812,16 +3786,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "machineName",
"in": "path",
- "required": true,
"description": "Machine name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -3850,10 +3824,10 @@
}
},
"delete": {
+ "operationId": "ImportMachinesController_Delete",
"tags": [
"ImportMachinesController"
],
- "operationId": "ImportMachinesController_Delete",
"description": "Delete a ImportMachine",
"parameters": [
{
@@ -3868,16 +3842,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "machineName",
"in": "path",
- "required": true,
"description": "Machine name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -3908,10 +3882,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites": {
"get": {
+ "operationId": "MasterSitesController_ListByResourceGroup",
"tags": [
"MasterSitesController"
],
- "operationId": "MasterSitesController_ListByResourceGroup",
"summary": "Get all sites.",
"description": "Get all the sites in the resource group.",
"parameters": [
@@ -3954,10 +3928,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}": {
"get": {
+ "operationId": "MasterSitesController_Get",
"tags": [
"MasterSitesController"
],
- "operationId": "MasterSitesController_Get",
"summary": "Method to get a master site.",
"description": "Get a MasterSite",
"parameters": [
@@ -3973,8 +3947,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -4003,10 +3977,10 @@
}
},
"put": {
+ "operationId": "MasterSitesController_Create",
"tags": [
"MasterSitesController"
],
- "operationId": "MasterSitesController_Create",
"description": "Method to create or update a site.",
"parameters": [
{
@@ -4021,16 +3995,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "Resource create parameters.",
+ "required": true,
"schema": {
"$ref": "#/definitions/MasterSite"
}
@@ -4045,15 +4019,15 @@
},
"201": {
"description": "ARM create operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/MasterSite"
+ },
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
}
- },
- "schema": {
- "$ref": "#/definitions/MasterSite"
}
},
"default": {
@@ -4076,12 +4050,12 @@
}
}
},
- "delete": {
+ "patch": {
+ "operationId": "MasterSitesController_Update",
"tags": [
"MasterSitesController"
],
- "operationId": "MasterSitesController_Delete",
- "description": "Method to delete a site.",
+ "description": "Method to update an existing site.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
@@ -4095,18 +4069,41 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
+ },
+ {
+ "name": "properties",
+ "in": "body",
+ "description": "The resource properties to be updated.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MasterSiteUpdate"
+ }
}
],
"responses": {
"200": {
- "description": "Resource deleted successfully."
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/MasterSite"
+ }
},
- "204": {
- "description": "Resource deleted successfully."
+ "202": {
+ "description": "Resource update request 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."
+ }
+ }
},
"default": {
"description": "An unexpected error response.",
@@ -4115,21 +4112,25 @@
}
}
},
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-long-running-operation": true,
"x-ms-examples": {
- "MasterSitesController_Delete_MaximumSet_Gen": {
- "$ref": "./examples/MasterSitesController_Delete_MaximumSet_Gen.json"
+ "MasterSitesController_Update_MaximumSet_Gen": {
+ "$ref": "./examples/MasterSitesController_Update_MaximumSet_Gen.json"
},
- "MasterSitesController_Delete_MinimumSet_Gen": {
- "$ref": "./examples/MasterSitesController_Delete_MinimumSet_Gen.json"
+ "MasterSitesController_Update_MinimumSet_Gen": {
+ "$ref": "./examples/MasterSitesController_Update_MinimumSet_Gen.json"
}
}
},
- "patch": {
+ "delete": {
+ "operationId": "MasterSitesController_Delete",
"tags": [
"MasterSitesController"
],
- "operationId": "MasterSitesController_Update",
- "description": "Method to update an existing site.",
+ "description": "Method to delete a site.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
@@ -4143,41 +4144,18 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
- },
- {
- "name": "properties",
- "in": "body",
- "required": true,
- "description": "The resource properties to be updated.",
- "schema": {
- "$ref": "#/definitions/MasterSiteUpdate"
- }
}
],
"responses": {
"200": {
- "description": "ARM operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/MasterSite"
- }
+ "description": "Resource deleted successfully."
},
- "202": {
- "description": "Resource update request accepted.",
- "headers": {
- "Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
- "type": "integer",
- "format": "int32"
- },
- "Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
- }
- }
+ "204": {
+ "description": "Resource deleted successfully."
},
"default": {
"description": "An unexpected error response.",
@@ -4186,26 +4164,22 @@
}
}
},
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- },
- "x-ms-long-running-operation": true,
"x-ms-examples": {
- "MasterSitesController_Update_MaximumSet_Gen": {
- "$ref": "./examples/MasterSitesController_Update_MaximumSet_Gen.json"
+ "MasterSitesController_Delete_MaximumSet_Gen": {
+ "$ref": "./examples/MasterSitesController_Delete_MaximumSet_Gen.json"
},
- "MasterSitesController_Update_MinimumSet_Gen": {
- "$ref": "./examples/MasterSitesController_Update_MinimumSet_Gen.json"
+ "MasterSitesController_Delete_MinimumSet_Gen": {
+ "$ref": "./examples/MasterSitesController_Delete_MinimumSet_Gen.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/errorSummary": {
"post": {
+ "operationId": "MasterSitesController_ErrorSummary",
"tags": [
"MasterSitesController"
],
- "operationId": "MasterSitesController_ErrorSummary",
"description": "Method to get error summary from master site for an appliance.",
"parameters": [
{
@@ -4220,16 +4194,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/ErrorSummaryRequest"
}
@@ -4261,10 +4235,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/operationsStatus/{operationStatusName}": {
"get": {
+ "operationId": "MasterSitesOperationsStatusController_GetVmwareOperationStatus",
"tags": [
"MasterSitesOperationsStatusController"
],
- "operationId": "MasterSitesOperationsStatusController_GetVmwareOperationStatus",
"description": "A operation status resource belonging to a master site resource.",
"parameters": [
{
@@ -4279,16 +4253,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "operationStatusName",
"in": "path",
- "required": true,
"description": "Operation status Arm Name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -4319,10 +4293,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/privateEndpointConnections": {
"get": {
+ "operationId": "PrivateEndpointConnectionController_ListByMasterSite",
"tags": [
"PrivateEndpointConnectionController"
],
- "operationId": "PrivateEndpointConnectionController_ListByMasterSite",
"description": "Gets the private link resource.",
"parameters": [
{
@@ -4337,8 +4311,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -4372,10 +4346,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/privateEndpointConnections/{peConnectionName}": {
"get": {
+ "operationId": "PrivateEndpointConnectionController_Get",
"tags": [
"PrivateEndpointConnectionController"
],
- "operationId": "PrivateEndpointConnectionController_Get",
"description": "Gets the private link resource.",
"parameters": [
{
@@ -4390,16 +4364,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "peConnectionName",
"in": "path",
- "required": true,
"description": " Private link resource name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -4427,12 +4401,12 @@
}
}
},
- "delete": {
+ "put": {
+ "operationId": "PrivateEndpointConnectionController_Create",
"tags": [
"PrivateEndpointConnectionController"
],
- "operationId": "PrivateEndpointConnectionController_Delete",
- "description": "Deletes the private link resource.",
+ "description": "Gets the private link resource.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
@@ -4446,26 +4420,48 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "peConnectionName",
"in": "path",
- "required": true,
"description": " Private link resource name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Resource create parameters.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
}
],
"responses": {
"200": {
- "description": "Resource deleted successfully."
+ "description": "ARM update operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
},
- "204": {
- "description": "Resource deleted successfully."
+ "201": {
+ "description": "ARM create operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ },
+ "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.",
@@ -4475,20 +4471,20 @@
}
},
"x-ms-examples": {
- "PrivateEndpointConnectionController_Delete_MaximumSet_Gen": {
- "$ref": "./examples/PrivateEndpointConnectionController_Delete_MaximumSet_Gen.json"
+ "PrivateEndpointConnectionController_Create_MaximumSet_Gen": {
+ "$ref": "./examples/PrivateEndpointConnectionController_Create_MaximumSet_Gen.json"
},
- "PrivateEndpointConnectionController_Delete_MinimumSet_Gen": {
- "$ref": "./examples/PrivateEndpointConnectionController_Delete_MinimumSet_Gen.json"
+ "PrivateEndpointConnectionController_Create_MinimumSet_Gen": {
+ "$ref": "./examples/PrivateEndpointConnectionController_Create_MinimumSet_Gen.json"
}
}
},
- "put": {
+ "delete": {
+ "operationId": "PrivateEndpointConnectionController_Delete",
"tags": [
"PrivateEndpointConnectionController"
],
- "operationId": "PrivateEndpointConnectionController_Create",
- "description": "Gets the private link resource.",
+ "description": "Deletes the private link resource.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
@@ -4502,48 +4498,26 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "peConnectionName",
"in": "path",
- "required": true,
"description": " Private link resource name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
- },
- {
- "name": "body",
- "in": "body",
- "required": true,
- "description": "Resource create parameters.",
- "schema": {
- "$ref": "#/definitions/PrivateEndpointConnection"
- }
}
],
"responses": {
"200": {
- "description": "ARM update operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/PrivateEndpointConnection"
- }
+ "description": "Resource deleted successfully."
},
- "201": {
- "description": "ARM create operation completed successfully.",
- "headers": {
- "Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
- "type": "integer",
- "format": "int32"
- }
- },
- "schema": {
- "$ref": "#/definitions/PrivateEndpointConnection"
- }
+ "204": {
+ "description": "Resource deleted successfully."
},
"default": {
"description": "An unexpected error response.",
@@ -4553,21 +4527,21 @@
}
},
"x-ms-examples": {
- "PrivateEndpointConnectionController_Create_MaximumSet_Gen": {
- "$ref": "./examples/PrivateEndpointConnectionController_Create_MaximumSet_Gen.json"
+ "PrivateEndpointConnectionController_Delete_MaximumSet_Gen": {
+ "$ref": "./examples/PrivateEndpointConnectionController_Delete_MaximumSet_Gen.json"
},
- "PrivateEndpointConnectionController_Create_MinimumSet_Gen": {
- "$ref": "./examples/PrivateEndpointConnectionController_Create_MinimumSet_Gen.json"
+ "PrivateEndpointConnectionController_Delete_MinimumSet_Gen": {
+ "$ref": "./examples/PrivateEndpointConnectionController_Delete_MinimumSet_Gen.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/privateLinkResources": {
"get": {
+ "operationId": "PrivateLinkResourcesController_ListByMasterSite",
"tags": [
"PrivateLinkResourcesController"
],
- "operationId": "PrivateLinkResourcesController_ListByMasterSite",
"description": "Gets the private link resource.",
"parameters": [
{
@@ -4582,8 +4556,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -4617,10 +4591,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/privateLinkResources/{privateLinkResourceName}": {
"get": {
+ "operationId": "PrivateLinkResourcesController_Get",
"tags": [
"PrivateLinkResourcesController"
],
- "operationId": "PrivateLinkResourcesController_Get",
"description": "Gets the private link resource.",
"parameters": [
{
@@ -4635,16 +4609,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "privateLinkResourceName",
"in": "path",
- "required": true,
"description": "Private link resource name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -4675,10 +4649,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites": {
"get": {
+ "operationId": "SqlSitesController_ListByMasterSite",
"tags": [
"SqlSitesController"
],
- "operationId": "SqlSitesController_ListByMasterSite",
"description": "Method to get all sites.",
"parameters": [
{
@@ -4693,8 +4667,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -4728,10 +4702,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}": {
"get": {
+ "operationId": "SqlSitesController_Get",
"tags": [
"SqlSitesController"
],
- "operationId": "SqlSitesController_Get",
"description": "Method to get a site.",
"parameters": [
{
@@ -4746,16 +4720,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -4783,67 +4757,11 @@
}
}
},
- "delete": {
- "tags": [
- "SqlSitesController"
- ],
- "operationId": "SqlSitesController_Delete",
- "description": "Deletes the SQL site.",
- "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": "siteName",
- "in": "path",
- "required": true,
- "description": "Site name",
- "type": "string",
- "pattern": "^[a-zA-Z0-9-]{3,24}$"
- },
- {
- "name": "sqlSiteName",
- "in": "path",
- "required": true,
- "description": "SQL site name.",
- "type": "string",
- "pattern": "^[a-zA-Z0-9-]{3,24}$"
- }
- ],
- "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": {
- "SqlSitesController_Delete_MaximumSet_Gen": {
- "$ref": "./examples/SqlSitesController_Delete_MaximumSet_Gen.json"
- },
- "SqlSitesController_Delete_MinimumSet_Gen": {
- "$ref": "./examples/SqlSitesController_Delete_MinimumSet_Gen.json"
- }
- }
- },
"put": {
+ "operationId": "SqlSitesController_Create",
"tags": [
"SqlSitesController"
],
- "operationId": "SqlSitesController_Create",
"description": "Method to create a SQL site.",
"parameters": [
{
@@ -4858,24 +4776,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "Resource create parameters.",
+ "required": true,
"schema": {
"$ref": "#/definitions/SqlSite"
}
@@ -4890,15 +4808,15 @@
},
"201": {
"description": "ARM create operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/SqlSite"
+ },
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
}
- },
- "schema": {
- "$ref": "#/definitions/SqlSite"
}
},
"default": {
@@ -4918,10 +4836,10 @@
}
},
"patch": {
+ "operationId": "SqlSitesController_Update",
"tags": [
"SqlSitesController"
],
- "operationId": "SqlSitesController_Update",
"description": "Method to update an existing site.",
"parameters": [
{
@@ -4936,24 +4854,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "properties",
"in": "body",
- "required": true,
"description": "The resource properties to be updated.",
+ "required": true,
"schema": {
"$ref": "#/definitions/SqlSiteUpdate"
}
@@ -4970,13 +4888,13 @@
"description": "Resource update request accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -4999,15 +4917,13 @@
"$ref": "./examples/SqlSitesController_Update_MinimumSet_Gen.json"
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/discoverySiteDataSources": {
- "get": {
+ },
+ "delete": {
+ "operationId": "SqlSitesController_Delete",
"tags": [
- "SqlDiscoverySiteDataSourceController"
+ "SqlSitesController"
],
- "operationId": "SqlDiscoverySiteDataSourceController_ListBySqlSite",
- "description": "List SqlDiscoverySiteDataSource resources by SqlSite",
+ "description": "Deletes the SQL site.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
@@ -5021,16 +4937,74 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
+ "description": "SQL site name.",
"required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9-]{3,24}$"
+ }
+ ],
+ "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": {
+ "SqlSitesController_Delete_MaximumSet_Gen": {
+ "$ref": "./examples/SqlSitesController_Delete_MaximumSet_Gen.json"
+ },
+ "SqlSitesController_Delete_MinimumSet_Gen": {
+ "$ref": "./examples/SqlSitesController_Delete_MinimumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/discoverySiteDataSources": {
+ "get": {
+ "operationId": "SqlDiscoverySiteDataSourceController_ListBySqlSite",
+ "tags": [
+ "SqlDiscoverySiteDataSourceController"
+ ],
+ "description": "List SqlDiscoverySiteDataSource resources by SqlSite",
+ "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": "siteName",
+ "in": "path",
+ "description": "Site name",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9-]{3,24}$"
+ },
+ {
+ "name": "sqlSiteName",
+ "in": "path",
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -5064,10 +5038,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/discoverySiteDataSources/{discoverySiteDataSourceName}": {
"get": {
+ "operationId": "SqlDiscoverySiteDataSourceController_Get",
"tags": [
"SqlDiscoverySiteDataSourceController"
],
- "operationId": "SqlDiscoverySiteDataSourceController_Get",
"description": "Get a SqlDiscoverySiteDataSource",
"parameters": [
{
@@ -5082,24 +5056,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "discoverySiteDataSourceName",
"in": "path",
- "required": true,
"description": "SQL Discovery site data source name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -5128,10 +5102,10 @@
}
},
"put": {
+ "operationId": "SqlDiscoverySiteDataSourceController_Create",
"tags": [
"SqlDiscoverySiteDataSourceController"
],
- "operationId": "SqlDiscoverySiteDataSourceController_Create",
"description": "Create a SqlDiscoverySiteDataSource",
"parameters": [
{
@@ -5146,32 +5120,32 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "discoverySiteDataSourceName",
"in": "path",
- "required": true,
"description": "SQL Discovery site data source name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "Resource create parameters.",
+ "required": true,
"schema": {
"$ref": "#/definitions/SqlDiscoverySiteDataSource"
}
@@ -5186,15 +5160,15 @@
},
"201": {
"description": "ARM create operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/SqlDiscoverySiteDataSource"
+ },
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
}
- },
- "schema": {
- "$ref": "#/definitions/SqlDiscoverySiteDataSource"
}
},
"default": {
@@ -5218,10 +5192,10 @@
}
},
"delete": {
+ "operationId": "SqlDiscoverySiteDataSourceController_Delete",
"tags": [
"SqlDiscoverySiteDataSourceController"
],
- "operationId": "SqlDiscoverySiteDataSourceController_Delete",
"description": "Delete a SqlDiscoverySiteDataSource",
"parameters": [
{
@@ -5236,24 +5210,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "discoverySiteDataSourceName",
"in": "path",
- "required": true,
"description": "SQL Discovery site data source name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -5284,11 +5258,11 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/errorSummary": {
"post": {
+ "operationId": "SqlSitesController_ErrorSummary",
"tags": [
"SqlSitesController"
],
- "operationId": "SqlSitesController_ErrorSummary",
- "description": "MMethod to get error summary from SQL site.",
+ "description": "Method to get error summary from SQL site.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
@@ -5302,24 +5276,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/ErrorSummaryRequest"
}
@@ -5351,10 +5325,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/exportSqlServerErrors": {
"post": {
+ "operationId": "SqlSitesController_ExportSqlServerErrors",
"tags": [
"SqlSitesController"
],
- "operationId": "SqlSitesController_ExportSqlServerErrors",
"description": "Method to generate report containing SQL servers.",
"parameters": [
{
@@ -5369,28 +5343,26 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
}
],
@@ -5398,22 +5370,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -5440,10 +5410,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/exportSqlServers": {
"post": {
+ "operationId": "SqlSitesController_ExportSqlServers",
"tags": [
"SqlSitesController"
],
- "operationId": "SqlSitesController_ExportSqlServers",
"description": "Method to generate report containing SQL servers.",
"parameters": [
{
@@ -5458,24 +5428,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/ExportSqlServersRequest"
}
@@ -5485,22 +5455,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -5527,10 +5495,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/jobs": {
"get": {
+ "operationId": "SqlJobsController_ListBySqlSite",
"tags": [
"SqlJobsController"
],
- "operationId": "SqlJobsController_ListBySqlSite",
"summary": "Gets the sql Jobs.",
"description": "List SqlJob resources by SqlSite",
"parameters": [
@@ -5546,16 +5514,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -5589,10 +5557,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/jobs/{jobName}": {
"get": {
+ "operationId": "SqlJobsController_Get",
"tags": [
"SqlJobsController"
],
- "operationId": "SqlJobsController_Get",
"summary": "Gets the sql Job.",
"description": "Get a SqlJob",
"parameters": [
@@ -5608,24 +5576,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "jobName",
"in": "path",
- "required": true,
"description": "SQL Job name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -5656,10 +5624,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/operationsStatus/{operationStatusName}": {
"get": {
+ "operationId": "SqlOperationsStatusController_GetSqlOperationStatus",
"tags": [
"SqlOperationsStatusController"
],
- "operationId": "SqlOperationsStatusController_GetSqlOperationStatus",
"description": "Method to get operation status.",
"parameters": [
{
@@ -5674,24 +5642,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "operationStatusName",
"in": "path",
- "required": true,
"description": "Operation status Arm Name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -5722,10 +5690,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/refresh": {
"post": {
+ "operationId": "SqlSitesController_Refresh",
"tags": [
"SqlSitesController"
],
- "operationId": "SqlSitesController_Refresh",
"description": "Method to refresh a site.",
"parameters": [
{
@@ -5740,24 +5708,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/SqlSiteRefreshBody"
}
@@ -5767,22 +5735,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -5809,10 +5775,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/runAsAccounts": {
"get": {
+ "operationId": "SqlRunAsAccountsController_ListBySqlSite",
"tags": [
"SqlRunAsAccountsController"
],
- "operationId": "SqlRunAsAccountsController_ListBySqlSite",
"description": "List SqlRunAsAccount resources by SqlSite",
"parameters": [
{
@@ -5827,16 +5793,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -5870,10 +5836,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/runAsAccounts/{accountName}": {
"get": {
+ "operationId": "SqlRunAsAccountsController_Get",
"tags": [
"SqlRunAsAccountsController"
],
- "operationId": "SqlRunAsAccountsController_Get",
"description": "Get a SqlRunAsAccount",
"parameters": [
{
@@ -5888,24 +5854,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "accountName",
"in": "path",
- "required": true,
"description": "SQL RunAsAccounts name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -5936,10 +5902,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/sqlAvailabilityGroups": {
"get": {
+ "operationId": "SqlAvailabilityGroupsController_ListBySqlSite",
"tags": [
"SqlAvailabilityGroupsController"
],
- "operationId": "SqlAvailabilityGroupsController_ListBySqlSite",
"description": "Gets the sql availability groups.",
"parameters": [
{
@@ -5954,45 +5920,45 @@
{
"name": "filter",
"in": "query",
- "required": false,
"description": "filter query",
+ "required": false,
"type": "string"
},
{
"name": "top",
"in": "query",
- "required": false,
"description": "page size query",
+ "required": false,
"type": "string"
},
{
"name": "continuationToken",
"in": "query",
- "required": false,
"description": "Optional parameter for continuation token.",
+ "required": false,
"type": "string"
},
{
"name": "totalRecordCount",
"in": "query",
- "required": false,
"description": "Total count of machines in the given site.",
+ "required": false,
"type": "integer",
"format": "int32"
},
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -6026,10 +5992,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/sqlAvailabilityGroups/{sqlAvailabilityGroupName}": {
"get": {
+ "operationId": "SqlAvailabilityGroupsController_Get",
"tags": [
"SqlAvailabilityGroupsController"
],
- "operationId": "SqlAvailabilityGroupsController_Get",
"description": "Gets the sql availability group.",
"parameters": [
{
@@ -6044,24 +6010,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlAvailabilityGroupName",
"in": "path",
- "required": true,
"description": "SQL availability group name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -6092,10 +6058,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/sqlDatabases": {
"get": {
+ "operationId": "SqlDatabasesController_ListBySqlSite",
"tags": [
"SqlDatabasesController"
],
- "operationId": "SqlDatabasesController_ListBySqlSite",
"description": "Gets the sql Databases.",
"parameters": [
{
@@ -6110,45 +6076,45 @@
{
"name": "filter",
"in": "query",
- "required": false,
"description": "filter query",
+ "required": false,
"type": "string"
},
{
"name": "top",
"in": "query",
- "required": false,
"description": "page size query",
+ "required": false,
"type": "string"
},
{
"name": "continuationToken",
"in": "query",
- "required": false,
"description": "Optional parameter for continuation token.",
+ "required": false,
"type": "string"
},
{
"name": "totalRecordCount",
"in": "query",
- "required": false,
"description": "Total count of machines in the given site.",
+ "required": false,
"type": "integer",
"format": "int32"
},
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -6182,10 +6148,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/sqlDatabases/{sqlDatabaseName}": {
"get": {
+ "operationId": "SqlDatabasesController_Get",
"tags": [
"SqlDatabasesController"
],
- "operationId": "SqlDatabasesController_Get",
"description": "Gets the sql Database.",
"parameters": [
{
@@ -6200,24 +6166,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlDatabaseName",
"in": "path",
- "required": true,
"description": "SQL Database name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -6248,10 +6214,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/sqlServers": {
"get": {
+ "operationId": "SqlServersController_ListBySqlSite",
"tags": [
"SqlServersController"
],
- "operationId": "SqlServersController_ListBySqlSite",
"description": "Gets the sql servers.",
"parameters": [
{
@@ -6266,45 +6232,45 @@
{
"name": "filter",
"in": "query",
- "required": false,
"description": "filter query",
+ "required": false,
"type": "string"
},
{
"name": "top",
"in": "query",
- "required": false,
"description": "page size query",
+ "required": false,
"type": "string"
},
{
"name": "continuationToken",
"in": "query",
- "required": false,
"description": "Optional parameter for continuation token.",
+ "required": false,
"type": "string"
},
{
"name": "totalRecordCount",
"in": "query",
- "required": false,
"description": "Total count of machines in the given site.",
+ "required": false,
"type": "integer",
"format": "int32"
},
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -6338,10 +6304,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/sqlServers/{sqlServerName}": {
"get": {
+ "operationId": "SqlServersController_Get",
"tags": [
"SqlServersController"
],
- "operationId": "SqlServersController_Get",
"description": "Gets the sql server.",
"parameters": [
{
@@ -6356,24 +6322,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlServerName",
"in": "path",
- "required": true,
"description": "SQL server name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -6402,10 +6368,10 @@
}
},
"patch": {
+ "operationId": "SqlServersController_Update",
"tags": [
"SqlServersController"
],
- "operationId": "SqlServersController_Update",
"description": "Updates the sql server tags.",
"parameters": [
{
@@ -6420,32 +6386,32 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlServerName",
"in": "path",
- "required": true,
"description": "SQL server name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The resource properties to be updated.",
+ "required": true,
"schema": {
"$ref": "#/definitions/SqlServerV2Update"
}
@@ -6477,10 +6443,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/sqlSites/{sqlSiteName}/summary": {
"post": {
+ "operationId": "SqlSitesController_Summary",
"tags": [
"SqlSitesController"
],
- "operationId": "SqlSitesController_Summary",
"description": "Method to get site usage/summary.",
"parameters": [
{
@@ -6495,16 +6461,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "sqlSiteName",
"in": "path",
- "required": true,
"description": "SQL site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -6535,10 +6501,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites": {
"get": {
+ "operationId": "WebAppSitesController_ListByMasterSite",
"tags": [
"WebAppSitesController"
],
- "operationId": "WebAppSitesController_ListByMasterSite",
"description": "Method to get all sites.",
"parameters": [
{
@@ -6553,8 +6519,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -6588,10 +6554,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}": {
"get": {
+ "operationId": "WebAppSitesController_Get",
"tags": [
"WebAppSitesController"
],
- "operationId": "WebAppSitesController_Get",
"description": "Method to get a site.",
"parameters": [
{
@@ -6606,16 +6572,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -6643,12 +6609,12 @@
}
}
},
- "delete": {
+ "put": {
+ "operationId": "WebAppSitesController_Create",
"tags": [
"WebAppSitesController"
],
- "operationId": "WebAppSitesController_Delete",
- "description": "Deletes the WebApp site.",
+ "description": "Method to create a WebApp site.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
@@ -6662,41 +6628,49 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Resource create parameters.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/WebAppSite"
+ }
}
],
"responses": {
"200": {
- "description": "Resource deleted successfully."
+ "description": "ARM update operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/WebAppSite"
+ }
},
- "202": {
- "description": "Resource deletion accepted.",
+ "201": {
+ "description": "ARM create operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/WebAppSite"
+ },
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
- },
- "Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
}
}
},
- "204": {
- "description": "Resource deleted successfully."
- },
"default": {
"description": "An unexpected error response.",
"schema": {
@@ -6704,25 +6678,21 @@
}
}
},
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- },
- "x-ms-long-running-operation": true,
"x-ms-examples": {
- "WebAppSitesController_Delete_MaximumSet_Gen": {
- "$ref": "./examples/WebAppSitesController_Delete_MaximumSet_Gen.json"
+ "WebAppSitesController_Create_MaximumSet_Gen": {
+ "$ref": "./examples/WebAppSitesController_Create_MaximumSet_Gen.json"
},
- "WebAppSitesController_Delete_MinimumSet_Gen": {
- "$ref": "./examples/WebAppSitesController_Delete_MinimumSet_Gen.json"
+ "WebAppSitesController_Create_MinimumSet_Gen": {
+ "$ref": "./examples/WebAppSitesController_Create_MinimumSet_Gen.json"
}
}
},
- "put": {
+ "patch": {
+ "operationId": "WebAppSitesController_Update",
"tags": [
"WebAppSitesController"
],
- "operationId": "WebAppSitesController_Create",
- "description": "Method to create a WebApp site.",
+ "description": "Method to update an existing site.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
@@ -6736,47 +6706,48 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
- "name": "body",
+ "name": "properties",
"in": "body",
+ "description": "The resource properties to be updated.",
"required": true,
- "description": "Resource create parameters.",
"schema": {
- "$ref": "#/definitions/WebAppSite"
+ "$ref": "#/definitions/WebAppSiteUpdate"
}
}
],
"responses": {
"200": {
- "description": "ARM update operation completed successfully.",
+ "description": "ARM operation completed successfully.",
"schema": {
"$ref": "#/definitions/WebAppSite"
}
},
- "201": {
- "description": "ARM create operation completed successfully.",
+ "202": {
+ "description": "Resource update request accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "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."
}
- },
- "schema": {
- "$ref": "#/definitions/WebAppSite"
}
},
"default": {
@@ -6786,21 +6757,25 @@
}
}
},
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-long-running-operation": true,
"x-ms-examples": {
- "WebAppSitesController_Create_MaximumSet_Gen": {
- "$ref": "./examples/WebAppSitesController_Create_MaximumSet_Gen.json"
+ "WebAppSitesController_Update_MaximumSet_Gen": {
+ "$ref": "./examples/WebAppSitesController_Update_MaximumSet_Gen.json"
},
- "WebAppSitesController_Create_MinimumSet_Gen": {
- "$ref": "./examples/WebAppSitesController_Create_MinimumSet_Gen.json"
+ "WebAppSitesController_Update_MinimumSet_Gen": {
+ "$ref": "./examples/WebAppSitesController_Update_MinimumSet_Gen.json"
}
}
},
- "patch": {
+ "delete": {
+ "operationId": "WebAppSitesController_Delete",
"tags": [
"WebAppSitesController"
],
- "operationId": "WebAppSitesController_Update",
- "description": "Method to update an existing site.",
+ "description": "Deletes the WebApp site.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
@@ -6814,50 +6789,41 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
- },
- {
- "name": "properties",
- "in": "body",
- "required": true,
- "description": "The resource properties to be updated.",
- "schema": {
- "$ref": "#/definitions/WebAppSiteUpdate"
- }
}
],
"responses": {
"200": {
- "description": "ARM operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/WebAppSite"
- }
+ "description": "Resource deleted successfully."
},
"202": {
- "description": "Resource update request accepted.",
+ "description": "Resource deletion accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "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": {
@@ -6870,21 +6836,21 @@
},
"x-ms-long-running-operation": true,
"x-ms-examples": {
- "WebAppSitesController_Update_MaximumSet_Gen": {
- "$ref": "./examples/WebAppSitesController_Update_MaximumSet_Gen.json"
+ "WebAppSitesController_Delete_MaximumSet_Gen": {
+ "$ref": "./examples/WebAppSitesController_Delete_MaximumSet_Gen.json"
},
- "WebAppSitesController_Update_MinimumSet_Gen": {
- "$ref": "./examples/WebAppSitesController_Update_MinimumSet_Gen.json"
+ "WebAppSitesController_Delete_MinimumSet_Gen": {
+ "$ref": "./examples/WebAppSitesController_Delete_MinimumSet_Gen.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/discoverySiteDataSources": {
"get": {
+ "operationId": "WebAppDiscoverySiteDataSourcesController_ListByWebAppSite",
"tags": [
"WebAppDiscoverySiteDataSourcesController"
],
- "operationId": "WebAppDiscoverySiteDataSourcesController_ListByWebAppSite",
"description": "Method to get all Web app data sources in site.",
"parameters": [
{
@@ -6899,16 +6865,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -6942,10 +6908,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/discoverySiteDataSources/{discoverySiteDataSourceName}": {
"get": {
+ "operationId": "WebAppDiscoverySiteDataSourcesController_Get",
"tags": [
"WebAppDiscoverySiteDataSourcesController"
],
- "operationId": "WebAppDiscoverySiteDataSourcesController_Get",
"description": "Method to get a Web app data source in site.",
"parameters": [
{
@@ -6960,24 +6926,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "discoverySiteDataSourceName",
"in": "path",
- "required": true,
"description": "Data Source ARM name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -7005,12 +6971,12 @@
}
}
},
- "delete": {
+ "put": {
+ "operationId": "WebAppDiscoverySiteDataSourcesController_Create",
"tags": [
"WebAppDiscoverySiteDataSourcesController"
],
- "operationId": "WebAppDiscoverySiteDataSourcesController_Delete",
- "description": "Method to delete a Web app data source in site.",
+ "description": "Method to create or update a Web app data source in site.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
@@ -7024,49 +6990,57 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "discoverySiteDataSourceName",
"in": "path",
- "required": true,
"description": "Data Source ARM name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Resource create parameters.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DiscoverySiteDataSource"
+ }
}
],
"responses": {
"200": {
- "description": "Resource deleted successfully."
+ "description": "ARM update operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/DiscoverySiteDataSource"
+ }
},
- "202": {
- "description": "Resource deletion accepted.",
+ "201": {
+ "description": "ARM create operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/DiscoverySiteDataSource"
+ },
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
- },
- "Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
}
}
},
- "204": {
- "description": "Resource deleted successfully."
- },
"default": {
"description": "An unexpected error response.",
"schema": {
@@ -7079,20 +7053,20 @@
},
"x-ms-long-running-operation": true,
"x-ms-examples": {
- "WebAppDiscoverySiteDataSourcesController_Delete_MaximumSet_Gen": {
- "$ref": "./examples/WebAppDiscoverySiteDataSourcesController_Delete_MaximumSet_Gen.json"
+ "WebAppDiscoverySiteDataSourcesController_Create_MaximumSet_Gen": {
+ "$ref": "./examples/WebAppDiscoverySiteDataSourcesController_Create_MaximumSet_Gen.json"
},
- "WebAppDiscoverySiteDataSourcesController_Delete_MinimumSet_Gen": {
- "$ref": "./examples/WebAppDiscoverySiteDataSourcesController_Delete_MinimumSet_Gen.json"
+ "WebAppDiscoverySiteDataSourcesController_Create_MinimumSet_Gen": {
+ "$ref": "./examples/WebAppDiscoverySiteDataSourcesController_Create_MinimumSet_Gen.json"
}
}
},
- "put": {
+ "delete": {
+ "operationId": "WebAppDiscoverySiteDataSourcesController_Delete",
"tags": [
"WebAppDiscoverySiteDataSourcesController"
],
- "operationId": "WebAppDiscoverySiteDataSourcesController_Create",
- "description": "Method to create or update a Web app data source in site.",
+ "description": "Method to delete a Web app data source in site.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
@@ -7106,57 +7080,49 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "discoverySiteDataSourceName",
"in": "path",
- "required": true,
"description": "Data Source ARM name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
- },
- {
- "name": "body",
- "in": "body",
- "required": true,
- "description": "Resource create parameters.",
- "schema": {
- "$ref": "#/definitions/DiscoverySiteDataSource"
- }
}
],
"responses": {
"200": {
- "description": "ARM update operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/DiscoverySiteDataSource"
- }
+ "description": "Resource deleted successfully."
},
- "201": {
- "description": "ARM create operation completed successfully.",
+ "202": {
+ "description": "Resource deletion accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "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."
}
- },
- "schema": {
- "$ref": "#/definitions/DiscoverySiteDataSource"
}
},
+ "204": {
+ "description": "Resource deleted successfully."
+ },
"default": {
"description": "An unexpected error response.",
"schema": {
@@ -7169,21 +7135,21 @@
},
"x-ms-long-running-operation": true,
"x-ms-examples": {
- "WebAppDiscoverySiteDataSourcesController_Create_MaximumSet_Gen": {
- "$ref": "./examples/WebAppDiscoverySiteDataSourcesController_Create_MaximumSet_Gen.json"
+ "WebAppDiscoverySiteDataSourcesController_Delete_MaximumSet_Gen": {
+ "$ref": "./examples/WebAppDiscoverySiteDataSourcesController_Delete_MaximumSet_Gen.json"
},
- "WebAppDiscoverySiteDataSourcesController_Create_MinimumSet_Gen": {
- "$ref": "./examples/WebAppDiscoverySiteDataSourcesController_Create_MinimumSet_Gen.json"
+ "WebAppDiscoverySiteDataSourcesController_Delete_MinimumSet_Gen": {
+ "$ref": "./examples/WebAppDiscoverySiteDataSourcesController_Delete_MinimumSet_Gen.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/errorSummary": {
"post": {
+ "operationId": "WebAppSitesController_ErrorSummary",
"tags": [
"WebAppSitesController"
],
- "operationId": "WebAppSitesController_ErrorSummary",
"description": "MMethod to get error summary from web app site.",
"parameters": [
{
@@ -7198,24 +7164,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/ErrorSummaryRequest"
}
@@ -7247,10 +7213,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/exportInventory": {
"post": {
+ "operationId": "WebAppSitesController_ExportInventory",
"tags": [
"WebAppSitesController"
],
- "operationId": "WebAppSitesController_ExportInventory",
"description": "Method to generate report containing web app inventory.",
"parameters": [
{
@@ -7265,24 +7231,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/ExportWebAppsRequest"
}
@@ -7292,22 +7258,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -7334,10 +7298,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/extendedMachines": {
"get": {
+ "operationId": "WebAppExtendedMachinesController_ListByWebAppSite",
"tags": [
"WebAppExtendedMachinesController"
],
- "operationId": "WebAppExtendedMachinesController_ListByWebAppSite",
"description": "Method to get all extended machines.",
"parameters": [
{
@@ -7352,45 +7316,45 @@
{
"name": "filter",
"in": "query",
- "required": false,
"description": "filter query",
+ "required": false,
"type": "string"
},
{
"name": "top",
"in": "query",
- "required": false,
"description": "page size query",
+ "required": false,
"type": "string"
},
{
"name": "continuationToken",
"in": "query",
- "required": false,
"description": "Optional parameter for continuation token.",
+ "required": false,
"type": "string"
},
{
"name": "totalRecordCount",
"in": "query",
- "required": false,
"description": "Total count of machines in the given site.",
+ "required": false,
"type": "integer",
"format": "int32"
},
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -7424,10 +7388,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/extendedMachines/{extendedMachineName}": {
"get": {
+ "operationId": "WebAppExtendedMachinesController_Get",
"tags": [
"WebAppExtendedMachinesController"
],
- "operationId": "WebAppExtendedMachinesController_Get",
"description": "Method to get a extended machine.",
"parameters": [
{
@@ -7442,24 +7406,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "extendedMachineName",
"in": "path",
- "required": true,
"description": "Extended machine name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -7490,10 +7454,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/iisWebApplications": {
"get": {
+ "operationId": "IisWebApplicationsController_ListByWebAppSite",
"tags": [
"IisWebApplicationsController"
],
- "operationId": "IisWebApplicationsController_ListByWebAppSite",
"description": "Method to get all IIS web application.",
"parameters": [
{
@@ -7508,45 +7472,45 @@
{
"name": "filter",
"in": "query",
- "required": false,
"description": "filter query",
+ "required": false,
"type": "string"
},
{
"name": "top",
"in": "query",
- "required": false,
"description": "page size query",
+ "required": false,
"type": "string"
},
{
"name": "continuationToken",
"in": "query",
- "required": false,
"description": "Optional parameter for continuation token.",
+ "required": false,
"type": "string"
},
{
"name": "totalRecordCount",
"in": "query",
- "required": false,
"description": "Total count of machines in the given site.",
+ "required": false,
"type": "integer",
"format": "int32"
},
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -7580,10 +7544,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/iisWebApplications/{webApplicationName}": {
"get": {
+ "operationId": "IisWebApplicationsController_Get",
"tags": [
"IisWebApplicationsController"
],
- "operationId": "IisWebApplicationsController_Get",
"description": "Method to get an IIS web application.",
"parameters": [
{
@@ -7598,24 +7562,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webApplicationName",
"in": "path",
- "required": true,
"description": "Web application name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -7644,10 +7608,10 @@
}
},
"patch": {
+ "operationId": "IisWebApplicationsController_Update",
"tags": [
"IisWebApplicationsController"
],
- "operationId": "IisWebApplicationsController_Update",
"description": "Method to update tags on IIS web application.",
"parameters": [
{
@@ -7662,32 +7626,32 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webApplicationName",
"in": "path",
- "required": true,
"description": "Web application name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The resource properties to be updated.",
+ "required": true,
"schema": {
"$ref": "#/definitions/IisWebApplicationsUpdate"
}
@@ -7719,10 +7683,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/iisWebServers": {
"get": {
+ "operationId": "IisWebServersController_ListByWebAppSite",
"tags": [
"IisWebServersController"
],
- "operationId": "IisWebServersController_ListByWebAppSite",
"description": "Method to get all IIS web servers.",
"parameters": [
{
@@ -7737,45 +7701,45 @@
{
"name": "filter",
"in": "query",
- "required": false,
"description": "filter query",
+ "required": false,
"type": "string"
},
{
"name": "top",
"in": "query",
- "required": false,
"description": "page size query",
+ "required": false,
"type": "string"
},
{
"name": "continuationToken",
"in": "query",
- "required": false,
"description": "Optional parameter for continuation token.",
+ "required": false,
"type": "string"
},
{
"name": "totalRecordCount",
"in": "query",
- "required": false,
"description": "Total count of machines in the given site.",
+ "required": false,
"type": "integer",
"format": "int32"
},
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -7809,10 +7773,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/iisWebServers/{webServerName}": {
"get": {
+ "operationId": "IisWebServersController_Get",
"tags": [
"IisWebServersController"
],
- "operationId": "IisWebServersController_Get",
"description": "Method to get an IIS web server.",
"parameters": [
{
@@ -7827,24 +7791,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webServerName",
"in": "path",
- "required": true,
"description": "Web server name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -7875,10 +7839,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/refresh": {
"post": {
+ "operationId": "WebAppSitesController_Refresh",
"tags": [
"WebAppSitesController"
],
- "operationId": "WebAppSitesController_Refresh",
"description": "Method to refresh a site.",
"parameters": [
{
@@ -7893,24 +7857,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/ProxySiteRefreshBody"
}
@@ -7920,22 +7884,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -7962,10 +7924,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/runasaccounts": {
"get": {
+ "operationId": "WebAppRunAsAccountsController_ListByWebAppSite",
"tags": [
"WebAppRunAsAccountsController"
],
- "operationId": "WebAppRunAsAccountsController_ListByWebAppSite",
"description": "Method to get all run as accounts.",
"parameters": [
{
@@ -7980,16 +7942,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -8023,10 +7985,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/runasaccounts/{accountName}": {
"get": {
+ "operationId": "WebAppRunAsAccountsController_Get",
"tags": [
"WebAppRunAsAccountsController"
],
- "operationId": "WebAppRunAsAccountsController_Get",
"description": "Method to get run as account.",
"parameters": [
{
@@ -8041,24 +8003,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "accountName",
"in": "path",
- "required": true,
"description": "Run as account ARM name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -8089,10 +8051,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/summary": {
"post": {
+ "operationId": "WebAppSitesController_Summary",
"tags": [
"WebAppSitesController"
],
- "operationId": "WebAppSitesController_Summary",
"description": "Method to get site usage/summary.",
"parameters": [
{
@@ -8107,16 +8069,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -8147,10 +8109,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/tomcatWebApplications": {
"get": {
+ "operationId": "TomcatWebApplicationsController_ListByWebAppSite",
"tags": [
"TomcatWebApplicationsController"
],
- "operationId": "TomcatWebApplicationsController_ListByWebAppSite",
"description": "Method to get all Tomcat web application.",
"parameters": [
{
@@ -8165,45 +8127,45 @@
{
"name": "filter",
"in": "query",
- "required": false,
"description": "filter query",
+ "required": false,
"type": "string"
},
{
"name": "top",
"in": "query",
- "required": false,
"description": "page size query",
+ "required": false,
"type": "string"
},
{
"name": "continuationToken",
"in": "query",
- "required": false,
"description": "Optional parameter for continuation token.",
+ "required": false,
"type": "string"
},
{
"name": "totalRecordCount",
"in": "query",
- "required": false,
"description": "Total count of machines in the given site.",
+ "required": false,
"type": "integer",
"format": "int32"
},
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -8237,10 +8199,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/tomcatWebApplications/{webApplicationName}": {
"get": {
+ "operationId": "TomcatWebApplicationsController_Get",
"tags": [
"TomcatWebApplicationsController"
],
- "operationId": "TomcatWebApplicationsController_Get",
"description": "Method to get an Tomcat web application.",
"parameters": [
{
@@ -8255,24 +8217,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webApplicationName",
"in": "path",
- "required": true,
"description": "Web application name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -8301,10 +8263,10 @@
}
},
"patch": {
+ "operationId": "TomcatWebApplicationsController_Update",
"tags": [
"TomcatWebApplicationsController"
],
- "operationId": "TomcatWebApplicationsController_Update",
"description": "Updates the Tomcat web application tags.",
"parameters": [
{
@@ -8319,32 +8281,32 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webApplicationName",
"in": "path",
- "required": true,
"description": "Web application name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The resource properties to be updated.",
+ "required": true,
"schema": {
"$ref": "#/definitions/TomcatWebApplicationsUpdate"
}
@@ -8376,10 +8338,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/tomcatWebServers": {
"get": {
+ "operationId": "TomcatWebServersController_ListByWebAppSite",
"tags": [
"TomcatWebServersController"
],
- "operationId": "TomcatWebServersController_ListByWebAppSite",
"description": "Method to get all Tomcat web servers.",
"parameters": [
{
@@ -8394,45 +8356,45 @@
{
"name": "filter",
"in": "query",
- "required": false,
"description": "filter query",
+ "required": false,
"type": "string"
},
{
"name": "top",
"in": "query",
- "required": false,
"description": "page size query",
+ "required": false,
"type": "string"
},
{
"name": "continuationToken",
"in": "query",
- "required": false,
"description": "Optional parameter for continuation token.",
+ "required": false,
"type": "string"
},
{
"name": "totalRecordCount",
"in": "query",
- "required": false,
"description": "Total count of machines in the given site.",
+ "required": false,
"type": "integer",
"format": "int32"
},
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -8466,10 +8428,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/tomcatWebServers/{webServerName}": {
"get": {
+ "operationId": "TomcatWebServersController_Get",
"tags": [
"TomcatWebServersController"
],
- "operationId": "TomcatWebServersController_Get",
"description": "Method to get an Tomcat web server.",
"parameters": [
{
@@ -8484,24 +8446,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webServerName",
"in": "path",
- "required": true,
"description": "Web server name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -8532,10 +8494,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/updateProperties": {
"post": {
+ "operationId": "WebAppPropertiesController_UpdateProperties",
"tags": [
"WebAppPropertiesController"
],
- "operationId": "WebAppPropertiesController_UpdateProperties",
"description": "Method to update properties for web applications.\n in a site.",
"parameters": [
{
@@ -8550,24 +8512,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/WebAppPropertiesCollection"
}
@@ -8577,22 +8539,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -8619,10 +8579,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/webApplications": {
"get": {
+ "operationId": "WebApplicationsController_ListByWebAppSite",
"tags": [
"WebApplicationsController"
],
- "operationId": "WebApplicationsController_ListByWebAppSite",
"description": "Method to get all IIS web applications.",
"parameters": [
{
@@ -8637,45 +8597,45 @@
{
"name": "filter",
"in": "query",
- "required": false,
"description": "filter query",
+ "required": false,
"type": "string"
},
{
"name": "top",
"in": "query",
- "required": false,
"description": "page size query",
+ "required": false,
"type": "string"
},
{
"name": "continuationToken",
"in": "query",
- "required": false,
"description": "Optional parameter for continuation token.",
+ "required": false,
"type": "string"
},
{
"name": "totalRecordCount",
"in": "query",
- "required": false,
"description": "Total count of machines in the given site.",
+ "required": false,
"type": "integer",
"format": "int32"
},
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -8709,10 +8669,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/webAppSites/{webAppSiteName}/webServers": {
"get": {
+ "operationId": "WebServersController_ListByWebAppSite",
"tags": [
"WebServersController"
],
- "operationId": "WebServersController_ListByWebAppSite",
"description": "Method to get all web servers.",
"parameters": [
{
@@ -8727,45 +8687,45 @@
{
"name": "filter",
"in": "query",
- "required": false,
"description": "filter query",
+ "required": false,
"type": "string"
},
{
"name": "top",
"in": "query",
- "required": false,
"description": "page size query",
+ "required": false,
"type": "string"
},
{
"name": "continuationToken",
"in": "query",
- "required": false,
"description": "Optional parameter for continuation token.",
+ "required": false,
"type": "string"
},
{
"name": "totalRecordCount",
"in": "query",
- "required": false,
"description": "Total count of machines in the given site.",
+ "required": false,
"type": "integer",
"format": "int32"
},
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "webAppSiteName",
"in": "path",
- "required": true,
"description": "Web app site name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -8799,10 +8759,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites": {
"get": {
+ "operationId": "ServerSitesController_ListByResourceGroup",
"tags": [
"ServerSitesController"
],
- "operationId": "ServerSitesController_ListByResourceGroup",
"description": "List ServerSiteResource resources by resource group",
"parameters": [
{
@@ -8844,10 +8804,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}": {
"get": {
+ "operationId": "ServerSitesController_Get",
"tags": [
"ServerSitesController"
],
- "operationId": "ServerSitesController_Get",
"description": "Get a ServerSiteResource",
"parameters": [
{
@@ -8862,8 +8822,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -8892,10 +8852,10 @@
}
},
"put": {
+ "operationId": "ServerSitesController_Create",
"tags": [
"ServerSitesController"
],
- "operationId": "ServerSitesController_Create",
"description": "Create a ServerSiteResource",
"parameters": [
{
@@ -8910,16 +8870,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "Resource create parameters.",
+ "required": true,
"schema": {
"$ref": "#/definitions/ServerSiteResource"
}
@@ -8934,15 +8894,15 @@
},
"201": {
"description": "ARM create operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ServerSiteResource"
+ },
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
}
- },
- "schema": {
- "$ref": "#/definitions/ServerSiteResource"
}
},
"default": {
@@ -8966,10 +8926,10 @@
}
},
"patch": {
+ "operationId": "ServerSitesController_Update",
"tags": [
"ServerSitesController"
],
- "operationId": "ServerSitesController_Update",
"description": "Update a ServerSiteResource",
"parameters": [
{
@@ -8984,16 +8944,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The resource properties to be updated.",
+ "required": true,
"schema": {
"$ref": "#/definitions/ServerSiteResourceUpdate"
}
@@ -9023,10 +8983,10 @@
}
},
"delete": {
+ "operationId": "ServerSitesController_Delete",
"tags": [
"ServerSitesController"
],
- "operationId": "ServerSitesController_Delete",
"description": "Delete a ServerSiteResource",
"parameters": [
{
@@ -9041,8 +9001,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -9073,10 +9033,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/clientGroupMembers": {
"post": {
+ "operationId": "ServerDependencyMapController_ClientGroupMembers",
"tags": [
"ServerDependencyMapController"
],
- "operationId": "ServerDependencyMapController_ClientGroupMembers",
"description": "API to list client group members for the selected client group.",
"parameters": [
{
@@ -9091,16 +9051,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "mapRequest",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/DependencyMapServiceMapextensionsClientGroupMembersRequest"
}
@@ -9110,22 +9070,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -9152,10 +9110,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/computeErrorSummary": {
"post": {
+ "operationId": "ServerSitesController_ComputeErrorSummary",
"tags": [
"ServerSitesController"
],
- "operationId": "ServerSitesController_ComputeErrorSummary",
"description": "Get the error summary for a server site.",
"parameters": [
{
@@ -9170,20 +9128,18 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
}
],
@@ -9213,10 +9169,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/computeusage": {
"post": {
+ "operationId": "ServerSitesController_Computeusage",
"tags": [
"ServerSitesController"
],
- "operationId": "ServerSitesController_Computeusage",
"description": "Get a serve site usage.",
"parameters": [
{
@@ -9231,20 +9187,18 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
}
],
@@ -9274,10 +9228,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/exportApplications": {
"post": {
+ "operationId": "ServerSitesController_ExportApplications",
"tags": [
"ServerSitesController"
],
- "operationId": "ServerSitesController_ExportApplications",
"description": "Method to generate report containing\r\n machine and the deep discovery of the application installed in the machine.",
"parameters": [
{
@@ -9292,20 +9246,18 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
}
],
@@ -9313,22 +9265,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -9355,10 +9305,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/exportDependencies": {
"post": {
+ "operationId": "ServerDependencyMapController_ExportDependencies",
"tags": [
"ServerDependencyMapController"
],
- "operationId": "ServerDependencyMapController_ExportDependencies",
"description": "API to generate report containing agentless dependencies.",
"parameters": [
{
@@ -9373,16 +9323,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "requestBody",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/DependencyMapServiceMapextensionsExportDependenciesRequest"
}
@@ -9392,22 +9342,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -9434,10 +9382,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/exportMachineErrors": {
"post": {
+ "operationId": "ServerSitesController_ExportMachineErrors",
"tags": [
"ServerSitesController"
],
- "operationId": "ServerSitesController_ExportMachineErrors",
"description": "Method to generate report containing \r\n machine and the errors encountered during guest discovery of the machine.",
"parameters": [
{
@@ -9452,16 +9400,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/ExportMachineErrorsRequest"
}
@@ -9471,22 +9419,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -9513,10 +9459,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/generateCoarseMap": {
"post": {
+ "operationId": "ServerDependencyMapController_GenerateCoarseMap",
"tags": [
"ServerDependencyMapController"
],
- "operationId": "ServerDependencyMapController_GenerateCoarseMap",
"description": "API to generate coarse map for the list of machines.",
"parameters": [
{
@@ -9531,16 +9477,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "mapRequest",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/DependencyMapServiceMapextensionsScopeMapRequest"
}
@@ -9550,22 +9496,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -9592,10 +9536,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/generateDetailedMap": {
"post": {
+ "operationId": "ServerDependencyMapController_GenerateDetailedMap",
"tags": [
"ServerDependencyMapController"
],
- "operationId": "ServerDependencyMapController_GenerateDetailedMap",
"description": "API to generate detailed map for a selected machine.",
"parameters": [
{
@@ -9610,16 +9554,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "mapRequest",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/DependencyMapServiceMapextensionsSingleMachineDetailedMapRequest"
}
@@ -9629,22 +9573,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -9671,10 +9613,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/jobs": {
"get": {
+ "operationId": "ServerJobsController_ListByServerSiteResource",
"tags": [
"ServerJobsController"
],
- "operationId": "ServerJobsController_ListByServerSiteResource",
"description": "List ServerJob resources by ServerSiteResource",
"parameters": [
{
@@ -9689,8 +9631,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -9724,10 +9666,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/jobs/{jobName}": {
"get": {
+ "operationId": "ServerJobsController_Get",
"tags": [
"ServerJobsController"
],
- "operationId": "ServerJobsController_Get",
"description": "Get a ServerJob",
"parameters": [
{
@@ -9742,16 +9684,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "jobName",
"in": "path",
- "required": true,
"description": " Jobs name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -9782,10 +9724,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/listHealthSummary": {
"post": {
+ "operationId": "ServerSitesController_ListHealthSummary",
"tags": [
"ServerSitesController"
],
- "operationId": "ServerSitesController_ListHealthSummary",
"description": "Method to get site health summary.",
"parameters": [
{
@@ -9800,8 +9742,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -9832,10 +9774,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/machines": {
"get": {
+ "operationId": "ServersController_ListByServerSiteResource",
"tags": [
"ServersController"
],
- "operationId": "ServersController_ListByServerSiteResource",
"description": "Get all machines in a site.",
"parameters": [
{
@@ -9850,37 +9792,37 @@
{
"name": "filter",
"in": "query",
- "required": false,
"description": "filter query",
+ "required": false,
"type": "string"
},
{
"name": "top",
"in": "query",
- "required": false,
"description": "page size query",
+ "required": false,
"type": "string"
},
{
"name": "continuationToken",
"in": "query",
- "required": false,
"description": "Optional parameter for continuation token.",
+ "required": false,
"type": "string"
},
{
"name": "totalRecordCount",
"in": "query",
- "required": false,
"description": "Total count of machines in the given site.",
+ "required": false,
"type": "integer",
"format": "int32"
},
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -9914,10 +9856,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/machines/{machineName}": {
"get": {
+ "operationId": "ServersController_GetMachine",
"tags": [
"ServersController"
],
- "operationId": "ServersController_GetMachine",
"description": "Get a Server",
"parameters": [
{
@@ -9932,16 +9874,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "machineName",
"in": "path",
- "required": true,
"description": " A server machine name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -9970,10 +9912,10 @@
}
},
"patch": {
+ "operationId": "ServersController_UpdateMachine",
"tags": [
"ServersController"
],
- "operationId": "ServersController_UpdateMachine",
"description": "Update a Server machine",
"parameters": [
{
@@ -9988,24 +9930,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "machineName",
"in": "path",
- "required": true,
"description": " A server machine name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The resource properties to be updated.",
+ "required": true,
"schema": {
"$ref": "#/definitions/ServerUpdate"
}
@@ -10035,10 +9977,10 @@
}
},
"delete": {
+ "operationId": "ServersController_DeleteMachine",
"tags": [
"ServersController"
],
- "operationId": "ServersController_DeleteMachine",
"description": "Delete a Server",
"parameters": [
{
@@ -10053,16 +9995,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "machineName",
"in": "path",
- "required": true,
"description": " A server machine name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -10091,13 +10033,13 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/machines/{machineName}/softwareinventories": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/machines/{machineName}/softwareInventories/{default}": {
"get": {
+ "operationId": "ServerSoftwareInventoriesController_GetMachineSoftwareInventory",
"tags": [
"ServerSoftwareInventoriesController"
],
- "operationId": "ServerSoftwareInventoriesController_ListByServer",
- "description": "List ServerSoftwareInventory resources by Server",
+ "description": "Method to get a machines software inventory like applications and roles.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
@@ -10111,25 +10053,46 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "machineName",
"in": "path",
- "required": true,
"description": " A server machine name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
+ },
+ {
+ "name": "default",
+ "in": "path",
+ "description": "Default value.",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-enum": {
+ "name": "Default",
+ "modelAsString": true,
+ "values": [
+ {
+ "name": "default",
+ "value": "default",
+ "description": "default value."
+ }
+ ]
+ }
}
],
"responses": {
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "$ref": "#/definitions/ServerSoftwareInventoryListResult"
+ "$ref": "#/definitions/ServerSoftwareInventory"
}
},
"default": {
@@ -10139,26 +10102,23 @@
}
}
},
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
"x-ms-examples": {
- "ServerSoftwareInventoriesController_ListByServer_MaximumSet_Gen": {
- "$ref": "./examples/ServerSoftwareInventoriesController_ListByServer_MaximumSet_Gen.json"
+ "ServerSoftwareInventoriesController_GetMachineSoftwareInventory_MaximumSet_Gen": {
+ "$ref": "./examples/ServerSoftwareInventoriesController_GetMachineSoftwareInventory_MaximumSet_Gen.json"
},
- "ServerSoftwareInventoriesController_ListByServer_MinimumSet_Gen": {
- "$ref": "./examples/ServerSoftwareInventoriesController_ListByServer_MinimumSet_Gen.json"
+ "ServerSoftwareInventoriesController_GetMachineSoftwareInventory_MinimumSet_Gen": {
+ "$ref": "./examples/ServerSoftwareInventoriesController_GetMachineSoftwareInventory_MinimumSet_Gen.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/machines/{machineName}/softwareInventories/{default}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/machines/{machineName}/softwareinventories": {
"get": {
+ "operationId": "ServerSoftwareInventoriesController_ListByServer",
"tags": [
"ServerSoftwareInventoriesController"
],
- "operationId": "ServerSoftwareInventoriesController_GetMachineSoftwareInventory",
- "description": "Method to get a machines software inventory like applications and roles.",
+ "description": "List ServerSoftwareInventory resources by Server",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
@@ -10172,46 +10132,25 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "machineName",
"in": "path",
- "required": true,
"description": " A server machine name",
- "type": "string",
- "pattern": "^[a-zA-Z0-9-]{3,24}$"
- },
- {
- "name": "default",
- "in": "path",
"required": true,
- "description": "Default value.",
"type": "string",
- "enum": [
- "default"
- ],
- "x-ms-enum": {
- "name": "Default",
- "modelAsString": true,
- "values": [
- {
- "name": "default",
- "value": "default",
- "description": "default value."
- }
- ]
- }
+ "pattern": "^[a-zA-Z0-9-]{3,24}$"
}
],
"responses": {
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "$ref": "#/definitions/ServerSoftwareInventory"
+ "$ref": "#/definitions/ServerSoftwareInventoryListResult"
}
},
"default": {
@@ -10221,22 +10160,25 @@
}
}
},
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
"x-ms-examples": {
- "ServerSoftwareInventoriesController_GetMachineSoftwareInventory_MaximumSet_Gen": {
- "$ref": "./examples/ServerSoftwareInventoriesController_GetMachineSoftwareInventory_MaximumSet_Gen.json"
+ "ServerSoftwareInventoriesController_ListByServer_MaximumSet_Gen": {
+ "$ref": "./examples/ServerSoftwareInventoriesController_ListByServer_MaximumSet_Gen.json"
},
- "ServerSoftwareInventoriesController_GetMachineSoftwareInventory_MinimumSet_Gen": {
- "$ref": "./examples/ServerSoftwareInventoriesController_GetMachineSoftwareInventory_MinimumSet_Gen.json"
+ "ServerSoftwareInventoriesController_ListByServer_MinimumSet_Gen": {
+ "$ref": "./examples/ServerSoftwareInventoriesController_ListByServer_MinimumSet_Gen.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/operationsStatus/{operationStatusName}": {
"get": {
+ "operationId": "ServerOperationsStatusController_GetServerSiteOperationsStatus",
"tags": [
"ServerOperationsStatusController"
],
- "operationId": "ServerOperationsStatusController_GetServerSiteOperationsStatus",
"description": "A operation status resource belonging to a site resource.",
"parameters": [
{
@@ -10251,16 +10193,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "operationStatusName",
"in": "path",
- "required": true,
"description": "Operation status Arm Name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -10291,10 +10233,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/refreshSite": {
"post": {
+ "operationId": "ServerSitesController_RefreshSite",
"tags": [
"ServerSitesController"
],
- "operationId": "ServerSitesController_RefreshSite",
"description": "Operation to refresh a site",
"parameters": [
{
@@ -10309,8 +10251,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -10319,22 +10261,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "The request has been accepted for processing, but processing has not yet completed.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -10361,10 +10301,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/runAsAccounts": {
"get": {
+ "operationId": "ServerRunAsAccountsController_ListByServerSiteResource",
"tags": [
"ServerRunAsAccountsController"
],
- "operationId": "ServerRunAsAccountsController_ListByServerSiteResource",
"description": "List ServerRunAsAccount resources by ServerSiteResource",
"parameters": [
{
@@ -10379,8 +10319,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -10414,10 +10354,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/runAsAccounts/{accountName}": {
"get": {
+ "operationId": "ServerRunAsAccountsController_Get",
"tags": [
"ServerRunAsAccountsController"
],
- "operationId": "ServerRunAsAccountsController_Get",
"description": "Get a ServerRunAsAccount",
"parameters": [
{
@@ -10432,16 +10372,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "accountName",
"in": "path",
- "required": true,
"description": " RunAsAccounts name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -10472,10 +10412,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/serverGroupMembers": {
"post": {
+ "operationId": "ServerDependencyMapController_ServerGroupMembers",
"tags": [
"ServerDependencyMapController"
],
- "operationId": "ServerDependencyMapController_ServerGroupMembers",
"description": "API to list server group members for the selected server group.",
"parameters": [
{
@@ -10490,16 +10430,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "mapRequest",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/DependencyMapServiceMapextensionsServerGroupMembersRequest"
}
@@ -10509,22 +10449,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -10551,10 +10489,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/summary": {
"post": {
+ "operationId": "ServerSitesController_Summary",
"tags": [
"ServerSitesController"
],
- "operationId": "ServerSitesController_Summary",
"description": "Method to get site usage.",
"parameters": [
{
@@ -10569,8 +10507,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -10601,10 +10539,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/updateDependencyMapStatus": {
"post": {
+ "operationId": "ServerSitesController_UpdateDependencyMapStatus",
"tags": [
"ServerSitesController"
],
- "operationId": "ServerSitesController_UpdateDependencyMapStatus",
"description": "Method to enable disable dependency map status for machines\r\n in a site.",
"parameters": [
{
@@ -10619,16 +10557,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "mapRequest",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/UpdateMachineDepMapStatus"
}
@@ -10638,22 +10576,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -10680,10 +10616,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/serverSites/{siteName}/updateProperties": {
"post": {
+ "operationId": "ServerSitesController_UpdateProperties",
"tags": [
"ServerSitesController"
],
- "operationId": "ServerSitesController_UpdateProperties",
"description": "Operation to update custom properties for servers",
"parameters": [
{
@@ -10698,16 +10634,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "metaData",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/MachineMetadataCollection"
}
@@ -10717,22 +10653,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -10759,10 +10693,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites": {
"get": {
+ "operationId": "SitesController_ListByResourceGroup",
"tags": [
"SitesController"
],
- "operationId": "SitesController_ListByResourceGroup",
"summary": "Get all vmware sites.",
"description": "Get all the vmware sites in the resource group.",
"parameters": [
@@ -10802,62 +10736,14 @@
}
}
}
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}": {
- "get": {
- "tags": [
- "SitesController"
- ],
- "operationId": "SitesController_Get",
- "description": "Get a VmwareSite",
- "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": "siteName",
- "in": "path",
- "required": true,
- "description": "Site name",
- "type": "string",
- "pattern": "^[a-zA-Z0-9-]{3,24}$"
- }
- ],
- "responses": {
- "200": {
- "description": "ARM operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/VmwareSite"
- }
- },
- "default": {
- "description": "An unexpected error response.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "SitesController_Get_MaximumSet_Gen": {
- "$ref": "./examples/SitesController_Get_MaximumSet_Gen.json"
- },
- "SitesController_Get_MinimumSet_Gen": {
- "$ref": "./examples/SitesController_Get_MinimumSet_Gen.json"
- }
- }
- },
- "delete": {
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}": {
+ "get": {
+ "operationId": "SitesController_Get",
"tags": [
"SitesController"
],
- "operationId": "SitesController_Delete",
- "description": "Delete a VmwareSite",
+ "description": "Get a VmwareSite",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
@@ -10871,18 +10757,18 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
],
"responses": {
"200": {
- "description": "Resource deleted successfully."
- },
- "204": {
- "description": "Resource deleted successfully."
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/VmwareSite"
+ }
},
"default": {
"description": "An unexpected error response.",
@@ -10892,19 +10778,19 @@
}
},
"x-ms-examples": {
- "SitesController_Delete_MaximumSet_Gen": {
- "$ref": "./examples/SitesController_Delete_MaximumSet_Gen.json"
+ "SitesController_Get_MaximumSet_Gen": {
+ "$ref": "./examples/SitesController_Get_MaximumSet_Gen.json"
},
- "SitesController_Delete_MinimumSet_Gen": {
- "$ref": "./examples/SitesController_Delete_MinimumSet_Gen.json"
+ "SitesController_Get_MinimumSet_Gen": {
+ "$ref": "./examples/SitesController_Get_MinimumSet_Gen.json"
}
}
},
"put": {
+ "operationId": "SitesController_Create",
"tags": [
"SitesController"
],
- "operationId": "SitesController_Create",
"description": "Create a VmwareSite",
"parameters": [
{
@@ -10919,16 +10805,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "Resource create parameters.",
+ "required": true,
"schema": {
"$ref": "#/definitions/VmwareSite"
}
@@ -10943,15 +10829,15 @@
},
"201": {
"description": "ARM create operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/VmwareSite"
+ },
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
}
- },
- "schema": {
- "$ref": "#/definitions/VmwareSite"
}
},
"default": {
@@ -10971,10 +10857,10 @@
}
},
"patch": {
+ "operationId": "SitesController_Update",
"tags": [
"SitesController"
],
- "operationId": "SitesController_Update",
"description": "Update a VmwareSite",
"parameters": [
{
@@ -10989,16 +10875,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The resource properties to be updated.",
+ "required": true,
"schema": {
"$ref": "#/definitions/VmwareSiteUpdate"
}
@@ -11026,14 +10912,62 @@
"$ref": "./examples/SitesController_Update_MinimumSet_Gen.json"
}
}
+ },
+ "delete": {
+ "operationId": "SitesController_Delete",
+ "tags": [
+ "SitesController"
+ ],
+ "description": "Delete a VmwareSite",
+ "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": "siteName",
+ "in": "path",
+ "description": "Site name",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9-]{3,24}$"
+ }
+ ],
+ "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": {
+ "SitesController_Delete_MaximumSet_Gen": {
+ "$ref": "./examples/SitesController_Delete_MaximumSet_Gen.json"
+ },
+ "SitesController_Delete_MinimumSet_Gen": {
+ "$ref": "./examples/SitesController_Delete_MinimumSet_Gen.json"
+ }
+ }
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/clientGroupMembers": {
"post": {
+ "operationId": "DependencyMapController_ClientGroupMembers",
"tags": [
"DependencyMapController"
],
- "operationId": "DependencyMapController_ClientGroupMembers",
"description": "API to list client group members for the selected client group.",
"parameters": [
{
@@ -11048,16 +10982,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "mapRequest",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/DependencyMapServiceMapextensionsClientGroupMembersRequest"
}
@@ -11067,22 +11001,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -11109,10 +11041,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/computeErrorSummary": {
"post": {
+ "operationId": "SitesController_ComputeErrorSummary",
"tags": [
"SitesController"
],
- "operationId": "SitesController_ComputeErrorSummary",
"description": "Method to get site error summary.",
"parameters": [
{
@@ -11127,20 +11059,18 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
}
],
@@ -11170,10 +11100,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/computeusage": {
"post": {
+ "operationId": "SitesController_Computeusage",
"tags": [
"SitesController"
],
- "operationId": "SitesController_Computeusage",
"description": "Method to get site error summary.",
"parameters": [
{
@@ -11188,20 +11118,18 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
}
],
@@ -11231,10 +11159,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/exportApplications": {
"post": {
+ "operationId": "SitesController_ExportApplications",
"tags": [
"SitesController"
],
- "operationId": "SitesController_ExportApplications",
"description": "Method to generate report containing\r\n machine and the deep discovery of the application installed in the machine.",
"parameters": [
{
@@ -11249,20 +11177,18 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
}
],
@@ -11270,22 +11196,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -11312,10 +11236,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/exportDependencies": {
"post": {
+ "operationId": "DependencyMapController_ExportDependencies",
"tags": [
"DependencyMapController"
],
- "operationId": "DependencyMapController_ExportDependencies",
"description": "API to generate report containing agentless dependencies.",
"parameters": [
{
@@ -11330,16 +11254,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "requestBody",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/DependencyMapServiceMapextensionsExportDependenciesRequest"
}
@@ -11349,22 +11273,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -11391,10 +11313,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/exportMachineErrors": {
"post": {
+ "operationId": "SitesController_ExportMachineErrors",
"tags": [
"SitesController"
],
- "operationId": "SitesController_ExportMachineErrors",
"description": "Method to generate report containing \r\n machine and the errors encountered during guest discovery of the machine.",
"parameters": [
{
@@ -11409,16 +11331,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/ExportMachineErrorsRequest"
}
@@ -11428,22 +11350,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -11470,10 +11390,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/exportMachines": {
"post": {
+ "operationId": "SitesController_ExportMachines",
"tags": [
"SitesController"
],
- "operationId": "SitesController_ExportMachines",
"description": "Method to generate report containing \r\n machine and the deep discovery of the application installed in the machine.",
"parameters": [
{
@@ -11488,16 +11408,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/ExportMachinesRequest"
}
@@ -11507,22 +11427,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -11549,10 +11467,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/generateCoarseMap": {
"post": {
+ "operationId": "DependencyMapController_GenerateCoarseMap",
"tags": [
"DependencyMapController"
],
- "operationId": "DependencyMapController_GenerateCoarseMap",
"description": "API to generate coarse map for the list of machines.",
"parameters": [
{
@@ -11567,16 +11485,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "mapRequest",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/DependencyMapServiceMapextensionsScopeMapRequest"
}
@@ -11586,22 +11504,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -11628,10 +11544,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/generateDetailedMap": {
"post": {
+ "operationId": "DependencyMapController_GenerateDetailedMap",
"tags": [
"DependencyMapController"
],
- "operationId": "DependencyMapController_GenerateDetailedMap",
"description": "API to generate detailed map for a selected machine.",
"parameters": [
{
@@ -11646,16 +11562,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "mapRequest",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/DependencyMapServiceMapextensionsSingleMachineDetailedMapRequest"
}
@@ -11665,22 +11581,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -11707,10 +11621,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/hosts": {
"get": {
+ "operationId": "VmwareHostController_ListByVmwareSite",
"tags": [
"VmwareHostController"
],
- "operationId": "VmwareHostController_ListByVmwareSite",
"description": "List VmwareHost resources by VmwareSite",
"parameters": [
{
@@ -11725,8 +11639,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -11760,10 +11674,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/hosts/{hostName}": {
"get": {
+ "operationId": "VmwareHostController_Get",
"tags": [
"VmwareHostController"
],
- "operationId": "VmwareHostController_Get",
"description": "Get a VmwareHost",
"parameters": [
{
@@ -11778,16 +11692,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "hostName",
"in": "path",
- "required": true,
"description": " Hosts name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -11818,10 +11732,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/jobs": {
"get": {
+ "operationId": "HypervJobsController_ListByVmwareSite",
"tags": [
"HypervJobsController"
],
- "operationId": "HypervJobsController_ListByVmwareSite",
"description": "List VmwareJob resources by VmwareSite",
"parameters": [
{
@@ -11836,8 +11750,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -11871,10 +11785,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/jobs/{jobName}": {
"get": {
+ "operationId": "HypervJobsController_Get",
"tags": [
"HypervJobsController"
],
- "operationId": "HypervJobsController_Get",
"description": "Get a VmwareJob",
"parameters": [
{
@@ -11889,16 +11803,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "jobName",
"in": "path",
- "required": true,
"description": " Jobs name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -11929,10 +11843,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/listHealthSummary": {
"post": {
+ "operationId": "SitesController_ListHealthSummary",
"tags": [
"SitesController"
],
- "operationId": "SitesController_ListHealthSummary",
"description": "Method to get site health summary.",
"parameters": [
{
@@ -11947,8 +11861,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -11979,10 +11893,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/machines": {
"get": {
+ "operationId": "MachinesController_ListByVmwareSite",
"tags": [
"MachinesController"
],
- "operationId": "MachinesController_ListByVmwareSite",
"description": "List MachineResource resources by VmwareSite",
"parameters": [
{
@@ -11997,38 +11911,38 @@
{
"name": "filter",
"in": "query",
- "required": false,
"description": "filter query",
+ "required": false,
"type": "string"
},
{
"name": "top",
"in": "query",
- "required": false,
"description": "page size query",
+ "required": false,
"type": "integer",
"format": "int32"
},
{
"name": "continuationToken",
"in": "query",
- "required": false,
"description": "Optional parameter for continuation token.",
+ "required": false,
"type": "string"
},
{
"name": "totalRecordCount",
"in": "query",
- "required": false,
"description": "Total count of machines in the given site.",
+ "required": false,
"type": "integer",
"format": "int32"
},
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -12062,10 +11976,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/machines/{machineName}": {
"get": {
+ "operationId": "MachinesController_Get",
"tags": [
"MachinesController"
],
- "operationId": "MachinesController_Get",
"description": "Get a MachineResource",
"parameters": [
{
@@ -12080,16 +11994,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "machineName",
"in": "path",
- "required": true,
"description": "Machine name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -12118,10 +12032,10 @@
}
},
"patch": {
+ "operationId": "MachinesController_Update",
"tags": [
"MachinesController"
],
- "operationId": "MachinesController_Update",
"description": "Update a MachineResource",
"parameters": [
{
@@ -12136,24 +12050,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "machineName",
"in": "path",
- "required": true,
"description": "Machine name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "The resource properties to be updated.",
+ "required": true,
"schema": {
"$ref": "#/definitions/MachineResourceUpdate"
}
@@ -12177,79 +12091,18 @@
"MachinesController_Update_MaximumSet_Gen": {
"$ref": "./examples/MachinesController_Update_MaximumSet_Gen.json"
},
- "MachinesController_Update_MinimumSet_Gen": {
- "$ref": "./examples/MachinesController_Update_MinimumSet_Gen.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/machines/{machineName}/softwareinventories": {
- "get": {
- "tags": [
- "VmwareSoftwareInventoriesController"
- ],
- "operationId": "VmwareSoftwareInventoriesController_ListByMachineResource",
- "description": "List VmwareMachineSoftwareInventory resources by MachineResource",
- "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": "siteName",
- "in": "path",
- "required": true,
- "description": "Site name",
- "type": "string",
- "pattern": "^[a-zA-Z0-9-]{3,24}$"
- },
- {
- "name": "machineName",
- "in": "path",
- "required": true,
- "description": "Machine name",
- "type": "string",
- "pattern": "^[a-zA-Z0-9-]{3,24}$"
- }
- ],
- "responses": {
- "200": {
- "description": "ARM operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/VmwareMachineSoftwareInventoryListResult"
- }
- },
- "default": {
- "description": "An unexpected error response.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "VmwareSoftwareInventoriesController_ListByMachineResource_MaximumSet_Gen": {
- "$ref": "./examples/VmwareSoftwareInventoriesController_ListByMachineResource_MaximumSet_Gen.json"
- },
- "VmwareSoftwareInventoriesController_ListByMachineResource_MinimumSet_Gen": {
- "$ref": "./examples/VmwareSoftwareInventoriesController_ListByMachineResource_MinimumSet_Gen.json"
+ "MachinesController_Update_MinimumSet_Gen": {
+ "$ref": "./examples/MachinesController_Update_MinimumSet_Gen.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/machines/{machineName}/softwareInventories/{default}": {
"get": {
+ "operationId": "VmwareSoftwareInventoriesController_GetMachineSoftwareInventory",
"tags": [
"VmwareSoftwareInventoriesController"
],
- "operationId": "VmwareSoftwareInventoriesController_GetMachineSoftwareInventory",
"description": "Method to get a machines software inventory like applications and roles.",
"parameters": [
{
@@ -12264,24 +12117,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "machineName",
"in": "path",
- "required": true,
"description": "Machine name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "default",
"in": "path",
- "required": true,
"description": "Default value.",
+ "required": true,
"type": "string",
"enum": [
"default"
@@ -12323,12 +12176,73 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/machines/{machineName}/softwareinventories": {
+ "get": {
+ "operationId": "VmwareSoftwareInventoriesController_ListByMachineResource",
+ "tags": [
+ "VmwareSoftwareInventoriesController"
+ ],
+ "description": "List VmwareMachineSoftwareInventory resources by MachineResource",
+ "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": "siteName",
+ "in": "path",
+ "description": "Site name",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9-]{3,24}$"
+ },
+ {
+ "name": "machineName",
+ "in": "path",
+ "description": "Machine name",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9-]{3,24}$"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/VmwareMachineSoftwareInventoryListResult"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "VmwareSoftwareInventoriesController_ListByMachineResource_MaximumSet_Gen": {
+ "$ref": "./examples/VmwareSoftwareInventoriesController_ListByMachineResource_MaximumSet_Gen.json"
+ },
+ "VmwareSoftwareInventoriesController_ListByMachineResource_MinimumSet_Gen": {
+ "$ref": "./examples/VmwareSoftwareInventoriesController_ListByMachineResource_MinimumSet_Gen.json"
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/machines/{machineName}/start": {
"post": {
+ "operationId": "MachinesController_Start",
"tags": [
"MachinesController"
],
- "operationId": "MachinesController_Start",
"description": "Method to start a machine.",
"parameters": [
{
@@ -12343,16 +12257,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "machineName",
"in": "path",
- "required": true,
"description": "Machine name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -12361,22 +12275,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "The request has been accepted for processing, but processing has not yet completed.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -12403,10 +12315,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/machines/{machineName}/stop": {
"post": {
+ "operationId": "MachinesController_Stop",
"tags": [
"MachinesController"
],
- "operationId": "MachinesController_Stop",
"description": "Method to stop a machine.",
"parameters": [
{
@@ -12421,16 +12333,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "machineName",
"in": "path",
- "required": true,
"description": "Machine name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -12439,22 +12351,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "The request has been accepted for processing, but processing has not yet completed.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -12481,10 +12391,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/operationsStatus/{operationStatusName}": {
"get": {
+ "operationId": "VmwareOperationsStatus_GetVmwareOperationStatus",
"tags": [
"VmwareOperationsStatus"
],
- "operationId": "VmwareOperationsStatus_GetVmwareOperationStatus",
"description": "A operation status resource belonging to a site resource.",
"parameters": [
{
@@ -12499,16 +12409,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "operationStatusName",
"in": "path",
- "required": true,
"description": "Operation status Arm Name.",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -12539,10 +12449,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/runAsAccounts": {
"get": {
+ "operationId": "RunAsAccountsController_ListByVmwareSite",
"tags": [
"RunAsAccountsController"
],
- "operationId": "RunAsAccountsController_ListByVmwareSite",
"description": "List VmwareRunAsAccountResource resources by VmwareSite",
"parameters": [
{
@@ -12557,8 +12467,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -12592,10 +12502,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/runAsAccounts/{accountName}": {
"get": {
+ "operationId": "RunAsAccountsController_Get",
"tags": [
"RunAsAccountsController"
],
- "operationId": "RunAsAccountsController_Get",
"description": "Get a VmwareRunAsAccountResource",
"parameters": [
{
@@ -12610,16 +12520,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "accountName",
"in": "path",
- "required": true,
"description": " RunAsAccounts name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -12650,10 +12560,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/serverGroupMembers": {
"post": {
+ "operationId": "DependencyMapController_ServerGroupMembers",
"tags": [
"DependencyMapController"
],
- "operationId": "DependencyMapController_ServerGroupMembers",
"description": "API to list server group members for the selected server group.",
"parameters": [
{
@@ -12668,16 +12578,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "mapRequest",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/DependencyMapServiceMapextensionsServerGroupMembersRequest"
}
@@ -12687,22 +12597,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -12729,10 +12637,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/summary": {
"post": {
+ "operationId": "SitesController_Summary",
"tags": [
"SitesController"
],
- "operationId": "SitesController_Summary",
"description": "Method to get site usage/summary.",
"parameters": [
{
@@ -12747,8 +12655,8 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -12779,10 +12687,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/updateDependencyMapStatus": {
"post": {
+ "operationId": "VmwarePropertiesController_UpdateDependencyMapStatus",
"tags": [
"VmwarePropertiesController"
],
- "operationId": "VmwarePropertiesController_UpdateDependencyMapStatus",
"description": "Method to enable disable dependency map status for machines\n in a\nsite.",
"parameters": [
{
@@ -12797,16 +12705,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "updateMachineDepMapStatus",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/UpdateMachineDepMapStatus"
}
@@ -12816,22 +12724,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "The request has been accepted for processing, but processing has not yet completed.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -12858,10 +12764,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/updateProperties": {
"post": {
+ "operationId": "VmwarePropertiesController_UpdateProperties",
"tags": [
"VmwarePropertiesController"
],
- "operationId": "VmwarePropertiesController_UpdateProperties",
"description": "Method to update properties for machines in a site.",
"parameters": [
{
@@ -12876,16 +12782,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "metaData",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/MachineMetadataCollection"
}
@@ -12895,22 +12801,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -12937,10 +12841,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/updateRunAsAccount": {
"post": {
+ "operationId": "VmwarePropertiesController_UpdateRunAsAccount",
"tags": [
"VmwarePropertiesController"
],
- "operationId": "VmwarePropertiesController_UpdateRunAsAccount",
"description": "Method to associate Run as account to machine\r\n in a site.",
"parameters": [
{
@@ -12955,16 +12859,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "updateMachineRunAsAccount",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/UpdateMachineRunAsAccount"
}
@@ -12974,22 +12878,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "The request has been accepted for processing, but processing has not yet completed.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -13016,10 +12918,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/updateTags": {
"post": {
+ "operationId": "VmwarePropertiesController_UpdateTags",
"tags": [
"VmwarePropertiesController"
],
- "operationId": "VmwarePropertiesController_UpdateTags",
"description": "Method to associate Run as account to machine\r\n in a site.",
"parameters": [
{
@@ -13034,16 +12936,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "updateMachineTags",
"in": "body",
- "required": true,
"description": "The content of the action request",
+ "required": true,
"schema": {
"$ref": "#/definitions/UpdateMachineTags"
}
@@ -13053,22 +12955,20 @@
"200": {
"description": "ARM operation completed successfully.",
"schema": {
- "type": "object",
- "properties": {},
- "x-typespec-name": "{}"
+ "type": "object"
}
},
"202": {
"description": "The request has been accepted for processing, but processing has not yet completed.",
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"location": {
- "description": "The Location header contains the URL where the status of the long running operation can be checked.",
- "type": "string"
+ "type": "string",
+ "description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
@@ -13095,10 +12995,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/vcenters": {
"get": {
+ "operationId": "VcenterController_ListByVmwareSite",
"tags": [
"VcenterController"
],
- "operationId": "VcenterController_ListByVmwareSite",
"description": "List Vcenter resources by VmwareSite",
"parameters": [
{
@@ -13113,15 +13013,15 @@
{
"name": "filter",
"in": "query",
- "required": false,
"description": "filter query",
+ "required": false,
"type": "string"
},
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -13155,10 +13055,10 @@
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/vmwareSites/{siteName}/vcenters/{vcenterName}": {
"get": {
+ "operationId": "VcenterController_Get",
"tags": [
"VcenterController"
],
- "operationId": "VcenterController_Get",
"description": "Get a Vcenter",
"parameters": [
{
@@ -13173,16 +13073,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "vcenterName",
"in": "path",
- "required": true,
"description": " VCenters name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -13211,10 +13111,10 @@
}
},
"put": {
+ "operationId": "VcenterController_Create",
"tags": [
"VcenterController"
],
- "operationId": "VcenterController_Create",
"description": "Create a Vcenter",
"parameters": [
{
@@ -13229,24 +13129,24 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "vcenterName",
"in": "path",
- "required": true,
"description": " VCenters name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "body",
"in": "body",
- "required": true,
"description": "Resource create parameters.",
+ "required": true,
"schema": {
"$ref": "#/definitions/Vcenter"
}
@@ -13261,15 +13161,15 @@
},
"201": {
"description": "ARM create operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/Vcenter"
+ },
"headers": {
"Retry-After": {
- "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
"type": "integer",
- "format": "int32"
+ "format": "int32",
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
}
- },
- "schema": {
- "$ref": "#/definitions/Vcenter"
}
},
"default": {
@@ -13293,10 +13193,10 @@
}
},
"delete": {
+ "operationId": "VcenterController_Delete",
"tags": [
"VcenterController"
],
- "operationId": "VcenterController_Delete",
"description": "Delete a Vcenter",
"parameters": [
{
@@ -13311,16 +13211,16 @@
{
"name": "siteName",
"in": "path",
- "required": true,
"description": "Site name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"name": "vcenterName",
"in": "path",
- "required": true,
"description": " VCenters name",
+ "required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
}
@@ -13353,6 +13253,7 @@
"definitions": {
"Application": {
"type": "object",
+ "description": "Application in the guest virtual machine.",
"properties": {
"name": {
"type": "string",
@@ -13369,11 +13270,11 @@
"description": "Gets or sets Provider of the Application.",
"readOnly": true
}
- },
- "description": "Application in the guest virtual machine."
+ }
},
"ApplicationDiscovery": {
"type": "object",
+ "description": "Contains data related application and roles discovery scope.",
"properties": {
"discoveryScopeStatus": {
"$ref": "#/definitions/ApplicationDiscoveryScopeStatus",
@@ -13382,11 +13283,10 @@
},
"errors": {
"type": "array",
+ "description": "Gets errors for discovery scope.",
"items": {
"$ref": "#/definitions/HealthErrorDetails"
},
- "description": "Gets errors for discovery scope.",
- "x-typespec-name": "HealthErrorDetails[]",
"readOnly": true
},
"hydratedRunAsAccountId": {
@@ -13394,8 +13294,7 @@
"description": "Gets the run as account ID with which feature worked successfully.\n \nIt is discovered by the agent from the list of credentials.",
"readOnly": true
}
- },
- "description": "Contains data related application and roles discovery scope."
+ }
},
"ApplicationDiscoveryScopeStatus": {
"type": "string",
@@ -13459,107 +13358,98 @@
},
"AppsAndRoles": {
"type": "object",
+ "description": "AppsAndRoles in the guest virtual machine.",
"properties": {
"applications": {
"type": "array",
+ "description": "Gets or sets Applications of the AppsAndRoles.",
"items": {
"$ref": "#/definitions/Application"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets Applications of the AppsAndRoles.",
- "x-typespec-name": "Application[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"webApplications": {
"type": "array",
+ "description": "Gets or sets WebApplications of the AppsAndRoles.",
"items": {
"$ref": "#/definitions/WebApplicationAppsAndRolesModel"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets WebApplications of the AppsAndRoles.",
- "x-typespec-name": "WebApplicationAppsAndRolesModel[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"features": {
"type": "array",
+ "description": "Gets or sets Features of the AppsAndRoles.",
"items": {
"$ref": "#/definitions/Feature"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets Features of the AppsAndRoles.",
- "x-typespec-name": "Feature[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"sqlServers": {
"type": "array",
+ "description": "Gets or sets SQLServers of the AppsAndRoles.",
"items": {
"$ref": "#/definitions/SqlServerApplication"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets SQLServers of the AppsAndRoles.",
- "x-typespec-name": "SqlServerApplication[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"sharePointServers": {
"type": "array",
+ "description": "Gets or sets SharePointServers of the AppsAndRoles.",
"items": {
"$ref": "#/definitions/SharePointServer"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets SharePointServers of the AppsAndRoles.",
- "x-typespec-name": "SharePointServer[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"systemCenters": {
"type": "array",
+ "description": "Gets or sets SystemCenters of the AppsAndRoles.",
"items": {
"$ref": "#/definitions/SystemCenter"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets SystemCenters of the AppsAndRoles.",
- "x-typespec-name": "SystemCenter[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"bizTalkServers": {
"type": "array",
+ "description": "Gets or sets BizTalkServers of the AppsAndRoles.",
"items": {
"$ref": "#/definitions/BizTalkServer"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets BizTalkServers of the AppsAndRoles.",
- "x-typespec-name": "BizTalkServer[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"exchangeServers": {
"type": "array",
+ "description": "Gets or sets ExchangeServers of the AppsAndRoles.",
"items": {
"$ref": "#/definitions/ExchangeServer"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets ExchangeServers of the AppsAndRoles.",
- "x-typespec-name": "ExchangeServer[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"otherDatabases": {
"type": "array",
+ "description": "Gets or sets OtherDatabaseServers of the AppsAndRoles.",
"items": {
"$ref": "#/definitions/OtherDatabase"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets OtherDatabaseServers of the AppsAndRoles.",
- "x-typespec-name": "OtherDatabase[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
}
- },
- "description": "AppsAndRoles in the guest virtual machine."
+ }
},
"Azure.ResourceManager.Object": {
"type": "object",
- "properties": {},
"description": "object model"
},
"BizTalkServer": {
"type": "object",
+ "description": "BizTalkServer in the guest virtual machine.",
"properties": {
"productName": {
"type": "string",
@@ -13571,23 +13461,21 @@
"description": "Gets or sets Status of the BizTalkServer.",
"readOnly": true
}
- },
- "description": "BizTalkServer in the guest virtual machine."
+ }
},
"ConnectorUnit": {
"type": "object",
+ "description": "The connectors of the web server.",
"properties": {
"bindings": {
"type": "array",
+ "description": "Gets or sets the bindings for the connector.",
"items": {
"$ref": "#/definitions/FrontEndBinding"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets the bindings for the connector.",
- "x-typespec-name": "FrontEndBinding[]"
+ "x-ms-identifiers": []
}
- },
- "description": "The connectors of the web server."
+ }
},
"Default": {
"type": "string",
@@ -13627,6 +13515,7 @@
},
"DeleteImportMachinesJob": {
"type": "object",
+ "description": "A host resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/DeleteImportedMachinesJobProperties",
@@ -13638,7 +13527,6 @@
]
}
},
- "description": "A host resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -13647,14 +13535,14 @@
},
"DeleteImportMachinesJobCollection": {
"type": "object",
+ "description": "Delete import machines job collection.",
"properties": {
"value": {
"type": "array",
+ "description": "Gets the list of jobs.",
"items": {
"$ref": "#/definitions/DeleteImportMachinesJob"
- },
- "description": "Gets the list of jobs.",
- "x-typespec-name": "DeleteImportMachinesJob[]"
+ }
},
"nextLink": {
"type": "string",
@@ -13662,13 +13550,13 @@
"readOnly": true
}
},
- "description": "Delete import machines job collection.",
"required": [
"value"
]
},
"DeleteImportedMachinesJobProperties": {
"type": "object",
+ "description": "Delete Imported Machines Job Properties",
"properties": {
"blobName": {
"type": "string",
@@ -13693,11 +13581,10 @@
},
"errors": {
"type": "array",
+ "description": "errors list",
"items": {
"type": "string"
},
- "description": "errors list",
- "x-typespec-name": "string[]",
"readOnly": true
},
"status": {
@@ -13720,8 +13607,7 @@
"$ref": "#/definitions/ProvisioningState",
"description": "The status of the last operation."
}
- },
- "description": "Delete Imported Machines Job Properties"
+ }
},
"DeleteImportedMachinesJobPropertiesJobState": {
"type": "string",
@@ -13767,6 +13653,7 @@
},
"DependencyMapDiscovery": {
"type": "object",
+ "description": "Contains data related dependency map discovery scope.",
"properties": {
"discoveryScopeStatus": {
"$ref": "#/definitions/DependencyMapDiscoveryScopeStatus",
@@ -13775,11 +13662,10 @@
},
"errors": {
"type": "array",
+ "description": "Gets errors for discovery scope.",
"items": {
"$ref": "#/definitions/HealthErrorDetails"
},
- "description": "Gets errors for discovery scope.",
- "x-typespec-name": "HealthErrorDetails[]",
"readOnly": true
},
"hydratedRunAsAccountId": {
@@ -13787,8 +13673,7 @@
"description": "Gets the run as account ID with which feature worked successfully.\n \nIt is discovered by the agent from the list of credentials.",
"readOnly": true
}
- },
- "description": "Contains data related dependency map discovery scope."
+ }
},
"DependencyMapDiscoveryScopeStatus": {
"type": "string",
@@ -13852,6 +13737,7 @@
},
"DependencyMapMachineInput": {
"type": "object",
+ "description": "Machine class.",
"properties": {
"machineId": {
"type": "string",
@@ -13861,11 +13747,11 @@
"type": "boolean",
"description": "Gets or sets a value indicating whether\n dependency mapping is to\nbe enabled or not."
}
- },
- "description": "Machine class."
+ }
},
"DependencyMapServiceMapextensionsClientGroupMembersRequest": {
"type": "object",
+ "description": "DependencyMap ServiceMap extensions Client GroupMembers Request",
"properties": {
"machineId": {
"type": "string",
@@ -13893,33 +13779,31 @@
"$ref": "#/definitions/DependencyMapServiceMapextensionsDependencyMapRequestFilters",
"description": "optional filters"
}
- },
- "description": "DependencyMap ServiceMap extensions Client GroupMembers Request"
+ }
},
"DependencyMapServiceMapextensionsDependencyMapRequestFilters": {
"type": "object",
+ "description": "DependencyMap Service Map extensions Dependency Map Request Filters",
"properties": {
"machineIds": {
"type": "array",
+ "description": "array of machine ids",
"items": {
"type": "string"
- },
- "description": "array of machine ids",
- "x-typespec-name": "string[]"
+ }
},
"processIds": {
"type": "array",
+ "description": "array of process Ids",
"items": {
"type": "string"
- },
- "description": "array of process Ids",
- "x-typespec-name": "string[]"
+ }
}
- },
- "description": "DependencyMap Service Map extensions Dependency Map Request Filters"
+ }
},
"DependencyMapServiceMapextensionsExportDependenciesRequest": {
"type": "object",
+ "description": "DependencyMap ServiceMap extensions ExportDependencies Request",
"properties": {
"startTime": {
"type": "string",
@@ -13931,11 +13815,11 @@
"format": "date-time",
"description": "end time"
}
- },
- "description": "DependencyMap ServiceMap extensions ExportDependencies Request"
+ }
},
"DependencyMapServiceMapextensionsScopeMapRequest": {
"type": "object",
+ "description": "DependencyMap ServiceMapextensions Scope MapRequest",
"properties": {
"startTime": {
"type": "string",
@@ -13951,11 +13835,11 @@
"$ref": "#/definitions/DependencyMapServiceMapextensionsDependencyMapRequestFilters",
"description": "optional filters"
}
- },
- "description": "DependencyMap ServiceMapextensions Scope MapRequest"
+ }
},
"DependencyMapServiceMapextensionsServerGroupMembersRequest": {
"type": "object",
+ "description": "DependencyMap ServiceMap extensions ServerGroup Members Request",
"properties": {
"serverPort": {
"type": "integer",
@@ -13976,11 +13860,11 @@
"$ref": "#/definitions/DependencyMapServiceMapextensionsDependencyMapRequestFilters",
"description": "optional filters"
}
- },
- "description": "DependencyMap ServiceMap extensions ServerGroup Members Request"
+ }
},
"DependencyMapServiceMapextensionsSingleMachineDetailedMapRequest": {
"type": "object",
+ "description": "DependencyMap ServiceMap extensions SingleMachine DetailedMap Request",
"properties": {
"machineId": {
"type": "string",
@@ -14000,11 +13884,11 @@
"$ref": "#/definitions/DependencyMapServiceMapextensionsDependencyMapRequestFilters",
"description": "optional filters"
}
- },
- "description": "DependencyMap ServiceMap extensions SingleMachine DetailedMap Request"
+ }
},
"DirectoryPath": {
"type": "object",
+ "description": "Second level entity for virtual directories.",
"properties": {
"virtual": {
"type": "string",
@@ -14014,11 +13898,11 @@
"type": "string",
"description": "Gets or sets the physical path of the directory on the web server."
}
- },
- "description": "Second level entity for virtual directories."
+ }
},
"DiscoveryScopeErrorSummary": {
"type": "object",
+ "description": "The site error summary model.",
"properties": {
"affectedResourceType": {
"type": "string",
@@ -14034,7 +13918,6 @@
"description": "Gets or sets the count of affected objects."
}
},
- "description": "The site error summary model.",
"required": [
"affectedResourceType",
"affectedObjectsCount",
@@ -14139,6 +14022,7 @@
},
"DiscoverySiteDataSource": {
"type": "object",
+ "description": "Web app data source web model.",
"properties": {
"properties": {
"$ref": "#/definitions/DiscoverySiteDataSourceProperties",
@@ -14150,7 +14034,6 @@
]
}
},
- "description": "Web app data source web model.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -14159,29 +14042,28 @@
},
"DiscoverySiteDataSourceListResult": {
"type": "object",
+ "description": "The response of a DiscoverySiteDataSource list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The DiscoverySiteDataSource items on this page",
"items": {
"$ref": "#/definitions/DiscoverySiteDataSource"
- },
- "description": "The DiscoverySiteDataSource items on this page",
- "x-typespec-name": "DiscoverySiteDataSource[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a DiscoverySiteDataSource list operation.",
"required": [
"value"
]
},
"DiscoverySiteDataSourceProperties": {
"type": "object",
+ "description": "Discovery site data source properties class.",
"properties": {
"discoverySiteId": {
"type": "string",
@@ -14192,11 +14074,11 @@
"description": "provisioning state enum",
"readOnly": true
}
- },
- "description": "Discovery site data source properties class."
+ }
},
"ErrorDetails": {
"type": "object",
+ "description": "Error contract returned when some exception occurs in Rest API.",
"properties": {
"code": {
"type": "string",
@@ -14248,21 +14130,21 @@
"description": "Gets the recommended action for the agent error.",
"readOnly": true
}
- },
- "description": "Error contract returned when some exception occurs in Rest API."
+ }
},
"ErrorSummaryRequest": {
"type": "object",
+ "description": "ErrorSummaryRequest body",
"properties": {
"applianceName": {
"type": "string",
"description": "Gets or sets the Appliance Name."
}
- },
- "description": "ErrorSummaryRequest body"
+ }
},
"Errors": {
"type": "object",
+ "description": "The properties of a server machine tracked resource",
"properties": {
"message": {
"type": "string",
@@ -14271,11 +14153,10 @@
},
"messageParameters": {
"type": "object",
+ "description": "Gets the message parameters.",
"additionalProperties": {
"type": "string"
},
- "description": "Gets the message parameters.",
- "x-typespec-name": "Record",
"readOnly": true
},
"applianceName": {
@@ -14335,11 +14216,11 @@
"description": "Gets discovery scope for which error is encountered.",
"readOnly": true
}
- },
- "description": "The properties of a server machine tracked resource"
+ }
},
"ExchangeServer": {
"type": "object",
+ "description": "ExchangeServer in the guest virtual machine.",
"properties": {
"productName": {
"type": "string",
@@ -14366,11 +14247,11 @@
"description": "Gets or sets Version of the ExchangeServer.",
"readOnly": true
}
- },
- "description": "ExchangeServer in the guest virtual machine."
+ }
},
"ExportImportedMachinesJob": {
"type": "object",
+ "description": "Export machines job REST resource.",
"properties": {
"type": {
"type": "string",
@@ -14405,11 +14286,11 @@
"type": "string",
"description": "Gets or sets the Display name."
}
- },
- "description": "Export machines job REST resource."
+ }
},
"ExportImportedMachinesJobEntityProperties": {
"type": "object",
+ "description": " Export Imported Machines JobEntity Properties ",
"properties": {
"blobName": {
"type": "string",
@@ -14419,8 +14300,7 @@
"type": "string",
"description": "sas uri"
}
- },
- "description": " Export Imported Machines JobEntity Properties "
+ }
},
"ExportMachineErrorsProperties": {
"type": "string",
@@ -14460,26 +14340,27 @@
},
"ExportMachineErrorsRequest": {
"type": "object",
+ "description": "The body of export machine errors request.",
"properties": {
"properties": {
"$ref": "#/definitions/RequestExportMachineErrorsProperties",
"description": "Gets or sets the properties."
}
- },
- "description": "The body of export machine errors request."
+ }
},
"ExportMachinesRequest": {
"type": "object",
+ "description": "ExportMachinesRequest body",
"properties": {
"filter": {
"type": "string",
"description": "filter options."
}
- },
- "description": "ExportMachinesRequest body"
+ }
},
"ExportSqlServersRequest": {
"type": "object",
+ "description": "ExportSqlServerRequest body",
"properties": {
"applianceName": {
"type": "string",
@@ -14489,18 +14370,17 @@
"type": "string",
"description": "filter options."
}
- },
- "description": "ExportSqlServerRequest body"
+ }
},
"ExportWebAppsRequest": {
"type": "object",
+ "description": "ExportWebAppsRequest body",
"properties": {
"filter": {
"type": "string",
"description": "filter options."
}
- },
- "description": "ExportWebAppsRequest body"
+ }
},
"FCIInstanceState": {
"type": "string",
@@ -14570,6 +14450,7 @@
},
"Feature": {
"type": "object",
+ "description": "Feature in the guest virtual machine.",
"properties": {
"name": {
"type": "string",
@@ -14591,11 +14472,11 @@
"description": "Gets or sets Status of the Feature.",
"readOnly": true
}
- },
- "description": "Feature in the guest virtual machine."
+ }
},
"FileMetaData": {
"type": "object",
+ "description": "File Metadata web model.",
"properties": {
"logicalName": {
"type": "string",
@@ -14618,8 +14499,7 @@
"type": "boolean",
"description": "Gets or sets a value indicating whether memory optimized data option is enabled."
}
- },
- "description": "File Metadata web model."
+ }
},
"FileType": {
"type": "string",
@@ -14665,6 +14545,7 @@
},
"FrontEndBinding": {
"type": "object",
+ "description": "Frontend bindings for a web application.",
"properties": {
"protocol": {
"type": "string",
@@ -14682,11 +14563,11 @@
"type": "string",
"description": "Gets or sets the IP Address."
}
- },
- "description": "Frontend bindings for a web application."
+ }
},
"GuestOsDetails": {
"type": "object",
+ "description": "Second level object. Data related to a machine's operating system. Serialized and stored as part of Machine Rest object. ",
"properties": {
"osType": {
"type": "string",
@@ -14704,11 +14585,11 @@
"type": "string",
"description": "Gets or sets the Architecture of the operating system."
}
- },
- "description": "Second level object. Data related to a machine's operating system. Serialized and stored as part of Machine Rest object. "
+ }
},
"HealthErrorDetails": {
"type": "object",
+ "description": "Error contract returned when some exception occurs in Rest API.",
"properties": {
"message": {
"type": "string",
@@ -14717,11 +14598,10 @@
},
"messageParameters": {
"type": "object",
+ "description": "Gets the message parameters.",
"additionalProperties": {
"type": "string"
},
- "description": "Gets the message parameters.",
- "x-typespec-name": "Record",
"readOnly": true
},
"applianceName": {
@@ -14781,8 +14661,7 @@
"description": "Gets discovery scope for which error is encountered.",
"readOnly": true
}
- },
- "description": "Error contract returned when some exception occurs in Rest API."
+ }
},
"HealthErrorDetailsDiscoveryScope": {
"type": "string",
@@ -14918,6 +14797,7 @@
},
"HypervCluster": {
"type": "object",
+ "description": "A cluster resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/HypervClusterProperties",
@@ -14929,7 +14809,6 @@
]
}
},
- "description": "A cluster resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -14938,29 +14817,28 @@
},
"HypervClusterListResult": {
"type": "object",
+ "description": "The response of a HypervCluster list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The HypervCluster items on this page",
"items": {
"$ref": "#/definitions/HypervCluster"
- },
- "description": "The HypervCluster items on this page",
- "x-typespec-name": "HypervCluster[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a HypervCluster list operation.",
"required": [
"value"
]
},
"HypervClusterProperties": {
"type": "object",
+ "description": "The properties of Hyperv Cluster",
"properties": {
"createdTimestamp": {
"type": "string",
@@ -14993,30 +14871,28 @@
},
"hostFqdnList": {
"type": "array",
+ "description": "Gets or sets list of hosts (FQDN) currently being tracked by the cluster.",
"items": {
"type": "string"
- },
- "description": "Gets or sets list of hosts (FQDN) currently being tracked by the cluster.",
- "x-typespec-name": "string[]"
+ }
},
"errors": {
"type": "array",
+ "description": "Gets the errors.",
"items": {
"$ref": "#/definitions/HealthErrorDetails"
},
- "description": "Gets the errors.",
- "x-typespec-name": "HealthErrorDetails[]",
"readOnly": true
},
"provisioningState": {
"$ref": "#/definitions/ProvisioningState",
"description": "The status of the last operation."
}
- },
- "description": "The properties of Hyperv Cluster"
+ }
},
"HypervDisk": {
"type": "object",
+ "description": "Second level object returned as part of Machine REST resource.",
"properties": {
"instanceId": {
"type": "string",
@@ -15050,11 +14926,11 @@
"type": "string",
"description": "Gets or sets Path of the disk."
}
- },
- "description": "Second level object returned as part of Machine REST resource."
+ }
},
"HypervHost": {
"type": "object",
+ "description": "A host resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/HypervHostProperties",
@@ -15066,7 +14942,6 @@
]
}
},
- "description": "A host resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -15075,29 +14950,28 @@
},
"HypervHostListResult": {
"type": "object",
+ "description": "The response of a HypervHost list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The HypervHost items on this page",
"items": {
"$ref": "#/definitions/HypervHost"
- },
- "description": "The HypervHost items on this page",
- "x-typespec-name": "HypervHost[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a HypervHost list operation.",
"required": [
"value"
]
},
"HypervHostProperties": {
"type": "object",
+ "description": "The properties of Hyperv Host",
"properties": {
"createdTimestamp": {
"type": "string",
@@ -15124,22 +14998,21 @@
},
"errors": {
"type": "array",
+ "description": "Gets the errors.",
"items": {
"$ref": "#/definitions/HealthErrorDetails"
},
- "description": "Gets the errors.",
- "x-typespec-name": "HealthErrorDetails[]",
"readOnly": true
},
"provisioningState": {
"$ref": "#/definitions/ProvisioningState",
"description": "The status of the last operation."
}
- },
- "description": "The properties of Hyperv Host"
+ }
},
"HypervJob": {
"type": "object",
+ "description": "A job resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/JobProperties",
@@ -15151,7 +15024,6 @@
]
}
},
- "description": "A job resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -15160,29 +15032,28 @@
},
"HypervJobListResult": {
"type": "object",
+ "description": "The response of a HypervJob list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The HypervJob items on this page",
"items": {
"$ref": "#/definitions/HypervJob"
- },
- "description": "The HypervJob items on this page",
- "x-typespec-name": "HypervJob[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a HypervJob list operation.",
"required": [
"value"
]
},
"HypervMachine": {
"type": "object",
+ "description": "A machine resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/HypervMachineProperties",
@@ -15194,7 +15065,6 @@
]
}
},
- "description": "A machine resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -15203,29 +15073,28 @@
},
"HypervMachineListResult": {
"type": "object",
+ "description": "The response of a HypervMachine list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The HypervMachine items on this page",
"items": {
"$ref": "#/definitions/HypervMachine"
- },
- "description": "The HypervMachine items on this page",
- "x-typespec-name": "HypervMachine[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a HypervMachine list operation.",
"required": [
"value"
]
},
"HypervMachineProperties": {
"type": "object",
+ "description": "The properties of AddressResource",
"properties": {
"instanceUuid": {
"type": "string",
@@ -15281,23 +15150,21 @@
},
"disks": {
"type": "array",
+ "description": "Disks attached to the machine.",
"items": {
"$ref": "#/definitions/HypervDisk"
},
- "x-ms-identifiers": [],
- "description": "Disks attached to the machine.",
- "x-typespec-name": "HypervDisk[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"networkAdapters": {
"type": "array",
+ "description": "Network adapters attached to the machine.",
"items": {
"$ref": "#/definitions/HypervNetworkAdapter"
},
- "x-ms-identifiers": [],
- "description": "Network adapters attached to the machine.",
- "x-typespec-name": "HypervNetworkAdapter[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"managementServerType": {
"type": "string",
@@ -15412,20 +15279,18 @@
},
"applianceNames": {
"type": "array",
+ "description": "Gets the appliance names.",
"items": {
"type": "string"
},
- "description": "Gets the appliance names.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"errors": {
"type": "array",
+ "description": "Errors for machine.",
"items": {
"$ref": "#/definitions/HealthErrorDetails"
},
- "description": "Errors for machine.",
- "x-typespec-name": "HealthErrorDetails[]",
"readOnly": true
},
"applicationDiscovery": {
@@ -15521,11 +15386,10 @@
},
"tags": {
"type": "object",
+ "description": "Gets or sets tags on the resource.",
"additionalProperties": {
"type": "string"
- },
- "description": "Gets or sets tags on the resource.",
- "x-typespec-name": "Record"
+ }
},
"updatedTimestamp": {
"type": "string",
@@ -15537,21 +15401,21 @@
"description": "The status of the last operation.",
"readOnly": true
}
- },
- "description": "The properties of AddressResource"
+ }
},
"HypervMachineUpdate": {
"type": "object",
+ "description": "The type used for update operations of the HypervMachine.",
"properties": {
"properties": {
"$ref": "#/definitions/HypervMachineUpdateProperties",
"x-ms-client-flatten": true
}
- },
- "description": "The type used for update operations of the HypervMachine."
+ }
},
"HypervMachineUpdateProperties": {
"type": "object",
+ "description": "The updatable properties of the HypervMachine.",
"properties": {
"firmware": {
"type": "string",
@@ -15589,17 +15453,16 @@
},
"tags": {
"type": "object",
+ "description": "Gets or sets tags on the resource.",
"additionalProperties": {
"type": "string"
- },
- "description": "Gets or sets tags on the resource.",
- "x-typespec-name": "Record"
+ }
}
- },
- "description": "The updatable properties of the HypervMachine."
+ }
},
"HypervNetworkAdapter": {
"type": "object",
+ "description": "Second level object represented in responses as part of Machine REST resource.",
"properties": {
"networkId": {
"type": "string",
@@ -15631,11 +15494,10 @@
},
"ipAddressList": {
"type": "array",
+ "description": "Gets IP addresses for the machine.",
"items": {
"type": "string"
},
- "description": "Gets IP addresses for the machine.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"networkName": {
@@ -15646,11 +15508,11 @@
"type": "string",
"description": "Gets or sets Type of the IP address."
}
- },
- "description": "Second level object represented in responses as part of Machine REST resource."
+ }
},
"HypervOperationsStatusResource": {
"type": "object",
+ "description": "A cluster resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/HypervClusterProperties",
@@ -15662,7 +15524,6 @@
]
}
},
- "description": "A cluster resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -15671,6 +15532,7 @@
},
"HypervRunAsAccountResource": {
"type": "object",
+ "description": "A machine resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/RunAsAccountProperties",
@@ -15682,7 +15544,6 @@
]
}
},
- "description": "A machine resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -15691,29 +15552,28 @@
},
"HypervRunAsAccountResourceListResult": {
"type": "object",
+ "description": "The response of a HypervRunAsAccountResource list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The HypervRunAsAccountResource items on this page",
"items": {
"$ref": "#/definitions/HypervRunAsAccountResource"
- },
- "description": "The HypervRunAsAccountResource items on this page",
- "x-typespec-name": "HypervRunAsAccountResource[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a HypervRunAsAccountResource list operation.",
"required": [
"value"
]
},
"HypervSite": {
"type": "object",
+ "description": "A HyperV SiteResource",
"properties": {
"properties": {
"$ref": "#/definitions/SiteProperties",
@@ -15725,7 +15585,6 @@
]
}
},
- "description": "A HyperV SiteResource",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
@@ -15734,47 +15593,45 @@
},
"HypervSiteListResult": {
"type": "object",
+ "description": "The response of a HypervSite list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The HypervSite items on this page",
"items": {
"$ref": "#/definitions/HypervSite"
- },
- "description": "The HypervSite items on this page",
- "x-typespec-name": "HypervSite[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a HypervSite list operation.",
"required": [
"value"
]
},
"HypervSiteUpdate": {
"type": "object",
+ "description": "The type used for update operations of the HypervSite.",
"properties": {
"tags": {
"type": "object",
+ "description": "Resource tags.",
"additionalProperties": {
"type": "string"
- },
- "description": "Resource tags.",
- "x-typespec-name": "Record"
+ }
},
"properties": {
"$ref": "#/definitions/HypervSiteUpdateProperties",
"x-ms-client-flatten": true
}
- },
- "description": "The type used for update operations of the HypervSite."
+ }
},
"HypervSiteUpdateProperties": {
"type": "object",
+ "description": "The updatable properties of the HypervSite.",
"properties": {
"servicePrincipalIdentityDetails": {
"$ref": "#/definitions/SiteSpnProperties",
@@ -15796,11 +15653,11 @@
"$ref": "#/definitions/ProvisioningState",
"description": "The status of the last operation."
}
- },
- "description": "The updatable properties of the HypervSite."
+ }
},
"HypervSiteUsage": {
"type": "object",
+ "description": "Hyper-V site usage.",
"properties": {
"machineCount": {
"type": "integer",
@@ -15822,11 +15679,11 @@
"format": "int32",
"description": "Gets or sets the number of clusters part of the site."
}
- },
- "description": "Hyper-V site usage."
+ }
},
"HypervVmSoftwareInventory": {
"type": "object",
+ "description": "HyperV VM software inventory REST resource.",
"properties": {
"properties": {
"$ref": "#/definitions/MachineSoftwareInventoryProperties",
@@ -15838,7 +15695,6 @@
]
}
},
- "description": "HyperV VM software inventory REST resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -15847,29 +15703,28 @@
},
"HypervVmSoftwareInventoryListResult": {
"type": "object",
+ "description": "The response of a HypervVmSoftwareInventory list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The HypervVmSoftwareInventory items on this page",
"items": {
"$ref": "#/definitions/HypervVmSoftwareInventory"
- },
- "description": "The HypervVmSoftwareInventory items on this page",
- "x-typespec-name": "HypervVmSoftwareInventory[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a HypervVmSoftwareInventory list operation.",
"required": [
"value"
]
},
"IisApplicationUnit": {
"type": "object",
+ "description": "Second-level object for identification of application units in a web site\nhosted on IIS.",
"properties": {
"applicationPoolName": {
"type": "string",
@@ -15893,18 +15748,17 @@
},
"directories": {
"type": "array",
+ "description": "Gets or sets the list of directories.",
"items": {
"$ref": "#/definitions/DirectoryPath"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets the list of directories.",
- "x-typespec-name": "DirectoryPath[]"
+ "x-ms-identifiers": []
}
- },
- "description": "Second-level object for identification of application units in a web site\nhosted on IIS."
+ }
},
"IisVirtualApplicationUnit": {
"type": "object",
+ "description": "Second-level object for identification of virtual applications in a web site\nhosted on IIS.",
"properties": {
"isVirtualDirectory": {
"type": "boolean",
@@ -15917,38 +15771,35 @@
},
"directories": {
"type": "array",
+ "description": "Gets or sets the list of directories.",
"items": {
"$ref": "#/definitions/DirectoryPath"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets the list of directories.",
- "x-typespec-name": "DirectoryPath[]"
+ "x-ms-identifiers": []
}
- },
- "description": "Second-level object for identification of virtual applications in a web site\nhosted on IIS."
+ }
},
"IisWebApplicationProperties": {
"type": "object",
+ "description": "Class for web application properties.",
"properties": {
"applications": {
"type": "array",
+ "description": "Gets the list of application units for the web site.",
"items": {
"$ref": "#/definitions/IisApplicationUnit"
},
- "x-ms-identifiers": [],
- "description": "Gets the list of application units for the web site.",
- "x-typespec-name": "IisApplicationUnit[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"virtualApplications": {
"type": "array",
+ "description": "Gets the list of application units for the web site.",
"items": {
"$ref": "#/definitions/IisVirtualApplicationUnit"
},
- "x-ms-identifiers": [],
- "description": "Gets the list of application units for the web site.",
- "x-typespec-name": "IisVirtualApplicationUnit[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"webServerId": {
"type": "string",
@@ -15960,6 +15811,14 @@
"description": "Gets the web server name.",
"readOnly": true
},
+ "machineArmIds": {
+ "type": "array",
+ "description": "Gets the list of machine ARM Ids on which the SQL server is deployed.",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
"virtualPath": {
"type": "string",
"description": "Gets the virtual path of the application.",
@@ -15972,43 +15831,39 @@
},
"bindings": {
"type": "array",
+ "description": "Gets the front end bindings for the application.",
"items": {
"$ref": "#/definitions/FrontEndBinding"
},
- "x-ms-identifiers": [],
- "description": "Gets the front end bindings for the application.",
- "x-typespec-name": "FrontEndBinding[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"frameworks": {
"type": "array",
+ "description": "Gets the Error details.",
"items": {
"$ref": "#/definitions/WebApplicationFramework"
},
- "x-ms-identifiers": [],
- "description": "Gets the Error details.",
- "x-typespec-name": "WebApplicationFramework[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"configurations": {
"type": "array",
+ "description": "Gets the configuration.",
"items": {
"$ref": "#/definitions/WebApplicationConfigurationUnit"
},
- "x-ms-identifiers": [],
- "description": "Gets the configuration.",
- "x-typespec-name": "WebApplicationConfigurationUnit[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"directories": {
"type": "array",
+ "description": "Gets the directories.",
"items": {
"$ref": "#/definitions/WebApplicationDirectoryUnit"
},
- "description": "Gets the directories.",
- "x-typespec-name": "WebApplicationDirectoryUnit[]",
- "x-ms-identifiers": [],
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"displayName": {
"type": "string",
@@ -16017,19 +15872,17 @@
},
"tags": {
"type": "object",
+ "description": "Gets or sets tags on the resource.",
"additionalProperties": {
"type": "string"
- },
- "description": "Gets or sets tags on the resource.",
- "x-typespec-name": "Record"
+ }
},
"staticFolders": {
"type": "array",
+ "description": "Static folders.",
"items": {
"type": "string"
},
- "description": "Static folders.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"machineDisplayName": {
@@ -16059,20 +15912,18 @@
},
"errors": {
"type": "array",
+ "description": "Gets the Error details.",
"items": {
"$ref": "#/definitions/HealthErrorDetails"
},
- "description": "Gets the Error details.",
- "x-typespec-name": "HealthErrorDetails[]",
"readOnly": true
},
"applianceNames": {
"type": "array",
+ "description": "Gets the appliance names.",
"items": {
"type": "string"
},
- "description": "Gets the appliance names.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"hasErrors": {
@@ -16085,11 +15936,11 @@
"description": "provisioning state enum",
"readOnly": true
}
- },
- "description": "Class for web application properties."
+ }
},
"IisWebApplications": {
"type": "object",
+ "description": "Web application REST Resource.",
"properties": {
"properties": {
"$ref": "#/definitions/IisWebApplicationProperties",
@@ -16101,7 +15952,6 @@
]
}
},
- "description": "Web application REST Resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -16110,53 +15960,51 @@
},
"IisWebApplicationsListResult": {
"type": "object",
+ "description": "The response of a IisWebApplications list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The IisWebApplications items on this page",
"items": {
"$ref": "#/definitions/IisWebApplications"
- },
- "description": "The IisWebApplications items on this page",
- "x-typespec-name": "IisWebApplications[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a IisWebApplications list operation.",
"required": [
"value"
]
},
"IisWebApplicationsUpdate": {
"type": "object",
+ "description": "The type used for update operations of the IisWebApplications.",
"properties": {
"properties": {
"$ref": "#/definitions/IisWebApplicationsUpdateProperties",
"x-ms-client-flatten": true
}
- },
- "description": "The type used for update operations of the IisWebApplications."
+ }
},
"IisWebApplicationsUpdateProperties": {
"type": "object",
+ "description": "The updatable properties of the IisWebApplications.",
"properties": {
"tags": {
"type": "object",
+ "description": "Gets or sets tags on the resource.",
"additionalProperties": {
"type": "string"
- },
- "description": "Gets or sets tags on the resource.",
- "x-typespec-name": "Record"
+ }
}
- },
- "description": "The updatable properties of the IisWebApplications."
+ }
},
"IisWebServerProperties": {
"type": "object",
+ "description": "Class for web server properties.",
"properties": {
"configurationLocation": {
"type": "string",
@@ -16170,20 +16018,18 @@
},
"machineIds": {
"type": "array",
+ "description": "Gets the list of machines.",
"items": {
"type": "string"
},
- "description": "Gets the list of machines.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"webApplications": {
"type": "array",
+ "description": "Gets the list of web applications.",
"items": {
"type": "string"
},
- "description": "Gets the list of web applications.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"displayName": {
@@ -16223,20 +16069,18 @@
},
"errors": {
"type": "array",
+ "description": "Gets the Error details.",
"items": {
"$ref": "#/definitions/HealthErrorDetails"
},
- "description": "Gets the Error details.",
- "x-typespec-name": "HealthErrorDetails[]",
"readOnly": true
},
"applianceNames": {
"type": "array",
+ "description": "Gets the appliance names.",
"items": {
"type": "string"
},
- "description": "Gets the appliance names.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"hasErrors": {
@@ -16249,11 +16093,11 @@
"description": "provisioning state enum",
"readOnly": true
}
- },
- "description": "Class for web server properties."
+ }
},
"IisWebServers": {
"type": "object",
+ "description": "Web server REST Resource.",
"properties": {
"properties": {
"$ref": "#/definitions/IisWebServerProperties",
@@ -16265,7 +16109,6 @@
]
}
},
- "description": "Web server REST Resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -16274,29 +16117,28 @@
},
"IisWebServersListResult": {
"type": "object",
+ "description": "The response of a IisWebServers list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The IisWebServers items on this page",
"items": {
"$ref": "#/definitions/IisWebServers"
- },
- "description": "The IisWebServers items on this page",
- "x-typespec-name": "IisWebServers[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a IisWebServers list operation.",
"required": [
"value"
]
},
"ImportJob": {
"type": "object",
+ "description": "A host resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/JobProperties",
@@ -16308,7 +16150,6 @@
]
}
},
- "description": "A host resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -16317,29 +16158,28 @@
},
"ImportJobListResult": {
"type": "object",
+ "description": "The response of a ImportJob list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The ImportJob items on this page",
"items": {
"$ref": "#/definitions/ImportJob"
- },
- "description": "The ImportJob items on this page",
- "x-typespec-name": "ImportJob[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a ImportJob list operation.",
"required": [
"value"
]
},
"ImportMachine": {
"type": "object",
+ "description": "An machine resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/ImportMachineProperties",
@@ -16351,7 +16191,6 @@
]
}
},
- "description": "An machine resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -16360,29 +16199,28 @@
},
"ImportMachineListResult": {
"type": "object",
+ "description": "The response of a ImportMachine list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The ImportMachine items on this page",
"items": {
"$ref": "#/definitions/ImportMachine"
- },
- "description": "The ImportMachine items on this page",
- "x-typespec-name": "ImportMachine[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a ImportMachine list operation.",
"required": [
"value"
]
},
"ImportMachineProperties": {
"type": "object",
+ "description": "Class for machine properties.",
"properties": {
"firmware": {
"type": "string",
@@ -16438,11 +16276,10 @@
},
"ipAddresses": {
"type": "array",
+ "description": "IP Addresses.",
"items": {
"type": "string"
},
- "description": "IP Addresses.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"machineId": {
@@ -16490,15 +16327,14 @@
},
"disks": {
"type": "array",
+ "description": "Disks attached to the machine.",
"items": {
"$ref": "#/definitions/WebRoleImportDisk"
},
+ "readOnly": true,
"x-ms-identifiers": [
"name"
- ],
- "description": "Disks attached to the machine.",
- "x-typespec-name": "WebRoleImportDisk[]",
- "readOnly": true
+ ]
},
"vmFqdn": {
"type": "string",
@@ -16555,24 +16391,23 @@
},
"tags": {
"type": "object",
+ "description": "machine tags",
"additionalProperties": {
"type": "string"
- },
- "description": "machine tags",
- "x-typespec-name": "Record"
+ }
},
"provisioningState": {
"$ref": "#/definitions/ProvisioningState",
"description": "The status of the last operation."
}
},
- "description": "Class for machine properties.",
"required": [
"tags"
]
},
"ImportMachinesJob": {
"type": "object",
+ "description": "Import machines Job REST Resource.",
"properties": {
"type": {
"type": "string",
@@ -16607,11 +16442,11 @@
"type": "string",
"description": "Gets or sets the Display name."
}
- },
- "description": "Import machines Job REST Resource."
+ }
},
"ImportMachinesJobProperties": {
"type": "object",
+ "description": "ImportMachines JobProperties",
"properties": {
"blobName": {
"type": "string",
@@ -16639,11 +16474,11 @@
"$ref": "#/definitions/JobErrorSummary",
"description": "error summary"
}
- },
- "description": "ImportMachines JobProperties"
+ }
},
"ImportSite": {
"type": "object",
+ "description": "A ImportSite",
"properties": {
"properties": {
"$ref": "#/definitions/ImportSiteProperties",
@@ -16655,7 +16490,6 @@
]
}
},
- "description": "A ImportSite",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
@@ -16664,29 +16498,28 @@
},
"ImportSiteListResult": {
"type": "object",
+ "description": "The response of a ImportSite list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The ImportSite items on this page",
"items": {
"$ref": "#/definitions/ImportSite"
- },
- "description": "The ImportSite items on this page",
- "x-typespec-name": "ImportSite[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a ImportSite list operation.",
"required": [
"value"
]
},
"ImportSiteProperties": {
"type": "object",
+ "description": "The properties of ImportSiteResource",
"properties": {
"discoverySolutionId": {
"type": "string",
@@ -16706,29 +16539,28 @@
"$ref": "#/definitions/ProvisioningState",
"description": "The status of the last operation."
}
- },
- "description": "The properties of ImportSiteResource"
+ }
},
"ImportSiteUpdate": {
"type": "object",
+ "description": "The type used for update operations of the ImportSite.",
"properties": {
"tags": {
"type": "object",
+ "description": "Resource tags.",
"additionalProperties": {
"type": "string"
- },
- "description": "Resource tags.",
- "x-typespec-name": "Record"
+ }
},
"properties": {
"$ref": "#/definitions/ImportSiteUpdateProperties",
"x-ms-client-flatten": true
}
- },
- "description": "The type used for update operations of the ImportSite."
+ }
},
"ImportSiteUpdateProperties": {
"type": "object",
+ "description": "The updatable properties of the ImportSite.",
"properties": {
"discoverySolutionId": {
"type": "string",
@@ -16738,19 +16570,18 @@
"$ref": "#/definitions/ProvisioningState",
"description": "The status of the last operation."
}
- },
- "description": "The updatable properties of the ImportSite."
+ }
},
"JobErrorSummary": {
"type": "object",
+ "description": "Job Error Summary",
"properties": {
"errors": {
"type": "array",
+ "description": "errors list",
"items": {
"type": "string"
- },
- "description": "errors list",
- "x-typespec-name": "string[]"
+ }
},
"errorCount": {
"type": "integer",
@@ -16762,11 +16593,11 @@
"format": "int32",
"description": "warning Count"
}
- },
- "description": "Job Error Summary"
+ }
},
"JobProperties": {
"type": "object",
+ "description": "Job REST Resource.",
"properties": {
"status": {
"type": "string",
@@ -16800,21 +16631,19 @@
},
"errors": {
"type": "array",
+ "description": "Gets the errors.",
"items": {
"$ref": "#/definitions/ErrorDetails"
},
- "x-ms-identifiers": [],
- "description": "Gets the errors.",
- "x-typespec-name": "ErrorDetails[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"provisioningState": {
"$ref": "#/definitions/ProvisioningState",
"description": "The status of the last operation.",
"readOnly": true
}
- },
- "description": "Job REST Resource."
+ }
},
"JobResult": {
"type": "string",
@@ -16872,6 +16701,7 @@
},
"MachineMetadata": {
"type": "object",
+ "description": "The properties of Machine MetaData",
"properties": {
"machineArmId": {
"type": "string",
@@ -16883,14 +16713,12 @@
},
"tags": {
"type": "object",
+ "description": "machine tags",
"additionalProperties": {
"type": "string"
- },
- "description": "machine tags",
- "x-typespec-name": "Record"
+ }
}
},
- "description": "The properties of Machine MetaData",
"required": [
"machineArmId",
"dependencyMapping",
@@ -16899,24 +16727,24 @@
},
"MachineMetadataCollection": {
"type": "object",
+ "description": "The list of Machine MetaData.",
"properties": {
"value": {
"type": "array",
+ "description": "The list of Machine MetaData.",
"items": {
"$ref": "#/definitions/MachineMetadata"
},
- "x-ms-identifiers": [],
- "description": "The list of Machine MetaData.",
- "x-typespec-name": "MachineMetadata[]"
+ "x-ms-identifiers": []
}
},
- "description": "The list of Machine MetaData.",
"required": [
"value"
]
},
"MachineResource": {
"type": "object",
+ "description": "An machine resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/VmwareMachineProperties",
@@ -16928,7 +16756,6 @@
]
}
},
- "description": "An machine resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -16937,39 +16764,38 @@
},
"MachineResourceListResult": {
"type": "object",
+ "description": "The response of a MachineResource list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The MachineResource items on this page",
"items": {
"$ref": "#/definitions/MachineResource"
- },
- "description": "The MachineResource items on this page",
- "x-typespec-name": "MachineResource[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a MachineResource list operation.",
"required": [
"value"
]
},
"MachineResourceUpdate": {
"type": "object",
+ "description": "The type used for update operations of the MachineResource.",
"properties": {
"properties": {
"$ref": "#/definitions/MachineResourceUpdateProperties",
"x-ms-client-flatten": true
}
- },
- "description": "The type used for update operations of the MachineResource."
+ }
},
"MachineResourceUpdateProperties": {
"type": "object",
+ "description": "The updatable properties of the MachineResource.",
"properties": {
"firmware": {
"type": "string",
@@ -17007,17 +16833,16 @@
},
"tags": {
"type": "object",
+ "description": "Gets or sets tags on the VMware machine.",
"additionalProperties": {
"type": "string"
- },
- "description": "Gets or sets tags on the VMware machine.",
- "x-typespec-name": "Record"
+ }
}
- },
- "description": "The updatable properties of the MachineResource."
+ }
},
"MachineSoftwareInventoryProperties": {
"type": "object",
+ "description": "Class for machine software inventory properties.",
"properties": {
"appsAndRoles": {
"$ref": "#/definitions/AppsAndRoles",
@@ -17029,11 +16854,11 @@
"description": "provisioning state enum",
"readOnly": true
}
- },
- "description": "Class for machine software inventory properties."
+ }
},
"MasterSite": {
"type": "object",
+ "description": "A MasterSite",
"properties": {
"properties": {
"$ref": "#/definitions/MasterSiteProperties",
@@ -17045,7 +16870,6 @@
]
}
},
- "description": "A MasterSite",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
@@ -17054,29 +16878,28 @@
},
"MasterSiteListResult": {
"type": "object",
+ "description": "The response of a MasterSite list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The MasterSite items on this page",
"items": {
"$ref": "#/definitions/MasterSite"
- },
- "description": "The MasterSite items on this page",
- "x-typespec-name": "MasterSite[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a MasterSite list operation.",
"required": [
"value"
]
},
"MasterSiteProperties": {
"type": "object",
+ "description": "Class for site properties.",
"properties": {
"publicNetworkAccess": {
"$ref": "#/definitions/MasterSitePropertiesPublicNetworkAccess",
@@ -17088,11 +16911,10 @@
},
"sites": {
"type": "array",
+ "description": "Gets or sets the sites that are a part of Master Site.\n The key\nshould contain the Site ARM name.",
"items": {
"type": "string"
- },
- "description": "Gets or sets the sites that are a part of Master Site.\n The key\nshould contain the Site ARM name.",
- "x-typespec-name": "string[]"
+ }
},
"customerStorageAccountArmId": {
"type": "string",
@@ -17100,20 +16922,18 @@
},
"privateEndpointConnections": {
"type": "array",
+ "description": "Gets the private endpoint connections.",
"items": {
"$ref": "#/definitions/PrivateEndpointConnection"
},
- "description": "Gets the private endpoint connections.",
- "x-typespec-name": "PrivateEndpointConnection[]",
"readOnly": true
},
"nestedSites": {
"type": "array",
+ "description": "Gets the nested sites under Master Site.",
"items": {
"type": "string"
},
- "description": "Gets the nested sites under Master Site.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"provisioningState": {
@@ -17121,8 +16941,7 @@
"description": "provisioning state enum",
"readOnly": true
}
- },
- "description": "Class for site properties."
+ }
},
"MasterSitePropertiesPublicNetworkAccess": {
"type": "string",
@@ -17156,24 +16975,24 @@
},
"MasterSiteUpdate": {
"type": "object",
+ "description": "The type used for update operations of the MasterSite.",
"properties": {
"tags": {
"type": "object",
+ "description": "Resource tags.",
"additionalProperties": {
"type": "string"
- },
- "description": "Resource tags.",
- "x-typespec-name": "Record"
+ }
},
"properties": {
"$ref": "#/definitions/MasterSiteUpdateProperties",
"x-ms-client-flatten": true
}
- },
- "description": "The type used for update operations of the MasterSite."
+ }
},
"MasterSiteUpdateProperties": {
"type": "object",
+ "description": "The updatable properties of the MasterSite.",
"properties": {
"publicNetworkAccess": {
"$ref": "#/definitions/MasterSitePropertiesPublicNetworkAccess",
@@ -17185,18 +17004,16 @@
},
"sites": {
"type": "array",
+ "description": "Gets or sets the sites that are a part of Master Site.\n The key\nshould contain the Site ARM name.",
"items": {
"type": "string"
- },
- "description": "Gets or sets the sites that are a part of Master Site.\n The key\nshould contain the Site ARM name.",
- "x-typespec-name": "string[]"
+ }
},
"customerStorageAccountArmId": {
"type": "string",
"description": "Gets or sets a value for customer storage account ARM id."
}
- },
- "description": "The updatable properties of the MasterSite."
+ }
},
"MicrosoftAzureFDSWebRoleHealthErrorDetailsSource": {
"type": "string",
@@ -17230,11 +17047,11 @@
},
"Object": {
"type": "object",
- "properties": {},
"description": "object model"
},
"OperatingSystem": {
"type": "object",
+ "description": "Second level object returned as part of Machine REST resource.",
"properties": {
"osType": {
"type": "string",
@@ -17252,11 +17069,11 @@
"type": "string",
"description": "Gets or sets the Architecture of the operating system."
}
- },
- "description": "Second level object returned as part of Machine REST resource."
+ }
},
"OperationStatus": {
"type": "object",
+ "description": "Operation status REST resource.",
"properties": {
"id": {
"type": "string",
@@ -17293,11 +17110,11 @@
"description": "Operation status properties",
"readOnly": true
}
- },
- "description": "Operation status REST resource."
+ }
},
"OperationStatusError": {
"type": "object",
+ "description": "Class for operation status errors.",
"properties": {
"code": {
"type": "string",
@@ -17309,21 +17126,21 @@
"description": "Gets the error message.",
"readOnly": true
}
- },
- "description": "Class for operation status errors."
+ }
},
"OperationStatusProperties": {
"type": "object",
+ "description": "Class for operation result properties.",
"properties": {
"result": {
"type": "string",
"description": "Gets or sets the result or output of the workflow."
}
- },
- "description": "Class for operation result properties."
+ }
},
"OracleDiscovery": {
"type": "object",
+ "description": "Data related to a machine's Oracle discovery.",
"properties": {
"totalInstanceCount": {
"type": "integer",
@@ -17343,11 +17160,11 @@
"$ref": "#/definitions/DiscoveryScopeStatus",
"description": "Gets or sets status of partner discovery."
}
- },
- "description": "Data related to a machine's Oracle discovery."
+ }
},
"OtherDatabase": {
"type": "object",
+ "description": "OtherDatabase in the guest virtual machine.",
"properties": {
"databaseType": {
"type": "string",
@@ -17364,74 +17181,71 @@
"description": "Gets or sets Version of the OtherDatabase.",
"readOnly": true
}
- },
- "description": "OtherDatabase in the guest virtual machine."
+ }
},
"PagedDeleteImportMachinesJob": {
"type": "object",
+ "description": "Paged collection of DeleteImportMachinesJob items",
"properties": {
"value": {
"type": "array",
+ "description": "The DeleteImportMachinesJob items on this page",
"items": {
"$ref": "#/definitions/DeleteImportMachinesJob"
},
- "description": "The DeleteImportMachinesJob items on this page",
- "x-typespec-name": "DeleteImportMachinesJob[]",
- "x-ms-identifiers": [],
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"nextLink": {
"type": "string",
"description": "The link to the next page of items",
"readOnly": true
}
- },
- "description": "Paged collection of DeleteImportMachinesJob items"
+ }
},
"PagedExportImportedMachinesJob": {
"type": "object",
+ "description": "Paged collection of ExportImportedMachinesJob items",
"properties": {
"value": {
"type": "array",
+ "description": "The ExportImportedMachinesJob items on this page",
"items": {
"$ref": "#/definitions/ExportImportedMachinesJob"
},
- "description": "The ExportImportedMachinesJob items on this page",
- "x-typespec-name": "ExportImportedMachinesJob[]",
- "x-ms-identifiers": [],
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"nextLink": {
"type": "string",
"description": "The link to the next page of items",
"readOnly": true
}
- },
- "description": "Paged collection of ExportImportedMachinesJob items"
+ }
},
"PagedImportMachinesJob": {
"type": "object",
+ "description": "Paged collection of ImportMachinesJob items",
"properties": {
"value": {
"type": "array",
+ "description": "The ImportMachinesJob items on this page",
"items": {
"$ref": "#/definitions/ImportMachinesJob"
},
- "description": "The ImportMachinesJob items on this page",
- "x-typespec-name": "ImportMachinesJob[]",
- "x-ms-identifiers": [],
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"nextLink": {
"type": "string",
"description": "The link to the next page of items",
"readOnly": true
}
- },
- "description": "Paged collection of ImportMachinesJob items"
+ }
},
"PrivateEndpointConnection": {
"type": "object",
+ "description": "REST model used to encapsulate Private Link properties for tracked resources.",
"properties": {
"properties": {
"$ref": "#/definitions/PrivateEndpointConnectionPropertiesV2",
@@ -17443,7 +17257,6 @@
]
}
},
- "description": "REST model used to encapsulate Private Link properties for tracked resources.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -17452,37 +17265,35 @@
},
"PrivateEndpointConnectionListResult": {
"type": "object",
+ "description": "The response of a PrivateEndpointConnection list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The PrivateEndpointConnection items on this page",
"items": {
"$ref": "#/definitions/PrivateEndpointConnection"
- },
- "description": "The PrivateEndpointConnection items on this page",
- "x-typespec-name": "PrivateEndpointConnection[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a PrivateEndpointConnection list operation.",
"required": [
"value"
]
},
"PrivateEndpointConnectionPropertiesV2": {
"type": "object",
+ "description": "PrivateEndpointConnectionProperties V2",
"properties": {
"groupIds": {
"type": "array",
+ "description": "array of group ids",
"items": {
"type": "string"
},
- "description": "array of group ids",
- "x-typespec-name": "string[]",
"readOnly": true
},
"provisioningState": {
@@ -17499,11 +17310,11 @@
"$ref": "#/definitions/PrivateLinkServiceConnectionState",
"description": "private endpoints connection state"
}
- },
- "description": "PrivateEndpointConnectionProperties V2"
+ }
},
"PrivateLinkResource": {
"type": "object",
+ "description": "REST model used to encapsulate Private Link properties for tracked resources.",
"properties": {
"properties": {
"$ref": "#/definitions/PrivateLinkResourceProperties",
@@ -17515,7 +17326,6 @@
]
}
},
- "description": "REST model used to encapsulate Private Link properties for tracked resources.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -17524,45 +17334,42 @@
},
"PrivateLinkResourceListResult": {
"type": "object",
+ "description": "The response of a PrivateLinkResource list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The PrivateLinkResource items on this page",
"items": {
"$ref": "#/definitions/PrivateLinkResource"
- },
- "description": "The PrivateLinkResource items on this page",
- "x-typespec-name": "PrivateLinkResource[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a PrivateLinkResource list operation.",
"required": [
"value"
]
},
"PrivateLinkResourceProperties": {
"type": "object",
+ "description": "private link resource properties model",
"properties": {
"requiredMembers": {
"type": "array",
+ "description": "required members",
"items": {
"type": "string"
- },
- "description": "required members",
- "x-typespec-name": "string[]"
+ }
},
"requiredZoneNames": {
"type": "array",
+ "description": "required zone names",
"items": {
"type": "string"
- },
- "description": "required zone names",
- "x-typespec-name": "string[]"
+ }
},
"groupId": {
"type": "string",
@@ -17573,11 +17380,11 @@
"description": "provisioning state enum",
"readOnly": true
}
- },
- "description": "private link resource properties model"
+ }
},
"PrivateLinkServiceConnectionState": {
"type": "object",
+ "description": "Service Connection State",
"properties": {
"status": {
"$ref": "#/definitions/PrivateLinkServiceConnectionStateStatus",
@@ -17591,8 +17398,7 @@
"type": "string",
"description": "actions required"
}
- },
- "description": "Service Connection State"
+ }
},
"PrivateLinkServiceConnectionStateStatus": {
"type": "string",
@@ -17632,6 +17438,7 @@
},
"ProcessorInfo": {
"type": "object",
+ "description": "Processor Information.",
"properties": {
"name": {
"type": "string",
@@ -17647,11 +17454,11 @@
"format": "int32",
"description": "Gets or sets the total number of cores in a socket."
}
- },
- "description": "Processor Information."
+ }
},
"ProductSupportStatus": {
"type": "object",
+ "description": "product support status.",
"properties": {
"currentVersion": {
"type": "string",
@@ -17674,8 +17481,7 @@
"$ref": "#/definitions/esuYear",
"description": "esu year."
}
- },
- "description": "product support status."
+ }
},
"ProvisioningState": {
"type": "string",
@@ -17733,37 +17539,38 @@
},
"ProxySiteRefreshBody": {
"type": "object",
+ "description": "Request body for Proxy site refresh action.",
"properties": {
"applianceName": {
"type": "string",
"description": "Gets or sets the appliance name of the agent in the site."
}
- },
- "description": "Request body for Proxy site refresh action."
+ }
},
"RequestExportMachineErrorsProperties": {
"type": "object",
+ "description": "The Properties class for export machine errors request body.",
"properties": {
"discoveryScope": {
"$ref": "#/definitions/ExportMachineErrorsProperties",
"description": "Gets or sets the discovery scope."
}
- },
- "description": "The Properties class for export machine errors request body."
+ }
},
"ResourceId": {
"type": "object",
+ "description": "PrivateEndpointModelsResourceId",
"properties": {
"id": {
"type": "string",
"description": "id name",
"readOnly": true
}
- },
- "description": "PrivateEndpointModelsResourceId"
+ }
},
"RunAsAccountMachineInput": {
"type": "object",
+ "description": "Machine class.",
"properties": {
"machineId": {
"type": "string",
@@ -17773,11 +17580,11 @@
"type": "string",
"description": "run as AccountId"
}
- },
- "description": "Machine class."
+ }
},
"RunAsAccountProperties": {
"type": "object",
+ "description": "Class for run as account properties.",
"properties": {
"displayName": {
"type": "string",
@@ -17809,8 +17616,7 @@
"description": "provisioning state enum",
"readOnly": true
}
- },
- "description": "Class for run as account properties."
+ }
},
"SQLDiscoveryScopeStatus": {
"type": "string",
@@ -17874,6 +17680,7 @@
},
"SasUriResponse": {
"type": "object",
+ "description": "Import URI response class.",
"properties": {
"jobArmId": {
"type": "string",
@@ -17883,11 +17690,11 @@
"type": "string",
"description": "Gets or sets the SAS URI."
}
- },
- "description": "Import URI response class."
+ }
},
"Server": {
"type": "object",
+ "description": "A machine resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/ServerProperties",
@@ -17899,7 +17706,6 @@
]
}
},
- "description": "A machine resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -17908,6 +17714,7 @@
},
"ServerDisk": {
"type": "object",
+ "description": "Server disk details.",
"properties": {
"id": {
"type": "string",
@@ -17939,11 +17746,11 @@
"type": "string",
"description": "Gets or sets Path of the disk."
}
- },
- "description": "Server disk details."
+ }
},
"ServerJob": {
"type": "object",
+ "description": "A host resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/JobProperties",
@@ -17955,7 +17762,6 @@
]
}
},
- "description": "A host resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -17964,52 +17770,49 @@
},
"ServerJobListResult": {
"type": "object",
+ "description": "The response of a ServerJob list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The ServerJob items on this page",
"items": {
"$ref": "#/definitions/ServerJob"
- },
- "description": "The ServerJob items on this page",
- "x-typespec-name": "ServerJob[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a ServerJob list operation.",
"required": [
"value"
]
},
"ServerListResult": {
"type": "object",
+ "description": "The response of a Server list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The Server items on this page",
"items": {
"$ref": "#/definitions/Server"
- },
- "description": "The Server items on this page",
- "x-typespec-name": "Server[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a Server list operation.",
"required": [
"value"
]
},
"ServerNetworkAdapter": {
"type": "object",
+ "description": "Second level object represented in responses as part of Machine REST resource.",
"properties": {
"nicId": {
"type": "string",
@@ -18021,11 +17824,10 @@
},
"ipAddressList": {
"type": "array",
+ "description": "Gets IP addresses for the machine.",
"items": {
"type": "string"
},
- "description": "Gets IP addresses for the machine.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"networkName": {
@@ -18036,11 +17838,11 @@
"type": "string",
"description": "Gets or sets Type of the IP address."
}
- },
- "description": "Second level object represented in responses as part of Machine REST resource."
+ }
},
"ServerProperties": {
"type": "object",
+ "description": "Server REST resource.",
"properties": {
"displayName": {
"type": "string",
@@ -18053,12 +17855,11 @@
},
"networkAdapters": {
"type": "array",
+ "description": "Gets or sets the network adapters of the server.",
"items": {
"$ref": "#/definitions/ServerNetworkAdapter"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets the network adapters of the server.",
- "x-typespec-name": "ServerNetworkAdapter[]"
+ "x-ms-identifiers": []
},
"hydratedFqdn": {
"type": "string",
@@ -18066,11 +17867,10 @@
},
"disks": {
"type": "array",
+ "description": "Gets or sets the disk details of server.",
"items": {
"$ref": "#/definitions/ServerDisk"
- },
- "description": "Gets or sets the disk details of server.",
- "x-typespec-name": "ServerDisk[]"
+ }
},
"validationRequired": {
"type": "string",
@@ -18129,20 +17929,18 @@
},
"applianceNames": {
"type": "array",
+ "description": "Gets the appliance names.",
"items": {
"type": "string"
},
- "description": "Gets the appliance names.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"errors": {
"type": "array",
+ "description": "Errors for machine.",
"items": {
"$ref": "#/definitions/HealthErrorDetails"
},
- "description": "Errors for machine.",
- "x-typespec-name": "HealthErrorDetails[]",
"readOnly": true
},
"applicationDiscovery": {
@@ -18233,11 +18031,10 @@
},
"tags": {
"type": "object",
+ "description": "Gets or sets tags on the Server machine.",
"additionalProperties": {
"$ref": "#/definitions/Azure.ResourceManager.Object"
- },
- "description": "Gets or sets tags on the Server machine.",
- "x-typespec-name": "Record"
+ }
},
"updatedTimestamp": {
"type": "string",
@@ -18248,11 +18045,11 @@
"$ref": "#/definitions/ProvisioningState",
"description": "Provisioning state of the server resource."
}
- },
- "description": "Server REST resource."
+ }
},
"ServerRunAsAccount": {
"type": "object",
+ "description": "A run as account resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/RunAsAccountProperties",
@@ -18264,7 +18061,6 @@
]
}
},
- "description": "A run as account resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -18273,29 +18069,28 @@
},
"ServerRunAsAccountListResult": {
"type": "object",
+ "description": "The response of a ServerRunAsAccount list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The ServerRunAsAccount items on this page",
"items": {
"$ref": "#/definitions/ServerRunAsAccount"
- },
- "description": "The ServerRunAsAccount items on this page",
- "x-typespec-name": "ServerRunAsAccount[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a ServerRunAsAccount list operation.",
"required": [
"value"
]
},
"ServerSiteResource": {
"type": "object",
+ "description": "A ServerSiteResource",
"properties": {
"properties": {
"$ref": "#/definitions/SitesProperties",
@@ -18307,7 +18102,6 @@
]
}
},
- "description": "A ServerSiteResource",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
@@ -18316,47 +18110,45 @@
},
"ServerSiteResourceListResult": {
"type": "object",
+ "description": "The response of a ServerSiteResource list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The ServerSiteResource items on this page",
"items": {
"$ref": "#/definitions/ServerSiteResource"
- },
- "description": "The ServerSiteResource items on this page",
- "x-typespec-name": "ServerSiteResource[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a ServerSiteResource list operation.",
"required": [
"value"
]
},
"ServerSiteResourceUpdate": {
"type": "object",
+ "description": "The type used for update operations of the ServerSiteResource.",
"properties": {
"tags": {
"type": "object",
+ "description": "Resource tags.",
"additionalProperties": {
"type": "string"
- },
- "description": "Resource tags.",
- "x-typespec-name": "Record"
+ }
},
"properties": {
"$ref": "#/definitions/ServerSiteResourceUpdateProperties",
"x-ms-client-flatten": true
}
- },
- "description": "The type used for update operations of the ServerSiteResource."
+ }
},
"ServerSiteResourceUpdateProperties": {
"type": "object",
+ "description": "The updatable properties of the ServerSiteResource.",
"properties": {
"servicePrincipalIdentityDetails": {
"$ref": "#/definitions/SiteSpnProperties",
@@ -18374,11 +18166,11 @@
"type": "string",
"description": "Gets or sets the ARM ID of migration hub solution for SDS."
}
- },
- "description": "The updatable properties of the ServerSiteResource."
+ }
},
"ServerSiteUsage": {
"type": "object",
+ "description": "Server site usage.",
"properties": {
"runAsAccountCount": {
"type": "integer",
@@ -18390,11 +18182,11 @@
"format": "int32",
"description": "Gets or sets the number of servers part of the site."
}
- },
- "description": "Server site usage."
+ }
},
"ServerSiteUsageResponse": {
"type": "object",
+ "description": "The properties of ServerSiteUsageResponse.",
"properties": {
"runAsAccounts": {
"type": "integer",
@@ -18407,7 +18199,6 @@
"description": "Gets or sets the number of servers part of the site."
}
},
- "description": "The properties of ServerSiteUsageResponse.",
"required": [
"runAsAccounts",
"serverCount"
@@ -18415,6 +18206,7 @@
},
"ServerSoftwareInventory": {
"type": "object",
+ "description": "An software inventory resource belonging to a server resource.",
"properties": {
"properties": {
"$ref": "#/definitions/MachineSoftwareInventoryProperties",
@@ -18426,7 +18218,6 @@
]
}
},
- "description": "An software inventory resource belonging to a server resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -18435,39 +18226,38 @@
},
"ServerSoftwareInventoryListResult": {
"type": "object",
+ "description": "The response of a ServerSoftwareInventory list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The ServerSoftwareInventory items on this page",
"items": {
"$ref": "#/definitions/ServerSoftwareInventory"
- },
- "description": "The ServerSoftwareInventory items on this page",
- "x-typespec-name": "ServerSoftwareInventory[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a ServerSoftwareInventory list operation.",
"required": [
"value"
]
},
"ServerUpdate": {
"type": "object",
+ "description": "The type used for update operations of the Server.",
"properties": {
"properties": {
"$ref": "#/definitions/ServerUpdateProperties",
"x-ms-client-flatten": true
}
- },
- "description": "The type used for update operations of the Server."
+ }
},
"ServerUpdateProperties": {
"type": "object",
+ "description": "The updatable properties of the Server.",
"properties": {
"fqdn": {
"type": "string",
@@ -18475,12 +18265,11 @@
},
"networkAdapters": {
"type": "array",
+ "description": "Gets or sets the network adapters of the server.",
"items": {
"$ref": "#/definitions/ServerNetworkAdapter"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets the network adapters of the server.",
- "x-typespec-name": "ServerNetworkAdapter[]"
+ "x-ms-identifiers": []
},
"hydratedFqdn": {
"type": "string",
@@ -18488,11 +18277,10 @@
},
"disks": {
"type": "array",
+ "description": "Gets or sets the disk details of server.",
"items": {
"$ref": "#/definitions/ServerDisk"
- },
- "description": "Gets or sets the disk details of server.",
- "x-typespec-name": "ServerDisk[]"
+ }
},
"validationRequired": {
"type": "string",
@@ -18534,18 +18322,16 @@
},
"tags": {
"type": "object",
+ "description": "Gets or sets tags on the Server machine.",
"additionalProperties": {
"$ref": "#/definitions/Azure.ResourceManager.Object"
- },
- "description": "Gets or sets tags on the Server machine.",
- "x-typespec-name": "Record"
+ }
},
"provisioningState": {
"$ref": "#/definitions/ProvisioningState",
"description": "Provisioning state of the server resource."
}
- },
- "description": "The updatable properties of the Server."
+ }
},
"ShallowDiscoveryStatus": {
"type": "string",
@@ -18609,6 +18395,7 @@
},
"SharePointServer": {
"type": "object",
+ "description": "SharePointServer in the guest virtual machine.",
"properties": {
"productName": {
"type": "string",
@@ -18630,11 +18417,11 @@
"description": "Gets or sets Version of the SharePointServer.",
"readOnly": true
}
- },
- "description": "SharePointServer in the guest virtual machine."
+ }
},
"SiteAgentProperties": {
"type": "object",
+ "description": "Class for site agent properties.",
"properties": {
"id": {
"type": "string",
@@ -18660,11 +18447,11 @@
"type": "string",
"description": "Gets or sets the key vault ARM Id."
}
- },
- "description": "Class for site agent properties."
+ }
},
"SiteApplianceProperties": {
"type": "object",
+ "description": "Class for site appliance properties.",
"properties": {
"servicePrincipalIdentityDetails": {
"$ref": "#/definitions/SiteSpnProperties",
@@ -18678,11 +18465,11 @@
"type": "string",
"description": "Gets or sets the Appliance Name."
}
- },
- "description": "Class for site appliance properties."
+ }
},
"SiteErrorSummary": {
"type": "object",
+ "description": "Site error summary.",
"properties": {
"applianceName": {
"type": "string",
@@ -18697,7 +18484,6 @@
"description": "The link to fetch more models."
}
},
- "description": "Site error summary.",
"required": [
"applianceName",
"discoveryScopeErrorSummaries"
@@ -18705,6 +18491,7 @@
},
"SiteHealthSummary": {
"type": "object",
+ "description": "The properties of ServerSiteResource.",
"properties": {
"applianceName": {
"type": "string",
@@ -18759,36 +18546,33 @@
},
"affectedResources": {
"type": "array",
+ "description": "Gets or sets the affected resources.",
"items": {
"type": "string"
- },
- "description": "Gets or sets the affected resources.",
- "x-typespec-name": "string[]"
+ }
},
"fabricLayoutUpdateSources": {
"type": "array",
+ "description": "Gets or sets sources of the exception.",
"items": {
"$ref": "#/definitions/SiteHealthSummaryFabricLayoutUpdateSourcesItem"
- },
- "description": "Gets or sets sources of the exception.",
- "x-typespec-name": "SiteHealthSummaryFabricLayoutUpdateSourcesItem[]"
+ }
}
- },
- "description": "The properties of ServerSiteResource."
+ }
},
"SiteHealthSummaryCollection": {
"type": "object",
+ "description": "Collection of SiteHealthSummary.",
"properties": {
"value": {
"type": "array",
+ "description": "Gets the list of SiteHealthSummary.",
"items": {
"$ref": "#/definitions/SiteHealthSummary"
},
"x-ms-identifiers": [
"applianceName"
- ],
- "description": "Gets the list of SiteHealthSummary.",
- "x-typespec-name": "SiteHealthSummary[]"
+ ]
},
"nextLink": {
"type": "string",
@@ -18796,7 +18580,6 @@
"readOnly": true
}
},
- "description": "Collection of SiteHealthSummary.",
"required": [
"value"
]
@@ -18833,6 +18616,7 @@
},
"SiteProperties": {
"type": "object",
+ "description": "The properties of VMwareSiteResource",
"properties": {
"masterSiteId": {
"type": "string",
@@ -18864,11 +18648,11 @@
"$ref": "#/definitions/ProvisioningState",
"description": "The status of the last operation."
}
- },
- "description": "The properties of VMwareSiteResource"
+ }
},
"SiteSpnProperties": {
"type": "object",
+ "description": "Class for site properties.",
"properties": {
"tenantId": {
"type": "string",
@@ -18894,11 +18678,11 @@
"type": "string",
"description": "Gets or sets the raw certificate data for building certificate expiry flows."
}
- },
- "description": "Class for site properties."
+ }
},
"SitesProperties": {
"type": "object",
+ "description": "The properties of SiteResource",
"properties": {
"masterSiteId": {
"type": "string",
@@ -18931,11 +18715,11 @@
"description": "The status of the last operation.",
"readOnly": true
}
- },
- "description": "The properties of SiteResource"
+ }
},
"SpringBootDiscovery": {
"type": "object",
+ "description": "Data related to a machine's spring boot discovery.",
"properties": {
"totalInstanceCount": {
"type": "integer",
@@ -18955,11 +18739,11 @@
"$ref": "#/definitions/DiscoveryScopeStatus",
"description": "Gets or sets status of partner discovery."
}
- },
- "description": "Data related to a machine's spring boot discovery."
+ }
},
"SqlAvailabilityGroup": {
"type": "object",
+ "description": "Class representing the web model of SQL Availability Group.",
"properties": {
"properties": {
"$ref": "#/definitions/SqlAvailabilityGroupProperties",
@@ -18971,7 +18755,6 @@
]
}
},
- "description": "Class representing the web model of SQL Availability Group.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -18980,29 +18763,28 @@
},
"SqlAvailabilityGroupListResult": {
"type": "object",
+ "description": "The response of a SqlAvailabilityGroup list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The SqlAvailabilityGroup items on this page",
"items": {
"$ref": "#/definitions/SqlAvailabilityGroup"
- },
- "description": "The SqlAvailabilityGroup items on this page",
- "x-typespec-name": "SqlAvailabilityGroup[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a SqlAvailabilityGroup list operation.",
"required": [
"value"
]
},
"SqlAvailabilityGroupProperties": {
"type": "object",
+ "description": "Class for SQL Server availability group properties.",
"properties": {
"availabilityGroupName": {
"type": "string",
@@ -19022,23 +18804,21 @@
},
"availabilityReplicas": {
"type": "array",
+ "description": "Gets the list of availability replica properties which together forms this availability group.",
"items": {
"$ref": "#/definitions/SqlAvailabilityReplicaProperties"
},
- "x-ms-identifiers": [],
- "description": "Gets the list of availability replica properties which together forms this availability group.",
- "x-typespec-name": "SqlAvailabilityReplicaProperties[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"parentReplicaOverviewList": {
"type": "array",
+ "description": "Gets the parent availability replica overview if any.\n This would be\nset with details of parent AG and AR for cases where this availability group is\na part of a distributed AG.\n Currently, we do not populate this\nsince discovery and linking of DAG(Distributed Availability Group) is not\nimplemented.",
"items": {
"$ref": "#/definitions/SqlAvailabilityReplicaOverview"
},
- "x-ms-identifiers": [],
- "description": "Gets the parent availability replica overview if any.\n This would be\nset with details of parent AG and AR for cases where this availability group is\na part of a distributed AG.\n Currently, we do not populate this\nsince discovery and linking of DAG(Distributed Availability Group) is not\nimplemented.",
- "x-typespec-name": "SqlAvailabilityReplicaOverview[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"isPartOfDistributedAvailabilityGroup": {
"type": "boolean",
@@ -19061,8 +18841,7 @@
"description": "provisioning state enum",
"readOnly": true
}
- },
- "description": "Class for SQL Server availability group properties."
+ }
},
"SqlAvailabilityGroupPropertiesAvailabilityGroupType": {
"type": "string",
@@ -19096,6 +18875,7 @@
},
"SqlAvailabilityGroupReplicaInfo": {
"type": "object",
+ "description": "Class which represents the SQL availability replica properties of type AG.",
"properties": {
"clusterName": {
"type": "string",
@@ -19109,8 +18889,7 @@
"type": "string",
"description": "Gets or sets the AG ARM ID which are part of this Replica."
}
- },
- "description": "Class which represents the SQL availability replica properties of type AG."
+ }
},
"SqlAvailabilityGroupSqlAvailabilityReplicaPropertiesReplicaCommitMode": {
"type": "string",
@@ -19300,6 +19079,7 @@
},
"SqlAvailabilityReplicaOverview": {
"type": "object",
+ "description": "Web model for SQL replica overview.",
"properties": {
"replicaState": {
"$ref": "#/definitions/SqlAvailabilityReplicaOverviewReplicaState",
@@ -19317,8 +19097,7 @@
"type": "string",
"description": "Gets or sets the SQL Availability group name."
}
- },
- "description": "Web model for SQL replica overview."
+ }
},
"SqlAvailabilityReplicaOverviewReplicaState": {
"type": "string",
@@ -19352,6 +19131,7 @@
},
"SqlAvailabilityReplicaProperties": {
"type": "object",
+ "description": "Class for SQL Server availability replica properties.",
"properties": {
"availabilityReplicaName": {
"type": "string",
@@ -19393,11 +19173,11 @@
"$ref": "#/definitions/SqlAvailabilityGroupReplicaInfo",
"description": "Gets or sets the Availability Replica object if Replica is of type AG. This is\nnull in case Replica is\n of type database. This is to be populated\nin case AG is of type DAG."
}
- },
- "description": "Class for SQL Server availability replica properties."
+ }
},
"SqlDatabasePropertiesV2": {
"type": "object",
+ "description": "Class for SQL Server database properties.",
"properties": {
"parentReplicaOverview": {
"$ref": "#/definitions/SqlAvailabilityReplicaOverview",
@@ -19409,13 +19189,12 @@
},
"fileMetadataList": {
"type": "array",
+ "description": "Gets the file metadata list.",
"items": {
"$ref": "#/definitions/FileMetaData"
},
- "x-ms-identifiers": [],
- "description": "Gets the file metadata list.",
- "x-typespec-name": "FileMetaData[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"hostname": {
"type": "string",
@@ -19452,11 +19231,10 @@
},
"errors": {
"type": "array",
+ "description": "Gets the errors.",
"items": {
"$ref": "#/definitions/Errors"
},
- "description": "Gets the errors.",
- "x-typespec-name": "Errors[]",
"readOnly": true
},
"createdTimestamp": {
@@ -19471,11 +19249,11 @@
"$ref": "#/definitions/ProvisioningState",
"description": "The status of the last operation."
}
- },
- "description": "Class for SQL Server database properties."
+ }
},
"SqlDatabaseReplicaInfo": {
"type": "object",
+ "description": "Class which represents the SQL availability replica properties of type\ndatabases.",
"properties": {
"hostName": {
"type": "string",
@@ -19489,11 +19267,11 @@
"type": "string",
"description": "Gets or sets the SQL Server name of the availability replica."
}
- },
- "description": "Class which represents the SQL availability replica properties of type\ndatabases."
+ }
},
"SqlDatabaseV2": {
"type": "object",
+ "description": "Class representing the web model of SQL Database.",
"properties": {
"properties": {
"$ref": "#/definitions/SqlDatabasePropertiesV2",
@@ -19505,7 +19283,6 @@
]
}
},
- "description": "Class representing the web model of SQL Database.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -19514,29 +19291,28 @@
},
"SqlDatabaseV2ListResult": {
"type": "object",
+ "description": "The response of a SqlDatabaseV2 list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The SqlDatabaseV2 items on this page",
"items": {
"$ref": "#/definitions/SqlDatabaseV2"
- },
- "description": "The SqlDatabaseV2 items on this page",
- "x-typespec-name": "SqlDatabaseV2[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a SqlDatabaseV2 list operation.",
"required": [
"value"
]
},
"SqlDiscovery": {
"type": "object",
+ "description": "Contains data related SQL discovery.",
"properties": {
"successfullyDiscoveredServerCount": {
"type": "integer",
@@ -19560,11 +19336,11 @@
"$ref": "#/definitions/SQLDiscoveryScopeStatus",
"description": "discovery Scope Status"
}
- },
- "description": "Contains data related SQL discovery."
+ }
},
"SqlDiscoverySiteDataSource": {
"type": "object",
+ "description": "A SQL discovery site data source resource.",
"properties": {
"properties": {
"$ref": "#/definitions/SqlDiscoverySiteDataSourceProperties",
@@ -19576,7 +19352,6 @@
]
}
},
- "description": "A SQL discovery site data source resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -19585,29 +19360,28 @@
},
"SqlDiscoverySiteDataSourceListResult": {
"type": "object",
+ "description": "The response of a SqlDiscoverySiteDataSource list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The SqlDiscoverySiteDataSource items on this page",
"items": {
"$ref": "#/definitions/SqlDiscoverySiteDataSource"
- },
- "description": "The SqlDiscoverySiteDataSource items on this page",
- "x-typespec-name": "SqlDiscoverySiteDataSource[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a SqlDiscoverySiteDataSource list operation.",
"required": [
"value"
]
},
"SqlDiscoverySiteDataSourceProperties": {
"type": "object",
+ "description": "Discovery site data source properties class.",
"properties": {
"discoverySiteId": {
"type": "string",
@@ -19618,11 +19392,11 @@
"description": "provisioning state enum",
"readOnly": true
}
- },
- "description": "Discovery site data source properties class."
+ }
},
"SqlFciProperties": {
"type": "object",
+ "description": "The class representing the properties for an FCI instance.",
"properties": {
"state": {
"$ref": "#/definitions/FCIInstanceState",
@@ -19641,11 +19415,11 @@
"format": "int32",
"description": "Gets or sets the count of Shared Disks for SQL FCI."
}
- },
- "description": "The class representing the properties for an FCI instance."
+ }
},
"SqlJob": {
"type": "object",
+ "description": "Class representing the web model of SQL Database.",
"properties": {
"properties": {
"$ref": "#/definitions/JobProperties",
@@ -19657,7 +19431,6 @@
]
}
},
- "description": "Class representing the web model of SQL Database.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -19666,29 +19439,28 @@
},
"SqlJobListResult": {
"type": "object",
+ "description": "The response of a SqlJob list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The SqlJob items on this page",
"items": {
"$ref": "#/definitions/SqlJob"
- },
- "description": "The SqlJob items on this page",
- "x-typespec-name": "SqlJob[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a SqlJob list operation.",
"required": [
"value"
]
},
"SqlMachineOverview": {
"type": "object",
+ "description": "Gets or sets SQL machine overview data.",
"properties": {
"machineArmId": {
"type": "string",
@@ -19702,8 +19474,7 @@
"$ref": "#/definitions/SqlMachineOverviewFciRole",
"description": "Gets or sets SQL machine FCI role."
}
- },
- "description": "Gets or sets SQL machine overview data."
+ }
},
"SqlMachineOverviewFciRole": {
"type": "string",
@@ -19791,6 +19562,7 @@
},
"SqlRunAsAccount": {
"type": "object",
+ "description": "A runasaccount resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/RunAsAccountProperties",
@@ -19802,7 +19574,6 @@
]
}
},
- "description": "A runasaccount resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -19811,29 +19582,28 @@
},
"SqlRunAsAccountListResult": {
"type": "object",
+ "description": "The response of a SqlRunAsAccount list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The SqlRunAsAccount items on this page",
"items": {
"$ref": "#/definitions/SqlRunAsAccount"
- },
- "description": "The SqlRunAsAccount items on this page",
- "x-typespec-name": "SqlRunAsAccount[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a SqlRunAsAccount list operation.",
"required": [
"value"
]
},
"SqlServerApplication": {
"type": "object",
+ "description": "SQLServer in the guest virtual machine.",
"properties": {
"name": {
"type": "string",
@@ -19900,21 +19670,20 @@
"description": "Gets the status.",
"readOnly": true
}
- },
- "description": "SQLServer in the guest virtual machine."
+ }
},
"SqlServerProperties": {
"type": "object",
+ "description": "Class for SQL Server properties.",
"properties": {
"machineOverviewList": {
"type": "array",
+ "description": "Gets the Machine Overview properties of all machines on which the SQL server is deployed.",
"items": {
"$ref": "#/definitions/SqlMachineOverview"
},
- "x-ms-identifiers": [],
- "description": "Gets the Machine Overview properties of all machines on which the SQL server is deployed.",
- "x-typespec-name": "SqlMachineOverview[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"numberOfAgDatabases": {
"type": "integer",
@@ -20001,11 +19770,10 @@
},
"machineArmIds": {
"type": "array",
+ "description": "Gets the list of machine ARM Ids on which the SQL server is deployed.",
"items": {
"type": "string"
},
- "description": "Gets the list of machine ARM Ids on which the SQL server is deployed.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"runAsAccountId": {
@@ -20031,20 +19799,18 @@
},
"errors": {
"type": "array",
+ "description": "Gets the errors.",
"items": {
"$ref": "#/definitions/Errors"
},
- "description": "Gets the errors.",
- "x-typespec-name": "Errors[]",
"readOnly": true
},
"tags": {
"type": "object",
+ "description": "Gets or sets tags on the resource.",
"additionalProperties": {
"$ref": "#/definitions/Azure.ResourceManager.Object"
- },
- "description": "Gets or sets tags on the resource.",
- "x-typespec-name": "Record"
+ }
},
"isDeleted": {
"type": "boolean",
@@ -20066,8 +19832,7 @@
"$ref": "#/definitions/ProvisioningState",
"description": "The status of the last operation."
}
- },
- "description": "Class for SQL Server properties."
+ }
},
"SqlServerStatus": {
"type": "string",
@@ -20131,6 +19896,7 @@
},
"SqlServerV2": {
"type": "object",
+ "description": "Class representing the web model of SQL Server.",
"properties": {
"properties": {
"$ref": "#/definitions/SqlServerProperties",
@@ -20142,7 +19908,6 @@
]
}
},
- "description": "Class representing the web model of SQL Server.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -20151,39 +19916,38 @@
},
"SqlServerV2ListResult": {
"type": "object",
+ "description": "The response of a SqlServerV2 list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The SqlServerV2 items on this page",
"items": {
"$ref": "#/definitions/SqlServerV2"
- },
- "description": "The SqlServerV2 items on this page",
- "x-typespec-name": "SqlServerV2[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a SqlServerV2 list operation.",
"required": [
"value"
]
},
"SqlServerV2Update": {
"type": "object",
+ "description": "The type used for update operations of the SqlServerV2.",
"properties": {
"properties": {
"$ref": "#/definitions/SqlServerV2UpdateProperties",
"x-ms-client-flatten": true
}
- },
- "description": "The type used for update operations of the SqlServerV2."
+ }
},
"SqlServerV2UpdateProperties": {
"type": "object",
+ "description": "The updatable properties of the SqlServerV2.",
"properties": {
"numberOfAgDatabases": {
"type": "integer",
@@ -20291,11 +20055,10 @@
},
"tags": {
"type": "object",
+ "description": "Gets or sets tags on the resource.",
"additionalProperties": {
"$ref": "#/definitions/Azure.ResourceManager.Object"
- },
- "description": "Gets or sets tags on the resource.",
- "x-typespec-name": "Record"
+ }
},
"isDeleted": {
"type": "boolean",
@@ -20317,11 +20080,11 @@
"$ref": "#/definitions/ProvisioningState",
"description": "The status of the last operation."
}
- },
- "description": "The updatable properties of the SqlServerV2."
+ }
},
"SqlSite": {
"type": "object",
+ "description": "SQL site web model.",
"properties": {
"properties": {
"$ref": "#/definitions/SqlSiteProperties",
@@ -20333,7 +20096,6 @@
]
}
},
- "description": "SQL site web model.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -20342,38 +20104,36 @@
},
"SqlSiteListResult": {
"type": "object",
+ "description": "The response of a SqlSite list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The SqlSite items on this page",
"items": {
"$ref": "#/definitions/SqlSite"
- },
- "description": "The SqlSite items on this page",
- "x-typespec-name": "SqlSite[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a SqlSite list operation.",
"required": [
"value"
]
},
"SqlSiteProperties": {
"type": "object",
+ "description": "Class for SQL site properties.",
"properties": {
"siteAppliancePropertiesCollection": {
"type": "array",
+ "description": "Gets or sets the appliance details used by service to communicate\n \nto the appliance.",
"items": {
"$ref": "#/definitions/SiteApplianceProperties"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets the appliance details used by service to communicate\n \nto the appliance.",
- "x-typespec-name": "SiteApplianceProperties[]"
+ "x-ms-identifiers": []
},
"discoveryScenario": {
"$ref": "#/definitions/SqlSitePropertiesDiscoveryScenario",
@@ -20389,8 +20149,7 @@
"description": "provisioning state enum",
"readOnly": true
}
- },
- "description": "Class for SQL site properties."
+ }
},
"SqlSitePropertiesDiscoveryScenario": {
"type": "string",
@@ -20418,45 +20177,45 @@
},
"SqlSiteRefreshBody": {
"type": "object",
+ "description": "SQL site refresh.",
"properties": {
"applianceName": {
"type": "string",
"description": "Gets or sets the appliance name of the agent in the site."
}
- },
- "description": "SQL site refresh."
+ }
},
"SqlSiteUpdate": {
"type": "object",
+ "description": "The type used for update operations of the SqlSite.",
"properties": {
"properties": {
"$ref": "#/definitions/SqlSiteUpdateProperties",
"x-ms-client-flatten": true
}
- },
- "description": "The type used for update operations of the SqlSite."
+ }
},
"SqlSiteUpdateProperties": {
"type": "object",
+ "description": "The updatable properties of the SqlSite.",
"properties": {
"siteAppliancePropertiesCollection": {
"type": "array",
+ "description": "Gets or sets the appliance details used by service to communicate\n \nto the appliance.",
"items": {
"$ref": "#/definitions/SiteApplianceProperties"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets the appliance details used by service to communicate\n \nto the appliance.",
- "x-typespec-name": "SiteApplianceProperties[]"
+ "x-ms-identifiers": []
},
"discoveryScenario": {
"$ref": "#/definitions/SqlSitePropertiesDiscoveryScenario",
"description": "Gets or sets the discovery scenario."
}
- },
- "description": "The updatable properties of the SqlSite."
+ }
},
"SqlSiteUsage": {
"type": "object",
+ "description": "SQL site usage.",
"properties": {
"serverCount": {
"type": "integer",
@@ -20473,11 +20232,11 @@
"format": "int32",
"description": "Gets or sets the number of run as accounts in the site."
}
- },
- "description": "SQL site usage."
+ }
},
"StaticDiscovery": {
"type": "object",
+ "description": "Contains data related static data discovery scope.",
"properties": {
"discoveryScopeStatus": {
"$ref": "#/definitions/StaticDiscoveryScopeStatus",
@@ -20486,11 +20245,10 @@
},
"errors": {
"type": "array",
+ "description": "Gets errors for discovery scope.",
"items": {
"$ref": "#/definitions/HealthErrorDetails"
},
- "description": "Gets errors for discovery scope.",
- "x-typespec-name": "HealthErrorDetails[]",
"readOnly": true
},
"hydratedRunAsAccountId": {
@@ -20498,8 +20256,7 @@
"description": "Gets the run as account ID with which feature worked successfully.\n \nIt is discovered by the agent from the list of credentials.",
"readOnly": true
}
- },
- "description": "Contains data related static data discovery scope."
+ }
},
"StaticDiscoveryScopeStatus": {
"type": "string",
@@ -20563,6 +20320,7 @@
},
"SystemCenter": {
"type": "object",
+ "description": "SystemCenter in the guest virtual machine.",
"properties": {
"productName": {
"type": "string",
@@ -20579,11 +20337,11 @@
"description": "Gets or sets Version of the SystemCenter.",
"readOnly": true
}
- },
- "description": "SystemCenter in the guest virtual machine."
+ }
},
"TagsMachineInput": {
"type": "object",
+ "description": "Machine class.",
"properties": {
"machineId": {
"type": "string",
@@ -20591,17 +20349,16 @@
},
"tags": {
"type": "object",
+ "description": "run as AccountId",
"additionalProperties": {
"type": "string"
- },
- "description": "run as AccountId",
- "x-typespec-name": "Record"
+ }
}
- },
- "description": "Machine class."
+ }
},
"TomcatEngineUnit": {
"type": "object",
+ "description": "Tomcat engine data.",
"properties": {
"name": {
"type": "string",
@@ -20609,18 +20366,17 @@
},
"hosts": {
"type": "array",
+ "description": "Gets or sets the hosts defined for the engine.",
"items": {
"$ref": "#/definitions/TomcatHostUnit"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets the hosts defined for the engine.",
- "x-typespec-name": "TomcatHostUnit[]"
+ "x-ms-identifiers": []
}
- },
- "description": "Tomcat engine data."
+ }
},
"TomcatHostUnit": {
"type": "object",
+ "description": "Tomcat host data.",
"properties": {
"name": {
"type": "string",
@@ -20634,11 +20390,11 @@
"type": "string",
"description": "Gets or sets the app base value configured for the host."
}
- },
- "description": "Tomcat host data."
+ }
},
"TomcatServiceUnit": {
"type": "object",
+ "description": "Tomcat service data.",
"properties": {
"name": {
"type": "string",
@@ -20646,22 +20402,21 @@
},
"connectors": {
"type": "array",
+ "description": "Gets or sets the connectors defined for the service component.",
"items": {
"$ref": "#/definitions/ConnectorUnit"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets the connectors defined for the service component.",
- "x-typespec-name": "ConnectorUnit[]"
+ "x-ms-identifiers": []
},
"engine": {
"$ref": "#/definitions/TomcatEngineUnit",
"description": "Gets or sets the engine defined for the service component."
}
- },
- "description": "Tomcat service data."
+ }
},
"TomcatWebApplicationProperties": {
"type": "object",
+ "description": "Class for web application properties.",
"properties": {
"hasDatabaseDependency": {
"type": "boolean",
@@ -20683,6 +20438,14 @@
"description": "Gets the web server name.",
"readOnly": true
},
+ "machineArmIds": {
+ "type": "array",
+ "description": "Gets the list of machine ARM Ids on which the web application is deployed.",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
"virtualPath": {
"type": "string",
"description": "Gets the virtual path of the application.",
@@ -20695,41 +20458,37 @@
},
"bindings": {
"type": "array",
+ "description": "Gets the front end bindings for the application.",
"items": {
"$ref": "#/definitions/FrontEndBinding"
},
- "x-ms-identifiers": [],
- "description": "Gets the front end bindings for the application.",
- "x-typespec-name": "FrontEndBinding[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"frameworks": {
"type": "array",
+ "description": "Gets the Error details.",
"items": {
"$ref": "#/definitions/WebApplicationFramework"
},
- "x-ms-identifiers": [],
- "description": "Gets the Error details.",
- "x-typespec-name": "WebApplicationFramework[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"configurations": {
"type": "array",
+ "description": "Gets the configuration.",
"items": {
"$ref": "#/definitions/WebApplicationConfigurationUnit"
},
- "x-ms-identifiers": [],
- "description": "Gets the configuration.",
- "x-typespec-name": "WebApplicationConfigurationUnit[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"directories": {
"type": "array",
+ "description": "Gets the directories.",
"items": {
"$ref": "#/definitions/WebApplicationDirectoryUnit"
},
- "description": "Gets the directories.",
- "x-typespec-name": "WebApplicationDirectoryUnit[]",
"readOnly": true
},
"displayName": {
@@ -20739,20 +20498,18 @@
},
"tags": {
"type": "object",
+ "description": "Gets tags that can be used with ODATA.",
"additionalProperties": {
"type": "string"
},
- "description": "Gets tags that can be used with ODATA.",
- "x-typespec-name": "Record",
"readOnly": true
},
"staticFolders": {
"type": "array",
+ "description": "Static folders.",
"items": {
"type": "string"
},
- "description": "Static folders.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"machineDisplayName": {
@@ -20782,20 +20539,18 @@
},
"errors": {
"type": "array",
+ "description": "Gets the Error details.",
"items": {
"$ref": "#/definitions/HealthErrorDetails"
},
- "description": "Gets the Error details.",
- "x-typespec-name": "HealthErrorDetails[]",
"readOnly": true
},
"applianceNames": {
"type": "array",
+ "description": "Gets the appliance names.",
"items": {
"type": "string"
},
- "description": "Gets the appliance names.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"hasErrors": {
@@ -20808,11 +20563,11 @@
"description": "provisioning state enum",
"readOnly": true
}
- },
- "description": "Class for web application properties."
+ }
},
"TomcatWebApplications": {
"type": "object",
+ "description": "Web application REST Resource.",
"properties": {
"properties": {
"$ref": "#/definitions/TomcatWebApplicationProperties",
@@ -20824,7 +20579,6 @@
]
}
},
- "description": "Web application REST Resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -20833,43 +20587,40 @@
},
"TomcatWebApplicationsListResult": {
"type": "object",
+ "description": "The response of a TomcatWebApplications list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The TomcatWebApplications items on this page",
"items": {
"$ref": "#/definitions/TomcatWebApplications"
- },
- "description": "The TomcatWebApplications items on this page",
- "x-typespec-name": "TomcatWebApplications[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a TomcatWebApplications list operation.",
"required": [
"value"
]
},
"TomcatWebApplicationsUpdate": {
"type": "object",
- "properties": {},
"description": "The type used for update operations of the TomcatWebApplications."
},
"TomcatWebServerProperties": {
"type": "object",
+ "description": "Class for web server properties.",
"properties": {
"services": {
"type": "array",
+ "description": "Gets or sets the services defined in the server.",
"items": {
"$ref": "#/definitions/TomcatServiceUnit"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets the services defined in the server.",
- "x-typespec-name": "TomcatServiceUnit[]"
+ "x-ms-identifiers": []
},
"catalinaHome": {
"type": "string",
@@ -20922,20 +20673,18 @@
},
"machineIds": {
"type": "array",
+ "description": "Gets the list of machines.",
"items": {
"type": "string"
},
- "description": "Gets the list of machines.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"webApplications": {
"type": "array",
+ "description": "Gets the list of web applications.",
"items": {
"type": "string"
},
- "description": "Gets the list of web applications.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"displayName": {
@@ -20979,20 +20728,18 @@
},
"errors": {
"type": "array",
+ "description": "Gets the Error details.",
"items": {
"$ref": "#/definitions/HealthErrorDetails"
},
- "description": "Gets the Error details.",
- "x-typespec-name": "HealthErrorDetails[]",
"readOnly": true
},
"applianceNames": {
"type": "array",
+ "description": "Gets the appliance names.",
"items": {
"type": "string"
},
- "description": "Gets the appliance names.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"hasErrors": {
@@ -21005,11 +20752,11 @@
"description": "provisioning state enum",
"readOnly": true
}
- },
- "description": "Class for web server properties."
+ }
},
"TomcatWebServers": {
"type": "object",
+ "description": "Web server REST Resource.",
"properties": {
"properties": {
"$ref": "#/definitions/TomcatWebServerProperties",
@@ -21021,7 +20768,6 @@
]
}
},
- "description": "Web server REST Resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -21030,74 +20776,70 @@
},
"TomcatWebServersListResult": {
"type": "object",
+ "description": "The response of a TomcatWebServers list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The TomcatWebServers items on this page",
"items": {
"$ref": "#/definitions/TomcatWebServers"
- },
- "description": "The TomcatWebServers items on this page",
- "x-typespec-name": "TomcatWebServers[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a TomcatWebServers list operation.",
"required": [
"value"
]
},
"UpdateMachineDepMapStatus": {
"type": "object",
+ "description": "Defines class that represents input to enable or disable DMP on machine\n \n for cosmos entity operation.",
"properties": {
"machines": {
"type": "array",
+ "description": "Gets or sets the machine collection.",
"items": {
"$ref": "#/definitions/DependencyMapMachineInput"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets the machine collection.",
- "x-typespec-name": "DependencyMapMachineInput[]"
+ "x-ms-identifiers": []
}
- },
- "description": "Defines class that represents input to enable or disable DMP on machine\n \n for cosmos entity operation."
+ }
},
"UpdateMachineRunAsAccount": {
"type": "object",
+ "description": "Defines class that represents input to update RunAsAccount on machine\n \n for cosmos entity operation.",
"properties": {
"machines": {
"type": "array",
+ "description": "Gets or sets the machine collection.",
"items": {
"$ref": "#/definitions/RunAsAccountMachineInput"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets the machine collection.",
- "x-typespec-name": "RunAsAccountMachineInput[]"
+ "x-ms-identifiers": []
}
- },
- "description": "Defines class that represents input to update RunAsAccount on machine\n \n for cosmos entity operation."
+ }
},
"UpdateMachineTags": {
"type": "object",
+ "description": "Defines class that represents input to update Tags on machine\n \n for cosmos entity operation.",
"properties": {
"machines": {
"type": "array",
+ "description": "Gets or sets the machine collection.",
"items": {
"$ref": "#/definitions/TagsMachineInput"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets the machine collection.",
- "x-typespec-name": "TagsMachineInput[]"
+ "x-ms-identifiers": []
}
- },
- "description": "Defines class that represents input to update Tags on machine\n \n for cosmos entity operation."
+ }
},
"V20180501PreviewVmwareRunAsAccount": {
"type": "object",
+ "description": "Run as account REST Resource.",
"properties": {
"id": {
"type": "string",
@@ -21119,27 +20861,25 @@
"description": "Gets nested properties.",
"readOnly": true
}
- },
- "description": "Run as account REST Resource."
+ }
},
"V20180501PreviewVmwareRunAsAccountVmwareRunAsAccountCollection": {
"type": "object",
+ "description": "Collection of VMware run as accounts.",
"properties": {
"value": {
"type": "array",
+ "description": "Gets the list of run as accounts.",
"items": {
"$ref": "#/definitions/V20180501PreviewVmwareRunAsAccount"
- },
- "description": "Gets the list of run as accounts.",
- "x-typespec-name": "V20180501PreviewVmwareRunAsAccount[]"
+ }
},
"nextLink": {
"type": "string",
"description": "Gets the value of next link.",
"readOnly": true
}
- },
- "description": "Collection of VMware run as accounts."
+ }
},
"VMwareDatastoreType": {
"type": "string",
@@ -21209,6 +20949,7 @@
},
"Vcenter": {
"type": "object",
+ "description": "A vcenter resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/VcenterProperties",
@@ -21220,7 +20961,6 @@
]
}
},
- "description": "A vcenter resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -21229,29 +20969,28 @@
},
"VcenterListResult": {
"type": "object",
+ "description": "The response of a Vcenter list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The Vcenter items on this page",
"items": {
"$ref": "#/definitions/Vcenter"
- },
- "description": "The Vcenter items on this page",
- "x-typespec-name": "Vcenter[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a Vcenter list operation.",
"required": [
"value"
]
},
"VcenterProperties": {
"type": "object",
+ "description": "The properties of VMwareSiteResource",
"properties": {
"runAsAccountId": {
"type": "string",
@@ -21259,11 +20998,10 @@
},
"errors": {
"type": "array",
+ "description": "Gets the errors.",
"items": {
"$ref": "#/definitions/HealthErrorDetails"
},
- "description": "Gets the errors.",
- "x-typespec-name": "HealthErrorDetails[]",
"readOnly": true
},
"createdTimestamp": {
@@ -21307,8 +21045,7 @@
"$ref": "#/definitions/ProvisioningState",
"description": "The status of the last operation."
}
- },
- "description": "The properties of VMwareSiteResource"
+ }
},
"Versions": {
"type": "string",
@@ -21390,6 +21127,7 @@
},
"VmwareDatastore": {
"type": "object",
+ "description": "Second level object returned as part of VMware host REST resource.",
"properties": {
"uuid": {
"type": "string",
@@ -21418,11 +21156,11 @@
"description": "Symbolic name of the data store.",
"readOnly": true
}
- },
- "description": "Second level object returned as part of VMware host REST resource."
+ }
},
"VmwareDisk": {
"type": "object",
+ "description": "Second level object returned as part of Machine REST resource.",
"properties": {
"uuid": {
"type": "string",
@@ -21476,11 +21214,11 @@
"type": "string",
"description": "Gets or sets Path of the disk."
}
- },
- "description": "Second level object returned as part of Machine REST resource."
+ }
},
"VmwareHost": {
"type": "object",
+ "description": "A host resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/VmwareHostProperties",
@@ -21492,7 +21230,6 @@
]
}
},
- "description": "A host resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -21501,29 +21238,28 @@
},
"VmwareHostListResult": {
"type": "object",
+ "description": "The response of a VmwareHost list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The VmwareHost items on this page",
"items": {
"$ref": "#/definitions/VmwareHost"
- },
- "description": "The VmwareHost items on this page",
- "x-typespec-name": "VmwareHost[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a VmwareHost list operation.",
"required": [
"value"
]
},
"VmwareHostProperties": {
"type": "object",
+ "description": "Class for host properties.",
"properties": {
"createdTimestamp": {
"type": "string",
@@ -21537,13 +21273,12 @@
},
"datastores": {
"type": "array",
+ "description": "Gets the data stores.",
"items": {
"$ref": "#/definitions/VmwareDatastore"
},
- "x-ms-identifiers": [],
- "description": "Gets the data stores.",
- "x-typespec-name": "VmwareDatastore[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"vcenterId": {
"type": "string",
@@ -21557,11 +21292,10 @@
},
"applianceNames": {
"type": "array",
+ "description": "Gets the appliance names.",
"items": {
"type": "string"
},
- "description": "Gets the appliance names.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"provisioningState": {
@@ -21569,11 +21303,11 @@
"description": "provisioning state enum",
"readOnly": true
}
- },
- "description": "Class for host properties."
+ }
},
"VmwareJob": {
"type": "object",
+ "description": "A host resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/JobProperties",
@@ -21585,7 +21319,6 @@
]
}
},
- "description": "A host resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -21594,29 +21327,28 @@
},
"VmwareJobListResult": {
"type": "object",
+ "description": "The response of a VmwareJob list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The VmwareJob items on this page",
"items": {
"$ref": "#/definitions/VmwareJob"
- },
- "description": "The VmwareJob items on this page",
- "x-typespec-name": "VmwareJob[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a VmwareJob list operation.",
"required": [
"value"
]
},
"VmwareMachineProperties": {
"type": "object",
+ "description": "Class for machine properties.",
"properties": {
"vCenterFqdn": {
"type": "string",
@@ -21645,13 +21377,12 @@
},
"disks": {
"type": "array",
+ "description": "Disks attached to the machine.",
"items": {
"$ref": "#/definitions/VmwareDisk"
},
- "x-ms-identifiers": [],
- "description": "Disks attached to the machine.",
- "x-typespec-name": "VmwareDisk[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"hostInMaintenanceMode": {
"type": "boolean",
@@ -21675,13 +21406,12 @@
},
"networkAdapters": {
"type": "array",
+ "description": "Network adapters attached to the machine.",
"items": {
"$ref": "#/definitions/VmwareNetworkAdapter"
},
- "x-ms-identifiers": [],
- "description": "Network adapters attached to the machine.",
- "x-typespec-name": "VmwareNetworkAdapter[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"vMwareToolsStatus": {
"type": "string",
@@ -21788,20 +21518,18 @@
},
"applianceNames": {
"type": "array",
+ "description": "Gets the appliance names.",
"items": {
"type": "string"
},
- "description": "Gets the appliance names.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"errors": {
"type": "array",
+ "description": "Errors for machine.",
"items": {
"$ref": "#/definitions/HealthErrorDetails"
},
- "description": "Errors for machine.",
- "x-typespec-name": "HealthErrorDetails[]",
"readOnly": true
},
"applicationDiscovery": {
@@ -21897,11 +21625,10 @@
},
"tags": {
"type": "object",
+ "description": "Gets or sets tags on the VMware machine.",
"additionalProperties": {
"type": "string"
- },
- "description": "Gets or sets tags on the VMware machine.",
- "x-typespec-name": "Record"
+ }
},
"updatedTimestamp": {
"type": "string",
@@ -21913,11 +21640,11 @@
"description": "The status of the last operation.",
"readOnly": true
}
- },
- "description": "Class for machine properties."
+ }
},
"VmwareMachineSoftwareInventory": {
"type": "object",
+ "description": "An software inventory resource belonging to a machine resource.",
"properties": {
"properties": {
"$ref": "#/definitions/MachineSoftwareInventoryProperties",
@@ -21929,7 +21656,6 @@
]
}
},
- "description": "An software inventory resource belonging to a machine resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -21938,29 +21664,28 @@
},
"VmwareMachineSoftwareInventoryListResult": {
"type": "object",
+ "description": "The response of a VmwareMachineSoftwareInventory list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The VmwareMachineSoftwareInventory items on this page",
"items": {
"$ref": "#/definitions/VmwareMachineSoftwareInventory"
- },
- "description": "The VmwareMachineSoftwareInventory items on this page",
- "x-typespec-name": "VmwareMachineSoftwareInventory[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a VmwareMachineSoftwareInventory list operation.",
"required": [
"value"
]
},
"VmwareNetworkAdapter": {
"type": "object",
+ "description": "Second level object represented in responses as part of Machine REST resource.",
"properties": {
"label": {
"type": "string",
@@ -21982,11 +21707,10 @@
},
"ipAddressList": {
"type": "array",
+ "description": "Gets IP addresses for the machine.",
"items": {
"type": "string"
},
- "description": "Gets IP addresses for the machine.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"networkName": {
@@ -21997,11 +21721,11 @@
"type": "string",
"description": "Gets or sets Type of the IP address."
}
- },
- "description": "Second level object represented in responses as part of Machine REST resource."
+ }
},
"VmwareRunAsAccountResource": {
"type": "object",
+ "description": "A runasaccount resource belonging to a site resource.",
"properties": {
"properties": {
"$ref": "#/definitions/RunAsAccountProperties",
@@ -22013,7 +21737,6 @@
]
}
},
- "description": "A runasaccount resource belonging to a site resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -22022,29 +21745,28 @@
},
"VmwareRunAsAccountResourceListResult": {
"type": "object",
+ "description": "The response of a VmwareRunAsAccountResource list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The VmwareRunAsAccountResource items on this page",
"items": {
"$ref": "#/definitions/VmwareRunAsAccountResource"
- },
- "description": "The VmwareRunAsAccountResource items on this page",
- "x-typespec-name": "VmwareRunAsAccountResource[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a VmwareRunAsAccountResource list operation.",
"required": [
"value"
]
},
"VmwareSite": {
"type": "object",
+ "description": "A VmwareSite",
"properties": {
"properties": {
"$ref": "#/definitions/SitesProperties",
@@ -22061,7 +21783,6 @@
"readOnly": true
}
},
- "description": "A VmwareSite",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
@@ -22070,47 +21791,45 @@
},
"VmwareSiteListResult": {
"type": "object",
+ "description": "The response of a VmwareSite list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The VmwareSite items on this page",
"items": {
"$ref": "#/definitions/VmwareSite"
- },
- "description": "The VmwareSite items on this page",
- "x-typespec-name": "VmwareSite[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a VmwareSite list operation.",
"required": [
"value"
]
},
"VmwareSiteUpdate": {
"type": "object",
+ "description": "The type used for update operations of the VmwareSite.",
"properties": {
"tags": {
"type": "object",
+ "description": "Resource tags.",
"additionalProperties": {
"type": "string"
- },
- "description": "Resource tags.",
- "x-typespec-name": "Record"
+ }
},
"properties": {
"$ref": "#/definitions/VmwareSiteUpdateProperties",
"x-ms-client-flatten": true
}
- },
- "description": "The type used for update operations of the VmwareSite."
+ }
},
"VmwareSiteUpdateProperties": {
"type": "object",
+ "description": "The updatable properties of the VmwareSite.",
"properties": {
"servicePrincipalIdentityDetails": {
"$ref": "#/definitions/SiteSpnProperties",
@@ -22132,11 +21851,11 @@
"$ref": "#/definitions/ProvisioningState",
"description": "The status of the last operation."
}
- },
- "description": "The updatable properties of the VmwareSite."
+ }
},
"VmwareSiteUsage": {
"type": "object",
+ "description": "VMware site usage.",
"properties": {
"machineCount": {
"type": "integer",
@@ -22153,11 +21872,11 @@
"format": "int32",
"description": "Gets or sets the number of vCenters part of the site."
}
- },
- "description": "VMware site usage."
+ }
},
"WebAppDiscovery": {
"type": "object",
+ "description": "Data related to a machine's WebApps discovery.",
"properties": {
"totalWebServerCount": {
"type": "integer",
@@ -22173,11 +21892,11 @@
"$ref": "#/definitions/DiscoveryScopeStatus",
"description": "Gets or sets status of partner discovery."
}
- },
- "description": "Data related to a machine's WebApps discovery."
+ }
},
"WebAppExtendedMachine": {
"type": "object",
+ "description": "Web app extended machine REST Resource.",
"properties": {
"properties": {
"$ref": "#/definitions/WebAppExtendedMachineProperties",
@@ -22189,7 +21908,6 @@
]
}
},
- "description": "Web app extended machine REST Resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -22198,29 +21916,28 @@
},
"WebAppExtendedMachineListResult": {
"type": "object",
+ "description": "The response of a WebAppExtendedMachine list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The WebAppExtendedMachine items on this page",
"items": {
"$ref": "#/definitions/WebAppExtendedMachine"
- },
- "description": "The WebAppExtendedMachine items on this page",
- "x-typespec-name": "WebAppExtendedMachine[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a WebAppExtendedMachine list operation.",
"required": [
"value"
]
},
"WebAppExtendedMachineProperties": {
"type": "object",
+ "description": "Class for web extended machine properties.",
"properties": {
"isDeleted": {
"type": "boolean",
@@ -22239,11 +21956,10 @@
},
"errors": {
"type": "array",
+ "description": "Gets the Error details.",
"items": {
"$ref": "#/definitions/HealthErrorDetails"
},
- "description": "Gets the Error details.",
- "x-typespec-name": "HealthErrorDetails[]",
"readOnly": true
},
"hostName": {
@@ -22276,11 +21992,11 @@
"description": "provisioning state enum",
"readOnly": true
}
- },
- "description": "Class for web extended machine properties."
+ }
},
"WebAppProperties": {
"type": "object",
+ "description": "Class representing web app properties web model.",
"properties": {
"webAppArmId": {
"type": "string",
@@ -22288,32 +22004,30 @@
},
"tags": {
"type": "object",
+ "description": "Gets or sets Tags.",
"additionalProperties": {
"type": "string"
- },
- "description": "Gets or sets Tags.",
- "x-typespec-name": "Record"
+ }
}
- },
- "description": "Class representing web app properties web model."
+ }
},
"WebAppPropertiesCollection": {
"type": "object",
+ "description": "Collection of web app properties.",
"properties": {
"webApps": {
"type": "array",
+ "description": "Gets or sets the list of web app properties.",
"items": {
"$ref": "#/definitions/WebAppProperties"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets the list of web app properties.",
- "x-typespec-name": "WebAppProperties[]"
+ "x-ms-identifiers": []
}
- },
- "description": "Collection of web app properties."
+ }
},
"WebAppRunAsAccount": {
"type": "object",
+ "description": "Run as account REST Resource.",
"properties": {
"properties": {
"$ref": "#/definitions/RunAsAccountProperties",
@@ -22325,7 +22039,6 @@
]
}
},
- "description": "Run as account REST Resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -22334,29 +22047,28 @@
},
"WebAppRunAsAccountListResult": {
"type": "object",
+ "description": "The response of a WebAppRunAsAccount list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The WebAppRunAsAccount items on this page",
"items": {
"$ref": "#/definitions/WebAppRunAsAccount"
- },
- "description": "The WebAppRunAsAccount items on this page",
- "x-typespec-name": "WebAppRunAsAccount[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a WebAppRunAsAccount list operation.",
"required": [
"value"
]
},
"WebAppSite": {
"type": "object",
+ "description": "WebApp site web model.",
"properties": {
"properties": {
"$ref": "#/definitions/WebAppSiteProperties",
@@ -22368,7 +22080,6 @@
]
}
},
- "description": "WebApp site web model.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -22377,38 +22088,36 @@
},
"WebAppSiteListResult": {
"type": "object",
+ "description": "The response of a WebAppSite list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The WebAppSite items on this page",
"items": {
"$ref": "#/definitions/WebAppSite"
- },
- "description": "The WebAppSite items on this page",
- "x-typespec-name": "WebAppSite[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a WebAppSite list operation.",
"required": [
"value"
]
},
"WebAppSiteProperties": {
"type": "object",
+ "description": "Class for Web app site properties.",
"properties": {
"siteAppliancePropertiesCollection": {
"type": "array",
+ "description": "Gets or sets the appliance details used by service to communicate\n \nto the appliance.",
"items": {
"$ref": "#/definitions/SiteApplianceProperties"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets the appliance details used by service to communicate\n \nto the appliance.",
- "x-typespec-name": "SiteApplianceProperties[]"
+ "x-ms-identifiers": []
},
"discoveryScenario": {
"$ref": "#/definitions/WebAppSitePropertiesDiscoveryScenario",
@@ -22424,8 +22133,7 @@
"description": "provisioning state enum",
"readOnly": true
}
- },
- "description": "Class for Web app site properties."
+ }
},
"WebAppSitePropertiesDiscoveryScenario": {
"type": "string",
@@ -22453,35 +22161,35 @@
},
"WebAppSiteUpdate": {
"type": "object",
+ "description": "The type used for update operations of the WebAppSite.",
"properties": {
"properties": {
"$ref": "#/definitions/WebAppSiteUpdateProperties",
"x-ms-client-flatten": true
}
- },
- "description": "The type used for update operations of the WebAppSite."
+ }
},
"WebAppSiteUpdateProperties": {
"type": "object",
+ "description": "The updatable properties of the WebAppSite.",
"properties": {
"siteAppliancePropertiesCollection": {
"type": "array",
+ "description": "Gets or sets the appliance details used by service to communicate\n \nto the appliance.",
"items": {
"$ref": "#/definitions/SiteApplianceProperties"
},
- "x-ms-identifiers": [],
- "description": "Gets or sets the appliance details used by service to communicate\n \nto the appliance.",
- "x-typespec-name": "SiteApplianceProperties[]"
+ "x-ms-identifiers": []
},
"discoveryScenario": {
"$ref": "#/definitions/WebAppSitePropertiesDiscoveryScenario",
"description": "Gets or sets the discovery scenario."
}
- },
- "description": "The updatable properties of the WebAppSite."
+ }
},
"WebAppSiteUsage": {
"type": "object",
+ "description": "Web app site usage.",
"properties": {
"webServerCount": {
"type": "integer",
@@ -22498,11 +22206,11 @@
"format": "int32",
"description": "Gets or sets the number of run as accounts in the site."
}
- },
- "description": "Web app site usage."
+ }
},
"WebApplication": {
"type": "object",
+ "description": "Web application REST Resource.",
"properties": {
"properties": {
"$ref": "#/definitions/WebApplicationProperties",
@@ -22514,7 +22222,6 @@
]
}
},
- "description": "Web application REST Resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -22523,6 +22230,7 @@
},
"WebApplicationAppsAndRolesModel": {
"type": "object",
+ "description": "WebApplication in the guest virtual machine.",
"properties": {
"name": {
"type": "string",
@@ -22554,11 +22262,11 @@
"description": "Gets or sets ApplicationPool of the WebApplication.",
"readOnly": true
}
- },
- "description": "WebApplication in the guest virtual machine."
+ }
},
"WebApplicationConfigurationUnit": {
"type": "object",
+ "description": "Web Application configuration unit.",
"properties": {
"name": {
"type": "string",
@@ -22592,11 +22300,11 @@
"type": "string",
"description": "Gets or sets the identifier for the configuration."
}
- },
- "description": "Web Application configuration unit."
+ }
},
"WebApplicationDirectoryUnit": {
"type": "object",
+ "description": "Web Application directory unit.",
"properties": {
"id": {
"type": "string",
@@ -22608,11 +22316,10 @@
},
"sourcePaths": {
"type": "array",
+ "description": "Gets or sets the paths of the directory on the source machine.",
"items": {
"type": "string"
- },
- "description": "Gets or sets the paths of the directory on the source machine.",
- "x-typespec-name": "string[]"
+ }
},
"localScratchPath": {
"type": "string",
@@ -22626,11 +22333,11 @@
"type": "string",
"description": "Gets or sets the size of the directory on the source machine."
}
- },
- "description": "Web Application directory unit."
+ }
},
"WebApplicationFramework": {
"type": "object",
+ "description": "Framework specific data for a web application.",
"properties": {
"name": {
"type": "string",
@@ -22640,34 +22347,32 @@
"type": "string",
"description": "Gets or sets Version of the framework."
}
- },
- "description": "Framework specific data for a web application."
+ }
},
"WebApplicationListResult": {
"type": "object",
+ "description": "The response of a WebApplication list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The WebApplication items on this page",
"items": {
"$ref": "#/definitions/WebApplication"
- },
- "description": "The WebApplication items on this page",
- "x-typespec-name": "WebApplication[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a WebApplication list operation.",
"required": [
"value"
]
},
"WebApplicationProperties": {
"type": "object",
+ "description": "Class for web application properties.",
"properties": {
"webServerId": {
"type": "string",
@@ -22679,6 +22384,14 @@
"description": "Gets the web server name.",
"readOnly": true
},
+ "machineArmIds": {
+ "type": "array",
+ "description": "Gets the list of machine ARM Ids on which the SQL server is deployed.",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
"virtualPath": {
"type": "string",
"description": "Gets the virtual path of the application.",
@@ -22691,43 +22404,39 @@
},
"bindings": {
"type": "array",
+ "description": "Gets the front end bindings for the application.",
"items": {
"$ref": "#/definitions/FrontEndBinding"
},
- "x-ms-identifiers": [],
- "description": "Gets the front end bindings for the application.",
- "x-typespec-name": "FrontEndBinding[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"frameworks": {
"type": "array",
+ "description": "Gets the Error details.",
"items": {
"$ref": "#/definitions/WebApplicationFramework"
},
- "x-ms-identifiers": [],
- "description": "Gets the Error details.",
- "x-typespec-name": "WebApplicationFramework[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"configurations": {
"type": "array",
+ "description": "Gets the configuration.",
"items": {
"$ref": "#/definitions/WebApplicationConfigurationUnit"
},
- "x-ms-identifiers": [],
- "description": "Gets the configuration.",
- "x-typespec-name": "WebApplicationConfigurationUnit[]",
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"directories": {
"type": "array",
+ "description": "Gets the directories.",
"items": {
"$ref": "#/definitions/WebApplicationDirectoryUnit"
},
- "description": "Gets the directories.",
- "x-typespec-name": "WebApplicationDirectoryUnit[]",
- "x-ms-identifiers": [],
- "readOnly": true
+ "readOnly": true,
+ "x-ms-identifiers": []
},
"displayName": {
"type": "string",
@@ -22736,20 +22445,18 @@
},
"tags": {
"type": "object",
+ "description": "Gets tags that can be used with ODATA.",
"additionalProperties": {
"type": "string"
},
- "description": "Gets tags that can be used with ODATA.",
- "x-typespec-name": "Record",
"readOnly": true
},
"staticFolders": {
"type": "array",
+ "description": "Static folders.",
"items": {
"type": "string"
},
- "description": "Static folders.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"machineDisplayName": {
@@ -22779,20 +22486,18 @@
},
"errors": {
"type": "array",
+ "description": "Gets the Error details.",
"items": {
"$ref": "#/definitions/HealthErrorDetails"
},
- "description": "Gets the Error details.",
- "x-typespec-name": "HealthErrorDetails[]",
"readOnly": true
},
"applianceNames": {
"type": "array",
+ "description": "Gets the appliance names.",
"items": {
"type": "string"
},
- "description": "Gets the appliance names.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"hasErrors": {
@@ -22805,11 +22510,11 @@
"description": "provisioning state enum",
"readOnly": true
}
- },
- "description": "Class for web application properties."
+ }
},
"WebRoleImportDisk": {
"type": "object",
+ "description": "Class representing the imported machine web model.",
"properties": {
"megabytesPerSecondOfRead": {
"type": "number",
@@ -22857,11 +22562,11 @@
"type": "string",
"description": "Gets or sets Path of the disk."
}
- },
- "description": "Class representing the imported machine web model."
+ }
},
"WebRoleOperatingSystem": {
"type": "object",
+ "description": "Second level object returned as part of Machine REST resource.",
"properties": {
"osType": {
"type": "string",
@@ -22879,11 +22584,11 @@
"type": "string",
"description": "Gets or sets the Architecture of the operating system."
}
- },
- "description": "Second level object returned as part of Machine REST resource."
+ }
},
"WebServer": {
"type": "object",
+ "description": "Web application REST Resource.",
"properties": {
"properties": {
"$ref": "#/definitions/WebServerProperties",
@@ -22895,7 +22600,6 @@
]
}
},
- "description": "Web application REST Resource.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
@@ -22904,29 +22608,28 @@
},
"WebServerListResult": {
"type": "object",
+ "description": "The response of a WebServer list operation.",
"properties": {
"value": {
"type": "array",
+ "description": "The WebServer items on this page",
"items": {
"$ref": "#/definitions/WebServer"
- },
- "description": "The WebServer items on this page",
- "x-typespec-name": "WebServer[]"
+ }
},
"nextLink": {
"type": "string",
"format": "uri",
- "description": "The link to the next page of items",
- "x-typespec-name": "TypeSpec.Rest.ResourceLocation"
+ "description": "The link to the next page of items"
}
},
- "description": "The response of a WebServer list operation.",
"required": [
"value"
]
},
"WebServerProperties": {
"type": "object",
+ "description": "Class for web server properties.",
"properties": {
"configurationLocation": {
"type": "string",
@@ -22940,20 +22643,18 @@
},
"machineIds": {
"type": "array",
+ "description": "Gets the list of machines.",
"items": {
"type": "string"
},
- "description": "Gets the list of machines.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"webApplications": {
"type": "array",
+ "description": "Gets the list of web applications.",
"items": {
"type": "string"
},
- "description": "Gets the list of web applications.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"displayName": {
@@ -22993,20 +22694,18 @@
},
"errors": {
"type": "array",
+ "description": "Gets the Error details.",
"items": {
"$ref": "#/definitions/HealthErrorDetails"
},
- "description": "Gets the Error details.",
- "x-typespec-name": "HealthErrorDetails[]",
"readOnly": true
},
"applianceNames": {
"type": "array",
+ "description": "Gets the appliance names.",
"items": {
"type": "string"
},
- "description": "Gets the appliance names.",
- "x-typespec-name": "string[]",
"readOnly": true
},
"hasErrors": {
@@ -23019,8 +22718,7 @@
"description": "provisioning state enum",
"readOnly": true
}
- },
- "description": "Class for web server properties."
+ }
},
"esuStatus": {
"type": "string",
diff --git a/specification/mpcnetworkfunction/resource-manager/readme.java.md b/specification/mpcnetworkfunction/resource-manager/readme.java.md
new file mode 100644
index 000000000000..01cdabebe9ad
--- /dev/null
+++ b/specification/mpcnetworkfunction/resource-manager/readme.java.md
@@ -0,0 +1,7 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+
+``` yaml $(java)
+client-flattened-annotation-target: disabled
+```
diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/ManagedIdentity.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/ManagedIdentity.json
new file mode 100644
index 000000000000..cf3bed240afa
--- /dev/null
+++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/ManagedIdentity.json
@@ -0,0 +1,981 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2023-07-31-preview",
+ "title": "ManagedServiceIdentityClient",
+ "description": "The Managed Service Identity Client."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/{scope}/providers/Microsoft.ManagedIdentity/identities/default": {
+ "get": {
+ "operationId": "SystemAssignedIdentities_GetByScope",
+ "description": "Gets the systemAssignedIdentity available under the specified RP scope.",
+ "x-ms-examples": {
+ "MsiOperationsList": {
+ "$ref": "./examples/SystemAssignedIdentityGet.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The systemAssignedIdentity was retrieved and returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/SystemAssignedIdentity"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.ManagedIdentity/operations": {
+ "get": {
+ "operationId": "Operations_List",
+ "description": "Lists available operations for the Microsoft.ManagedIdentity provider",
+ "x-ms-examples": {
+ "MsiOperationsList": {
+ "$ref": "./examples/MsiOperationsList.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation was successful. The response contains the list of available operations.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedIdentity/userAssignedIdentities": {
+ "get": {
+ "operationId": "UserAssignedIdentities_ListBySubscription",
+ "description": "Lists all the userAssignedIdentities available under the specified subscription.",
+ "x-ms-examples": {
+ "IdentityListBySubscription": {
+ "$ref": "./examples/IdentityListBySubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The list of userAssignedIdentities was retrieved and returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/UserAssignedIdentitiesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities": {
+ "get": {
+ "operationId": "UserAssignedIdentities_ListByResourceGroup",
+ "description": "Lists all the userAssignedIdentities available under the specified ResourceGroup.",
+ "x-ms-examples": {
+ "IdentityListByResourceGroup": {
+ "$ref": "./examples/IdentityListByResourceGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The list of userAssignedIdentities was retrieved and returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/UserAssignedIdentitiesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}": {
+ "put": {
+ "operationId": "UserAssignedIdentities_CreateOrUpdate",
+ "description": "Create or update an identity in the specified subscription and resource group.",
+ "x-ms-examples": {
+ "IdentityCreate": {
+ "$ref": "./examples/IdentityCreate.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Identity"
+ },
+ "description": "Parameters to create or update the identity"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Updated identity",
+ "schema": {
+ "$ref": "#/definitions/Identity"
+ }
+ },
+ "201": {
+ "description": "Created identity",
+ "schema": {
+ "$ref": "#/definitions/Identity"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "patch": {
+ "operationId": "UserAssignedIdentities_Update",
+ "description": "Update an identity in the specified subscription and resource group.",
+ "x-ms-examples": {
+ "IdentityUpdate": {
+ "$ref": "./examples/IdentityUpdate.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IdentityUpdate"
+ },
+ "description": "Parameters to update the identity"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Updated identity",
+ "schema": {
+ "$ref": "#/definitions/Identity"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "get": {
+ "operationId": "UserAssignedIdentities_Get",
+ "description": "Gets the identity.",
+ "x-ms-examples": {
+ "IdentityGet": {
+ "$ref": "./examples/IdentityGet.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The requested identity.",
+ "schema": {
+ "$ref": "#/definitions/Identity"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "UserAssignedIdentities_Delete",
+ "description": "Deletes the identity.",
+ "x-ms-examples": {
+ "IdentityDelete": {
+ "$ref": "./examples/IdentityDelete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Deleted Identity."
+ },
+ "204": {
+ "description": "The specified identity does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{revokeTokenResourceName}/revokeTokens": {
+ "post": {
+ "operationId": "UserAssignedIdentities_RevokeTokens",
+ "description": "Revoke all tokens issued in the past for a specified user assigned identity.",
+ "x-ms-examples": {
+ "TokenRevocation": {
+ "$ref": "./examples/TokenRevocation.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RevokeTokensResourceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Accepted request to revoke all tokens issued for a specified user assigned identity before the current time."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials": {
+ "get": {
+ "operationId": "FederatedIdentityCredentials_List",
+ "description": "Lists all the federated identity credentials under the specified user assigned identity.",
+ "x-ms-examples": {
+ "FederatedIdentityCredentialList": {
+ "$ref": "./examples/FederatedIdentityCredentialList.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TopQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/SkipTokenParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The list of federated identity credentials for the specified user assigned identity was retrieved and returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/FederatedIdentityCredentialsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials/{federatedIdentityCredentialResourceName}": {
+ "put": {
+ "operationId": "FederatedIdentityCredentials_CreateOrUpdate",
+ "description": "Create or update a federated identity credential under the specified user assigned identity.",
+ "x-ms-examples": {
+ "FederatedIdentityCredentialCreate": {
+ "$ref": "./examples/FederatedIdentityCredentialCreate.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/FederatedIdentityCredentialResourceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/FederatedIdentityCredential"
+ },
+ "description": "Parameters to create or update the federated identity credential."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Updated federated identity credential.",
+ "schema": {
+ "$ref": "#/definitions/FederatedIdentityCredential"
+ }
+ },
+ "201": {
+ "description": "Created federated identity credential.",
+ "schema": {
+ "$ref": "#/definitions/FederatedIdentityCredential"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "get": {
+ "operationId": "FederatedIdentityCredentials_Get",
+ "description": "Gets the federated identity credential.",
+ "x-ms-examples": {
+ "FederatedIdentityCredentialGet": {
+ "$ref": "./examples/FederatedIdentityCredentialGet.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/FederatedIdentityCredentialResourceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The requested federated identity credential.",
+ "schema": {
+ "$ref": "#/definitions/FederatedIdentityCredential"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "FederatedIdentityCredentials_Delete",
+ "description": "Deletes the federated identity credential.",
+ "x-ms-examples": {
+ "FederatedIdentityCredentialDelete": {
+ "$ref": "./examples/FederatedIdentityCredentialDelete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/FederatedIdentityCredentialResourceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Deleted federated identity credential."
+ },
+ "204": {
+ "description": "The specified federated identity credential does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Identity": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "readOnly": true,
+ "description": "The properties associated with the identity.",
+ "$ref": "#/definitions/UserAssignedIdentityProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "description": "Describes an identity resource."
+ },
+ "FederatedIdentityCredential": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "The properties associated with the federated identity credential.",
+ "$ref": "#/definitions/FederatedIdentityCredentialProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "description": "Describes a federated identity credential."
+ },
+ "IdentityUpdate": {
+ "properties": {
+ "location": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "description": "The geo-location where the resource lives"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
+ "description": "Resource tags"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "readOnly": true,
+ "description": "The properties associated with the identity.",
+ "$ref": "#/definitions/UserAssignedIdentityProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/Resource"
+ }
+ ],
+ "description": "Describes an identity resource."
+ },
+ "SystemAssignedIdentity": {
+ "properties": {
+ "location": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "description": "The geo-location where the resource lives"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
+ "description": "Resource tags"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "readOnly": true,
+ "description": "The properties associated with the identity.",
+ "$ref": "#/definitions/SystemAssignedIdentityProperties"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "description": "Describes a system assigned identity resource."
+ },
+ "SystemAssignedIdentityProperties": {
+ "description": "The properties associated with the system assigned identity.",
+ "type": "object",
+ "title": "System Assigned Identity properties.",
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "readOnly": true,
+ "format": "uuid",
+ "description": "The id of the tenant which the identity belongs to."
+ },
+ "principalId": {
+ "type": "string",
+ "readOnly": true,
+ "format": "uuid",
+ "description": "The id of the service principal object associated with the created identity."
+ },
+ "clientId": {
+ "type": "string",
+ "readOnly": true,
+ "format": "uuid",
+ "description": "The id of the app associated with the identity. This is a random generated UUID by MSI."
+ },
+ "clientSecretUrl": {
+ "type": "string",
+ "readOnly": true,
+ "description": " The ManagedServiceIdentity DataPlane URL that can be queried to obtain the identity credentials."
+ }
+ }
+ },
+ "UserAssignedIdentityProperties": {
+ "description": "The properties associated with the user assigned identity.",
+ "type": "object",
+ "title": "User Assigned Identity properties.",
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "readOnly": true,
+ "format": "uuid",
+ "description": "The id of the tenant which the identity belongs to."
+ },
+ "principalId": {
+ "type": "string",
+ "readOnly": true,
+ "format": "uuid",
+ "description": "The id of the service principal object associated with the created identity."
+ },
+ "clientId": {
+ "type": "string",
+ "readOnly": true,
+ "format": "uuid",
+ "description": "The id of the app associated with the identity. This is a random generated UUID by MSI."
+ }
+ }
+ },
+ "FederatedIdentityCredentialProperties": {
+ "description": "The properties associated with a federated identity credential.",
+ "type": "object",
+ "title": "Federated identity credential properties.",
+ "required": [
+ "issuer",
+ "subject",
+ "audiences"
+ ],
+ "properties": {
+ "issuer": {
+ "type": "string",
+ "format": "uri",
+ "description": "The URL of the issuer to be trusted."
+ },
+ "subject": {
+ "type": "string",
+ "description": "The identifier of the external identity."
+ },
+ "audiences": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of audiences that can appear in the issued token."
+ }
+ }
+ },
+ "FederatedIdentityCredentialsListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FederatedIdentityCredential"
+ },
+ "x-ms-identifiers": [
+ "id"
+ ],
+ "description": "The collection of federated identity credentials returned by the listing operation."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The url to get the next page of results, if any."
+ }
+ },
+ "description": "Values returned by the List operation for federated identity credentials."
+ },
+ "UserAssignedIdentitiesListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Identity"
+ },
+ "description": "The collection of userAssignedIdentities returned by the listing operation."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The url to get the next page of results, if any."
+ }
+ },
+ "description": "Values returned by the List operation."
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "description": "A list of additional details about the error.",
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "description": "An error response from the ManagedServiceIdentity service."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "x-ms-identifiers": [
+ "code"
+ ],
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the ManagedServiceIdentity service."
+ },
+ "Operation": {
+ "title": "Microsoft.ManagedIdentity Operation.",
+ "description": "Operation supported by the Microsoft.ManagedIdentity REST API.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "title": "Operation Name.",
+ "description": "The name of the REST Operation. This is of the format {provider}/{resource}/{operation}.",
+ "type": "string"
+ },
+ "display": {
+ "title": "Operation Display.",
+ "description": "The object that describes the operation.",
+ "$ref": "#/definitions/OperationDisplay"
+ }
+ }
+ },
+ "OperationDisplay": {
+ "title": "Operation Display.",
+ "description": "The object that describes the operation.",
+ "properties": {
+ "provider": {
+ "title": "Resource Provider Name.",
+ "description": "Friendly name of the resource provider.",
+ "type": "string"
+ },
+ "operation": {
+ "title": "Operation Type.",
+ "description": "The type of operation. For example: read, write, delete.",
+ "type": "string"
+ },
+ "resource": {
+ "title": "Resource Type.",
+ "description": "The resource type on which the operation is performed.",
+ "type": "string"
+ },
+ "description": {
+ "title": "Operation description",
+ "description": "A description of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "OperationListResult": {
+ "title": "Operations List.",
+ "description": "A list of operations supported by Microsoft.ManagedIdentity Resource Provider.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "title": "Operations List.",
+ "description": "A list of operations supported by Microsoft.ManagedIdentity Resource Provider."
+ },
+ "nextLink": {
+ "type": "string",
+ "title": "Next Link",
+ "description": "The url to get the next page of results, if any."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ScopeParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource provider scope of the resource. Parent resource being extended by Managed Identities.",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The Id of the Subscription to which the identity belongs.",
+ "required": true,
+ "type": "string"
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the Resource Group to which the identity belongs.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ResourceNameParameter": {
+ "name": "resourceName",
+ "in": "path",
+ "description": "The name of the identity resource.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "Version of API to invoke.",
+ "required": true,
+ "type": "string"
+ },
+ "TopQueryParameter": {
+ "name": "$top",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "description": "Number of records to return.",
+ "minimum": 1,
+ "x-ms-parameter-location": "method"
+ },
+ "SkipTokenParameter": {
+ "in": "query",
+ "name": "$skiptoken",
+ "description": "A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "FederatedIdentityCredentialResourceNameParameter": {
+ "name": "federatedIdentityCredentialResourceName",
+ "in": "path",
+ "description": "The name of the federated identity credential resource.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{2,119}$",
+ "x-ms-parameter-location": "method"
+ },
+ "RevokeTokensResourceNameParameter": {
+ "name": "revokeTokenResourceName",
+ "in": "path",
+ "description": "The name of the identity resource for revoking token",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{2,119}$",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/FederatedIdentityCredentialCreate.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/FederatedIdentityCredentialCreate.json
new file mode 100644
index 000000000000..2014de5a6387
--- /dev/null
+++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/FederatedIdentityCredentialCreate.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2023-07-31-preview",
+ "subscriptionId": "c267c0e7-0a73-4789-9e17-d26aeb0904e5",
+ "resourceGroupName": "rgName",
+ "resourceName": "resourceName",
+ "federatedIdentityCredentialResourceName": "ficResourceName",
+ "parameters": {
+ "properties": {
+ "issuer": "https://oidc.prod-aks.azure.com/TenantGUID/IssuerGUID",
+ "subject": "system:serviceaccount:ns:svcaccount",
+ "audiences": [
+ "api://AzureADTokenExchange"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/c267c0e7-0a73-4789-9e17-d26aeb0904e5/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName/federatedIdentityCredentials/ficResourceName",
+ "name": "ficResourceName",
+ "properties": {
+ "issuer": "https://oidc.prod-aks.azure.com/TenantGUID/IssuerGUID",
+ "subject": "system:serviceaccount:ns:svcaccount",
+ "audiences": [
+ "api://AzureADTokenExchange"
+ ]
+ },
+ "type": "Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/c267c0e7-0a73-4789-9e17-d26aeb0904e5/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName/federatedIdentityCredentials/ficResourceName",
+ "name": "ficResourceName",
+ "properties": {
+ "issuer": "https://oidc.prod-aks.azure.com/TenantGUID/IssuerGUID",
+ "subject": "system:serviceaccount:ns:svcaccount",
+ "audiences": [
+ "api://AzureADTokenExchange"
+ ]
+ },
+ "type": "Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials"
+ }
+ }
+ }
+}
diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/FederatedIdentityCredentialDelete.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/FederatedIdentityCredentialDelete.json
new file mode 100644
index 000000000000..803cb1895bde
--- /dev/null
+++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/FederatedIdentityCredentialDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2023-07-31-preview",
+ "subscriptionId": "c267c0e7-0a73-4789-9e17-d26aeb0904e5",
+ "resourceGroupName": "rgName",
+ "resourceName": "resourceName",
+ "federatedIdentityCredentialResourceName": "ficResourceName"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/FederatedIdentityCredentialGet.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/FederatedIdentityCredentialGet.json
new file mode 100644
index 000000000000..b0ab5fd490e3
--- /dev/null
+++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/FederatedIdentityCredentialGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2023-07-31-preview",
+ "subscriptionId": "c267c0e7-0a73-4789-9e17-d26aeb0904e5",
+ "resourceGroupName": "rgName",
+ "resourceName": "resourceName",
+ "federatedIdentityCredentialResourceName": "ficResourceName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c267c0e7-0a73-4789-9e17-d26aeb0904e5/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName/federatedIdentityCredentials/ficResourceName",
+ "name": "ficResourceName",
+ "properties": {
+ "issuer": "https://oidc.prod-aks.azure.com/TenantGUID/IssuerGUID",
+ "subject": "system:serviceaccount:ns:svcaccount",
+ "audiences": [
+ "api://AzureADTokenExchange"
+ ]
+ },
+ "type": "Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials"
+ }
+ }
+ }
+}
diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/FederatedIdentityCredentialList.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/FederatedIdentityCredentialList.json
new file mode 100644
index 000000000000..34184d618247
--- /dev/null
+++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/FederatedIdentityCredentialList.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2023-07-31-preview",
+ "subscriptionId": "c267c0e7-0a73-4789-9e17-d26aeb0904e5",
+ "resourceGroupName": "rgName",
+ "resourceName": "resourceName",
+ "top": "20"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c267c0e7-0a73-4789-9e17-d26aeb0904e5/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName/federatedIdentityCredentials/ficResourceName",
+ "name": "ficResourceName",
+ "properties": {
+ "issuer": "https://oidc.prod-aks.azure.com/TenantGUID/IssuerGUID",
+ "subject": "system:serviceaccount:ns:svcaccount",
+ "audiences": [
+ "api://AzureADTokenExchange"
+ ]
+ },
+ "type": "Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials"
+ }
+ ],
+ "nextLink": "https://serviceRoot/subscriptions/c267c0e7-0a73-4789-9e17-d26aeb0904e5/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/resourceName/federatedIdentityCredentials?api-version=2023-01-31&$skipToken=X'12345'"
+ }
+ }
+ }
+}
diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityCreate.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityCreate.json
new file mode 100644
index 000000000000..b60b28dce194
--- /dev/null
+++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityCreate.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2023-07-31-preview",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "resourceName": "resourceName",
+ "parameters": {
+ "location": "eastus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName",
+ "location": "eastus",
+ "name": "identityName",
+ "properties": {
+ "clientId": "4024ab25-56a8-4370-aea6-6389221caf29",
+ "principalId": "25cc773c-7f05-40fc-a104-32d2300754ad",
+ "tenantId": "b6c948ef-f6b5-4384-8354-da3a15eca969"
+ },
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "type": "Microsoft.ManagedIdentity/userAssignedIdentities"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName",
+ "location": "eastus",
+ "name": "identityName",
+ "properties": {
+ "clientId": "4024ab25-56a8-4370-aea6-6389221caf29",
+ "principalId": "25cc773c-7f05-40fc-a104-32d2300754ad",
+ "tenantId": "b6c948ef-f6b5-4384-8354-da3a15eca969"
+ },
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "type": "Microsoft.ManagedIdentity/userAssignedIdentities"
+ }
+ }
+ }
+}
diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityDelete.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityDelete.json
new file mode 100644
index 000000000000..c8a36abb41ce
--- /dev/null
+++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityDelete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2023-07-31-preview",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "resourceName": "resourceName"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityGet.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityGet.json
new file mode 100644
index 000000000000..72cfcafb21a5
--- /dev/null
+++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityGet.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2023-07-31-preview",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "resourceName": "resourceName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName",
+ "location": "eastus",
+ "name": "identityName",
+ "properties": {
+ "clientId": "4024ab25-56a8-4370-aea6-6389221caf29",
+ "principalId": "25cc773c-7f05-40fc-a104-32d2300754ad",
+ "tenantId": "b6c948ef-f6b5-4384-8354-da3a15eca969"
+ },
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "type": "Microsoft.ManagedIdentity/userAssignedIdentities"
+ }
+ }
+ }
+}
diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityListByResourceGroup.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityListByResourceGroup.json
new file mode 100644
index 000000000000..37972ef028e9
--- /dev/null
+++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityListByResourceGroup.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2023-07-31-preview",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName",
+ "location": "eastus",
+ "name": "identityName",
+ "properties": {
+ "clientId": "4024ab25-56a8-4370-aea6-6389221caf29",
+ "principalId": "25cc773c-7f05-40fc-a104-32d2300754ad",
+ "tenantId": "b6c948ef-f6b5-4384-8354-da3a15eca969"
+ },
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "type": "Microsoft.ManagedIdentity/userAssignedIdentities"
+ }
+ ],
+ "nextLink": "https://serviceRoot/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities?api-version=2023-01-31&$skiptoken=X'12345'"
+ }
+ }
+ }
+}
diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityListBySubscription.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityListBySubscription.json
new file mode 100644
index 000000000000..81b33a928ea3
--- /dev/null
+++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityListBySubscription.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2023-07-31-preview",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName",
+ "location": "eastus",
+ "name": "identityName",
+ "properties": {
+ "clientId": "4024ab25-56a8-4370-aea6-6389221caf29",
+ "principalId": "25cc773c-7f05-40fc-a104-32d2300754ad",
+ "tenantId": "b6c948ef-f6b5-4384-8354-da3a15eca969"
+ },
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "type": "Microsoft.ManagedIdentity/userAssignedIdentities"
+ }
+ ],
+ "nextLink": "https://serviceRoot/subscriptions/subId/providers/Microsoft.ManagedIdentity/userAssignedIdentities?api-version=2023-01-31&$skiptoken=X'12345'"
+ }
+ }
+ }
+}
diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityUpdate.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityUpdate.json
new file mode 100644
index 000000000000..aa9aad1872e1
--- /dev/null
+++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/IdentityUpdate.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2023-07-31-preview",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rgName",
+ "resourceName": "resourceName",
+ "parameters": {
+ "location": "eastus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName",
+ "location": "eastus",
+ "name": "identityName",
+ "properties": {
+ "clientId": "4024ab25-56a8-4370-aea6-6389221caf29",
+ "principalId": "25cc773c-7f05-40fc-a104-32d2300754ad",
+ "tenantId": "b6c948ef-f6b5-4384-8354-da3a15eca969"
+ },
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "type": "Microsoft.ManagedIdentity/userAssignedIdentities"
+ }
+ }
+ }
+}
diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/MsiOperationsList.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/MsiOperationsList.json
new file mode 100644
index 000000000000..8b20d76b6dd2
--- /dev/null
+++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/MsiOperationsList.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2023-07-31-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "display": {
+ "description": "Gets an existing user assigned identity",
+ "operation": "Get User Assigned Identity",
+ "resource": "User Assigned Identities",
+ "provider": "Managed Service Identity"
+ },
+ "name": "Microsoft.ManagedIdentity/userAssignedIdentities/read"
+ },
+ {
+ "display": {
+ "description": "Creates a new user assigned identity or updates the tags associated with an existing user assigned identity",
+ "operation": "Create/Update User Assigned Identity",
+ "resource": "User Assigned Identities",
+ "provider": "Managed Service Identity"
+ },
+ "name": "Microsoft.ManagedIdentity/userAssignedIdentities/write"
+ },
+ {
+ "display": {
+ "description": "Deletes an existing user assigned identity",
+ "operation": "Delete User Assigned Identity",
+ "resource": "User Assigned Identities",
+ "provider": "Managed Service Identity"
+ },
+ "name": "Microsoft.ManagedIdentity/userAssignedIdentities/delete"
+ }
+ ],
+ "nextLink": "https://serviceRoot/providers/Microsoft.ManagedIdentity/operations?api-version=2023-01-31&$skiptoken=X'12345'"
+ }
+ }
+ }
+}
diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/SystemAssignedIdentityGet.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/SystemAssignedIdentityGet.json
new file mode 100644
index 000000000000..ed17103a5adf
--- /dev/null
+++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/SystemAssignedIdentityGet.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2023-07-31-preview",
+ "scope": "scope"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.Compute/virtualMachines/identityName",
+ "location": "cus",
+ "name": "resourceName",
+ "properties": {
+ "clientId": "4024ab25-56a8-4370-aea6-6389221caf29",
+ "clientSecretUrl": "https://serviceRoot/scope/credentials?tid=tenantId&oid=principalId&aid=clientId",
+ "principalId": "25cc773c-7f05-40fc-a104-32d2300754ad",
+ "tenantId": "b6c948ef-f6b5-4384-8354-da3a15eca969"
+ },
+ "type": "ResourceProvider"
+ }
+ }
+ }
+}
diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/TokenRevocation.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/TokenRevocation.json
new file mode 100644
index 000000000000..57f680175398
--- /dev/null
+++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2023-07-31-preview/examples/TokenRevocation.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "api-version": "2023-07-31-preview",
+ "subscriptionId": "c267c0e7-0a73-4789-9e17-d26aeb0904e5",
+ "resourceGroupName": "rgName",
+ "revokeTokenResourceName": "resourceName"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/msi/resource-manager/readme.md b/specification/msi/resource-manager/readme.md
index 2a00ea562d33..bcbb2f549c26 100644
--- a/specification/msi/resource-manager/readme.md
+++ b/specification/msi/resource-manager/readme.md
@@ -29,6 +29,15 @@ openapi-type: arm
tag: package-2023-01-31
```
+### Tag: package-2023-07-31-preview
+
+These settings apply only when `--tag=package-2023-07-31-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2023-07-31-preview'
+input-file:
+- Microsoft.ManagedIdentity/preview/2023-07-31-preview/ManagedIdentity.json
+```
+
### Tag: package-2023-01-31
These settings apply only when `--tag=package-2023-01-31` is specified on the command line.
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_CreateOrUpdate.json
new file mode 100644
index 000000000000..32938b88c538
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_CreateOrUpdate.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Creating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_CreateOrUpdateAD.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_CreateOrUpdateAD.json
new file mode 100644
index 000000000000..dae43d4bc575
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_CreateOrUpdateAD.json
@@ -0,0 +1,81 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "activeDirectories": [
+ {
+ "site": "SiteName",
+ "username": "ad_user_name",
+ "password": "ad_password",
+ "domain": "10.10.10.3",
+ "dns": "10.10.10.3, 10.10.10.4",
+ "smbServerName": "SMBServer",
+ "organizationalUnit": "OU=Engineering",
+ "aesEncryption": true,
+ "ldapSigning": false,
+ "ldapOverTLS": false
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "activeDirectories": [
+ {
+ "activeDirectoryId": "503d38f9-f17c-f92d-ef26-b0d46374534b",
+ "site": "SiteName",
+ "username": "ad_user_name",
+ "password": null,
+ "domain": "10.10.10.3",
+ "dns": "10.10.10.3, 10.10.10.4",
+ "smbServerName": "SMBServer",
+ "organizationalUnit": "OU=Engineering",
+ "aesEncryption": true,
+ "ldapSigning": false,
+ "ldapOverTLS": false
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Creating",
+ "activeDirectories": [
+ {
+ "activeDirectoryId": "503d38f9-f17c-f92d-ef26-b0d46374534b",
+ "site": "SiteName",
+ "username": "ad_user_name",
+ "password": null,
+ "domain": "10.10.10.3",
+ "dns": "10.10.10.3, 10.10.10.4",
+ "smbServerName": "SMBServer",
+ "organizationalUnit": "OU=Engineering",
+ "aesEncryption": true,
+ "ldapSigning": false,
+ "ldapOverTLS": false
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_Delete.json
new file mode 100644
index 000000000000..f09c5773e2b1
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_Get.json
new file mode 100644
index 000000000000..85d0627a6bb5
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_Get.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "activeDirectories": [
+ {
+ "site": "SiteName",
+ "activeDirectoryId": "02da3711-6c58-2d64-098a-e3af7afaf936",
+ "username": "ad_user_name",
+ "domain": "10.10.10.3",
+ "dns": "10.10.10.3, 10.10.10.4",
+ "status": "InUse",
+ "smbServerName": "SMBServer",
+ "organizationalUnit": "OU=Engineering",
+ "statusDetails": "Status Details",
+ "aesEncryption": true,
+ "ldapSigning": true
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_List.json
new file mode 100644
index 000000000000..605194327c20
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_List.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_MigrateEncryptionKey.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_MigrateEncryptionKey.json
new file mode 100644
index 000000000000..4d0a5fef9961
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_MigrateEncryptionKey.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "virtualNetworkId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.Network/virtualNetworks/vnet1",
+ "privateEndpointId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.Network/privateEndpoints/privip1"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2023-05-01-preview&operationResultResponseType=Location",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2023-05-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_RenewCredentials.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_RenewCredentials.json
new file mode 100644
index 000000000000..8440ba819025
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_RenewCredentials.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-05-01-preview",
+ "body": {}
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2022-08-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_Update.json
new file mode 100644
index 000000000000..44804d2a9c47
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Accounts_Update.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "tags": {
+ "Tag1": "Value1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2021-08-01&operationResultResponseType=Location"
+ },
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "tags": {
+ "Tag1": "Value1"
+ },
+ "properties": {
+ "provisioningState": "Patching",
+ "encryption": {
+ "keySource": "Microsoft.NetApp"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupPolicies_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupPolicies_Create.json
new file mode 100644
index 000000000000..1fc47c2613d5
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupPolicies_Create.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "backupPolicyName": "backupPolicyName",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "westus",
+ "properties": {
+ "dailyBackupsToKeep": 10,
+ "weeklyBackupsToKeep": 10,
+ "monthlyBackupsToKeep": 10,
+ "enabled": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/backupPolicyName",
+ "name": "account1/backupPolicyName",
+ "type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
+ "location": "westus",
+ "properties": {
+ "dailyBackupsToKeep": 10,
+ "weeklyBackupsToKeep": 10,
+ "monthlyBackupsToKeep": 10,
+ "enabled": true,
+ "provisioningState": "creating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/backupPolicyName",
+ "name": "account1/backupPolicyName",
+ "type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
+ "location": "westus",
+ "properties": {
+ "dailyBackupsToKeep": 10,
+ "weeklyBackupsToKeep": 10,
+ "monthlyBackupsToKeep": 10,
+ "enabled": true,
+ "provisioningState": "creating"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupPolicies_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupPolicies_Delete.json
new file mode 100644
index 000000000000..cc69a7bf2bac
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupPolicies_Delete.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "backupPolicyName": "backupPolicyName",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ },
+ "200": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupPolicies_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupPolicies_Get.json
new file mode 100644
index 000000000000..88e7b87e42b2
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupPolicies_Get.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "backupPolicyName": "backupPolicyName",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/backupPolicyName",
+ "name": "account1/backupPolicyName",
+ "type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
+ "location": "eastus",
+ "properties": {
+ "dailyBackupsToKeep": 10,
+ "weeklyBackupsToKeep": 10,
+ "monthlyBackupsToKeep": 10,
+ "volumesAssigned": 0,
+ "enabled": true,
+ "volumeBackups": [
+ {
+ "volumeName": "volume 1",
+ "backupsCount": 5,
+ "policyEnabled": true
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupPolicies_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupPolicies_List.json
new file mode 100644
index 000000000000..0ac5f8c05dee
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupPolicies_List.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/backupPolicy1",
+ "name": "account1/backupPolicy1",
+ "type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
+ "location": "eastus",
+ "properties": {
+ "dailyBackupsToKeep": 10,
+ "weeklyBackupsToKeep": 10,
+ "monthlyBackupsToKeep": 10,
+ "volumesAssigned": 0,
+ "enabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupPolicies_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupPolicies_Update.json
new file mode 100644
index 000000000000..40fa645307cf
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupPolicies_Update.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "backupPolicyName": "backupPolicyName",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "westus",
+ "properties": {
+ "dailyBackupsToKeep": 5,
+ "weeklyBackupsToKeep": 10,
+ "monthlyBackupsToKeep": 10,
+ "enabled": false
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/backupPolicyName",
+ "name": "account1/backupPolicyName",
+ "type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "dailyBackupsToKeep": 5,
+ "weeklyBackupsToKeep": 10,
+ "monthlyBackupsToKeep": 10,
+ "volumesAssigned": 1,
+ "enabled": false,
+ "volumeBackups": [
+ {
+ "volumeName": "volume 1",
+ "backupsCount": 5,
+ "policyEnabled": true
+ }
+ ]
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2021-08-01&operationResultResponseType=Location"
+ },
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/backupPolicyName",
+ "name": "account1/backupPolicyName",
+ "type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "dailyBackupsToKeep": 5,
+ "weeklyBackupsToKeep": 10,
+ "monthlyBackupsToKeep": 10,
+ "volumesAssigned": 1,
+ "enabled": false,
+ "volumeBackups": [
+ {
+ "volumeName": "volume 1",
+ "backupsCount": 5,
+ "policyEnabled": true
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupVaults_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupVaults_Create.json
new file mode 100644
index 000000000000..1a7bb189b0ba
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupVaults_Create.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "backupVaultName": "backupVault1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1",
+ "name": "account1/backupVault1",
+ "type": "Microsoft.NetApp/netAppAccounts/backupVaults",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1",
+ "name": "account1/backupVault1",
+ "type": "Microsoft.NetApp/netAppAccounts/backupVaults",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Creating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupVaults_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupVaults_Delete.json
new file mode 100644
index 000000000000..f779ddb8cfbd
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupVaults_Delete.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "account1",
+ "backupVaultName": "backupVault1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2023-05-01-preview&operationResultResponseType=Location",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2023-05-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupVaults_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupVaults_Get.json
new file mode 100644
index 000000000000..067222bbdcef
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupVaults_Get.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "backupVaultName": "backupVault1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1",
+ "name": "account1/backupVault1",
+ "type": "Microsoft.NetApp/netAppAccounts/backupVaults",
+ "location": "eastus",
+ "tags": {
+ "Tag1": "Value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupVaults_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupVaults_List.json
new file mode 100644
index 000000000000..adf8f383c3d8
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupVaults_List.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1",
+ "name": "account1/backupVault1",
+ "type": "Microsoft.NetApp/netAppAccounts/backupVaults",
+ "location": "eastus",
+ "tags": {
+ "Tag1": "Value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupVaults_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupVaults_Update.json
new file mode 100644
index 000000000000..a2685768ea5f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupVaults_Update.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "backupVaultName": "backupVault1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "tags": {
+ "Tag1": "Value1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1",
+ "name": "account1/backupVault1",
+ "type": "Microsoft.NetApp/netAppAccounts/backupVaults",
+ "location": "eastus",
+ "tags": {
+ "Tag1": "Value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2023-05-01-preview&operationResultResponseType=Location",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2023-05-01-preview"
+ },
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1",
+ "name": "account1/backupVault1",
+ "type": "Microsoft.NetApp/netAppAccounts/backupVaults",
+ "location": "eastus",
+ "tags": {
+ "Tag1": "Value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderAccount_Migrate.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderAccount_Migrate.json
new file mode 100644
index 000000000000..d8b1dcca9427
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderAccount_Migrate.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "backupVaultId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2023-05-01-preview&operationResultResponseType=Location",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2023-05-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_Create.json
new file mode 100644
index 000000000000..6ff83a1e7b79
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_Create.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "backupVaultName": "backupVault1",
+ "backupName": "backup1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "properties": {
+ "label": "myLabel",
+ "volumeResourceId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1",
+ "name": "account1/backupVault1/backup1",
+ "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups",
+ "properties": {
+ "creationDate": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded",
+ "size": 10011,
+ "label": "myLabel",
+ "backupType": "Manual",
+ "snapshotName": "backup1",
+ "volumeResourceId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1",
+ "name": "account1/backupVault1/backup1",
+ "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups",
+ "properties": {
+ "creationDate": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded",
+ "size": 10011,
+ "label": "myLabel",
+ "backupType": "Manual",
+ "snapshotName": "backup1",
+ "volumeResourceId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_Delete.json
new file mode 100644
index 000000000000..0b6cb0416124
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_Delete.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "account1",
+ "backupVaultName": "backupVault1",
+ "backupName": "backup1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2023-05-01-preview&operationResultResponseType=Location",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2023-05-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_Get.json
new file mode 100644
index 000000000000..ce62c01ef93a
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_Get.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "backupVaultName": "backupVault1",
+ "backupName": "backup1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1",
+ "name": "account1/backupVault1/backup1",
+ "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups",
+ "properties": {
+ "creationDate": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded",
+ "size": 10011,
+ "label": "myLabel",
+ "backupType": "Manual",
+ "snapshotName": "backup1",
+ "volumeResourceId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_List.json
new file mode 100644
index 000000000000..0db69ccb9706
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_List.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "backupVaultName": "backupVault1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1",
+ "name": "account1/backupVault1/backup1",
+ "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups",
+ "properties": {
+ "creationDate": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded",
+ "size": 10011,
+ "label": "myLabel",
+ "backupType": "Manual",
+ "snapshotName": "backup1",
+ "volumeResourceId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_SingleFileRestore.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_SingleFileRestore.json
new file mode 100644
index 000000000000..79c535a40c8e
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_SingleFileRestore.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "backupVaultName": "backupVault1",
+ "backupName": "backup1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "fileList": [
+ "/dir1/customer1.db",
+ "/dir1/customer2.db"
+ ],
+ "destinationVolumeId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2023-05-01-preview&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_Update.json
new file mode 100644
index 000000000000..9085107627b0
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderBackupVault_Update.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "backupVaultName": "backupVault1",
+ "backupName": "backup1",
+ "api-version": "2023-05-01-preview",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1",
+ "name": "account1/backupVault1/backup1",
+ "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups",
+ "properties": {
+ "creationDate": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded",
+ "size": 10011,
+ "label": "myLabel",
+ "backupType": "Manual",
+ "snapshotName": "backup1",
+ "volumeResourceId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2021-08-01&operationResultResponseType=Location",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2021-08-01"
+ },
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1",
+ "name": "account1/backupVault1/backup1",
+ "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups",
+ "properties": {
+ "creationDate": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded",
+ "size": 10011,
+ "label": "myLabel",
+ "backupType": "Manual",
+ "snapshotName": "backup1",
+ "volumeResourceId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderVolume_Migrate.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderVolume_Migrate.json
new file mode 100644
index 000000000000..4c15a0626965
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/BackupsUnderVolume_Migrate.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "backupVaultId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2023-05-01-preview&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Backups_Account_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Backups_Account_Delete.json
new file mode 100644
index 000000000000..8d65f65d3a09
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Backups_Account_Delete.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "backupName": "backupName",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2023-05-01-preview&operationResultResponseType=Location",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2023-05-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Backups_Account_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Backups_Account_Get.json
new file mode 100644
index 000000000000..3e13a6758007
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Backups_Account_Get.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "backupName": "backup1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/accountBackups/backup1",
+ "name": "account1/backup1",
+ "type": "Microsoft.NetApp/netAppAccounts/accountBackups",
+ "properties": {
+ "creationDate": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded",
+ "size": 10011,
+ "label": "myLabel",
+ "backupType": "Manual",
+ "volumeResourceId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Backups_Account_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Backups_Account_List.json
new file mode 100644
index 000000000000..06fd62d4919e
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Backups_Account_List.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/accountBackups/backup1",
+ "name": "account1/backup1",
+ "type": "Microsoft.NetApp/netAppAccounts/accountBackups",
+ "properties": {
+ "creationDate": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded",
+ "size": 10011,
+ "label": "myLabel",
+ "backupType": "Manual",
+ "volumeResourceId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/CheckFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/CheckFilePathAvailability.json
new file mode 100644
index 000000000000..334047cb6c13
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/CheckFilePathAvailability.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "name": "my-exact-filepth",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isAvailable": true
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/CheckNameAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/CheckNameAvailability.json
new file mode 100644
index 000000000000..d25f0abbe606
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/CheckNameAvailability.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "name": "accName",
+ "type": "netAppAccount",
+ "resourceGroup": "myRG"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isAvailable": true
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/CheckQuotaAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/CheckQuotaAvailability.json
new file mode 100644
index 000000000000..48c9ad00f13d
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/CheckQuotaAvailability.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "name": "resource1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "resourceGroup": "myRG"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isAvailable": true
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/GroupIdListForLDAPUser.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/GroupIdListForLDAPUser.json
new file mode 100644
index 000000000000..002a075b1581
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/GroupIdListForLDAPUser.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "username": "user1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "groupIdsForLdapUser": [
+ "123",
+ "224"
+ ]
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2022-11-01&operationResultResponseType=Location",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2022-11-01"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/NetworkSiblingSet_Query.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/NetworkSiblingSet_Query.json
new file mode 100644
index 000000000000..c7f31c003d83
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/NetworkSiblingSet_Query.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet",
+ "networkSiblingSetStateId": "12345_44420.8001578125",
+ "networkFeatures": "Standard",
+ "provisioningState": "Succeeded",
+ "nicInfoList": [
+ {
+ "ipAddress": "1.2.3.4",
+ "volumeResourceIds": [
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume10",
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume11"
+ ]
+ },
+ {
+ "ipAddress": "1.2.3.5",
+ "volumeResourceIds": [
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume20",
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume21"
+ ]
+ },
+ {
+ "ipAddress": "1.2.3.9",
+ "volumeResourceIds": []
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/NetworkSiblingSet_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/NetworkSiblingSet_Update.json
new file mode 100644
index 000000000000..a6949f23d2eb
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/NetworkSiblingSet_Update.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet",
+ "networkSiblingSetStateId": "12345_44420.8001578125",
+ "networkFeatures": "Standard"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet",
+ "networkSiblingSetStateId": "12345_44420.8001578125",
+ "networkFeatures": "Standard",
+ "provisioningState": "Succeeded",
+ "nicInfoList": [
+ {
+ "ipAddress": "1.2.3.4",
+ "volumeResourceIds": [
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume10",
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume11"
+ ]
+ },
+ {
+ "ipAddress": "1.2.3.5",
+ "volumeResourceIds": [
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume20",
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume21"
+ ]
+ },
+ {
+ "ipAddress": "1.2.3.9",
+ "volumeResourceIds": []
+ }
+ ]
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2023-01-01-preview&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/OperationList.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/OperationList.json
new file mode 100644
index 000000000000..aba5f8460c5a
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/OperationList.json
@@ -0,0 +1,1565 @@
+{
+ "parameters": {
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.NetApp/register/action",
+ "display": {
+ "provider": "Microsoft.NetApp",
+ "resource": "Subscription",
+ "operation": "Subscription Registration Action",
+ "description": "Subscription Registration Action"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Read volume resource",
+ "description": "Reads a volume resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Write volume resource",
+ "description": "Writes a volume resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Delete volume resource",
+ "description": "Deletes a volume resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/Revert/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Revert volume resource",
+ "description": "Revert volume to specific snapshot"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/BreakReplication/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Break volume replication resource",
+ "description": "Break volume replication relations"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReplicationStatus/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Read Volume Replication Status.",
+ "description": "Reads the statuses of the Volume Replication."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ListReplications/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReInitializeReplication/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Re-Initialize replication",
+ "description": "Attempts to re-initialize an uninitialized replication"
+ },
+ "origin": "user,system"
+ },
+ {
+ "properties": {
+ "serviceSpecification": {
+ "metricSpecifications": [
+ {
+ "name": "AverageReadLatency",
+ "displayName": "Average read latency",
+ "displayDescription": "Average read latency in milliseconds per operation",
+ "unit": "MilliSeconds",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "AverageReadLatency",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "AverageWriteLatency",
+ "displayName": "Average write latency",
+ "displayDescription": "Average write latency in milliseconds per operation",
+ "unit": "MilliSeconds",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "AverageWriteLatency",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumeLogicalSize",
+ "displayName": "Volume Consumed Size",
+ "displayDescription": "Logical size of the volume (used bytes)",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumeLogicalSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumeSnapshotSize",
+ "displayName": "Volume snapshot size",
+ "displayDescription": "Size of all snapshots in volume",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumeSnapshotSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "ReadIops",
+ "displayName": "Read iops",
+ "displayDescription": "Read In/out operations per second",
+ "unit": "CountPerSecond",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "ReadIops",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "WriteIops",
+ "displayName": "Write iops",
+ "displayDescription": "Write In/out operations per second",
+ "unit": "CountPerSecond",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "WriteIops",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumeAllocatedSize",
+ "displayName": "Volume allocated size",
+ "displayDescription": "The provisioned size of a volume",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumeAllocatedSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumeCoolTierSize",
+ "displayName": "Volume cool tier size",
+ "displayDescription": "Volume Footprint for Cool Tier",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumeCoolTierSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumeCoolTierDataReadSize",
+ "displayName": "Volume cool tier data read size",
+ "displayDescription": "Data read in using GET per volume",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumeCoolTierDataReadSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumeCoolTierDataWriteSize",
+ "displayName": "Volume cool tier data write size",
+ "displayDescription": "Data tiered out using PUT per volume",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumeCoolTierDataWriteSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "XregionReplicationLastTransferDuration",
+ "displayName": "Volume replication last transfer duration",
+ "displayDescription": "The amount of time in seconds it took for the last transfer to complete.",
+ "unit": "Seconds",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "XregionReplicationLastTransferDuration",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "XregionReplicationLastTransferSize",
+ "displayName": "Volume replication last transfer size",
+ "displayDescription": "The total number of bytes transferred as part of the last transfer.",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "XregionReplicationLastTransferSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "XregionReplicationHealthy",
+ "displayName": "Is volume replication status healthy",
+ "displayDescription": "Condition of the relationship, 1 or 0.",
+ "unit": "Count",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "XregionReplicationHealthy",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "XregionReplicationLagTime",
+ "displayName": "Volume replication lag time",
+ "displayDescription": "The amount of time in seconds by which the data on the mirror lags behind the source.",
+ "unit": "Seconds",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "XregionReplicationLagTime",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "XregionReplicationTotalTransferBytes",
+ "displayName": "Volume replication total transfer",
+ "displayDescription": "Cumulative bytes transferred for the relationship.",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "XregionReplicationTotalTransferBytes",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "XregionReplicationRelationshipProgress",
+ "displayName": "Volume replication progress",
+ "displayDescription": "Total amount of data transferred for the current transfer operation.",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "XregionReplicationRelationshipProgress",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "XregionReplicationRelationshipTransferring",
+ "displayName": "Is volume replication transferring",
+ "displayDescription": "Whether the status of the Volume Replication is 'transferring'.",
+ "unit": "Count",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "XregionReplicationRelationshipTransferring",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "CbsVolumeLogicalBackupBytes",
+ "displayName": "Volume Backup Bytes",
+ "displayDescription": "Total bytes backed up for this Volume.",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "CbsVolumeLogicalBackupBytes",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "CbsVolumeProtected",
+ "displayName": "Is Volume Backup Enabled",
+ "displayDescription": "Is backup enabled for the volume? 1 if yes, 0 if no.",
+ "unit": "Count",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "CbsVolumeProtected",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "CbsVolumeBackupActive",
+ "displayName": "Is Volume Backup suspended",
+ "displayDescription": "Is the backup policy suspended for the volume? 0 if yes, 1 if no.",
+ "unit": "Count",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "CbsVolumeBackupActive",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "CbsVolumeOperationTransferredBytes",
+ "displayName": "Volume Backup Last Transferred Bytes",
+ "displayDescription": "Total bytes transferred for last backup or restore operation.",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "CbsVolumeOperationTransferredBytes",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "CbsVolumeOperationComplete",
+ "displayName": "Is Volume Backup Operation Complete",
+ "displayDescription": "Did the last volume backup or restore operation complete successfully? 1 if yes, 0 if no.",
+ "unit": "Count",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "CbsVolumeOperationComplete",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumeConsumedSizePercentage",
+ "displayName": "Percentage Volume Consumed Size",
+ "displayDescription": "The percentage of the volume consumed including snapshots.",
+ "unit": "Percent",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumeConsumedSizePercentage",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "OtherThroughput",
+ "displayName": "Other throughput",
+ "displayDescription": "Other throughput (that is not read or write) in bytes per second",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "OtherThroughput",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "ReadThroughput",
+ "displayName": "Read throughput",
+ "displayDescription": "Read throughput in bytes per second",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "ReadThroughput",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "TotalThroughput",
+ "displayName": "Total throughput",
+ "displayDescription": "Sum of all throughput in bytes per second",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "TotalThroughput",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "WriteThroughput",
+ "displayName": "Write throughput",
+ "displayDescription": "Write throughput in bytes per second",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "WriteThroughput",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ }
+ ]
+ }
+ },
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/metricDefinitions/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Read volume metric definitions.",
+ "description": "Gets the available metrics for Volume resource."
+ },
+ "origin": "system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/diagnosticSettings/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Read diagnostic setting.",
+ "description": "Gets the diagnostic setting for the resource."
+ },
+ "origin": "system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/diagnosticSettings/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Write diagnostic setting.",
+ "description": "Creates or updates the diagnostic setting for the resource."
+ },
+ "origin": "system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/AuthorizeReplication/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Authorize Replication",
+ "description": "Authorize the source volume replication"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ResyncReplication/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Resync Replication",
+ "description": "Resync the replication on the destination volume"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/DeleteReplication/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Delete Replication",
+ "description": "Delete the replication on the destination volume"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReplicationStatus/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Read Volume Replication Status.",
+ "description": "Reads the statuses of the Volume Replication."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/MountTargets/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Read mount target resource",
+ "description": "Reads a mount target resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/BackupStatus/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RestoreStatus/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/PoolChange/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Change pool for volume",
+ "description": "Moves volume to another pool."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RelocateVolume/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Relocate volume to a new stamp.",
+ "description": "Relocate volume to a new stamp."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/FinalizeRelocation/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Finalize relocation of volume.",
+ "description": "Finalize relocation by cleaning up the old volume."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RevertRelocation/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Revert the relocation of volume.",
+ "description": "Revert the relocation and revert back to the old volume."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Accounts resource type",
+ "operation": "Read account resource",
+ "description": "Reads an account resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Accounts resource type",
+ "operation": "Write account resource",
+ "description": "Writes an account resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Accounts resource type",
+ "operation": "Delete account resource",
+ "description": "Deletes a account resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/RenewCredentials/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Accounts resource type",
+ "operation": "Renew MSI credentials, if possible.",
+ "description": "Renews MSI credentials of account, if account has MSI credentials that are due for renewal."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Pools resource type",
+ "operation": "Read pool resource",
+ "description": "Reads a pool resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Pools resource type",
+ "operation": "Write pool resource",
+ "description": "Writes a pool resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Pools resource type",
+ "operation": "Delete pool resource",
+ "description": "Deletes a pool resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "properties": {
+ "serviceSpecification": {
+ "metricSpecifications": [
+ {
+ "name": "VolumePoolAllocatedUsed",
+ "displayName": "Pool Allocated To Volume Size",
+ "displayDescription": "Allocated used size of the pool",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumePoolAllocatedUsed",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumePoolTotalLogicalSize",
+ "displayName": "Pool Consumed Size",
+ "displayDescription": "Sum of the logical size of all the volumes belonging to the pool",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average",
+ "Total"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumePoolTotalLogicalSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumePoolAllocatedSize",
+ "displayName": "Pool Allocated Size",
+ "displayDescription": "Provisioned size of this pool",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average",
+ "Total"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumePoolAllocatedSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumePoolTotalSnapshotSize",
+ "displayName": "Total Snapshot size for the pool",
+ "displayDescription": "Sum of snapshot size of all volumes in this pool",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumePoolTotalSnapshotSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumePoolProvisionedThroughput",
+ "displayName": "Provisioned throughput for the pool",
+ "displayDescription": "Provisioned throughput of this pool",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumePoolProvisionedThroughput",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumePoolAllocatedToVolumeThroughput",
+ "displayName": "Pool allocated throughput",
+ "displayDescription": "Sum of the throughput of all the volumes belonging to the pool",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumePoolAllocatedToVolumeThroughput",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ }
+ ]
+ }
+ },
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/metricDefinitions/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Pools resource type",
+ "operation": "Read volume metric definitions.",
+ "description": "Gets the available metrics for Volume resource."
+ },
+ "origin": "system"
+ },
+ {
+ "properties": {
+ "serviceSpecification": {
+ "logSpecifications": [
+ {
+ "name": "Autoscale",
+ "displayName": "Capacity Pool Autoscaled"
+ }
+ ]
+ }
+ },
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/logDefinitions/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Pools resource type",
+ "operation": "Read log definitions.",
+ "description": "Gets the log definitions for the resource."
+ },
+ "origin": "system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/diagnosticSettings/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Pools resource type",
+ "operation": "Read diagnostic setting.",
+ "description": "Gets the diagnostic setting for the resource."
+ },
+ "origin": "system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/diagnosticSettings/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Pools resource type",
+ "operation": "Write diagnostic setting.",
+ "description": "Creates or updates the diagnostic setting for the resource."
+ },
+ "origin": "system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshots resource type",
+ "operation": "Read snapshot resource",
+ "description": "Reads a snapshot resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshots resource type",
+ "operation": "Write snapshot resource",
+ "description": "Writes a snapshot resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshots resource type",
+ "operation": "Delete snapshot resource",
+ "description": "Deletes a snapshot resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/RestoreFiles/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshots resource type",
+ "operation": "Single File Snapshot Restore",
+ "description": "Restores files from a snapshot resource"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Subvolume resource type."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Subvolume resource type.",
+ "operation": "Write subvolume Resource",
+ "description": "Write a subvolume resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Subvolume resource type."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/GetMetadata/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Subvolume resource type.",
+ "operation": "Subvolume Metadata resource.",
+ "description": "Read subvolume metadata resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshot Policies resource type",
+ "operation": "Read snapshot policy resource",
+ "description": "Reads a snapshot policy resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshot Policies resource type",
+ "operation": "Write snapshot policy resource",
+ "description": "Writes a snapshot policy resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshot Policies resource type",
+ "operation": "Delete snapshot policy resource",
+ "description": "Deletes a snapshot policy resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/Volumes/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshot Policies resource type",
+ "operation": "List connected volumes",
+ "description": "List volumes connected to snapshot policy"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/ListVolumes/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshot Policies resource type",
+ "operation": "List connected volumes",
+ "description": "List volumes connected to snapshot policy"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Backup resource type",
+ "operation": "Read backup resource.",
+ "description": "Reads a backup resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Backup resource type",
+ "operation": "Write backup resource.",
+ "description": "Writes a backup resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Backup resource type",
+ "operation": "Delete backup resource",
+ "description": "Deletes a backup resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Backup Policy resource type",
+ "operation": "Read backup policy resource.",
+ "description": "Reads a backup policy resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Backup Policy resource type",
+ "operation": "Write backup policy resource.",
+ "description": "Writes a backup policy resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Backup Policy resource type",
+ "operation": "Delete backup policy resource",
+ "description": "Deletes a backup policy resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/vaults/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Vault resource type",
+ "operation": "Read vault resource.",
+ "description": "Reads a vault resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/accountBackups/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Account backup resource type",
+ "operation": "Read an account backup resource.",
+ "description": "Reads an account backup resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/accountBackups/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Account backup resource type",
+ "operation": "Write an account backup resource.",
+ "description": "Writes an account backup resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/accountBackups/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Account backup resource type",
+ "operation": "Delete an account backup resource.",
+ "description": "Deletes an account backup resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volume Group resource type",
+ "operation": "Read volume group resource",
+ "description": "Reads a volume group resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volume Group resource type",
+ "operation": "Write volume group resource",
+ "description": "Writes a volume group resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volume Group resource type",
+ "operation": "Delete volume group resource",
+ "description": "Deletes a volume group resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/locations/quotaLimits/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "QuotaLimit resource type",
+ "operation": "Read QuotaLimit resource type",
+ "description": "Reads a Quotalimit resource type."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/Operations/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Operations resource type",
+ "operation": "Read operation resource",
+ "description": "Reads an operation resources."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/locations/operationresults/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Operation results resource type",
+ "operation": "Read operation result resource",
+ "description": "Reads an operation result resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/locations/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Location wide operation",
+ "operation": "Read location wide operation",
+ "description": "Reads a location wide operation."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/locations/checknameavailability/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "NetApp resources",
+ "operation": "Check if resource name is available",
+ "description": "Check if resource name is available"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/locations/checkfilepathavailability/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Check if file path is available",
+ "description": "Check if file path is available"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/unregister/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Subscription",
+ "operation": "Unregister Subscription for Azure NetApp Files",
+ "description": "Unregisters Subscription with Microsoft.NetApp resource provider"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/locations/checkinventory/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "ReservedCapacity reservation resource.",
+ "operation": "Checks ReservedCapacity inventory.",
+ "description": "Checks ReservedCapacity inventory."
+ },
+ "origin": "user,system"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Pools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Pools_CreateOrUpdate.json
new file mode 100644
index 000000000000..6473a83d8b24
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Pools_CreateOrUpdate.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "size": 4398046511104,
+ "serviceLevel": "Premium",
+ "qosType": "Auto"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104,
+ "qosType": "Auto",
+ "totalThroughputMibps": 281.474
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104,
+ "qosType": "Auto",
+ "totalThroughputMibps": 281.474
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Pools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Pools_Delete.json
new file mode 100644
index 000000000000..67f9bb5e634a
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Pools_Delete.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Pools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Pools_Get.json
new file mode 100644
index 000000000000..a6c6bdfdb53d
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Pools_Get.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104,
+ "qosType": "Manual",
+ "totalThroughputMibps": 281.474,
+ "utilizedThroughputMibps": 100.47
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Pools_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Pools_List.json
new file mode 100644
index 000000000000..902ba4a1fba5
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Pools_List.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104,
+ "qosType": "Auto",
+ "totalThroughputMibps": 281.474
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Pools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Pools_Update.json
new file mode 100644
index 000000000000..7dca44c81667
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Pools_Update.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2023-05-01-preview",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104,
+ "qosType": "Manual",
+ "totalThroughputMibps": 281.474,
+ "utilizedThroughputMibps": 100.47
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/QuotaLimits_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/QuotaLimits_Get.json
new file mode 100644
index 000000000000..5ef3c4302b2e
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/QuotaLimits_Get.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "quotaLimitName": "totalCoolAccessVolumesPerSubscription",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalCoolAccessVolumesPerSubscription",
+ "name": "eastus/totalCoolAccessVolumesPerSubscription",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 10,
+ "default": 10
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/QuotaLimits_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/QuotaLimits_List.json
new file mode 100644
index 000000000000..52db1bfc2d76
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/QuotaLimits_List.json
@@ -0,0 +1,87 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/accountsPerSubscription",
+ "name": "eastus/accountsPerSubscription",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 10,
+ "default": 10
+ }
+ },
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/poolsPerAccount",
+ "name": "eastus/poolsPerAccount",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 25,
+ "default": 25
+ }
+ },
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/volumesPerPool",
+ "name": "eastus/volumesPerPool",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 500,
+ "default": 500
+ }
+ },
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/snapshotsPerVolume",
+ "name": "eastus/snapshotsPerVolume",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 255,
+ "default": 255
+ }
+ },
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalTiBsPerSubscription",
+ "name": "eastus/totalTiBsPerSubscription",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 1000,
+ "default": 25
+ }
+ },
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalDPVolumesPerSubscription",
+ "name": "eastus/totalDPVolumesPerSubscription",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 10,
+ "default": 10
+ }
+ },
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalVolumesPerSubscription",
+ "name": "eastus/totalVolumesPerSubscription",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 500,
+ "default": 500
+ }
+ },
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalCoolAccessVolumesPerSubscription",
+ "name": "eastus/totalCoolAccessVolumesPerSubscription",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 10,
+ "default": 10
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/RegionInfo.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/RegionInfo.json
new file mode 100644
index 000000000000..b7717d4964fe
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/RegionInfo.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "storageToNetworkProximity": "T2",
+ "availabilityZoneMappings": [
+ {
+ "availabilityZone": "1",
+ "isAvailable": true
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/RegionInfos_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/RegionInfos_Get.json
new file mode 100644
index 000000000000..53e4eae2db71
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/RegionInfos_Get.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/regionInfos/default",
+ "name": "eastus/default",
+ "type": "Microsoft.NetApp/locations/regionInfos",
+ "properties": {
+ "storageToNetworkProximity": "T2",
+ "availabilityZoneMappings": [
+ {
+ "availabilityZone": "1",
+ "isAvailable": true
+ },
+ {
+ "availabilityZone": "2",
+ "isAvailable": true
+ },
+ {
+ "availabilityZone": "3",
+ "isAvailable": true
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/RegionInfos_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/RegionInfos_List.json
new file mode 100644
index 000000000000..6ed0cdf85fa0
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/RegionInfos_List.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/regionInfos/default",
+ "name": "eastus/default",
+ "type": "Microsoft.NetApp/locations/regionInfos",
+ "properties": {
+ "storageToNetworkProximity": "T2",
+ "availabilityZoneMappings": [
+ {
+ "availabilityZone": "1",
+ "isAvailable": true
+ },
+ {
+ "availabilityZone": "2",
+ "isAvailable": true
+ },
+ {
+ "availabilityZone": "3",
+ "isAvailable": true
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_Create.json
new file mode 100644
index 000000000000..e7ee7c6e8494
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_Create.json
@@ -0,0 +1,104 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "snapshotPolicyName": "snapshotPolicyName",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "enabled": true,
+ "hourlySchedule": {
+ "snapshotsToKeep": 2,
+ "minute": 50
+ },
+ "dailySchedule": {
+ "snapshotsToKeep": 4,
+ "hour": 14,
+ "minute": 30
+ },
+ "weeklySchedule": {
+ "snapshotsToKeep": 3,
+ "day": "Wednesday",
+ "hour": 14,
+ "minute": 45
+ },
+ "monthlySchedule": {
+ "snapshotsToKeep": 5,
+ "daysOfMonth": "10,11,12",
+ "hour": 14,
+ "minute": 15
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "eastus",
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1",
+ "name": "account1/snapshotPolicy1",
+ "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies",
+ "properties": {
+ "enabled": true,
+ "hourlySchedule": {
+ "snapshotsToKeep": 2,
+ "minute": 50
+ },
+ "dailySchedule": {
+ "snapshotsToKeep": 4,
+ "hour": 14,
+ "minute": 30
+ },
+ "weeklySchedule": {
+ "snapshotsToKeep": 3,
+ "day": "Wednesday",
+ "hour": 14,
+ "minute": 45
+ },
+ "monthlySchedule": {
+ "snapshotsToKeep": 5,
+ "daysOfMonth": "10,11,12",
+ "hour": 14,
+ "minute": 15
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "location": "eastus",
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1",
+ "name": "account1/snapshotPolicy1",
+ "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies",
+ "properties": {
+ "enabled": true,
+ "hourlySchedule": {
+ "snapshotsToKeep": 2,
+ "minute": 50
+ },
+ "dailySchedule": {
+ "snapshotsToKeep": 4,
+ "hour": 14,
+ "minute": 30
+ },
+ "weeklySchedule": {
+ "snapshotsToKeep": 3,
+ "day": "Wednesday",
+ "hour": 14,
+ "minute": 45
+ },
+ "monthlySchedule": {
+ "snapshotsToKeep": 5,
+ "daysOfMonth": "10,11,12",
+ "hour": 14,
+ "minute": 15
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_Delete.json
new file mode 100644
index 000000000000..d5ebe6531b48
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_Delete.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "snapshotPolicyName": "snapshotPolicyName",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ },
+ "200": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_Get.json
new file mode 100644
index 000000000000..45a89c059298
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_Get.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "snapshotPolicyName": "snapshotPolicyName",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1",
+ "name": "account1/snapshotPolicy1",
+ "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies",
+ "location": "eastus",
+ "properties": {
+ "enabled": true,
+ "hourlySchedule": {
+ "snapshotsToKeep": 2,
+ "minute": 50
+ },
+ "dailySchedule": {
+ "snapshotsToKeep": 4,
+ "hour": 14,
+ "minute": 30
+ },
+ "weeklySchedule": {
+ "snapshotsToKeep": 3,
+ "day": "Wednesday",
+ "hour": 14,
+ "minute": 45
+ },
+ "monthlySchedule": {
+ "snapshotsToKeep": 5,
+ "daysOfMonth": "10,11,12",
+ "hour": 14,
+ "minute": 15
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_List.json
new file mode 100644
index 000000000000..25e2b71156a8
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_List.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1",
+ "name": "account1/snapshotPolicy1",
+ "location": "eastus",
+ "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies",
+ "properties": {
+ "enabled": true,
+ "hourlySchedule": {
+ "snapshotsToKeep": 2,
+ "minute": 50
+ },
+ "dailySchedule": {
+ "snapshotsToKeep": 4,
+ "hour": 14,
+ "minute": 30
+ },
+ "weeklySchedule": {
+ "snapshotsToKeep": 3,
+ "day": "Wednesday",
+ "hour": 14,
+ "minute": 45
+ },
+ "monthlySchedule": {
+ "snapshotsToKeep": 5,
+ "daysOfMonth": "10,11,12",
+ "hour": 14,
+ "minute": 15
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_ListVolumes.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_ListVolumes.json
new file mode 100644
index 000000000000..bbd08ff4370f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_ListVolumes.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "snapshotPolicyName": "snapshotPolicyName",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "name": "account1/pool1/volume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "throughputMibps": 128,
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_Update.json
new file mode 100644
index 000000000000..22903b7044f3
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/SnapshotPolicies_Update.json
@@ -0,0 +1,107 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "snapshotPolicyName": "snapshotPolicyName",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "enabled": true,
+ "hourlySchedule": {
+ "snapshotsToKeep": 2,
+ "minute": 50
+ },
+ "dailySchedule": {
+ "snapshotsToKeep": 4,
+ "hour": 14,
+ "minute": 30
+ },
+ "weeklySchedule": {
+ "snapshotsToKeep": 3,
+ "day": "Wednesday",
+ "hour": 14,
+ "minute": 45
+ },
+ "monthlySchedule": {
+ "snapshotsToKeep": 5,
+ "daysOfMonth": "10,11,12",
+ "hour": 14,
+ "minute": 15
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1",
+ "name": "account1/snapshotPolicy1",
+ "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies",
+ "location": "eastus",
+ "properties": {
+ "enabled": true,
+ "hourlySchedule": {
+ "snapshotsToKeep": 2,
+ "minute": 50
+ },
+ "dailySchedule": {
+ "snapshotsToKeep": 4,
+ "hour": 14,
+ "minute": 30
+ },
+ "weeklySchedule": {
+ "snapshotsToKeep": 3,
+ "day": "Wednesday",
+ "hour": 14,
+ "minute": 45
+ },
+ "monthlySchedule": {
+ "snapshotsToKeep": 5,
+ "daysOfMonth": "10,11,12",
+ "hour": 14,
+ "minute": 15
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2021-08-01&operationResultResponseType=Location"
+ },
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1",
+ "name": "account1/snapshotPolicy1",
+ "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies",
+ "location": "eastus",
+ "properties": {
+ "enabled": true,
+ "hourlySchedule": {
+ "snapshotsToKeep": 2,
+ "minute": 50
+ },
+ "dailySchedule": {
+ "snapshotsToKeep": 4,
+ "hour": 14,
+ "minute": 30
+ },
+ "weeklySchedule": {
+ "snapshotsToKeep": 3,
+ "day": "Wednesday",
+ "hour": 14,
+ "minute": 45
+ },
+ "monthlySchedule": {
+ "snapshotsToKeep": 5,
+ "daysOfMonth": "10,11,12",
+ "hour": 14,
+ "minute": 15
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_Create.json
new file mode 100644
index 000000000000..1b73c09b66e0
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_Create.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1",
+ "name": "account1/pool1/volume1/snapshot1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "created": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_Delete.json
new file mode 100644
index 000000000000..6aa8fa559787
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_Delete.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ },
+ "200": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_Get.json
new file mode 100644
index 000000000000..9f04a171afc1
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_Get.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1",
+ "name": "account1/pool1/volume1/snapshot1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "created": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_List.json
new file mode 100644
index 000000000000..128fbcd0907e
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_List.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1",
+ "name": "account1/pool1/volume1/snapshot1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "created": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_SingleFileRestore.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_SingleFileRestore.json
new file mode 100644
index 000000000000..9bb62bc803e5
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_SingleFileRestore.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "filePaths": [
+ "/dir1/customer1.db",
+ "/dir1/customer2.db"
+ ]
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_Update.json
new file mode 100644
index 000000000000..bc2efd415bdc
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Snapshots_Update.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2023-05-01-preview",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1",
+ "name": "account1/pool1/volume1/snapshot1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "created": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_Create.json
new file mode 100644
index 000000000000..1523b87552ab
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_Create.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "subvolumeName": "subvolume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "properties": {
+ "path": "/subvolumePath"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1",
+ "name": "account1/pool1/volume1/subvolume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes",
+ "properties": {
+ "path": "/subvolumePath",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1",
+ "name": "account1/pool1/volume1/subvolume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes",
+ "properties": {
+ "path": "/subvolumePath",
+ "provisioningState": "Creating"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_Delete.json
new file mode 100644
index 000000000000..a9bf729dc305
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_Delete.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "subvolumeName": "subvolume1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ },
+ "200": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_Get.json
new file mode 100644
index 000000000000..4d7ac1ce0a8a
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_Get.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "subvolumeName": "subvolume1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1",
+ "name": "account1/pool1/volume1/subvolume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes",
+ "properties": {
+ "path": "/pathToSubvol"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_List.json
new file mode 100644
index 000000000000..f53e866ecf19
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_List.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "subvolumeName": "subvolume1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1",
+ "name": "account1/pool1/volume1/subvolume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes",
+ "properties": {
+ "path": "/pathToSubvol"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_Metadata.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_Metadata.json
new file mode 100644
index 000000000000..6425b02efa4e
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_Metadata.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "subvolumeName": "subvolume1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1/metadata",
+ "name": "account1/pool1/volume1/subvolume1/metadata",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/metadata",
+ "properties": {
+ "path": "/pathToSubvol",
+ "size": 5,
+ "bytesUsed": 5,
+ "permissions": "777",
+ "creationTimeStamp": "2017-08-15T13:23:33Z",
+ "accessedTimeStamp": "2017-08-15T13:23:33Z",
+ "modifiedTimeStamp": "2017-08-15T13:23:33Z",
+ "changedTimeStamp": "2017-08-15T13:23:33Z"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_Update.json
new file mode 100644
index 000000000000..c97bce63a7db
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Subvolumes_Update.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "subvolumeName": "subvolume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "properties": {
+ "path": "/subvolumePath"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1",
+ "name": "account1/pool1/volume1/subvolume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolume1",
+ "properties": {
+ "path": "/subvolumePath"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_Create_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_Create_Oracle.json
new file mode 100644
index 000000000000..44ea10af1b52
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_Create_Oracle.json
@@ -0,0 +1,965 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "volumeGroupName": "group1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "westus",
+ "properties": {
+ "groupMetaData": {
+ "groupDescription": "Volume group",
+ "applicationType": "ORACLE",
+ "applicationIdentifier": "OR2"
+ },
+ "volumes": [
+ {
+ "name": "test-ora-data1",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-data1",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-data1",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-data2",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-data2",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-data2",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-data3",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-data3",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-data3",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-data4",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-data4",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-data4",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-data5",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-data5",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-data5",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-data6",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-data6",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-data6",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-data7",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-data7",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-data7",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-data8",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-data8",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-data8",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-log",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-log",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-log",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-log-mirror",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-log-mirror",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-log-mirror",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-binary",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-binary",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-binary",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-backup",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-backup",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-backup",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1",
+ "name": "group1",
+ "type": "Microsoft.NetApp/netAppAccounts/volumeGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Creating",
+ "groupMetaData": {
+ "groupDescription": "Volume group",
+ "applicationType": "ORACLE",
+ "applicationIdentifier": "OR2"
+ },
+ "volumes": [
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-data1",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data1",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data1",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data2",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-data2",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data2",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data2",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data3",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-data3",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data3",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data3",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data4",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-data4",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data4",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data4",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data5",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-data5",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data5",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data5",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data6",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-data6",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data6",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data6",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data7",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-data7",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data7",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data7",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data8",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-data8",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data8",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data8",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-log",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-log",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-log",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log-mirror",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-log-mirror",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-log-mirror",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-log-mirror",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-binary",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-binary",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-binary",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-binary",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-backup",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-backup",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-backup",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-backup",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_Create_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_Create_SapHana.json
new file mode 100644
index 000000000000..0e1a9fd20730
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_Create_SapHana.json
@@ -0,0 +1,406 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "volumeGroupName": "group1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "westus",
+ "properties": {
+ "groupMetaData": {
+ "groupDescription": "Volume group",
+ "applicationType": "SAP-HANA",
+ "applicationIdentifier": "SH9"
+ },
+ "volumes": [
+ {
+ "name": "test-data-mnt00001",
+ "properties": {
+ "creationToken": "test-data-mnt00001",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "data",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-log-mnt00001",
+ "properties": {
+ "creationToken": "test-log-mnt00001",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "log",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-shared",
+ "properties": {
+ "creationToken": "test-shared",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "shared",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-data-backup",
+ "properties": {
+ "creationToken": "test-data-backup",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "data-backup",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-log-backup",
+ "properties": {
+ "creationToken": "test-log-backup",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "log-backup",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1",
+ "name": "group1",
+ "type": "Microsoft.NetApp/netAppAccounts/volumeGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Creating",
+ "groupMetaData": {
+ "groupDescription": "Volume group",
+ "applicationType": "SAP-HANA",
+ "applicationIdentifier": "SH9"
+ },
+ "volumes": [
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-mnt00001",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-data-mnt00001",
+ "properties": {
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "data",
+ "serviceLevel": "Premium",
+ "creationToken": "test-data-mnt00001",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-mnt00001",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-log-mnt00001",
+ "properties": {
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "log",
+ "serviceLevel": "Premium",
+ "creationToken": "test-log-mnt00001",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-shared",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-shared",
+ "properties": {
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "shared",
+ "serviceLevel": "Premium",
+ "creationToken": "test-shared",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-backup",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-data-backup",
+ "properties": {
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "data-backup",
+ "serviceLevel": "Premium",
+ "creationToken": "test-data-backup",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-backup",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-log-backup",
+ "properties": {
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "log-backup",
+ "serviceLevel": "Premium",
+ "creationToken": "test-log-backup",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_Delete.json
new file mode 100644
index 000000000000..de9bd4907f31
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_Delete.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "volumeGroupName": "group1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ },
+ "200": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_Get_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_Get_Oracle.json
new file mode 100644
index 000000000000..52e0ecfda8d3
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_Get_Oracle.json
@@ -0,0 +1,510 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "volumeGroupName": "group1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1",
+ "name": "group1",
+ "type": "Microsoft.NetApp/netAppAccounts/volumeGroups",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "groupMetaData": {
+ "groupDescription": "Volume group",
+ "applicationType": "ORACLE",
+ "applicationIdentifier": "OR2",
+ "volumesCount": 12
+ },
+ "volumes": [
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-data1",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data1",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data1",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data2",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-data2",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data2",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data2",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data3",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-data3",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data3",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data3",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data4",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-data4",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data4",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data4",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data5",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-data5",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data5",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data5",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data6",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-data6",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data6",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data6",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data7",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-data7",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data7",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data7",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data8",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-data8",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data8",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data8",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-log",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-log",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-log",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log-mirror",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-log-mirror",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-log-mirror",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-log-mirror",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-binary",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-binary",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-binary",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-binary",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-backup",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-backup",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-backup",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-backup",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_Get_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_Get_SapHana.json
new file mode 100644
index 000000000000..a9d2fc4d7ecd
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_Get_SapHana.json
@@ -0,0 +1,220 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "volumeGroupName": "group1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1",
+ "name": "group1",
+ "type": "Microsoft.NetApp/netAppAccounts/volumeGroups",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "groupMetaData": {
+ "groupDescription": "Volume group",
+ "applicationType": "SAP-HANA",
+ "applicationIdentifier": "SH9",
+ "volumesCount": 5
+ },
+ "volumes": [
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-mnt00001",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-data-mnt00001",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "data",
+ "serviceLevel": "Premium",
+ "creationToken": "test-data-mnt00001",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-mnt00001",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-log-mnt00001",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "log",
+ "serviceLevel": "Premium",
+ "creationToken": "test-log-mnt00001",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-shared",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-shared",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "shared",
+ "serviceLevel": "Premium",
+ "creationToken": "test-shared",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-backup",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-data-backup",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "data-backup",
+ "serviceLevel": "Premium",
+ "creationToken": "test-data-backup",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-backup",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-log-backup",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "log-backup",
+ "serviceLevel": "Premium",
+ "creationToken": "test-log-backup",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_List_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_List_Oracle.json
new file mode 100644
index 000000000000..7d899f67dec8
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_List_Oracle.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1",
+ "name": "group1",
+ "type": "Microsoft.NetApp/netAppAccounts/volumeGroups",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "groupMetaData": {
+ "groupDescription": "Volume group",
+ "applicationType": "ORACLE",
+ "applicationIdentifier": "DEV",
+ "volumesCount": 12
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_List_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_List_SapHana.json
new file mode 100644
index 000000000000..1b8ab58477b8
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeGroups_List_SapHana.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1",
+ "name": "group1",
+ "type": "Microsoft.NetApp/netAppAccounts/volumeGroups",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "groupMetaData": {
+ "groupDescription": "Volume group",
+ "applicationType": "SAP-HANA",
+ "applicationIdentifier": "DEV",
+ "volumesCount": 5
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeQuotaRules_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeQuotaRules_Create.json
new file mode 100644
index 000000000000..3a80859caff7
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeQuotaRules_Create.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9",
+ "resourceGroupName": "myRG",
+ "accountName": "account-9957",
+ "poolName": "pool-5210",
+ "volumeName": "volume-6387",
+ "volumeQuotaRuleName": "rule-0004",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "westus",
+ "properties": {
+ "quotaTarget": "1821",
+ "quotaSizeInKiBs": 100005,
+ "quotaType": "IndividualUserQuota"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ },
+ "body": {
+ "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004",
+ "name": "account-9957/pool-5210/volume-6387/rule-0004",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules",
+ "location": "westus",
+ "properties": {
+ "quotaTarget": "1821",
+ "quotaSizeInKiBs": 100005,
+ "quotaType": "IndividualUserQuota",
+ "provisioningState": "Creating"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004",
+ "name": "account-9957/pool-5210/volume-6387/rule-0004",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules",
+ "location": "westus",
+ "properties": {
+ "quotaTarget": "1821",
+ "quotaSizeInKiBs": 100005,
+ "quotaType": "IndividualUserQuota",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeQuotaRules_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeQuotaRules_Delete.json
new file mode 100644
index 000000000000..cd10d4b0551b
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeQuotaRules_Delete.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9",
+ "resourceGroupName": "myRG",
+ "accountName": "account-9957",
+ "poolName": "pool-5210",
+ "volumeName": "volume-6387",
+ "volumeQuotaRuleName": "rule-0004",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeQuotaRules_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeQuotaRules_Get.json
new file mode 100644
index 000000000000..aecc5cf44f71
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeQuotaRules_Get.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9",
+ "resourceGroupName": "myRG",
+ "accountName": "account-9957",
+ "poolName": "pool-5210",
+ "volumeName": "volume-6387",
+ "volumeQuotaRuleName": "rule-0004",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004",
+ "name": "account-9957/pool-5210/volume-6387/rule-0004",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules",
+ "location": "westus",
+ "properties": {
+ "quotaTarget": "1821",
+ "quotaSizeInKiBs": 100005,
+ "quotaType": "IndividualUserQuota",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeQuotaRules_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeQuotaRules_List.json
new file mode 100644
index 000000000000..01dcdd918ac3
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeQuotaRules_List.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9",
+ "resourceGroupName": "myRG",
+ "accountName": "account-9957",
+ "poolName": "pool-5210",
+ "volumeName": "volume-6387",
+ "volumeQuotaRuleName": "rule-0004",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004",
+ "name": "account-9957/pool-5210/volume-6387/rule-0004",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules",
+ "location": "westus",
+ "properties": {
+ "quotaTarget": "1821",
+ "quotaSizeInKiBs": 100005,
+ "quotaType": "IndividualUserQuota",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeQuotaRules_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeQuotaRules_Update.json
new file mode 100644
index 000000000000..2b3c79aeabb0
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/VolumeQuotaRules_Update.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9",
+ "resourceGroupName": "myRG",
+ "accountName": "account-9957",
+ "poolName": "pool-5210",
+ "volumeName": "volume-6387",
+ "volumeQuotaRuleName": "rule-0004",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "properties": {
+ "quotaSizeInKiBs": 100009
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004",
+ "name": "account-9957/pool-5210/volume-6387/rule-0004",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Patching",
+ "quotaTarget": "1821",
+ "quotaSizeInKiBs": 100005,
+ "quotaType": "IndividualUserQuota"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_AuthorizeReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_AuthorizeReplication.json
new file mode 100644
index 000000000000..2c5712cdc3a0
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_AuthorizeReplication.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "remoteVolumeResourceId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRemoteRG/providers/Microsoft.NetApp/netAppAccounts/remoteAccount1/capacityPools/remotePool1/volumes/remoteVolume1"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_BreakFileLocks.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_BreakFileLocks.json
new file mode 100644
index 000000000000..ecc797da5529
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_BreakFileLocks.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "clientIp": "101.102.103.104",
+ "confirmRunningDisruptiveOperation": true
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_BreakReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_BreakReplication.json
new file mode 100644
index 000000000000..d9d2aa3e4b10
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_BreakReplication.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "forceBreakReplication": false
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_CreateOrUpdate.json
new file mode 100644
index 000000000000..6f0ada3882fb
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_CreateOrUpdate.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "creationToken": "my-unique-file-path",
+ "serviceLevel": "Premium",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "throughputMibps": 128,
+ "encryptionKeySource": "Microsoft.KeyVault"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "location": "eastus",
+ "name": "account1/pool1/volume1",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "throughputMibps": 128,
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "encryptionKeySource": "Microsoft.KeyVault"
+ },
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "location": "eastus",
+ "name": "account1/pool1/volume1",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "throughputMibps": 128,
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "encryptionKeySource": "Microsoft.KeyVault"
+ },
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_Delete.json
new file mode 100644
index 000000000000..323320f70b72
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_Delete.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_DeleteReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_DeleteReplication.json
new file mode 100644
index 000000000000..b12031a489d2
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_DeleteReplication.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_FinalizeRelocation.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_FinalizeRelocation.json
new file mode 100644
index 000000000000..b12031a489d2
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_FinalizeRelocation.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_Get.json
new file mode 100644
index 000000000000..68d78930f168
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_Get.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "name": "account1/pool1/volume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "throughputMibps": 0,
+ "actualThroughputMibps": 128,
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "networkFeatures": "Standard",
+ "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4",
+ "storageToNetworkProximity": "T2"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_LatestBackupStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_LatestBackupStatus.json
new file mode 100644
index 000000000000..5e201d852ffd
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_LatestBackupStatus.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "healthy": true,
+ "relationshipStatus": "Idle",
+ "mirrorState": "Mirrored",
+ "unhealthyReason": "",
+ "errorMessage": "",
+ "lastTransferSize": 100000,
+ "lastTransferType": "",
+ "totalTransferBytes": 100000
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_List.json
new file mode 100644
index 000000000000..88a8cdeb97a4
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_List.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "name": "account1/pool1/volume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "throughputMibps": 0,
+ "actualThroughputMibps": 128,
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "networkFeatures": "Standard",
+ "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4",
+ "storageToNetworkProximity": "T2"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ListReplications.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ListReplications.json
new file mode 100644
index 000000000000..97301f6fcd57
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ListReplications.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "replicationSchedule": "daily",
+ "remoteVolumeResourceId": "/subscriptions/36e85c76-e720-473e-881f-e2fe72f462d0/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-5999/capacityPools/pool-0977/volumes/volume-4508",
+ "remoteVolumeRegion": "westus"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_PoolChange.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_PoolChange.json
new file mode 100644
index 000000000000..bf0faa09a6ee
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_PoolChange.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "newPoolResourceId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_PopulateAvailabilityZones.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_PopulateAvailabilityZones.json
new file mode 100644
index 000000000000..d3a53d6f8cb9
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_PopulateAvailabilityZones.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "name": "account1/pool1/volume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "throughputMibps": 128,
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "networkFeatures": "Standard",
+ "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4",
+ "storageToNetworkProximity": "T2"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ReInitializeReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ReInitializeReplication.json
new file mode 100644
index 000000000000..b12031a489d2
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ReInitializeReplication.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ReestablishReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ReestablishReplication.json
new file mode 100644
index 000000000000..e8a346d130ac
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ReestablishReplication.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "sourceVolumeId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/mySourceRG/providers/Microsoft.NetApp/netAppAccounts/sourceAccount1/capacityPools/sourcePool1/volumes/sourceVolume1"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_Relocate.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_Relocate.json
new file mode 100644
index 000000000000..dbc4f82b75f3
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_Relocate.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {}
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ReplicationStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ReplicationStatus.json
new file mode 100644
index 000000000000..60dbdbb4bd65
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ReplicationStatus.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "healthy": true,
+ "relationshipStatus": "Idle",
+ "mirrorState": "Mirrored",
+ "totalProgress": "1048576",
+ "errorMessage": ""
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ResetCifsPassword.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ResetCifsPassword.json
new file mode 100644
index 000000000000..d52167e17b3c
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ResetCifsPassword.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_RestoreStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_RestoreStatus.json
new file mode 100644
index 000000000000..5fe4c2ced472
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_RestoreStatus.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "healthy": true,
+ "relationshipStatus": "Idle",
+ "mirrorState": "Uninitialized",
+ "unhealthyReason": "",
+ "errorMessage": "",
+ "totalTransferBytes": 100000
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ResyncReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ResyncReplication.json
new file mode 100644
index 000000000000..b12031a489d2
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_ResyncReplication.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_Revert.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_Revert.json
new file mode 100644
index 000000000000..b24456c33d09
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_Revert.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "snapshotId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_RevertRelocation.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_RevertRelocation.json
new file mode 100644
index 000000000000..b12031a489d2
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_RevertRelocation.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_SplitClone.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_SplitClone.json
new file mode 100644
index 000000000000..4a599577e13f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_SplitClone.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_Update.json
new file mode 100644
index 000000000000..2eba1c4f4cd5
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/examples/Volumes_Update.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-05-01-preview",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "dataProtection": {
+ "backup": {
+ "backupVaultId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1",
+ "backupEnabled": true,
+ "policyEnforced": false
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "name": "account1/pool1/volume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "throughputMibps": 0,
+ "actualThroughputMibps": 128,
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "networkFeatures": "Standard",
+ "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4",
+ "storageToNetworkProximity": "T2",
+ "dataProtection": {
+ "snapshot": {
+ "snapshotPolicyId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1"
+ },
+ "backup": {
+ "backupVaultId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1",
+ "backupEnabled": true,
+ "policyEnforced": false
+ }
+ }
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/netapp.json
new file mode 100644
index 000000000000..ec7ba6369600
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2023-05-01-preview/netapp.json
@@ -0,0 +1,9476 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Microsoft NetApp",
+ "description": "Microsoft NetApp Azure Resource Provider specification",
+ "version": "2023-05-01-preview",
+ "x-ms-code-generation-settings": {
+ "name": "AzureNetAppFilesManagementClient"
+ }
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "schemes": [
+ "https"
+ ],
+ "host": "management.azure.com",
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.NetApp/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "summary": "Describes the Resource Provider",
+ "description": "Lists all of the available Microsoft.NetApp Rest API operations",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "OperationList": {
+ "$ref": "examples/OperationList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability": {
+ "post": {
+ "tags": [
+ "NetApp Resource"
+ ],
+ "summary": "Check resource name availability",
+ "description": "Check if a resource name is available.",
+ "operationId": "NetAppResource_CheckNameAvailability",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Name availability request.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ResourceNameAvailabilityRequest"
+ },
+ "x-ms-client-flatten": true
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CheckAvailabilityResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "CheckNameAvailability": {
+ "$ref": "examples/CheckNameAvailability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability": {
+ "post": {
+ "tags": [
+ "NetApp Resource"
+ ],
+ "summary": "Check file path availability",
+ "description": "Check if a file path is available.",
+ "operationId": "NetAppResource_CheckFilePathAvailability",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "description": "File path availability request.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/FilePathAvailabilityRequest"
+ },
+ "x-ms-client-flatten": true
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CheckAvailabilityResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "CheckFilePathAvailability": {
+ "$ref": "examples/CheckFilePathAvailability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkQuotaAvailability": {
+ "post": {
+ "tags": [
+ "NetApp Resource"
+ ],
+ "summary": "Check quota availability",
+ "description": "Check if a quota is available.",
+ "operationId": "NetAppResource_CheckQuotaAvailability",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Quota availability request.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/QuotaAvailabilityRequest"
+ },
+ "x-ms-client-flatten": true
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CheckAvailabilityResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "CheckQuotaAvailability": {
+ "$ref": "examples/CheckQuotaAvailability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits": {
+ "get": {
+ "tags": [
+ "NetApp Resource"
+ ],
+ "summary": "Get quota limits",
+ "description": "Get the default and current limits for quotas",
+ "operationId": "NetAppResourceQuotaLimits_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SubscriptionQuotaItemList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "QuotaLimits": {
+ "$ref": "examples/QuotaLimits_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits/{quotaLimitName}": {
+ "get": {
+ "tags": [
+ "NetApp Resource"
+ ],
+ "summary": "Get quota limits",
+ "description": "Get the default and current subscription quota limit",
+ "operationId": "NetAppResourceQuotaLimits_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "#/parameters/QuotaLimitName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SubscriptionQuotaItem"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "QuotaLimits": {
+ "$ref": "examples/QuotaLimits_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos": {
+ "get": {
+ "summary": "Describes region specific information.",
+ "description": "Provides region specific information.",
+ "tags": [
+ "NetApp Resource"
+ ],
+ "operationId": "NetAppResourceRegionInfos_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/regionInfosList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "RegionInfos_List": {
+ "$ref": "examples/RegionInfos_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos/default": {
+ "get": {
+ "summary": "Describes region specific information.",
+ "description": "Provides storage to network proximity and logical zone mapping information.",
+ "tags": [
+ "NetApp Resource"
+ ],
+ "operationId": "NetAppResourceRegionInfos_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/regionInfoResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "RegionInfos_Get": {
+ "$ref": "examples/RegionInfos_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfo": {
+ "get": {
+ "summary": "Describes region specific information.",
+ "description": "Provides storage to network proximity and logical zone mapping information.",
+ "tags": [
+ "NetApp Resource"
+ ],
+ "operationId": "NetAppResource_QueryRegionInfo",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/regionInfo"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "RegionInfo_Query": {
+ "$ref": "examples/RegionInfo.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/queryNetworkSiblingSet": {
+ "post": {
+ "tags": [
+ "NetApp Resource"
+ ],
+ "summary": "Describe a network sibling set",
+ "description": "Get details of the specified network sibling set.",
+ "operationId": "NetAppResource_QueryNetworkSiblingSet",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Network sibling set to query.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/QueryNetworkSiblingSetRequest"
+ },
+ "x-ms-client-flatten": true
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/networkSiblingSet"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NetworkSiblingSet_Query": {
+ "$ref": "examples/NetworkSiblingSet_Query.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/updateNetworkSiblingSet": {
+ "post": {
+ "tags": [
+ "NetApp Resource"
+ ],
+ "summary": "Update the network features of a network sibling set",
+ "description": "Update the network features of the specified network sibling set.",
+ "operationId": "NetAppResource_UpdateNetworkSiblingSet",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Update for the specified network sibling set.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/UpdateNetworkSiblingSetRequest"
+ },
+ "x-ms-client-flatten": true
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/networkSiblingSet"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Update request accepted; operation will complete asynchronously",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "NetworkFeatures_Update": {
+ "$ref": "examples/NetworkSiblingSet_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts": {
+ "get": {
+ "summary": "Describe all NetApp Accounts in a subscription",
+ "description": "List and describe all NetApp accounts in the subscription.",
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_ListBySubscription",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/netAppAccountList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_List": {
+ "$ref": "examples/Accounts_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts": {
+ "get": {
+ "summary": "Describe all NetApp Accounts in a resource group",
+ "description": "List and describe all NetApp accounts in the resource group.",
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/netAppAccountList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_List": {
+ "$ref": "examples/Accounts_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}": {
+ "get": {
+ "summary": "Describe a NetApp Account",
+ "description": "Get the NetApp account",
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_Get": {
+ "$ref": "examples/Accounts_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_CreateOrUpdate",
+ "summary": "Create or update a NetApp account",
+ "description": "Create or update the specified NetApp account within the resource group",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "NetApp Account object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - account updated",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "201": {
+ "description": "Account created",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Accounts_CreateOrUpdate": {
+ "$ref": "examples/Accounts_CreateOrUpdate.json"
+ },
+ "Accounts_CreateOrUpdateWithActiveDirectory": {
+ "$ref": "examples/Accounts_CreateOrUpdateAD.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_Delete",
+ "summary": "Delete a NetApp account",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "description": "Delete the specified NetApp account",
+ "responses": {
+ "202": {
+ "description": "Accepted -- Delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Accounts_Delete": {
+ "$ref": "examples/Accounts_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_Update",
+ "summary": "Update a NetApp account",
+ "description": "Patch the specified NetApp account",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "NetApp Account object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/netAppAccountPatch"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - account updated",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/cloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Accounts_Update": {
+ "$ref": "examples/Accounts_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/renewCredentials": {
+ "post": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_RenewCredentials",
+ "summary": "Renew identity credentials",
+ "description": "Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If encryption.identity.principalId does not match identity.principalId, running this operation will fix it.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Accounts_RenewCredentials": {
+ "$ref": "examples/Accounts_RenewCredentials.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/migrateEncryption": {
+ "post": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_MigrateEncryptionKey",
+ "summary": "Migrate volumes encryption key source.",
+ "description": "Migrates all volumes in a VNet to a different encryption key source (Microsoft-managed key or Azure Key Vault). Operation fails if targeted volumes share encryption sibling set with volumes from another account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "The required parameters to perform encryption migration.",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/encryptionMigrationRequest"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Accounts_MigrateEncryptionKey": {
+ "$ref": "examples/Accounts_MigrateEncryptionKey.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools": {
+ "get": {
+ "summary": "Describe all Capacity Pools",
+ "description": "List all capacity pools in the NetApp Account",
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/capacityPoolList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Pools_List": {
+ "$ref": "examples/Pools_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}": {
+ "get": {
+ "summary": "Describe a Capacity Pool",
+ "description": "Get details of the specified capacity pool",
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Pools_Get": {
+ "$ref": "examples/Pools_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_CreateOrUpdate",
+ "summary": "Create or Update the specified capacity pool within the resource group",
+ "description": "Create or Update a capacity pool",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Capacity pool object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - pool updated",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "201": {
+ "description": "Pool created",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Pools_CreateOrUpdate": {
+ "$ref": "examples/Pools_CreateOrUpdate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_Update",
+ "summary": "Update a capacity pool",
+ "description": "Patch the specified capacity pool",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Capacity pool object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/capacityPoolPatch"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Update request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Pools_Update": {
+ "$ref": "examples/Pools_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_Delete",
+ "summary": "Delete a capacity pool",
+ "description": "Delete the specified capacity pool",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted -- Delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Pools_Delete": {
+ "$ref": "examples/Pools_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes": {
+ "get": {
+ "summary": "Describe all volumes",
+ "description": "List all volumes within the capacity pool",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_List",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volumeList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_List": {
+ "$ref": "examples/Volumes_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": {
+ "get": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_Get",
+ "summary": "Describe a volume",
+ "description": "Get the details of the specified volume",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_Get": {
+ "$ref": "examples/Volumes_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_CreateOrUpdate",
+ "summary": "Create or Update a volume",
+ "description": "Create or update the specified volume within the capacity pool",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Volume object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Ok - volume updated",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "201": {
+ "description": "Volume created",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Volumes_CreateOrUpdate": {
+ "$ref": "examples/Volumes_CreateOrUpdate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_Update",
+ "summary": "Update a volume",
+ "description": "Patch the specified volume",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Volume object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volumePatch"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create or update request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/cloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_Update": {
+ "$ref": "examples/Volumes_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_Delete",
+ "summary": "Delete a volume",
+ "description": "Delete the specified volume",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "in": "query",
+ "name": "forceDelete",
+ "type": "boolean",
+ "description": "An option to force delete the volume. Will cleanup resources connected to the particular volume",
+ "required": false
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted -- Delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_Delete": {
+ "$ref": "examples/Volumes_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/populateAvailabilityZone": {
+ "post": {
+ "tags": [
+ "Volumes"
+ ],
+ "summary": "Populate Availability Zone",
+ "description": "This operation will populate availability zone information for a volume",
+ "operationId": "Volumes_PopulateAvailabilityZone",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "202": {
+ "description": "Accepted -- populate availability zone accepted; operation will complete asynchronously",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_PopulateAvailabilityZones": {
+ "$ref": "examples/Volumes_PopulateAvailabilityZones.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/revert": {
+ "post": {
+ "tags": [
+ "Volumes Revert"
+ ],
+ "summary": "Revert a volume to one of its snapshots",
+ "description": "Revert a volume to the snapshot specified in the body",
+ "operationId": "Volumes_Revert",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Object for snapshot to revert supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volumeRevert"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_Revert": {
+ "$ref": "examples/Volumes_Revert.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/resetCifsPassword": {
+ "post": {
+ "tags": [
+ "Reset Cifs Password"
+ ],
+ "summary": "Reset cifs password",
+ "description": "Reset cifs password from volume",
+ "operationId": "Volumes_ResetCifsPassword",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Volumes_ResetCifsPassword": {
+ "$ref": "examples/Volumes_ResetCifsPassword.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/splitCloneFromParent": {
+ "post": {
+ "tags": [
+ "Split clone volume"
+ ],
+ "summary": "Split clone from parent volume",
+ "description": " Split operation to convert clone volume to an independent volume.",
+ "operationId": "Volumes_SplitCloneFromParent",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_SplitClone": {
+ "$ref": "examples/Volumes_SplitClone.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/breakFileLocks": {
+ "post": {
+ "tags": [
+ "File Locks"
+ ],
+ "summary": "Break file locks",
+ "description": "Break all the file locks on a volume",
+ "operationId": "Volumes_BreakFileLocks",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Optional body to provide the ability to clear file locks with selected options",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/breakFileLocksRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_BreakFileLocks": {
+ "$ref": "examples/Volumes_BreakFileLocks.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/getGroupIdListForLdapUser": {
+ "post": {
+ "tags": [
+ "Group Id List for LDAP User"
+ ],
+ "summary": " Get Group Id List for LDAP User",
+ "description": "Returns the list of group Ids for a specific LDAP User",
+ "operationId": "Volumes_ListGetGroupIdListForLdapUser",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Returns group Id list for a specific LDAP user",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/getGroupIdListForLDAPUserRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/getGroupIdListForLDAPUserResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "GetGroupIdListForUser": {
+ "$ref": "examples/GroupIdListForLDAPUser.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/breakReplication": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "Break volume replication",
+ "description": "Break the replication connection on the destination volume",
+ "operationId": "Volumes_BreakReplication",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Optional body to force break the replication.",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/breakReplicationRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_BreakReplication": {
+ "$ref": "examples/Volumes_BreakReplication.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/reestablishReplication": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "Re-establish volume replication",
+ "description": "Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots",
+ "operationId": "Volumes_ReestablishReplication",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "body for the id of the source volume.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/reestablishReplicationRequest"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_ReestablishReplication": {
+ "$ref": "examples/Volumes_ReestablishReplication.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/replicationStatus": {
+ "get": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "Get volume replication status",
+ "description": "Get the status of the replication",
+ "operationId": "Volumes_ReplicationStatus",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/replicationStatus"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_ReplicationStatus": {
+ "$ref": "examples/Volumes_ReplicationStatus.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/listReplications": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "List replications for volume",
+ "description": "List all replications for a specified volume",
+ "operationId": "Volumes_ListReplications",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/listReplications"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_ListReplications": {
+ "$ref": "examples/Volumes_ListReplications.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/resyncReplication": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "Resync volume replication",
+ "description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.",
+ "operationId": "Volumes_ResyncReplication",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_ResyncReplication": {
+ "$ref": "examples/Volumes_ResyncReplication.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/deleteReplication": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "Delete volume replication",
+ "description": "Delete the replication connection on the destination volume, and send release to the source replication",
+ "operationId": "Volumes_DeleteReplication",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_DeleteReplication": {
+ "$ref": "examples/Volumes_DeleteReplication.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeReplication": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "Authorize source volume replication",
+ "description": "Authorize the replication connection on the source volume",
+ "operationId": "Volumes_AuthorizeReplication",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Authorize request object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/authorizeRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_AuthorizeReplication": {
+ "$ref": "examples/Volumes_AuthorizeReplication.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/reinitializeReplication": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "ReInitialize volume replication",
+ "description": "Re-Initializes the replication connection on the destination volume",
+ "operationId": "Volumes_ReInitializeReplication",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_ReInitializeReplication": {
+ "$ref": "examples/Volumes_ReInitializeReplication.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/poolChange": {
+ "post": {
+ "tags": [
+ "Pool Change"
+ ],
+ "summary": "Change pool for volume",
+ "description": "Moves volume to another pool",
+ "operationId": "Volumes_PoolChange",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Move volume to the pool supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/poolChangeRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_AuthorizeReplication": {
+ "$ref": "examples/Volumes_PoolChange.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/relocate": {
+ "post": {
+ "tags": [
+ "Volumes Relocation"
+ ],
+ "summary": "Relocate volume",
+ "description": "Relocates volume to a new stamp",
+ "operationId": "Volumes_Relocate",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Relocate volume request",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/relocateVolumeRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Volumes_Relocate": {
+ "$ref": "examples/Volumes_Relocate.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/finalizeRelocation": {
+ "post": {
+ "tags": [
+ "Volumes Relocation"
+ ],
+ "summary": "Finalize volume relocation",
+ "description": "Finalizes the relocation of the volume and cleans up the old volume.",
+ "operationId": "Volumes_FinalizeRelocation",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Volumes_FinalizeRelocation": {
+ "$ref": "examples/Volumes_FinalizeRelocation.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/revertRelocation": {
+ "post": {
+ "tags": [
+ "Volumes Relocation"
+ ],
+ "summary": "Revert volume relocation",
+ "description": "Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.",
+ "operationId": "Volumes_RevertRelocation",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Volumes_RevertRelocation": {
+ "$ref": "examples/Volumes_RevertRelocation.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": {
+ "get": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_List",
+ "summary": "Describe all snapshots",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "description": "List all snapshots associated with the volume",
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshotsList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Snapshots_List": {
+ "$ref": "examples/Snapshots_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": {
+ "get": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Get",
+ "summary": "Describe a snapshot",
+ "description": "Get details of the specified snapshot",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Snapshots_Get": {
+ "$ref": "examples/Snapshots_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Create",
+ "summary": "Create a snapshot",
+ "description": "Create the specified snapshot within the given volume",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Snapshot object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Snapshot created",
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Snapshots_Create": {
+ "$ref": "examples/Snapshots_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Update",
+ "summary": "Update a snapshot",
+ "description": "Patch a snapshot",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Snapshot object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/snapshotPatch"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Update request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Snapshots_Update": {
+ "$ref": "examples/Snapshots_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Delete",
+ "summary": "Delete a snapshot",
+ "description": "Delete snapshot",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted -- Delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Snapshots_Delete": {
+ "$ref": "examples/Snapshots_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}/restoreFiles": {
+ "post": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_RestoreFiles",
+ "summary": "Create a new Snapshot Restore Files request",
+ "description": "Restore the specified files from the specified snapshot to the active filesystem",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Restore payload supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/snapshotRestoreFiles"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Snapshots_SingleFileRestore": {
+ "$ref": "examples/Snapshots_SingleFileRestore.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies": {
+ "get": {
+ "operationId": "SnapshotPolicies_List",
+ "description": "List snapshot policy",
+ "tags": [
+ "Snapshot Policy"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshotPoliciesList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "SnapshotPolicies_List": {
+ "$ref": "examples/SnapshotPolicies_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}": {
+ "get": {
+ "operationId": "SnapshotPolicies_Get",
+ "description": "Get a snapshot Policy",
+ "tags": [
+ "Snapshot Policy"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshotPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "SnapshotPolicies_Get": {
+ "$ref": "examples/SnapshotPolicies_Get.json"
+ }
+ }
+ },
+ "put": {
+ "operationId": "SnapshotPolicies_Create",
+ "description": "Create a snapshot policy",
+ "tags": [
+ "Snapshot Policy"
+ ],
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Snapshot policy object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/snapshotPolicy"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - snapshot Policy updated",
+ "schema": {
+ "$ref": "#/definitions/snapshotPolicy"
+ }
+ },
+ "201": {
+ "description": "Snapshot Policy created",
+ "schema": {
+ "$ref": "#/definitions/snapshotPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": false,
+ "x-ms-examples": {
+ "SnapshotPolicies_Create": {
+ "$ref": "examples/SnapshotPolicies_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Snapshot Policy"
+ ],
+ "operationId": "SnapshotPolicies_Update",
+ "description": "Patch a snapshot policy",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Snapshot policy object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/snapshotPolicyPatch"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshotPolicy"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create or update request accepted; operation will complete asynchronously",
+ "schema": {
+ "$ref": "#/definitions/snapshotPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "SnapshotPolicies_Update": {
+ "$ref": "examples/SnapshotPolicies_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "operationId": "SnapshotPolicies_Delete",
+ "description": "Delete snapshot policy",
+ "tags": [
+ "Snapshot Policy"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted -- Create or update request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "SnapshotPolicies_Delete": {
+ "$ref": "examples/SnapshotPolicies_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}/volumes": {
+ "get": {
+ "tags": [
+ "Snapshot Policy List Volumes"
+ ],
+ "summary": "Get volumes for snapshot policy",
+ "description": "Get volumes associated with snapshot policy",
+ "operationId": "SnapshotPolicies_ListVolumes",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshotPolicyVolumeList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "SnapshotPolicies_ListVolumes": {
+ "$ref": "examples/SnapshotPolicies_ListVolumes.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/latestBackupStatus/current": {
+ "get": {
+ "tags": [
+ "Backups"
+ ],
+ "summary": "Get the latest backup status of a volume",
+ "description": "Get the latest status of the backup for a volume",
+ "operationId": "Backups_GetLatestStatus",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/backupStatus"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_BackupStatus": {
+ "$ref": "examples/Volumes_LatestBackupStatus.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/restoreStatus": {
+ "get": {
+ "tags": [
+ "Restore"
+ ],
+ "summary": "Get volume's restore status",
+ "description": "Get the status of the restore for a volume",
+ "operationId": "Backups_GetVolumeRestoreStatus",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/restoreStatus"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_RestoreStatus": {
+ "$ref": "examples/Volumes_RestoreStatus.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/accountBackups": {
+ "get": {
+ "tags": [
+ "Backups"
+ ],
+ "summary": "List Backups for a Netapp Account",
+ "description": "List all Backups for a Netapp Account",
+ "operationId": "AccountBackups_ListByNetAppAccount",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "query",
+ "name": "includeOnlyBackupsFromDeletedVolumes",
+ "type": "string",
+ "description": "An option to specify whether to return backups only from deleted volumes",
+ "required": false
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/backupsList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "AccountBackups_List": {
+ "$ref": "examples/Backups_Account_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/accountBackups/{backupName}": {
+ "get": {
+ "tags": [
+ "Backups"
+ ],
+ "summary": "Get Backup for a Netapp Account",
+ "description": "Gets the specified backup for a Netapp Account",
+ "operationId": "AccountBackups_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/backup"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "AccountBackups_Get": {
+ "$ref": "examples/Backups_Account_Get.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Backups"
+ ],
+ "summary": "Delete Backup for a Netapp Account",
+ "description": "Delete the specified Backup for a Netapp Account",
+ "operationId": "AccountBackups_Delete",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted -- Create or update request accepted; operation will complete asynchronously",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "AccountBackups_Delete": {
+ "$ref": "examples/Backups_Account_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups": {
+ "get": {
+ "tags": [
+ "Backups"
+ ],
+ "summary": "List Backups",
+ "description": "List all backups Under a Backup Vault",
+ "operationId": "Backups_ListByVault",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupVaultName"
+ },
+ {
+ "in": "query",
+ "name": "$filter",
+ "type": "string",
+ "description": "An option to specify the VolumeResourceId. If present, then only returns the backups under the specified volume",
+ "required": false
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/backupsList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Backups_List": {
+ "$ref": "examples/BackupsUnderBackupVault_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}": {
+ "get": {
+ "summary": "Describe the Backup under Backup Vault",
+ "description": "Get the specified Backup under Backup Vault.",
+ "tags": [
+ "Backups"
+ ],
+ "operationId": "Backups_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupVaultName"
+ },
+ {
+ "$ref": "#/parameters/BackupName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/backup"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "BackupsUnderBackupVault_Get": {
+ "$ref": "examples/BackupsUnderBackupVault_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Backups"
+ ],
+ "summary": "Create a backup",
+ "description": "Create a backup under the Backup Vault",
+ "operationId": "Backups_Create",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupVaultName"
+ },
+ {
+ "$ref": "#/parameters/BackupName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Backup object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/backup"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - backup created updated",
+ "schema": {
+ "$ref": "#/definitions/backup"
+ }
+ },
+ "201": {
+ "description": "Backup created",
+ "schema": {
+ "$ref": "#/definitions/backup"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "BackupsUnderBackupVault_Create": {
+ "$ref": "examples/BackupsUnderBackupVault_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Backups"
+ ],
+ "summary": "Patch a backup",
+ "description": "Patch a Backup under the Backup Vault",
+ "operationId": "Backups_Update",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupVaultName"
+ },
+ {
+ "$ref": "#/parameters/BackupName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Backup object supplied in the body of the operation.",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/backupPatch"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/backup"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create or update request accepted; operation will complete asynchronously",
+ "schema": {
+ "$ref": "#/definitions/backup"
+ },
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "BackupsUnderBackupVault_Update": {
+ "$ref": "examples/BackupsUnderBackupVault_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Backups"
+ ],
+ "summary": "Delete backup",
+ "description": "Delete a Backup under the Backup Vault",
+ "operationId": "Backups_Delete",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupVaultName"
+ },
+ {
+ "$ref": "#/parameters/BackupName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted -- Create or update request accepted; operation will complete asynchronously",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "BackupsUnderBackupVault_Delete": {
+ "$ref": "examples/BackupsUnderBackupVault_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies": {
+ "get": {
+ "tags": [
+ "Backup Policy"
+ ],
+ "summary": "List backup policies",
+ "description": "List backup policies for Netapp Account",
+ "operationId": "BackupPolicies_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/backupPoliciesList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Backups_List": {
+ "$ref": "examples/BackupPolicies_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}": {
+ "get": {
+ "tags": [
+ "Backup Policy"
+ ],
+ "summary": "Get a backup Policy",
+ "description": "Get a particular backup Policy",
+ "operationId": "BackupPolicies_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/backupPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Backups_Get": {
+ "$ref": "examples/BackupPolicies_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Backup Policy"
+ ],
+ "summary": "Create a backup policy",
+ "description": "Create a backup policy for Netapp Account",
+ "operationId": "BackupPolicies_Create",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Backup policy object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/backupPolicy"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Backup Policy created",
+ "schema": {
+ "$ref": "#/definitions/backupPolicy"
+ }
+ },
+ "201": {
+ "description": "Backup created",
+ "schema": {
+ "$ref": "#/definitions/backupPolicy"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "BackupPolicies_Create": {
+ "$ref": "examples/BackupPolicies_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Backup Policy"
+ ],
+ "summary": "Patch a backup policy",
+ "description": "Patch a backup policy for Netapp Account",
+ "operationId": "BackupPolicies_Update",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Backup policy object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/backupPolicyPatch"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/backupPolicy"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create or update request accepted; operation will complete asynchronously",
+ "schema": {
+ "$ref": "#/definitions/backupPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "BackupPolicies_Update": {
+ "$ref": "examples/BackupPolicies_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Backup Policy"
+ ],
+ "summary": "Delete a backup policy",
+ "description": "Delete backup policy",
+ "operationId": "BackupPolicies_Delete",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted -- Create or update request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Backups_Delete": {
+ "$ref": "examples/BackupPolicies_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules": {
+ "get": {
+ "tags": [
+ "VolumeQuotaRules"
+ ],
+ "operationId": "VolumeQuotaRules_ListByVolume",
+ "summary": "Get all quota rules for a volume",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "description": "List all quota rules associated with the volume",
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volumeQuotaRulesList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "VolumeQuotaRules_List": {
+ "$ref": "examples/VolumeQuotaRules_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}": {
+ "get": {
+ "tags": [
+ "VolumeQuotaRules"
+ ],
+ "operationId": "VolumeQuotaRules_Get",
+ "summary": "Describe a quota rule",
+ "description": "Get details of the specified quota rule",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/VolumeQuotaRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volumeQuotaRule"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "VolumeQuotaRules_Get": {
+ "$ref": "examples/VolumeQuotaRules_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "VolumeQuotaRules"
+ ],
+ "operationId": "VolumeQuotaRules_Create",
+ "summary": "Create a quota rule",
+ "description": "Create the specified quota rule within the given volume",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Quota rule object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volumeQuotaRule"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/VolumeQuotaRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - VolumeQuotaRule updated",
+ "schema": {
+ "$ref": "#/definitions/volumeQuotaRule"
+ }
+ },
+ "201": {
+ "description": "Quota rule Created",
+ "schema": {
+ "$ref": "#/definitions/volumeQuotaRule"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "VolumeQuotaRules_Create": {
+ "$ref": "examples/VolumeQuotaRules_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "VolumeQuotaRules"
+ ],
+ "operationId": "VolumeQuotaRules_Update",
+ "summary": "Update a quota rule",
+ "description": "Patch a quota rule",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Quota rule object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volumeQuotaRulePatch"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/VolumeQuotaRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volumeQuotaRule"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Update request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "VolumeQuotaRules_Update": {
+ "$ref": "examples/VolumeQuotaRules_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "VolumeQuotaRules"
+ ],
+ "operationId": "VolumeQuotaRules_Delete",
+ "summary": "Delete a quota rule",
+ "description": "Delete quota rule",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/VolumeQuotaRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted -- Delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "VolumeQuotaRules_Delete": {
+ "$ref": "examples/VolumeQuotaRules_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups": {
+ "get": {
+ "summary": "Describe all volume groups",
+ "description": "List all volume groups for given account",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "tags": [
+ "Volume Groups"
+ ],
+ "operationId": "VolumeGroups_ListByNetAppAccount",
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volumeGroupList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "VolumeGroups_List_SapHana": {
+ "$ref": "examples/VolumeGroups_List_SapHana.json"
+ },
+ "VolumeGroups_List_Oracle": {
+ "$ref": "examples/VolumeGroups_List_Oracle.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}": {
+ "get": {
+ "summary": "Describe a Volume Group",
+ "description": "Get details of the specified volume group",
+ "tags": [
+ "Volume Groups"
+ ],
+ "operationId": "VolumeGroups_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/VolumeGroupName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volumeGroupDetails"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "VolumeGroups_Get_SapHana": {
+ "$ref": "examples/VolumeGroups_Get_SapHana.json"
+ },
+ "VolumeGroups_Get_Oracle": {
+ "$ref": "examples/VolumeGroups_Get_Oracle.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Volume Groups"
+ ],
+ "operationId": "VolumeGroups_Create",
+ "summary": "Create the specified volume group and volumes. Creating volume group will create all the volumes specified in request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes thereafter.",
+ "description": "Create a volume group along with specified volumes",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Volume Group object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volumeGroupDetails"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/VolumeGroupName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Volume group created",
+ "schema": {
+ "$ref": "#/definitions/volumeGroupDetails"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "VolumeGroups_Create_SapHana": {
+ "$ref": "examples/VolumeGroups_Create_SapHana.json"
+ },
+ "VolumeGroups_Create_Oracle": {
+ "$ref": "examples/VolumeGroups_Create_Oracle.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Volume Groups"
+ ],
+ "operationId": "VolumeGroups_Delete",
+ "summary": "Delete a volume group",
+ "description": "Delete the specified volume group only if there are no volumes under volume group.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/VolumeGroupName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted -- Delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "VolumeGroups_Delete": {
+ "$ref": "examples/VolumeGroups_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes": {
+ "get": {
+ "tags": [
+ "Subvolumes"
+ ],
+ "operationId": "Subvolumes_ListByVolume",
+ "summary": "List of all the subvolumes",
+ "description": "Returns a list of the subvolumes in the volume",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/subvolumesList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Subvolumes_List": {
+ "$ref": "examples/Subvolumes_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}": {
+ "get": {
+ "tags": [
+ "Subvolumes"
+ ],
+ "summary": "Get the path associated with the subvolumeName",
+ "description": "Returns the path associated with the subvolumeName provided",
+ "operationId": "Subvolumes_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SubvolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/subvolumeInfo"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Subvolumes_Get": {
+ "$ref": "examples/Subvolumes_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Subvolumes"
+ ],
+ "summary": "Create or clone a new subvolume",
+ "description": "Creates a subvolume in the path or clones the subvolume mentioned in the parentPath",
+ "operationId": "Subvolumes_Create",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Subvolume object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/subvolumeInfo"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SubvolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - updated",
+ "schema": {
+ "$ref": "#/definitions/subvolumeInfo"
+ }
+ },
+ "201": {
+ "description": "Subvolume created",
+ "schema": {
+ "$ref": "#/definitions/subvolumeInfo"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Subvolumes_Create": {
+ "$ref": "examples/Subvolumes_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Subvolumes"
+ ],
+ "operationId": "Subvolumes_Update",
+ "summary": "Update a subvolume",
+ "description": "Patch a subvolume",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Subvolume object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/subvolumePatchRequest"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SubvolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "schema": {
+ "$ref": "#/definitions/subvolumeInfo"
+ },
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted -- Update request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Subvolumes_Update": {
+ "$ref": "examples/Subvolumes_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Subvolumes"
+ ],
+ "operationId": "Subvolumes_Delete",
+ "summary": "Delete a subvolume",
+ "description": "Delete subvolume",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SubvolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted -- Delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Subvolumes_Delete": {
+ "$ref": "examples/Subvolumes_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}/getMetadata": {
+ "post": {
+ "tags": [
+ "Subvolumes"
+ ],
+ "operationId": "Subvolumes_GetMetadata",
+ "summary": "Describe a subvolume",
+ "description": "Get details of the specified subvolume",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SubvolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/subvolumeModel"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Subvolumes_Metadata": {
+ "$ref": "examples/Subvolumes_Metadata.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults": {
+ "get": {
+ "summary": "Describe all Backup Vaults",
+ "description": "List and describe all Backup Vaults in the NetApp account.",
+ "tags": [
+ "Backup Vaults"
+ ],
+ "operationId": "BackupVaults_ListByNetAppAccount",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/backupVaultsList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "BackupVaults_List": {
+ "$ref": "examples/BackupVaults_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}": {
+ "get": {
+ "summary": "Describe the Backup Vault",
+ "description": "Get the Backup Vault",
+ "tags": [
+ "Backup Vaults"
+ ],
+ "operationId": "BackupVaults_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupVaultName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/backupVault"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "BackupVaults_Get": {
+ "$ref": "examples/BackupVaults_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Backup Vaults"
+ ],
+ "summary": "Create or Update a Backup Vault",
+ "description": "Create or update the specified Backup Vault in the NetApp account",
+ "operationId": "BackupVaults_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupVaultName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "BackupVault object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/backupVault"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - backupVault updated",
+ "schema": {
+ "$ref": "#/definitions/backupVault"
+ }
+ },
+ "201": {
+ "description": "backupVault created",
+ "schema": {
+ "$ref": "#/definitions/backupVault"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "BackupVault_CreateOrUpdate": {
+ "$ref": "examples/BackupVaults_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "summary": "Update NetApp Backup Vault",
+ "description": "Patch the specified NetApp Backup Vault",
+ "tags": [
+ "Backup Vaults"
+ ],
+ "operationId": "BackupVaults_Update",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupVaultName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Backup Vault object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/backupVaultPatch"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Backup Vault updated.",
+ "schema": {
+ "$ref": "#/definitions/backupVault"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/backupVault"
+ },
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "BackupVaults_Update": {
+ "$ref": "examples/BackupVaults_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete NetApp Backup Vault",
+ "description": "Delete the specified Backup Vault",
+ "tags": [
+ "Backup Vaults"
+ ],
+ "operationId": "BackupVaults_Delete",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupVaultName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted -- Delete request accepted; operation will complete asynchronously",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "BackupVaults_Delete": {
+ "$ref": "examples/BackupVaults_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}/restoreFiles": {
+ "post": {
+ "tags": [
+ "Backups"
+ ],
+ "operationId": "BackupsUnderBackupVault_RestoreFiles",
+ "summary": "Create a new Backup Restore Files request",
+ "description": "Restore the specified files from the specified backup to the active filesystem",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Restore payload supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/backupRestoreFiles"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupVaultName"
+ },
+ {
+ "$ref": "#/parameters/BackupName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Backups_SingleFileRestore": {
+ "$ref": "examples/BackupsUnderBackupVault_SingleFileRestore.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/migrateBackups": {
+ "post": {
+ "tags": [
+ "Backups"
+ ],
+ "operationId": "BackupsUnderVolume_MigrateBackups",
+ "summary": "Create a new migrate request for backups under volume",
+ "description": "Migrate the backups under volume to backup vault",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Migrate backups under volume payload supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/backupsMigrationRequest"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "BackupsUnderVolume_Migrate": {
+ "$ref": "examples/BackupsUnderVolume_Migrate.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/migrateBackups": {
+ "post": {
+ "tags": [
+ "Backups"
+ ],
+ "operationId": "BackupsUnderAccount_MigrateBackups",
+ "summary": "Create a new migrate request for backups under account",
+ "description": "Migrate the backups under a NetApp account to backup vault",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Migrate backups under an account payload supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/backupsMigrationRequest"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "BackupsUnderAccount_Migrate": {
+ "$ref": "examples/BackupsUnderAccount_Migrate.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "OperationListResult": {
+ "description": "Result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "description": "List of Storage operations supported by the Storage resource provider."
+ }
+ }
+ },
+ "Operation": {
+ "description": "Microsoft.NetApp REST API operation definition.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "display": {
+ "description": "Display metadata associated with the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft NetApp.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed etc.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Type of operation: get, read, delete, etc.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Operation description.",
+ "type": "string"
+ }
+ }
+ },
+ "origin": {
+ "type": "string",
+ "description": "The origin of operations."
+ },
+ "properties": {
+ "$ref": "#/definitions/OperationProperties",
+ "description": "Properties of operation, include metric specifications.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "OperationProperties": {
+ "description": "Properties of operation, include metric specifications.",
+ "properties": {
+ "serviceSpecification": {
+ "$ref": "#/definitions/ServiceSpecification",
+ "description": "One property of operation, include metric specifications."
+ }
+ }
+ },
+ "ServiceSpecification": {
+ "description": "One property of operation, include metric specifications.",
+ "properties": {
+ "metricSpecifications": {
+ "description": "Metric specifications of operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricSpecification"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
+ },
+ "logSpecifications": {
+ "description": "Log specification of operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LogSpecification"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
+ }
+ }
+ },
+ "MetricSpecification": {
+ "description": "Metric specification of operation.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of metric specification."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Display name of metric specification."
+ },
+ "displayDescription": {
+ "type": "string",
+ "description": "Display description of metric specification."
+ },
+ "unit": {
+ "type": "string",
+ "description": "Unit could be Bytes or Count."
+ },
+ "supportedAggregationTypes": {
+ "description": "Support metric aggregation type.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "enum": [
+ "Average"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "MetricAggregationType",
+ "modelAsString": true
+ }
+ }
+ },
+ "supportedTimeGrainTypes": {
+ "type": "array",
+ "description": "The supported time grain types for the metrics.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "internalMetricName": {
+ "type": "string",
+ "description": "The internal metric name."
+ },
+ "enableRegionalMdmAccount": {
+ "description": "Whether or not the service is using regional MDM accounts.",
+ "type": "boolean"
+ },
+ "sourceMdmAccount": {
+ "type": "string",
+ "description": "The source MDM account."
+ },
+ "sourceMdmNamespace": {
+ "type": "string",
+ "description": "The source MDM namespace."
+ },
+ "dimensions": {
+ "description": "Dimensions of blobs, including blob type and access tier.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Dimension"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
+ },
+ "aggregationType": {
+ "type": "string",
+ "description": "Aggregation type could be Average."
+ },
+ "fillGapWithZero": {
+ "type": "boolean",
+ "description": "The property to decide fill gap with zero or not."
+ },
+ "category": {
+ "type": "string",
+ "description": "The category this metric specification belong to, could be Capacity."
+ },
+ "resourceIdDimensionNameOverride": {
+ "type": "string",
+ "description": "Account Resource Id."
+ },
+ "isInternal": {
+ "description": "Whether the metric is internal.",
+ "type": "boolean"
+ }
+ }
+ },
+ "LogSpecification": {
+ "description": "Log Definition of a single resource metric.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of log specification.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Display name of log specification.",
+ "type": "string"
+ }
+ }
+ },
+ "Dimension": {
+ "description": "Dimension of blobs, possibly be blob type or access tier.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Display name of dimension."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Display name of dimension."
+ }
+ }
+ },
+ "CheckAvailabilityResponse": {
+ "description": "Information regarding availability of a resource.",
+ "type": "object",
+ "properties": {
+ "isAvailable": {
+ "description": "true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.",
+ "type": "boolean"
+ },
+ "reason": {
+ "description": "Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.",
+ "enum": [
+ "Invalid",
+ "AlreadyExists"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "InAvailabilityReasonType",
+ "modelAsString": true
+ }
+ },
+ "message": {
+ "description": "If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.",
+ "type": "string"
+ }
+ }
+ },
+ "regionInfosList": {
+ "description": "List of regionInfo resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of regionInfo resources",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/regionInfoResource"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ }
+ },
+ "regionInfoResource": {
+ "description": "Information regarding regionInfo Item.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "regionInfo properties",
+ "$ref": "#/definitions/regionInfo",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "regionInfo": {
+ "description": "Provides region specific information.",
+ "type": "object",
+ "properties": {
+ "storageToNetworkProximity": {
+ "title": "Storage to Network Proximity",
+ "description": "Provides storage to network proximity information in the region.",
+ "type": "string",
+ "enum": [
+ "Default",
+ "T1",
+ "T2",
+ "AcrossT2",
+ "T1AndT2",
+ "T1AndAcrossT2",
+ "T2AndAcrossT2",
+ "T1AndT2AndAcrossT2"
+ ],
+ "x-ms-enum": {
+ "name": "RegionStorageToNetworkProximity",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Default",
+ "description": "Basic network connectivity."
+ },
+ {
+ "value": "T1",
+ "description": "Standard T1 network connectivity."
+ },
+ {
+ "value": "T2",
+ "description": "Standard T2 network connectivity."
+ },
+ {
+ "value": "AcrossT2",
+ "description": "Standard AcrossT2 network connectivity."
+ },
+ {
+ "value": "T1AndT2",
+ "description": "Standard T1 and T2 network connectivity."
+ },
+ {
+ "value": "T1AndAcrossT2",
+ "description": "Standard T1 and AcrossT2 network connectivity."
+ },
+ {
+ "value": "T2AndAcrossT2",
+ "description": "Standard T2 and AcrossT2 network connectivity."
+ },
+ {
+ "value": "T1AndT2AndAcrossT2",
+ "description": "Standard T1, T2 and AcrossT2 network connectivity."
+ }
+ ]
+ },
+ "example": "T2"
+ },
+ "availabilityZoneMappings": {
+ "title": "Logical availability zone mappings.",
+ "description": "Provides logical availability zone mappings for the subscription for a region.",
+ "type": "array",
+ "x-ms-identifiers": [
+ "availabilityZone"
+ ],
+ "items": {
+ "type": "object",
+ "properties": {
+ "availabilityZone": {
+ "description": "Logical availability zone.",
+ "type": "string",
+ "example": "1"
+ },
+ "isAvailable": {
+ "description": "Available availability zone",
+ "type": "boolean",
+ "example": true
+ }
+ }
+ }
+ }
+ }
+ },
+ "ResourceNameAvailabilityRequest": {
+ "description": "Resource name availability request content.",
+ "required": [
+ "name",
+ "type",
+ "resourceGroup"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Resource name to verify.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Resource type used for verification.",
+ "enum": [
+ "Microsoft.NetApp/netAppAccounts",
+ "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CheckNameResourceTypes",
+ "modelAsString": true
+ }
+ },
+ "resourceGroup": {
+ "description": "Resource group name.",
+ "type": "string"
+ }
+ }
+ },
+ "FilePathAvailabilityRequest": {
+ "description": "File path availability request content - availability is based on the name and the subnetId.",
+ "required": [
+ "name",
+ "subnetId"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "File path to verify.",
+ "type": "string"
+ },
+ "subnetId": {
+ "type": "string",
+ "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes"
+ }
+ }
+ },
+ "QuotaAvailabilityRequest": {
+ "description": "Quota availability request content.",
+ "required": [
+ "name",
+ "type",
+ "resourceGroup"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the resource to verify.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Resource type used for verification.",
+ "enum": [
+ "Microsoft.NetApp/netAppAccounts",
+ "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CheckQuotaNameResourceTypes",
+ "modelAsString": true
+ }
+ },
+ "resourceGroup": {
+ "description": "Resource group name.",
+ "type": "string"
+ }
+ }
+ },
+ "SubscriptionQuotaItemList": {
+ "description": "List of Subscription Quota Items",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of SubscriptionQuotaItems",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubscriptionQuotaItem"
+ }
+ }
+ }
+ },
+ "SubscriptionQuotaItem": {
+ "description": "Information regarding Subscription Quota Item.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "SubscriptionQuotaItem properties",
+ "$ref": "#/definitions/SubscriptionQuotaItemProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "SubscriptionQuotaItemProperties": {
+ "description": "SubscriptionQuotaItem Properties",
+ "type": "object",
+ "properties": {
+ "current": {
+ "description": "The current quota value.",
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32"
+ },
+ "default": {
+ "description": "The default quota value.",
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32"
+ }
+ }
+ },
+ "netAppAccountList": {
+ "description": "List of NetApp account resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "Multiple NetApp accounts",
+ "items": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ }
+ },
+ "netAppAccount": {
+ "description": "NetApp account resource",
+ "type": "object",
+ "required": [
+ "location"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "properties": {
+ "description": "NetApp Account properties",
+ "$ref": "#/definitions/accountProperties",
+ "x-ms-client-flatten": true
+ },
+ "identity": {
+ "description": "The identity used for the resource.",
+ "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity"
+ }
+ }
+ },
+ "netAppAccountPatch": {
+ "description": "NetApp account patch resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "NetApp Account properties",
+ "$ref": "#/definitions/accountProperties",
+ "x-ms-client-flatten": true
+ },
+ "identity": {
+ "description": "The identity used for the resource.",
+ "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity"
+ }
+ }
+ },
+ "accountProperties": {
+ "description": "NetApp account properties",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ },
+ "activeDirectories": {
+ "description": "Active Directories",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/activeDirectory"
+ },
+ "x-ms-identifiers": [
+ "activeDirectoryId"
+ ]
+ },
+ "encryption": {
+ "description": "Encryption settings",
+ "$ref": "#/definitions/accountEncryption"
+ },
+ "disableShowmount": {
+ "type": "boolean",
+ "readOnly": true,
+ "x-nullable": true,
+ "description": "Shows the status of disableShowmount for all volumes under the subscription, null equals false"
+ },
+ "nfsV4IDDomain": {
+ "type": "string",
+ "description": "Domain for NFSv4 user ID mapping. This property will be set for all NetApp accounts in the subscription and region and only affect non ldap NFSv4 volumes.",
+ "maxLength": 255,
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9.-]{0,253}[a-zA-Z0-9]$",
+ "x-nullable": true,
+ "example": "defaultv4IDDomain.com"
+ },
+ "isMultiAdEnabled": {
+ "type": "boolean",
+ "readOnly": true,
+ "x-nullable": true,
+ "description": "This will have true value only if account is Multiple AD enabled."
+ }
+ }
+ },
+ "activeDirectory": {
+ "description": "Active Directory",
+ "type": "object",
+ "properties": {
+ "activeDirectoryId": {
+ "type": "string",
+ "x-nullable": true,
+ "description": "Id of the Active Directory"
+ },
+ "username": {
+ "type": "string",
+ "description": "A domain user account with permission to create machine accounts"
+ },
+ "password": {
+ "type": "string",
+ "x-ms-secret": true,
+ "maxLength": 64,
+ "description": "Plain text password of Active Directory domain administrator, value is masked in the response"
+ },
+ "domain": {
+ "type": "string",
+ "description": "Name of the Active Directory domain"
+ },
+ "dns": {
+ "type": "string",
+ "description": "Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain",
+ "pattern": "^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)((, ?)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))*$",
+ "example": "101.102.103.104,101.102.103.105"
+ },
+ "status": {
+ "type": "string",
+ "description": "Status of the Active Directory",
+ "readOnly": true,
+ "enum": [
+ "Created",
+ "Updating",
+ "InUse",
+ "Deleted",
+ "Error"
+ ],
+ "x-ms-enum": {
+ "name": "ActiveDirectoryStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Created",
+ "description": "Active Directory created but not in use"
+ },
+ {
+ "value": "InUse",
+ "description": "Active Directory in use by SMB Volume"
+ },
+ {
+ "value": "Deleted",
+ "description": "Active Directory Deleted"
+ },
+ {
+ "value": "Error",
+ "description": "Error with the Active Directory"
+ },
+ {
+ "value": "Updating",
+ "description": "Active Directory Updating"
+ }
+ ]
+ }
+ },
+ "statusDetails": {
+ "type": "string",
+ "description": "Any details in regards to the Status of the Active Directory",
+ "readOnly": true
+ },
+ "smbServerName": {
+ "type": "string",
+ "description": "NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes"
+ },
+ "organizationalUnit": {
+ "type": "string",
+ "default": "CN=Computers",
+ "description": "The Organizational Unit (OU) within the Windows Active Directory"
+ },
+ "site": {
+ "type": "string",
+ "description": "The Active Directory site the service will limit Domain Controller discovery to"
+ },
+ "backupOperators": {
+ "description": "Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "maxLength": 255,
+ "minLength": 1
+ },
+ "example": [
+ "user1",
+ "user2"
+ ]
+ },
+ "administrators": {
+ "description": "Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "maxLength": 255,
+ "minLength": 1
+ },
+ "example": [
+ "user1",
+ "user2"
+ ]
+ },
+ "kdcIP": {
+ "type": "string",
+ "pattern": "^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)((, ?)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))*$",
+ "description": "kdc server IP addresses for the active directory machine. This optional parameter is used only while creating kerberos volume.",
+ "example": "101.102.103.104"
+ },
+ "adName": {
+ "type": "string",
+ "maxLength": 64,
+ "minLength": 1,
+ "description": "Name of the active directory machine. This optional parameter is used only while creating kerberos volume",
+ "example": "ADServerName"
+ },
+ "serverRootCACertificate": {
+ "type": "string",
+ "maxLength": 10240,
+ "minLength": 1,
+ "description": "When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes.",
+ "x-ms-secret": true,
+ "example": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURuVENDQW9XZ0F3SUJBZ0lRR3FXdnRxeHBvSTFJV3Z4VGdJbElWREFOQmdrcWhraUc5dzBCQVFzRkFEQlYKTVJNd0VRWUtDWkltaVpQeUxHUUJHUllEWTI5dE1SY3dGUVlLQ1pJbWlaUHlMR1FCR1JZSGFHRnlhV3R5WWpFbApNQ01HQTFVRUF4TWNhR0Z5YVd0eVlpMVhTVTR0TWtKUFZrRkZTMEkwTkVJdFEwRXRNakFlRncweU1EQTFNRFV3Ck56TTVORGxhRncweU1EQTFNRFl3TnpRNU5EaGFNRlV4RXpBUkJnb0praWFKay9Jc1pBRVpGZ05qYjIweEZ6QVYKQmdvSmtpYUprL0lzWkFFWkZnZG9ZWEpwYTNKaU1TVXdJd1lEVlFRREV4eG9ZWEpwYTNKaUxWZEpUaTB5UWs5VwpRVVZMUWpRMFFpMURRUzB5TUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFqMHByCnhaaXpNaDBqYnRwN1ZOc0JrRVJ2MVpZT0MzMEtqaGRWdEExRm1MeFM2cXlycmpMZUdXOXRSd2ZnUkR0eVBodTIKZVJTcVpTUjF6Z1hZR0s0Nys3Y3F0YnB2UElOektCb0dOWERIVTNxVWlleXJWSjFDVzRKNjJodUdrbUV1VVVkMApKMXBxNTVxbjk1SmRUbWh1dmZlTUxxeHB5c01nbGVnY281ZFhoN0hsQkhwaTNKMFN4ZnhVWmxKMVZiOFJZVEZhCkJiMGFlTVZaRzRKeVREaktiMlR1TmFXOG1aUE5vOFBMRDRocjdndFNZUEQvQ1dVVGV5QlpoZC9LTzNPczlWVEIKYmpLUGtWd0J2WEs2SlFMSGprNFBHS3VYZDhaWVFyajBtOWNIZDNmcWNYTXlQUnQ2TlJ4ak0yMTUxckFzSkVhNgpWZC9ta056akpXalBrT2VZUVFJREFRQUJvMmt3WnpBVEJna3JCZ0VFQVlJM0ZBSUVCaDRFQUVNQVFUQU9CZ05WCkhROEJBZjhFQkFNQ0FZWXdEd1lEVlIwVEFRSC9CQVV3QXdFQi96QWRCZ05WSFE0RUZnUVVDVEc2ODJSay9kMysKWGtHa0VMakRFMjI4ZjNnd0VBWUpLd1lCQkFHQ054VUJCQU1DQVFBd0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQgpBR1RjTTNnWExIU05wS014RHEvUFpZbWZCMmNlN3VhMmxxbXpzZSt4QmthSTE0WXdzZE5ZQjZBVTNFWDM3QWpZCjd3bm9xQzY1N0U2RVhTODVDckoyNXJNTHo4OEtONGI3cUg5RUowSS9XVHg5YTdUT0ZENENWQThuL0xwNGh1Ym4KNlBFalY5NFlZWXBXTG1hTkkvbGFReWsxSHVJbDFSTCttVDFnSWQ4ZWZXZ1UvNmlVVEw3eGMrdjkyNHBuTHhISwpOSnNTV3c0NFk5a0R5SU9KOXFjWUlBN1lhTkxPZTRjSysvQlRvdDh0dVVKT1hHLzdBRmtxR2EyQVA4MmFZOStKCnkwSmU2OG5nTHJ1dVU4VHpneVpqdkFHcTRrVEVOdWFoaFdHVC9KWkEzOXhSNUV4MmNMUUplcE5NdnlZbUZ3Z1UKME8zYlA0OWNBVFVCMXoyQ3Y5aTRQbVk9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
+ },
+ "aesEncryption": {
+ "type": "boolean",
+ "description": "If enabled, AES encryption will be enabled for SMB communication."
+ },
+ "ldapSigning": {
+ "type": "boolean",
+ "description": "Specifies whether or not the LDAP traffic needs to be signed."
+ },
+ "securityOperators": {
+ "type": "array",
+ "description": "Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier",
+ "items": {
+ "type": "string",
+ "maxLength": 255,
+ "minLength": 1
+ },
+ "example": [
+ "user1",
+ "user2"
+ ]
+ },
+ "ldapOverTLS": {
+ "type": "boolean",
+ "description": "Specifies whether or not the LDAP traffic needs to be secured via TLS."
+ },
+ "allowLocalNfsUsersWithLdap": {
+ "type": "boolean",
+ "description": " If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes."
+ },
+ "encryptDCConnections": {
+ "type": "boolean",
+ "description": "If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted."
+ },
+ "ldapSearchScope": {
+ "description": "LDAP Search scope options",
+ "$ref": "#/definitions/ldapSearchScopeOpt"
+ },
+ "preferredServersForLdapClient": {
+ "type": "string",
+ "maxLength": 32,
+ "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)((, ?)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))?)?$",
+ "description": "Comma separated list of IPv4 addresses of preferred servers for LDAP client. At most two comma separated IPv4 addresses can be passed.",
+ "example": "101.102.103.104, 101.102.103.105"
+ }
+ }
+ },
+ "ldapSearchScopeOpt": {
+ "type": "object",
+ "description": "LDAP search scope ",
+ "properties": {
+ "userDN": {
+ "type": "string",
+ "description": "This specifies the user DN, which overrides the base DN for user lookups.",
+ "maxLength": 255,
+ "example": "OU=fin,OU=hr,dc=domain,dc=com"
+ },
+ "groupDN": {
+ "type": "string",
+ "description": "This specifies the group DN, which overrides the base DN for group lookups.",
+ "maxLength": 255,
+ "example": "OU=fin,OU=hr,dc=domain,dc=com"
+ },
+ "groupMembershipFilter": {
+ "type": "string",
+ "description": "This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server.",
+ "maxLength": 255,
+ "example": "cn=*99"
+ }
+ }
+ },
+ "accountEncryption": {
+ "type": "object",
+ "description": "Encryption settings",
+ "properties": {
+ "keySource": {
+ "type": "string",
+ "description": "The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault",
+ "enum": [
+ "Microsoft.NetApp",
+ "Microsoft.KeyVault"
+ ],
+ "x-ms-enum": {
+ "name": "KeySource",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Microsoft.NetApp",
+ "description": "Microsoft-managed key encryption"
+ },
+ {
+ "value": "Microsoft.KeyVault",
+ "description": "Customer-managed key encryption"
+ }
+ ]
+ },
+ "default": "Microsoft.NetApp"
+ },
+ "keyVaultProperties": {
+ "$ref": "#/definitions/KeyVaultProperties",
+ "description": "Properties provided by KeVault. Applicable if keySource is 'Microsoft.KeyVault'."
+ },
+ "identity": {
+ "$ref": "#/definitions/EncryptionIdentity",
+ "description": "Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'."
+ }
+ }
+ },
+ "KeyVaultProperties": {
+ "description": "Properties of key vault.",
+ "type": "object",
+ "required": [
+ "keyVaultUri",
+ "keyName",
+ "keyVaultResourceId"
+ ],
+ "properties": {
+ "keyVaultId": {
+ "type": "string",
+ "description": "UUID v4 used to identify the Azure Key Vault configuration",
+ "readOnly": true,
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca7778"
+ },
+ "keyVaultUri": {
+ "type": "string",
+ "description": "The Uri of KeyVault."
+ },
+ "keyName": {
+ "type": "string",
+ "description": "The name of KeyVault key."
+ },
+ "keyVaultResourceId": {
+ "type": "string",
+ "description": "The resource ID of KeyVault."
+ },
+ "status": {
+ "type": "string",
+ "description": "Status of the KeyVault connection.",
+ "readOnly": true,
+ "enum": [
+ "Created",
+ "Updating",
+ "InUse",
+ "Deleted",
+ "Error"
+ ],
+ "x-ms-enum": {
+ "name": "KeyVaultStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Created",
+ "description": "KeyVault connection created but not in use"
+ },
+ {
+ "value": "InUse",
+ "description": "KeyVault connection in use by SMB Volume"
+ },
+ {
+ "value": "Deleted",
+ "description": "KeyVault connection Deleted"
+ },
+ {
+ "value": "Error",
+ "description": "Error with the KeyVault connection"
+ },
+ {
+ "value": "Updating",
+ "description": "KeyVault connection Updating"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "EncryptionIdentity": {
+ "description": "Identity used to authenticate with key vault.",
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "type": "string",
+ "description": "The principal ID (object ID) of the identity used to authenticate with key vault. Read-only.",
+ "readOnly": true
+ },
+ "userAssignedIdentity": {
+ "type": "string",
+ "description": "The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities."
+ }
+ }
+ },
+ "capacityPoolList": {
+ "description": "List of capacity pool resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of Capacity pools",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ }
+ },
+ "capacityPool": {
+ "description": "Capacity pool resource",
+ "type": "object",
+ "required": [
+ "location",
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "properties": {
+ "description": "Capacity pool properties",
+ "$ref": "#/definitions/poolProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "poolProperties": {
+ "description": "Pool properties",
+ "type": "object",
+ "required": [
+ "size",
+ "serviceLevel"
+ ],
+ "properties": {
+ "poolId": {
+ "title": "poolId",
+ "type": "string",
+ "readOnly": true,
+ "description": "UUID v4 used to identify the Pool",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca7778"
+ },
+ "size": {
+ "title": "size",
+ "type": "integer",
+ "format": "int64",
+ "description": "Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).",
+ "default": 4398046511104
+ },
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "$ref": "#/definitions/serviceLevel"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ },
+ "totalThroughputMibps": {
+ "type": "number",
+ "description": "Total throughput of pool in MiB/s",
+ "example": 164.221,
+ "readOnly": true
+ },
+ "utilizedThroughputMibps": {
+ "type": "number",
+ "description": "Utilized throughput of pool in MiB/s",
+ "example": 164.221,
+ "readOnly": true
+ },
+ "qosType": {
+ "title": "qosType",
+ "type": "string",
+ "description": "The qos type of the pool",
+ "enum": [
+ "Auto",
+ "Manual"
+ ],
+ "x-ms-enum": {
+ "name": "qosType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Auto",
+ "description": "qos type Auto"
+ },
+ {
+ "value": "Manual",
+ "description": "qos type Manual"
+ }
+ ]
+ },
+ "example": "Manual",
+ "default": "Auto"
+ },
+ "coolAccess": {
+ "type": "boolean",
+ "default": false,
+ "example": false,
+ "description": "If enabled (true) the pool can contain cool Access enabled volumes."
+ },
+ "encryptionType": {
+ "title": "encryptionType",
+ "type": "string",
+ "x-nullable": true,
+ "description": "Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "enum": [
+ "Single",
+ "Double"
+ ],
+ "x-ms-enum": {
+ "name": "encryptionType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Single",
+ "description": "EncryptionType Single, volumes will use single encryption at rest"
+ },
+ {
+ "value": "Double",
+ "description": "EncryptionType Double, volumes will use double encryption at rest"
+ }
+ ]
+ },
+ "example": "Single",
+ "default": "Single"
+ }
+ }
+ },
+ "capacityPoolPatch": {
+ "description": "Capacity pool patch resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Capacity pool properties",
+ "$ref": "#/definitions/poolPatchProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "poolPatchProperties": {
+ "description": "Patchable pool properties",
+ "type": "object",
+ "properties": {
+ "size": {
+ "title": "size",
+ "type": "integer",
+ "format": "int64",
+ "description": "Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).",
+ "default": 4398046511104
+ },
+ "qosType": {
+ "title": "qosType",
+ "type": "string",
+ "description": "The qos type of the pool",
+ "enum": [
+ "Auto",
+ "Manual"
+ ],
+ "x-ms-enum": {
+ "name": "qosType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Auto",
+ "description": "qos type Auto"
+ },
+ {
+ "value": "Manual",
+ "description": "qos type Manual"
+ }
+ ]
+ },
+ "example": "Manual",
+ "default": "Auto"
+ },
+ "coolAccess": {
+ "type": "boolean",
+ "example": false,
+ "description": "If enabled (true) the pool can contain cool Access enabled volumes."
+ }
+ }
+ },
+ "volumeList": {
+ "description": "List of volume resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of volumes",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ }
+ },
+ "volume": {
+ "description": "Volume resource",
+ "type": "object",
+ "required": [
+ "location",
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "zones": {
+ "type": "array",
+ "description": "Availability Zone",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "items": {
+ "type": "string",
+ "maxLength": 255,
+ "minLength": 1,
+ "example": "1"
+ }
+ },
+ "properties": {
+ "description": "Volume properties",
+ "$ref": "#/definitions/volumeProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "resourceIdentity": {
+ "type": "object",
+ "description": "Identity for the resource.",
+ "properties": {
+ "principalId": {
+ "description": "Object id of the identity resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "tenantId": {
+ "description": "The tenant id of the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Type of Identity. Supported values are: 'None', 'SystemAssigned'",
+ "type": "string"
+ }
+ }
+ },
+ "resourceTags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Tags are a list of key-value pairs that describe the resource"
+ },
+ "volumeProperties": {
+ "description": "Volume properties",
+ "type": "object",
+ "required": [
+ "creationToken",
+ "usageThreshold",
+ "subnetId"
+ ],
+ "properties": {
+ "fileSystemId": {
+ "title": "FileSystem ID",
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique FileSystem Identifier.",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca7778"
+ },
+ "creationToken": {
+ "title": "Creation Token or File Path",
+ "type": "string",
+ "description": "A unique file path for the volume. Used when creating mount targets",
+ "pattern": "^[a-zA-Z][a-zA-Z0-9\\-]{0,79}$",
+ "minLength": 1,
+ "maxLength": 80,
+ "example": "some-amazing-filepath"
+ },
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "$ref": "#/definitions/serviceLevel"
+ },
+ "usageThreshold": {
+ "title": "usageThreshold",
+ "type": "integer",
+ "format": "int64",
+ "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume or 2400Tib for LargeVolume on exceptional basis. Specified in bytes.",
+ "minimum": 107374182400,
+ "maximum": 2638827906662400,
+ "default": 107374182400,
+ "example": 107374182400
+ },
+ "exportPolicy": {
+ "title": "exportPolicy",
+ "description": "Set of export policy rules",
+ "properties": {
+ "rules": {
+ "title": "Export policy rule",
+ "description": "Export policy rule",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/exportPolicyRule"
+ },
+ "x-ms-identifiers": [
+ "ruleIndex"
+ ]
+ }
+ }
+ },
+ "protocolTypes": {
+ "title": "protocolTypes",
+ "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "example": [
+ "NFSv4.1"
+ ]
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ },
+ "snapshotId": {
+ "title": "Snapshot ID",
+ "type": "string",
+ "x-nullable": true,
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "description": "UUID v4 or resource identifier used to identify the Snapshot.",
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "deleteBaseSnapshot": {
+ "type": "boolean",
+ "description": "If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false"
+ },
+ "backupId": {
+ "title": "Backup ID",
+ "type": "string",
+ "x-nullable": true,
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "description": "UUID v4 or resource identifier used to identify the Backup.",
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "baremetalTenantId": {
+ "title": "Baremetal Tenant ID",
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique Baremetal Tenant Identifier.",
+ "example": "9560acf5-4e3a-12e7-9bdb-02007cca7779"
+ },
+ "subnetId": {
+ "type": "string",
+ "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes"
+ },
+ "networkFeatures": {
+ "$ref": "#/definitions/networkFeatures"
+ },
+ "networkSiblingSetId": {
+ "title": "Network Sibling Set ID",
+ "description": "Network Sibling Set ID for the the group of volumes sharing networking resources.",
+ "type": "string",
+ "readOnly": true,
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "storageToNetworkProximity": {
+ "title": "Storage to Network Proximity",
+ "description": "Provides storage to network proximity information for the volume.",
+ "type": "string",
+ "enum": [
+ "Default",
+ "T1",
+ "T2",
+ "AcrossT2"
+ ],
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "VolumeStorageToNetworkProximity",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Default",
+ "description": "Basic storage to network connectivity."
+ },
+ {
+ "value": "T1",
+ "description": "Standard T1 storage to network connectivity."
+ },
+ {
+ "value": "T2",
+ "description": "Standard T2 storage to network connectivity."
+ },
+ {
+ "value": "AcrossT2",
+ "description": "Standard AcrossT2 storage to network connectivity."
+ }
+ ]
+ },
+ "example": "T1"
+ },
+ "mountTargets": {
+ "title": "mountTargets",
+ "type": "array",
+ "readOnly": true,
+ "description": "List of mount targets",
+ "items": {
+ "$ref": "#/definitions/mountTargetProperties"
+ },
+ "x-ms-identifiers": [
+ "fileSystemId"
+ ]
+ },
+ "volumeType": {
+ "type": "string",
+ "description": "What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection. For creating clone volume, set type to ShortTermClone",
+ "example": "DataProtection"
+ },
+ "dataProtection": {
+ "title": "DataProtection",
+ "description": "DataProtection type volumes include an object containing details of the replication",
+ "properties": {
+ "backup": {
+ "title": "Backup",
+ "description": "Backup Properties",
+ "type": "object",
+ "$ref": "#/definitions/volumeBackupProperties"
+ },
+ "replication": {
+ "title": "Replication",
+ "description": "Replication properties",
+ "type": "object",
+ "$ref": "#/definitions/replicationObject"
+ },
+ "snapshot": {
+ "title": "Snapshot",
+ "description": "Snapshot properties.",
+ "$ref": "#/definitions/volumeSnapshotProperties"
+ },
+ "volumeRelocation": {
+ "title": "VolumeRelocation",
+ "description": "VolumeRelocation properties",
+ "type": "object",
+ "$ref": "#/definitions/volumeRelocationProperties"
+ }
+ }
+ },
+ "isRestoring": {
+ "type": "boolean",
+ "description": "Restoring"
+ },
+ "snapshotDirectoryVisible": {
+ "type": "boolean",
+ "default": true,
+ "description": "If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true)."
+ },
+ "kerberosEnabled": {
+ "type": "boolean",
+ "description": "Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "example": false,
+ "default": false
+ },
+ "securityStyle": {
+ "type": "string",
+ "description": "The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol",
+ "default": "unix",
+ "enum": [
+ "ntfs",
+ "unix"
+ ],
+ "x-ms-enum": {
+ "name": "SecurityStyle",
+ "modelAsString": true
+ }
+ },
+ "smbEncryption": {
+ "type": "boolean",
+ "description": "Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later",
+ "example": false,
+ "default": false
+ },
+ "smbAccessBasedEnumeration": {
+ "$ref": "#/definitions/smbAccessBasedEnumeration"
+ },
+ "smbNonBrowsable": {
+ "$ref": "#/definitions/smbNonBrowsable"
+ },
+ "smbContinuouslyAvailable": {
+ "type": "boolean",
+ "description": "Enables continuously available share property for smb volume. Only applicable for SMB volume",
+ "example": false,
+ "default": false
+ },
+ "throughputMibps": {
+ "title": "Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume",
+ "type": "number",
+ "x-nullable": true,
+ "example": 128.223
+ },
+ "actualThroughputMibps": {
+ "type": "number",
+ "description": "Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel",
+ "example": 164.221,
+ "readOnly": true
+ },
+ "encryptionKeySource": {
+ "description": "Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'",
+ "type": "string",
+ "enum": [
+ "Microsoft.NetApp",
+ "Microsoft.KeyVault"
+ ],
+ "x-ms-enum": {
+ "name": "EncryptionKeySource",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Microsoft.NetApp",
+ "description": "Microsoft-managed key encryption"
+ },
+ {
+ "value": "Microsoft.KeyVault",
+ "description": "Customer-managed key encryption"
+ }
+ ]
+ },
+ "default": "Microsoft.NetApp"
+ },
+ "keyVaultPrivateEndpointResourceId": {
+ "type": "string",
+ "description": "The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'."
+ },
+ "ldapEnabled": {
+ "type": "boolean",
+ "description": "Specifies whether LDAP is enabled or not for a given NFS volume.",
+ "example": false,
+ "default": false
+ },
+ "coolAccess": {
+ "type": "boolean",
+ "description": "Specifies whether Cool Access(tiering) is enabled for the volume.",
+ "example": false,
+ "default": false
+ },
+ "coolnessPeriod": {
+ "type": "integer",
+ "description": "Specifies the number of days after which data that is not accessed by clients will be tiered.",
+ "example": 7,
+ "minimum": 7,
+ "maximum": 63,
+ "format": "int32"
+ },
+ "coolAccessRetrievalPolicy": {
+ "$ref": "#/definitions/coolAccessRetrievalPolicy"
+ },
+ "unixPermissions": {
+ "type": "string",
+ "description": "UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.",
+ "minLength": 4,
+ "maxLength": 4,
+ "x-nullable": true,
+ "example": "0770"
+ },
+ "cloneProgress": {
+ "description": "When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning.",
+ "type": "integer",
+ "format": "int32",
+ "example": 10,
+ "x-nullable": true,
+ "readOnly": true
+ },
+ "fileAccessLogs": {
+ "type": "string",
+ "description": "Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume.",
+ "readOnly": true,
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "fileAccessLogs",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Enabled",
+ "description": "fileAccessLogs are enabled"
+ },
+ {
+ "value": "Disabled",
+ "description": "fileAccessLogs are not enabled"
+ }
+ ]
+ },
+ "example": "Disabled",
+ "default": "Disabled"
+ },
+ "avsDataStore": {
+ "title": "avsDataStore",
+ "type": "string",
+ "description": "Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "avsDataStore",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Enabled",
+ "description": "avsDataStore is enabled"
+ },
+ {
+ "value": "Disabled",
+ "description": "avsDataStore is disabled"
+ }
+ ]
+ },
+ "example": "Enabled",
+ "default": "Disabled"
+ },
+ "dataStoreResourceId": {
+ "title": "dataStoreResourceId",
+ "description": "Data store resource unique identifier",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "isDefaultQuotaEnabled": {
+ "type": "boolean",
+ "description": "Specifies if default quota is enabled for the volume.",
+ "example": false,
+ "default": false
+ },
+ "defaultUserQuotaInKiBs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .",
+ "example": 4,
+ "default": 0
+ },
+ "defaultGroupQuotaInKiBs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.",
+ "example": 4,
+ "default": 0
+ },
+ "maximumNumberOfFiles": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB.",
+ "example": 100000000
+ },
+ "volumeGroupName": {
+ "type": "string",
+ "description": "Volume Group Name",
+ "readOnly": true
+ },
+ "capacityPoolResourceId": {
+ "type": "string",
+ "description": "Pool Resource Id used in case of creating a volume through volume group"
+ },
+ "proximityPlacementGroup": {
+ "type": "string",
+ "description": "Proximity placement group associated with the volume",
+ "example": "/subscriptions/aaaaaaaa-1234-1234-1224-234567891011/resourceGroups/testGroup/providers/Microsoft.Compute/proximityPlacementGroups/testppg"
+ },
+ "t2Network": {
+ "type": "string",
+ "description": "T2 network information",
+ "example": "Test-T2-Alias",
+ "readOnly": true
+ },
+ "volumeSpecName": {
+ "type": "string",
+ "description": "Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log",
+ "example": "Data"
+ },
+ "encrypted": {
+ "type": "boolean",
+ "description": "Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01.",
+ "readOnly": true
+ },
+ "placementRules": {
+ "title": "Volume placement rules",
+ "description": "Application specific placement rules for the particular volume",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/placementKeyValuePairs"
+ },
+ "x-ms-identifiers": [
+ "key"
+ ]
+ },
+ "enableSubvolumes": {
+ "type": "string",
+ "description": "Flag indicating whether subvolume operations are enabled on the volume",
+ "example": "Enabled",
+ "default": "Disabled",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "enableSubvolumes",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Enabled",
+ "description": "subvolumes are enabled"
+ },
+ {
+ "value": "Disabled",
+ "description": "subvolumes are not enabled"
+ }
+ ]
+ }
+ },
+ "provisionedAvailabilityZone": {
+ "title": "Provisioned Availability Zone",
+ "type": "string",
+ "readOnly": true,
+ "description": "The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides.",
+ "example": "2",
+ "x-nullable": true
+ },
+ "isLargeVolume": {
+ "title": "Is Large Volume",
+ "type": "boolean",
+ "description": "Specifies whether volume is a Large Volume or Regular Volume.",
+ "example": false,
+ "default": false
+ },
+ "originatingResourceId": {
+ "title": "Originating Resource Id",
+ "type": "string",
+ "description": "Id of the snapshot or backup that the volume is restored from.",
+ "example": "/subscriptions/aaaaaaaa-1234-1234-1224-234567891011/resourceGroups/testGroup/providers/Microsoft.NetApp/netAppAccounts/accountOriginatingResourceId/capacityPools/originatingResourceIdPool/volumes/theOriginalVolume/snapshots/theSnapshot",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "inheritedSizeInBytes": {
+ "title": "inheritedSizeInBytes",
+ "type": "integer",
+ "format": "int64",
+ "description": "Space shared by short term clone volume with parent volume in bytes.",
+ "readOnly": true,
+ "x-nullable": true
+ }
+ }
+ },
+ "exportPolicyRule": {
+ "description": "Volume Export Policy Rule",
+ "type": "object",
+ "properties": {
+ "ruleIndex": {
+ "type": "integer",
+ "description": "Order index",
+ "format": "int32"
+ },
+ "unixReadOnly": {
+ "type": "boolean",
+ "description": "Read only access"
+ },
+ "unixReadWrite": {
+ "type": "boolean",
+ "description": "Read and write access"
+ },
+ "kerberos5ReadOnly": {
+ "type": "boolean",
+ "description": "Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later",
+ "example": false,
+ "default": false
+ },
+ "kerberos5ReadWrite": {
+ "type": "boolean",
+ "description": "Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later",
+ "example": false,
+ "default": false
+ },
+ "kerberos5iReadOnly": {
+ "type": "boolean",
+ "description": "Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later",
+ "example": false,
+ "default": false
+ },
+ "kerberos5iReadWrite": {
+ "type": "boolean",
+ "description": "Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later",
+ "example": false,
+ "default": false
+ },
+ "kerberos5pReadOnly": {
+ "type": "boolean",
+ "description": "Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later",
+ "example": false,
+ "default": false
+ },
+ "kerberos5pReadWrite": {
+ "type": "boolean",
+ "description": "Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later",
+ "example": false,
+ "default": false
+ },
+ "cifs": {
+ "type": "boolean",
+ "description": "Allows CIFS protocol"
+ },
+ "nfsv3": {
+ "type": "boolean",
+ "description": "Allows NFSv3 protocol. Enable only for NFSv3 type volumes"
+ },
+ "nfsv41": {
+ "type": "boolean",
+ "description": "Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes"
+ },
+ "allowedClients": {
+ "type": "string",
+ "description": "Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names"
+ },
+ "hasRootAccess": {
+ "type": "boolean",
+ "description": "Has root access to volume",
+ "example": true,
+ "default": true
+ },
+ "chownMode": {
+ "type": "string",
+ "description": "This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own.",
+ "default": "Restricted",
+ "enum": [
+ "Restricted",
+ "Unrestricted"
+ ],
+ "x-ms-enum": {
+ "name": "ChownMode",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "volumeBackupProperties": {
+ "description": "Volume Backup Properties",
+ "type": "object",
+ "properties": {
+ "backupPolicyId": {
+ "type": "string",
+ "description": "Backup Policy Resource ID"
+ },
+ "policyEnforced": {
+ "type": "boolean",
+ "description": "Policy Enforced"
+ },
+ "backupEnabled": {
+ "type": "boolean",
+ "description": "Backup Enabled"
+ },
+ "backupVaultId": {
+ "type": "string",
+ "description": "Backup Vault Resource ID"
+ }
+ }
+ },
+ "replicationObject": {
+ "description": "Replication properties",
+ "type": "object",
+ "required": [
+ "remoteVolumeResourceId"
+ ],
+ "properties": {
+ "replicationId": {
+ "type": "string",
+ "description": "Id",
+ "readOnly": true
+ },
+ "endpointType": {
+ "type": "string",
+ "description": "Indicates whether the local volume is the source or destination for the Volume Replication",
+ "enum": [
+ "src",
+ "dst"
+ ],
+ "x-ms-enum": {
+ "name": "EndpointType",
+ "modelAsString": true
+ }
+ },
+ "replicationSchedule": {
+ "type": "string",
+ "description": "Schedule",
+ "enum": [
+ "_10minutely",
+ "hourly",
+ "daily"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicationSchedule",
+ "modelAsString": true
+ }
+ },
+ "remoteVolumeResourceId": {
+ "type": "string",
+ "description": "The resource ID of the remote volume. Required for cross region and cross zone replication"
+ },
+ "remotePath": {
+ "description": "The full path to a volume that is to be migrated into ANF. Required for Migration volumes",
+ "type": "object",
+ "$ref": "#/definitions/remotePath",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "remoteVolumeRegion": {
+ "type": "string",
+ "description": "The remote region for the other end of the Volume Replication."
+ }
+ }
+ },
+ "remotePath": {
+ "description": "The full path to a volume that is to be migrated into ANF. Required for Migration volumes",
+ "type": "object",
+ "required": [
+ "externalHostName",
+ "serverName",
+ "volumeName"
+ ],
+ "properties": {
+ "externalHostName": {
+ "type": "string",
+ "description": "The Path to a Ontap Host"
+ },
+ "serverName": {
+ "type": "string",
+ "description": "The name of a server on the Ontap Host"
+ },
+ "volumeName": {
+ "type": "string",
+ "description": "The name of a volume on the server"
+ }
+ }
+ },
+ "replication": {
+ "description": "Replication properties",
+ "type": "object",
+ "required": [
+ "remoteVolumeResourceId"
+ ],
+ "properties": {
+ "endpointType": {
+ "type": "string",
+ "description": "Indicates whether the local volume is the source or destination for the Volume Replication",
+ "enum": [
+ "src",
+ "dst"
+ ],
+ "x-ms-enum": {
+ "name": "EndpointType",
+ "modelAsString": true
+ }
+ },
+ "replicationSchedule": {
+ "type": "string",
+ "description": "Schedule",
+ "enum": [
+ "_10minutely",
+ "hourly",
+ "daily"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicationSchedule",
+ "modelAsString": true
+ }
+ },
+ "remoteVolumeResourceId": {
+ "type": "string",
+ "description": "The resource ID of the remote volume."
+ },
+ "remoteVolumeRegion": {
+ "type": "string",
+ "description": "The remote region for the other end of the Volume Replication."
+ }
+ }
+ },
+ "volumeRelocationProperties": {
+ "description": "Volume relocation properties",
+ "type": "object",
+ "properties": {
+ "relocationRequested": {
+ "type": "boolean",
+ "description": "Has relocation been requested for this volume"
+ },
+ "readyToBeFinalized": {
+ "type": "boolean",
+ "readOnly": true,
+ "description": "Has relocation finished and is ready to be cleaned up"
+ }
+ }
+ },
+ "volumeSnapshotProperties": {
+ "description": "Volume Snapshot Properties",
+ "type": "object",
+ "properties": {
+ "snapshotPolicyId": {
+ "type": "string",
+ "description": "Snapshot Policy ResourceId"
+ }
+ }
+ },
+ "replicationStatus": {
+ "description": "Replication status",
+ "type": "object",
+ "properties": {
+ "healthy": {
+ "type": "boolean",
+ "description": "Replication health check"
+ },
+ "relationshipStatus": {
+ "type": "string",
+ "description": "Status of the mirror relationship",
+ "enum": [
+ "Idle",
+ "Transferring"
+ ],
+ "x-ms-enum": {
+ "name": "RelationshipStatus",
+ "modelAsString": true
+ }
+ },
+ "mirrorState": {
+ "type": "string",
+ "description": "The status of the replication",
+ "enum": [
+ "Uninitialized",
+ "Mirrored",
+ "Broken"
+ ],
+ "x-ms-enum": {
+ "name": "MirrorState",
+ "modelAsString": true
+ }
+ },
+ "totalProgress": {
+ "type": "string",
+ "description": "The progress of the replication"
+ },
+ "errorMessage": {
+ "type": "string",
+ "description": "Displays error message if the replication is in an error state"
+ }
+ }
+ },
+ "listReplications": {
+ "description": "List Replications",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of replications",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/replication"
+ },
+ "x-ms-identifiers": []
+ }
+ }
+ },
+ "volumePatch": {
+ "description": "Volume patch resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Patchable volume properties",
+ "$ref": "#/definitions/volumePatchProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "volumePatchProperties": {
+ "description": "Patchable volume properties",
+ "type": "object",
+ "properties": {
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "$ref": "#/definitions/serviceLevel"
+ },
+ "usageThreshold": {
+ "title": "usageThreshold",
+ "type": "integer",
+ "format": "int64",
+ "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume or 2400Tib for LargeVolume on exceptional basis. Specified in bytes.",
+ "minimum": 107374182400,
+ "maximum": 2638827906662400,
+ "default": 107374182400,
+ "example": 107374182400
+ },
+ "exportPolicy": {
+ "title": "exportPolicy",
+ "description": "Set of export policy rules",
+ "properties": {
+ "rules": {
+ "title": "Export policy rule",
+ "description": "Export policy rule",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/exportPolicyRule"
+ },
+ "x-ms-identifiers": [
+ "ruleIndex"
+ ]
+ }
+ }
+ },
+ "throughputMibps": {
+ "title": "Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume",
+ "type": "number",
+ "example": 128.22
+ },
+ "dataProtection": {
+ "title": "DataProtection",
+ "description": "DataProtection type volumes include an object containing details of the replication",
+ "properties": {
+ "backup": {
+ "title": "Backup",
+ "description": "Backup Properties",
+ "type": "object",
+ "$ref": "#/definitions/volumeBackupProperties"
+ },
+ "snapshot": {
+ "title": "Snapshot",
+ "description": "Snapshot properties.",
+ "$ref": "#/definitions/volumeSnapshotProperties"
+ }
+ }
+ },
+ "isDefaultQuotaEnabled": {
+ "type": "boolean",
+ "description": "Specifies if default quota is enabled for the volume.",
+ "example": false,
+ "default": false
+ },
+ "defaultUserQuotaInKiBs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .",
+ "example": 4,
+ "default": 0
+ },
+ "defaultGroupQuotaInKiBs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.",
+ "example": 4,
+ "default": 0
+ },
+ "unixPermissions": {
+ "type": "string",
+ "description": "UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.",
+ "minLength": 4,
+ "maxLength": 4,
+ "x-nullable": true,
+ "example": "0770"
+ },
+ "coolAccess": {
+ "type": "boolean",
+ "description": "Specifies whether Cool Access(tiering) is enabled for the volume.",
+ "example": false
+ },
+ "coolnessPeriod": {
+ "type": "integer",
+ "description": "Specifies the number of days after which data that is not accessed by clients will be tiered.",
+ "example": 7,
+ "minimum": 7,
+ "maximum": 63,
+ "format": "int32"
+ },
+ "coolAccessRetrievalPolicy": {
+ "$ref": "#/definitions/coolAccessRetrievalPolicy"
+ },
+ "snapshotDirectoryVisible": {
+ "type": "boolean",
+ "description": "If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots."
+ },
+ "smbAccessBasedEnumeration": {
+ "$ref": "#/definitions/smbAccessBasedEnumeration"
+ },
+ "smbNonBrowsable": {
+ "$ref": "#/definitions/smbNonBrowsable"
+ }
+ }
+ },
+ "mountTarget": {
+ "description": "Mount Target",
+ "type": "object",
+ "required": [
+ "location",
+ "properties"
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags",
+ "x-ms-client-flatten": true
+ },
+ "properties": {
+ "description": "Mount Target Properties",
+ "$ref": "#/definitions/mountTargetProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "mountTargetProperties": {
+ "description": "Mount target properties",
+ "type": "object",
+ "required": [
+ "fileSystemId"
+ ],
+ "properties": {
+ "mountTargetId": {
+ "title": "mountTargetId",
+ "type": "string",
+ "readOnly": true,
+ "description": "UUID v4 used to identify the MountTarget",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "fileSystemId": {
+ "title": "fileSystemId",
+ "type": "string",
+ "description": "UUID v4 used to identify the MountTarget",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "ipAddress": {
+ "title": "ipAddress",
+ "description": "The mount target's IPv4 address",
+ "type": "string",
+ "readOnly": true,
+ "example": "1.2.3.4"
+ },
+ "smbServerFqdn": {
+ "title": "smbServerFQDN",
+ "description": "The SMB server's Fully Qualified Domain Name, FQDN",
+ "type": "string",
+ "example": "fullyqualified.domainname.com"
+ }
+ }
+ },
+ "snapshotsList": {
+ "description": "List of Snapshots",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of Snapshots",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/snapshot"
+ }
+ }
+ }
+ },
+ "snapshot": {
+ "description": "Snapshot of a Volume",
+ "type": "object",
+ "required": [
+ "location"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "properties": {
+ "description": "Snapshot Properties",
+ "$ref": "#/definitions/snapshotProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "snapshotPatch": {
+ "description": "Snapshot patch",
+ "type": "object",
+ "properties": {}
+ },
+ "snapshotProperties": {
+ "description": "Snapshot properties",
+ "type": "object",
+ "properties": {
+ "snapshotId": {
+ "title": "snapshotId",
+ "type": "string",
+ "readOnly": true,
+ "description": "UUID v4 used to identify the Snapshot",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "created": {
+ "title": "name",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The creation date of the snapshot",
+ "example": "2017-08-15 13:23:33"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ }
+ }
+ },
+ "snapshotPolicyProperties": {
+ "description": "Snapshot policy properties",
+ "type": "object",
+ "properties": {
+ "hourlySchedule": {
+ "title": "hourlySchedule",
+ "description": "Schedule for hourly snapshots",
+ "type": "object",
+ "$ref": "#/definitions/hourlySchedule"
+ },
+ "dailySchedule": {
+ "title": "dailySchedule",
+ "description": "Schedule for daily snapshots",
+ "type": "object",
+ "$ref": "#/definitions/dailySchedule"
+ },
+ "weeklySchedule": {
+ "title": "weeklySchedule",
+ "description": "Schedule for weekly snapshots",
+ "type": "object",
+ "$ref": "#/definitions/weeklySchedule"
+ },
+ "monthlySchedule": {
+ "title": "monthlySchedule",
+ "description": "Schedule for monthly snapshots",
+ "type": "object",
+ "$ref": "#/definitions/monthlySchedule"
+ },
+ "enabled": {
+ "type": "boolean",
+ "description": "The property to decide policy is enabled or not"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ }
+ }
+ },
+ "snapshotPolicy": {
+ "description": "Snapshot policy information",
+ "type": "object",
+ "required": [
+ "location",
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "properties": {
+ "description": "Snapshot policy Properties",
+ "$ref": "#/definitions/snapshotPolicyProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "snapshotPoliciesList": {
+ "description": "List of Snapshot Policies",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of snapshot policies",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/snapshotPolicy"
+ }
+ }
+ }
+ },
+ "snapshotPolicyDetails": {
+ "description": "Snapshot policy properties",
+ "type": "object",
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Snapshot policy Properties",
+ "$ref": "#/definitions/snapshotPolicyProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "snapshotPolicyPatch": {
+ "description": "Snapshot policy Details for create and update",
+ "type": "object",
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Snapshot Policy properties",
+ "$ref": "#/definitions/snapshotPolicyProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "snapshotPolicyVolumeList": {
+ "description": "Volumes associated with snapshot policy",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of volumes",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/volume"
+ }
+ }
+ }
+ },
+ "hourlySchedule": {
+ "description": "Hourly Schedule properties",
+ "type": "object",
+ "properties": {
+ "snapshotsToKeep": {
+ "type": "integer",
+ "description": "Hourly snapshot count to keep",
+ "format": "int32"
+ },
+ "minute": {
+ "type": "integer",
+ "description": "Indicates which minute snapshot should be taken",
+ "example": 30,
+ "format": "int32"
+ },
+ "usedBytes": {
+ "type": "integer",
+ "description": "Resource size in bytes, current storage usage for the volume in bytes",
+ "format": "int64"
+ }
+ }
+ },
+ "dailySchedule": {
+ "description": "Daily Schedule properties",
+ "type": "object",
+ "properties": {
+ "snapshotsToKeep": {
+ "type": "integer",
+ "description": "Daily snapshot count to keep",
+ "format": "int32"
+ },
+ "hour": {
+ "type": "integer",
+ "description": "Indicates which hour in UTC timezone a snapshot should be taken",
+ "example": 11,
+ "format": "int32"
+ },
+ "minute": {
+ "type": "integer",
+ "description": "Indicates which minute snapshot should be taken",
+ "example": 30,
+ "format": "int32"
+ },
+ "usedBytes": {
+ "type": "integer",
+ "description": "Resource size in bytes, current storage usage for the volume in bytes",
+ "format": "int64"
+ }
+ }
+ },
+ "weeklySchedule": {
+ "description": "Weekly Schedule properties, make a snapshot every week at a specific day or days",
+ "type": "object",
+ "properties": {
+ "snapshotsToKeep": {
+ "type": "integer",
+ "description": "Weekly snapshot count to keep",
+ "format": "int32"
+ },
+ "day": {
+ "type": "string",
+ "description": "Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english",
+ "example": "Sunday,Monday"
+ },
+ "hour": {
+ "type": "integer",
+ "description": "Indicates which hour in UTC timezone a snapshot should be taken",
+ "example": 11,
+ "format": "int32"
+ },
+ "minute": {
+ "type": "integer",
+ "description": "Indicates which minute snapshot should be taken",
+ "example": 30,
+ "format": "int32"
+ },
+ "usedBytes": {
+ "type": "integer",
+ "description": "Resource size in bytes, current storage usage for the volume in bytes",
+ "format": "int64"
+ }
+ }
+ },
+ "monthlySchedule": {
+ "description": "Monthly Schedule properties",
+ "type": "object",
+ "properties": {
+ "snapshotsToKeep": {
+ "type": "integer",
+ "description": "Monthly snapshot count to keep",
+ "format": "int32"
+ },
+ "daysOfMonth": {
+ "type": "string",
+ "description": "Indicates which days of the month snapshot should be taken. A comma delimited string.",
+ "example": "1,11,21"
+ },
+ "hour": {
+ "type": "integer",
+ "description": "Indicates which hour in UTC timezone a snapshot should be taken",
+ "example": 11,
+ "format": "int32"
+ },
+ "minute": {
+ "type": "integer",
+ "description": "Indicates which minute snapshot should be taken",
+ "example": 30,
+ "format": "int32"
+ },
+ "usedBytes": {
+ "type": "integer",
+ "description": "Resource size in bytes, current storage usage for the volume in bytes",
+ "format": "int64"
+ }
+ }
+ },
+ "volumeRevert": {
+ "description": "revert a volume to the snapshot",
+ "type": "object",
+ "properties": {
+ "snapshotId": {
+ "type": "string",
+ "description": "Resource id of the snapshot"
+ }
+ }
+ },
+ "authorizeRequest": {
+ "description": "Authorize request",
+ "type": "object",
+ "properties": {
+ "remoteVolumeResourceId": {
+ "type": "string",
+ "description": "Resource id of the remote volume"
+ }
+ }
+ },
+ "breakReplicationRequest": {
+ "description": "Break replication request",
+ "type": "object",
+ "properties": {
+ "forceBreakReplication": {
+ "type": "boolean",
+ "description": "If replication is in status transferring and you want to force break the replication, set to true"
+ }
+ }
+ },
+ "reestablishReplicationRequest": {
+ "description": "Re-establish request object supplied in the body of the operation.",
+ "type": "object",
+ "properties": {
+ "sourceVolumeId": {
+ "type": "string",
+ "description": "Resource id of the source volume for the replication"
+ }
+ }
+ },
+ "relocateVolumeRequest": {
+ "description": "Relocate volume request",
+ "type": "object",
+ "properties": {
+ "creationToken": {
+ "type": "string",
+ "description": "New creation token for the volume that controls the mount point name"
+ }
+ }
+ },
+ "breakFileLocksRequest": {
+ "description": "Break file locks request",
+ "type": "object",
+ "properties": {
+ "clientIp": {
+ "type": "string",
+ "description": "To clear file locks on a volume for a particular client",
+ "pattern": "^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
+ "example": "101.102.103.104"
+ },
+ "confirmRunningDisruptiveOperation": {
+ "type": "boolean",
+ "description": "Break File locks could be a disruptive operation for application as locks on the volume will be broken, if want to process, set to true.",
+ "default": false
+ }
+ }
+ },
+ "poolChangeRequest": {
+ "description": "Pool change request",
+ "type": "object",
+ "required": [
+ "newPoolResourceId"
+ ],
+ "properties": {
+ "newPoolResourceId": {
+ "type": "string",
+ "description": "Resource id of the pool to move volume to"
+ }
+ }
+ },
+ "backupsList": {
+ "description": "List of Backups",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of Backups",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/backup"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ }
+ },
+ "backup": {
+ "description": "Backup under a Backup Vault",
+ "type": "object",
+ "required": [
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "Backup Properties",
+ "$ref": "#/definitions/backupProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "backupPatch": {
+ "description": "Backup patch",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "Backup Patch Properties",
+ "$ref": "#/definitions/backupPatchProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "backupProperties": {
+ "description": "Backup properties",
+ "type": "object",
+ "required": [
+ "volumeResourceId"
+ ],
+ "properties": {
+ "backupId": {
+ "title": "backupId",
+ "type": "string",
+ "readOnly": true,
+ "description": "UUID v4 used to identify the Backup",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "creationDate": {
+ "title": "creationDate",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The creation date of the backup",
+ "example": "2017-08-15 13:23:33"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ },
+ "size": {
+ "type": "integer",
+ "readOnly": true,
+ "description": "Size of backup in bytes",
+ "format": "int64"
+ },
+ "label": {
+ "type": "string",
+ "description": "Label for backup"
+ },
+ "backupType": {
+ "title": "backupType",
+ "type": "string",
+ "readOnly": true,
+ "description": "Type of backup Manual or Scheduled",
+ "enum": [
+ "Manual",
+ "Scheduled"
+ ],
+ "x-ms-enum": {
+ "name": "backupType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Manual",
+ "description": "Manual backup"
+ },
+ {
+ "value": "Scheduled",
+ "description": "Scheduled backup"
+ }
+ ]
+ },
+ "example": "Manual"
+ },
+ "failureReason": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Failure reason"
+ },
+ "volumeResourceId": {
+ "type": "string",
+ "description": "ResourceId used to identify the Volume",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "useExistingSnapshot": {
+ "type": "boolean",
+ "description": "Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups",
+ "example": true,
+ "default": false,
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "snapshotName": {
+ "type": "string",
+ "description": "The name of the snapshot",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "backupPolicyResourceId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "ResourceId used to identify the backup policy"
+ }
+ }
+ },
+ "backupPatchProperties": {
+ "description": "Backup patch properties",
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string",
+ "description": "Label for backup"
+ }
+ }
+ },
+ "backupPolicyProperties": {
+ "description": "Backup policy properties",
+ "type": "object",
+ "properties": {
+ "backupPolicyId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Backup Policy Resource ID"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ },
+ "dailyBackupsToKeep": {
+ "type": "integer",
+ "description": "Daily backups count to keep",
+ "format": "int32"
+ },
+ "weeklyBackupsToKeep": {
+ "type": "integer",
+ "description": "Weekly backups count to keep",
+ "format": "int32"
+ },
+ "monthlyBackupsToKeep": {
+ "type": "integer",
+ "description": "Monthly backups count to keep",
+ "format": "int32"
+ },
+ "volumesAssigned": {
+ "type": "integer",
+ "readOnly": true,
+ "description": "Volumes using current backup policy",
+ "format": "int32"
+ },
+ "enabled": {
+ "type": "boolean",
+ "description": "The property to decide policy is enabled or not"
+ },
+ "volumeBackups": {
+ "description": "A list of volumes assigned to this policy",
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/volumeBackups"
+ },
+ "x-ms-identifiers": [
+ "volumeName"
+ ]
+ }
+ }
+ },
+ "backupPolicy": {
+ "description": "Backup policy information",
+ "type": "object",
+ "required": [
+ "location",
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "properties": {
+ "description": "Backup policy Properties",
+ "$ref": "#/definitions/backupPolicyProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "backupPoliciesList": {
+ "description": "List of Backup Policies",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of backup policies",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/backupPolicy"
+ }
+ }
+ }
+ },
+ "backupPolicyPatch": {
+ "description": "Backup policy Details for create and update",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Backup policy Properties",
+ "$ref": "#/definitions/backupPolicyProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "volumeBackups": {
+ "description": "Volume details using the backup policy",
+ "type": "object",
+ "readOnly": true,
+ "properties": {
+ "volumeName": {
+ "type": "string",
+ "description": "Volume name"
+ },
+ "backupsCount": {
+ "type": "integer",
+ "description": "Total count of backups for volume",
+ "format": "int32"
+ },
+ "policyEnabled": {
+ "type": "boolean",
+ "description": "Policy enabled"
+ }
+ }
+ },
+ "backupStatus": {
+ "description": "Backup status",
+ "type": "object",
+ "properties": {
+ "healthy": {
+ "type": "boolean",
+ "readOnly": true,
+ "description": "Backup health status"
+ },
+ "relationshipStatus": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Status of the backup mirror relationship",
+ "enum": [
+ "Idle",
+ "Transferring"
+ ],
+ "x-ms-enum": {
+ "name": "RelationshipStatus",
+ "modelAsString": true
+ }
+ },
+ "mirrorState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The status of the backup",
+ "enum": [
+ "Uninitialized",
+ "Mirrored",
+ "Broken"
+ ],
+ "x-ms-enum": {
+ "name": "MirrorState",
+ "modelAsString": true
+ }
+ },
+ "unhealthyReason": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Reason for the unhealthy backup relationship"
+ },
+ "errorMessage": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Displays error message if the backup is in an error state"
+ },
+ "lastTransferSize": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Displays the last transfer size"
+ },
+ "lastTransferType": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Displays the last transfer type"
+ },
+ "totalTransferBytes": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Displays the total bytes transferred"
+ },
+ "transferProgressBytes": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Displays the total number of bytes transferred for the ongoing operation"
+ }
+ }
+ },
+ "restoreStatus": {
+ "description": "Restore status",
+ "type": "object",
+ "properties": {
+ "healthy": {
+ "type": "boolean",
+ "readOnly": true,
+ "description": "Restore health status"
+ },
+ "relationshipStatus": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Status of the restore SnapMirror relationship",
+ "enum": [
+ "Idle",
+ "Transferring"
+ ],
+ "x-ms-enum": {
+ "name": "RelationshipStatus",
+ "modelAsString": true
+ }
+ },
+ "mirrorState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The status of the restore",
+ "enum": [
+ "Uninitialized",
+ "Mirrored",
+ "Broken"
+ ],
+ "x-ms-enum": {
+ "name": "MirrorState",
+ "modelAsString": true
+ }
+ },
+ "unhealthyReason": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Reason for the unhealthy restore relationship"
+ },
+ "errorMessage": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Displays error message if the restore is in an error state"
+ },
+ "totalTransferBytes": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Displays the total bytes transferred"
+ }
+ }
+ },
+ "getGroupIdListForLDAPUserRequest": {
+ "description": "Get group Id list for LDAP User request",
+ "type": "object",
+ "required": [
+ "username"
+ ],
+ "properties": {
+ "username": {
+ "type": "string",
+ "description": "username is required to fetch the group to which user is part of",
+ "maxLength": 255,
+ "minLength": 1
+ }
+ }
+ },
+ "getGroupIdListForLDAPUserResponse": {
+ "description": "Group Id list for Ldap user",
+ "type": "object",
+ "properties": {
+ "groupIdsForLdapUser": {
+ "description": "Group Id list",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "example": [
+ "123",
+ "224"
+ ]
+ }
+ }
+ },
+ "cloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/cloudErrorBody",
+ "description": "Cloud error body."
+ }
+ },
+ "description": "An error response from the service."
+ },
+ "cloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ }
+ },
+ "description": "An error response from the service."
+ },
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "type": "string",
+ "description": "The service level of the file system",
+ "enum": [
+ "Standard",
+ "Premium",
+ "Ultra",
+ "StandardZRS"
+ ],
+ "default": "Premium",
+ "x-ms-enum": {
+ "name": "ServiceLevel",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard",
+ "description": "Standard service level"
+ },
+ {
+ "value": "Premium",
+ "description": "Premium service level"
+ },
+ {
+ "value": "Ultra",
+ "description": "Ultra service level"
+ },
+ {
+ "value": "StandardZRS",
+ "description": "Zone redundant storage service level"
+ }
+ ]
+ }
+ },
+ "volumeQuotaRulesList": {
+ "description": "List of Volume Quota Rules",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of Volume Quota Rules",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/volumeQuotaRule"
+ }
+ }
+ }
+ },
+ "volumeQuotaRule": {
+ "description": "Quota Rule of a Volume",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "Volume Quota Rule Properties",
+ "$ref": "#/definitions/volumeQuotaRulesProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "volumeQuotaRulePatch": {
+ "description": "Patchable Quota Rule of a Volume",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Volume Quota Rule Properties",
+ "$ref": "#/definitions/volumeQuotaRulesProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "volumeQuotaRulesProperties": {
+ "description": "Volume Quota Rule properties",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "$ref": "#/definitions/netappProvisioningState"
+ },
+ "quotaSizeInKiBs": {
+ "type": "integer",
+ "description": "Size of quota",
+ "format": "int64",
+ "example": "100006"
+ },
+ "quotaType": {
+ "title": "quotaType",
+ "type": "string",
+ "description": "Type of quota",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "enum": [
+ "DefaultUserQuota",
+ "DefaultGroupQuota",
+ "IndividualUserQuota",
+ "IndividualGroupQuota"
+ ],
+ "x-ms-enum": {
+ "name": "type",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "DefaultUserQuota",
+ "description": "Default user quota"
+ },
+ {
+ "value": "DefaultGroupQuota",
+ "description": "Default group quota"
+ },
+ {
+ "value": "IndividualUserQuota",
+ "description": "Individual user quota"
+ },
+ {
+ "value": "IndividualGroupQuota",
+ "description": "Individual group quota"
+ }
+ ]
+ },
+ "example": "DefaultUserQuota"
+ },
+ "quotaTarget": {
+ "type": "string",
+ "description": "UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running ",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ }
+ },
+ "volumeGroupList": {
+ "description": "List of volume group resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of volume Groups",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/volumeGroup"
+ }
+ }
+ }
+ },
+ "volumeGroup": {
+ "description": "Volume group resource",
+ "type": "object",
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "properties": {
+ "description": "Volume group properties",
+ "$ref": "#/definitions/volumeGroupListProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "volumeGroupDetails": {
+ "description": "Volume group resource for create",
+ "type": "object",
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "properties": {
+ "description": "Volume group properties",
+ "$ref": "#/definitions/volumeGroupProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "volumeGroupMetaData": {
+ "description": "Volume group properties",
+ "type": "object",
+ "properties": {
+ "groupDescription": {
+ "type": "string",
+ "description": "Group Description",
+ "example": "group description"
+ },
+ "applicationType": {
+ "type": "string",
+ "description": "Application Type",
+ "enum": [
+ "SAP-HANA",
+ "ORACLE"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationType",
+ "modelAsString": true
+ },
+ "example": "SAP-HANA"
+ },
+ "applicationIdentifier": {
+ "type": "string",
+ "description": "Application specific identifier",
+ "example": "SH1"
+ },
+ "globalPlacementRules": {
+ "title": "Global volume placement rules",
+ "description": "Application specific placement rules for the volume group",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/placementKeyValuePairs"
+ },
+ "x-ms-identifiers": [
+ "key"
+ ]
+ },
+ "volumesCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Number of volumes in volume group",
+ "example": 5,
+ "readOnly": true
+ }
+ }
+ },
+ "volumeGroupProperties": {
+ "description": "Volume group properties",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "type": "string",
+ "description": "Azure lifecycle management",
+ "example": "Available",
+ "readOnly": true
+ },
+ "groupMetaData": {
+ "title": "groupMetaData",
+ "description": "Volume group details",
+ "type": "object",
+ "$ref": "#/definitions/volumeGroupMetaData"
+ },
+ "volumes": {
+ "description": "List of volumes from group",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/volumeGroupVolumeProperties"
+ }
+ }
+ }
+ },
+ "volumeGroupListProperties": {
+ "description": "Volume group properties",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "type": "string",
+ "description": "Azure lifecycle management",
+ "example": "Available",
+ "readOnly": true
+ },
+ "groupMetaData": {
+ "title": "groupMetaData",
+ "description": "Volume group details",
+ "type": "object",
+ "$ref": "#/definitions/volumeGroupMetaData"
+ }
+ }
+ },
+ "volumeGroupVolumeProperties": {
+ "description": "Volume resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "zones": {
+ "type": "array",
+ "description": "Availability Zone",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "items": {
+ "type": "string",
+ "maxLength": 255,
+ "minLength": 1,
+ "example": "1"
+ }
+ },
+ "properties": {
+ "description": "Volume properties",
+ "$ref": "#/definitions/volumeProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "placementKeyValuePairs": {
+ "description": "Application specific parameters for the placement of volumes in the volume group",
+ "type": "object",
+ "required": [
+ "key",
+ "value"
+ ],
+ "properties": {
+ "key": {
+ "type": "string",
+ "description": "Key for an application specific parameter for the placement of volumes in the volume group",
+ "example": "key1"
+ },
+ "value": {
+ "type": "string",
+ "description": "Value for an application specific parameter for the placement of volumes in the volume group",
+ "example": "value1"
+ }
+ }
+ },
+ "networkSiblingSet": {
+ "title": "Network sibling set",
+ "description": "Describes the contents of a network sibling set.",
+ "type": "object",
+ "properties": {
+ "networkSiblingSetId": {
+ "$ref": "#/definitions/networkSiblingSetId"
+ },
+ "subnetId": {
+ "$ref": "#/definitions/subnetId"
+ },
+ "networkSiblingSetStateId": {
+ "$ref": "#/definitions/networkSiblingSetStateId"
+ },
+ "networkFeatures": {
+ "$ref": "#/definitions/networkFeatures"
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/networkSiblingSetProvisioningState"
+ },
+ "nicInfoList": {
+ "type": "array",
+ "x-ms-identifiers": [],
+ "description": "List of NIC information",
+ "items": {
+ "$ref": "#/definitions/nicInfo"
+ }
+ }
+ }
+ },
+ "QueryNetworkSiblingSetRequest": {
+ "title": "QueryNetworkSiblingSetRequest",
+ "description": "Network sibling set query.",
+ "type": "object",
+ "required": [
+ "networkSiblingSetId",
+ "subnetId"
+ ],
+ "properties": {
+ "networkSiblingSetId": {
+ "$ref": "#/definitions/networkSiblingSetId"
+ },
+ "subnetId": {
+ "$ref": "#/definitions/subnetId"
+ }
+ }
+ },
+ "UpdateNetworkSiblingSetRequest": {
+ "title": "UpdateNetworkSiblingSetRequest",
+ "description": "Network sibling set update.",
+ "type": "object",
+ "required": [
+ "networkSiblingSetId",
+ "subnetId",
+ "networkSiblingSetStateId",
+ "networkFeatures"
+ ],
+ "properties": {
+ "networkSiblingSetId": {
+ "$ref": "#/definitions/networkSiblingSetId"
+ },
+ "subnetId": {
+ "$ref": "#/definitions/subnetId"
+ },
+ "networkSiblingSetStateId": {
+ "$ref": "#/definitions/networkSiblingSetStateId"
+ },
+ "networkFeatures": {
+ "$ref": "#/definitions/networkFeatures",
+ "description": "Network features available to the volume"
+ }
+ }
+ },
+ "networkFeatures": {
+ "title": "Network features",
+ "description": "Network features available to the volume, or current state of update.",
+ "type": "string",
+ "enum": [
+ "Basic",
+ "Standard",
+ "Basic_Standard",
+ "Standard_Basic"
+ ],
+ "x-ms-enum": {
+ "name": "NetworkFeatures",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Basic",
+ "description": "Basic network features."
+ },
+ {
+ "value": "Standard",
+ "description": "Standard network features."
+ },
+ {
+ "value": "Basic_Standard",
+ "description": "Updating from Basic to Standard network features."
+ },
+ {
+ "value": "Standard_Basic",
+ "description": "Updating from Standard to Basic network features."
+ }
+ ]
+ },
+ "example": "Standard",
+ "default": "Basic"
+ },
+ "networkSiblingSetProvisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gets the status of the NetworkSiblingSet at the time the operation was called.",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "NetworkSiblingSetProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "networkSiblingSetId": {
+ "title": "Network Sibling Set ID",
+ "description": "Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.",
+ "type": "string",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "networkSiblingSetStateId": {
+ "title": "Network sibling set state Id",
+ "description": "Network sibling set state Id identifying the current state of the sibling set.",
+ "type": "string",
+ "example": "12345_44420.8001578125"
+ },
+ "nicInfo": {
+ "title": "NIC information",
+ "description": "NIC information and list of volumes for which the NIC has the primary mount ip address.",
+ "type": "object",
+ "properties": {
+ "ipAddress": {
+ "$ref": "#/definitions/ipAddress"
+ },
+ "volumeResourceIds": {
+ "$ref": "#/definitions/volumeResourceIds"
+ }
+ }
+ },
+ "ipAddress": {
+ "title": "ipAddress",
+ "type": "string",
+ "readOnly": true,
+ "example": "1.2.3.4"
+ },
+ "volumeResourceIds": {
+ "title": "Volume resource Ids",
+ "type": "array",
+ "items": {
+ "title": "Resource Id of volume",
+ "type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
+ }
+ ]
+ }
+ }
+ },
+ "subnetId": {
+ "title": "Subnet resource Id",
+ "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}",
+ "type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.Network/virtualNetworks/subnets"
+ }
+ ]
+ }
+ },
+ "snapshotRestoreFiles": {
+ "description": "Restore payload for Single File Snapshot Restore",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "filePaths"
+ ],
+ "properties": {
+ "filePaths": {
+ "description": "List of files to be restored",
+ "type": "array",
+ "minItems": 1,
+ "maxItems": 10,
+ "items": {
+ "type": "string",
+ "maxLength": 1024,
+ "minLength": 1
+ },
+ "example": [
+ "/dir1/customer1.db",
+ "/dir1/customer2.db"
+ ]
+ },
+ "destinationPath": {
+ "description": "Destination folder where the files will be restored",
+ "type": "string",
+ "example": "/AVSdataStore"
+ }
+ }
+ },
+ "backupRestoreFiles": {
+ "description": "Restore payload for Single File Backup Restore",
+ "type": "object",
+ "required": [
+ "fileList",
+ "destinationVolumeId"
+ ],
+ "properties": {
+ "fileList": {
+ "description": "List of files to be restored",
+ "type": "array",
+ "minItems": 1,
+ "maxItems": 8,
+ "items": {
+ "type": "string",
+ "maxLength": 1024,
+ "minLength": 1
+ },
+ "example": [
+ "/dir1/customer1.db",
+ "/dir1/customer2.db"
+ ]
+ },
+ "restoreFilePath": {
+ "description": "Destination folder where the files will be restored. The path name should start with a forward slash. If it is omitted from request then restore is done at the root folder of the destination volume by default",
+ "type": "string",
+ "pattern": "^\\/.*$",
+ "example": "/AVSdataStore"
+ },
+ "destinationVolumeId": {
+ "description": "Resource Id of the destination volume on which the files need to be restored",
+ "type": "string",
+ "example": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1"
+ }
+ }
+ },
+ "subvolumesList": {
+ "description": "List of Subvolumes",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of Subvolumes",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/subvolumeInfo"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ }
+ },
+ "subvolumeInfo": {
+ "description": "Subvolume Information properties",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "Subvolume Properties",
+ "$ref": "#/definitions/subvolumeProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "subvolumePatchRequest": {
+ "description": "Subvolume Patch Request properties",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "properties": {
+ "description": "Subvolume Properties",
+ "$ref": "#/definitions/subvolumePatchParams",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "subvolumePatchParams": {
+ "description": "Parameters with which a subvolume can be updated",
+ "type": "object",
+ "properties": {
+ "size": {
+ "title": "size",
+ "type": "integer",
+ "x-nullable": true,
+ "format": "int64",
+ "description": "Truncate subvolume to the provided size in bytes",
+ "example": 5
+ },
+ "path": {
+ "title": "path",
+ "type": "string",
+ "description": "path to the subvolume",
+ "example": "/pathToSubvolume"
+ }
+ }
+ },
+ "subvolumeProperties": {
+ "description": "This represents path associated with the subvolume",
+ "type": "object",
+ "properties": {
+ "path": {
+ "title": "path",
+ "type": "string",
+ "description": "Path to the subvolume",
+ "example": "/subvolume1"
+ },
+ "size": {
+ "title": "size",
+ "type": "integer",
+ "x-nullable": true,
+ "x-ms-mutability": [
+ "create",
+ "update"
+ ],
+ "format": "int64",
+ "description": "Truncate subvolume to the provided size in bytes",
+ "example": 5
+ },
+ "parentPath": {
+ "title": "name",
+ "x-nullable": true,
+ "type": "string",
+ "description": "parent path to the subvolume",
+ "example": "/parentPath"
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Azure lifecycle management",
+ "readOnly": true,
+ "example": "Available"
+ }
+ }
+ },
+ "subvolumeModel": {
+ "description": "Result of the post subvolume and action is to get metadata of the subvolume.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "properties": {
+ "description": "It represents the minimal properties of the subvolume.",
+ "$ref": "#/definitions/subvolumeModelProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "subvolumeModelProperties": {
+ "description": "Properties which represents actual subvolume model which is stored as a file in the system.",
+ "type": "object",
+ "properties": {
+ "path": {
+ "title": "path",
+ "type": "string",
+ "description": "Path to the subvolume",
+ "example": "/subvolume1"
+ },
+ "parentPath": {
+ "title": "parentpath",
+ "type": "string",
+ "description": "Path to the parent subvolume",
+ "example": "/parentPath"
+ },
+ "size": {
+ "title": "size",
+ "type": "integer",
+ "format": "int64",
+ "description": "Size of subvolume",
+ "example": 5
+ },
+ "bytesUsed": {
+ "title": "bytesUsed",
+ "type": "integer",
+ "format": "int64",
+ "description": "Bytes used",
+ "example": 5
+ },
+ "permissions": {
+ "title": "permissions",
+ "type": "string",
+ "description": "Permissions of the subvolume",
+ "example": "777"
+ },
+ "creationTimeStamp": {
+ "title": "creationTimeStamp",
+ "type": "string",
+ "format": "date-time",
+ "description": "Creation time and date",
+ "example": "2017-08-15T13:23:33Z"
+ },
+ "accessedTimeStamp": {
+ "title": "accessedTimeStamp",
+ "type": "string",
+ "format": "date-time",
+ "description": "Most recent access time and date",
+ "example": "2017-08-15T13:23:33Z"
+ },
+ "modifiedTimeStamp": {
+ "title": "modifiedTimeStamp",
+ "type": "string",
+ "format": "date-time",
+ "description": "Most recent modification time and date",
+ "example": "2017-08-15T13:23:33Z"
+ },
+ "changedTimeStamp": {
+ "title": "changedTimeStamp",
+ "type": "string",
+ "format": "date-time",
+ "description": "Most recent change time and date",
+ "example": "2017-08-15T13:23:33Z"
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Azure lifecycle management",
+ "example": "Available"
+ }
+ }
+ },
+ "netappProvisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gets the status of the VolumeQuotaRule at the time the operation was called.",
+ "enum": [
+ "Accepted",
+ "Creating",
+ "Patching",
+ "Deleting",
+ "Moving",
+ "Failed",
+ "Succeeded"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": false
+ }
+ },
+ "encryptionMigrationRequest": {
+ "description": "Encryption migration request",
+ "type": "object",
+ "required": [
+ "virtualNetworkId",
+ "privateEndpointId"
+ ],
+ "properties": {
+ "virtualNetworkId": {
+ "title": "virtualNetworkId",
+ "type": "string",
+ "description": "Identifier for the virtual network",
+ "example": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.Network/virtualNetworks/vnet1"
+ },
+ "privateEndpointId": {
+ "title": "privateEndpointId",
+ "type": "string",
+ "description": "Identifier of the private endpoint to reach the Azure Key Vault",
+ "example": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.Network/privateEndpoints/privateIP1"
+ }
+ }
+ },
+ "backupVaultsList": {
+ "description": "List of Backup Vaults",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of Backup Vaults",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/backupVault"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ }
+ },
+ "backupVault": {
+ "description": "Backup Vault information",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "location"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "Backup Vault Properties",
+ "$ref": "#/definitions/backupVaultProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "backupVaultPatch": {
+ "description": "Backup Vault information",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ }
+ }
+ },
+ "backupVaultProperties": {
+ "description": "Backup Vault properties",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ }
+ }
+ },
+ "backupsMigrationRequest": {
+ "description": "Migrate Backups Request",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "backupVaultId"
+ ],
+ "properties": {
+ "backupVaultId": {
+ "type": "string",
+ "description": "The ResourceId of the Backup Vault",
+ "example": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1"
+ }
+ }
+ },
+ "coolAccessRetrievalPolicy": {
+ "type": "string",
+ "description": "coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: \n Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default.\n OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads.\n Never - No client-driven data is pulled from cool tier to standard storage.",
+ "enum": [
+ "Default",
+ "OnRead",
+ "Never"
+ ],
+ "x-ms-enum": {
+ "name": "coolAccessRetrievalPolicy",
+ "modelAsString": true
+ }
+ },
+ "smbAccessBasedEnumeration": {
+ "title": "smbAccessBasedEnumeration",
+ "type": "string",
+ "description": "Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "x-ms-enum": {
+ "name": "smbAccessBasedEnumeration",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Disabled",
+ "description": "smbAccessBasedEnumeration share setting is disabled"
+ },
+ {
+ "value": "Enabled",
+ "description": "smbAccessBasedEnumeration share setting is enabled"
+ }
+ ]
+ },
+ "x-nullable": true,
+ "example": "Enabled"
+ },
+ "smbNonBrowsable": {
+ "title": "smbNonBrowsable",
+ "type": "string",
+ "description": "Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "x-ms-enum": {
+ "name": "smbNonBrowsable",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Disabled",
+ "description": "smbNonBrowsable share setting is disabled"
+ },
+ {
+ "value": "Enabled",
+ "description": "smbNonBrowsable share setting is enabled"
+ }
+ ]
+ },
+ "example": "Enabled"
+ }
+ },
+ "parameters": {
+ "AccountName": {
+ "name": "accountName",
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$",
+ "in": "path",
+ "required": true,
+ "description": "The name of the NetApp account",
+ "x-ms-parameter-location": "method"
+ },
+ "PoolName": {
+ "name": "poolName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$",
+ "minLength": 1,
+ "maxLength": 64,
+ "description": "The name of the capacity pool",
+ "x-ms-parameter-location": "method"
+ },
+ "VolumeName": {
+ "name": "volumeName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$",
+ "minLength": 1,
+ "maxLength": 64,
+ "description": "The name of the volume",
+ "x-ms-parameter-location": "method"
+ },
+ "MountTargetName": {
+ "name": "mountTargetName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the mount target",
+ "x-ms-parameter-location": "method"
+ },
+ "SnapshotName": {
+ "name": "snapshotName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the snapshot",
+ "x-ms-parameter-location": "method"
+ },
+ "SnapshotPolicyName": {
+ "name": "snapshotPolicyName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the snapshot policy",
+ "x-ms-parameter-location": "method"
+ },
+ "BackupName": {
+ "name": "backupName",
+ "type": "string",
+ "in": "path",
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,255}$",
+ "required": true,
+ "description": "The name of the backup",
+ "x-ms-parameter-location": "method"
+ },
+ "BackupPolicyName": {
+ "name": "backupPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Backup policy Name which uniquely identify backup policy.",
+ "x-ms-parameter-location": "method"
+ },
+ "QuotaLimitName": {
+ "name": "quotaLimitName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the Quota Limit",
+ "x-ms-parameter-location": "method"
+ },
+ "VolumeGroupName": {
+ "name": "volumeGroupName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$",
+ "minLength": 1,
+ "maxLength": 64,
+ "description": "The name of the volumeGroup",
+ "x-ms-parameter-location": "method"
+ },
+ "SubvolumeName": {
+ "name": "subvolumeName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the subvolume.",
+ "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$",
+ "minLength": 1,
+ "maxLength": 64,
+ "x-ms-parameter-location": "method"
+ },
+ "VolumeQuotaRuleName": {
+ "name": "volumeQuotaRuleName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of volume quota rule",
+ "x-ms-parameter-location": "method"
+ },
+ "BackupVaultName": {
+ "name": "backupVaultName",
+ "in": "path",
+ "required": true,
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$",
+ "type": "string",
+ "description": "The name of the Backup Vault",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_CreateOrUpdate.json
new file mode 100644
index 000000000000..4e1298a82f03
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_CreateOrUpdate.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Creating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_CreateOrUpdateAD.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_CreateOrUpdateAD.json
new file mode 100644
index 000000000000..bd3f81610238
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_CreateOrUpdateAD.json
@@ -0,0 +1,81 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "activeDirectories": [
+ {
+ "site": "SiteName",
+ "username": "ad_user_name",
+ "password": "ad_password",
+ "domain": "10.10.10.3",
+ "dns": "10.10.10.3, 10.10.10.4",
+ "smbServerName": "SMBServer",
+ "organizationalUnit": "OU=Engineering",
+ "aesEncryption": true,
+ "ldapSigning": false,
+ "ldapOverTLS": false
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "activeDirectories": [
+ {
+ "activeDirectoryId": "503d38f9-f17c-f92d-ef26-b0d46374534b",
+ "site": "SiteName",
+ "username": "ad_user_name",
+ "password": null,
+ "domain": "10.10.10.3",
+ "dns": "10.10.10.3, 10.10.10.4",
+ "smbServerName": "SMBServer",
+ "organizationalUnit": "OU=Engineering",
+ "aesEncryption": true,
+ "ldapSigning": false,
+ "ldapOverTLS": false
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Creating",
+ "activeDirectories": [
+ {
+ "activeDirectoryId": "503d38f9-f17c-f92d-ef26-b0d46374534b",
+ "site": "SiteName",
+ "username": "ad_user_name",
+ "password": null,
+ "domain": "10.10.10.3",
+ "dns": "10.10.10.3, 10.10.10.4",
+ "smbServerName": "SMBServer",
+ "organizationalUnit": "OU=Engineering",
+ "aesEncryption": true,
+ "ldapSigning": false,
+ "ldapOverTLS": false
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_Delete.json
new file mode 100644
index 000000000000..271b4fac8baf
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_Get.json
new file mode 100644
index 000000000000..8739187066b5
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_Get.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "activeDirectories": [
+ {
+ "site": "SiteName",
+ "activeDirectoryId": "02da3711-6c58-2d64-098a-e3af7afaf936",
+ "username": "ad_user_name",
+ "domain": "10.10.10.3",
+ "dns": "10.10.10.3, 10.10.10.4",
+ "status": "InUse",
+ "smbServerName": "SMBServer",
+ "organizationalUnit": "OU=Engineering",
+ "statusDetails": "Status Details",
+ "aesEncryption": true,
+ "ldapSigning": true
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_List.json
new file mode 100644
index 000000000000..3125449ef32e
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_List.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_RenewCredentials.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_RenewCredentials.json
new file mode 100644
index 000000000000..30298e0769b6
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_RenewCredentials.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-07-01",
+ "body": {}
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2022-09-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_Update.json
new file mode 100644
index 000000000000..bc26524ea6df
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Accounts_Update.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-07-01",
+ "body": {
+ "tags": {
+ "Tag1": "Value1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2022-09-01&operationResultResponseType=Location"
+ },
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "tags": {
+ "Tag1": "Value1"
+ },
+ "properties": {
+ "provisioningState": "Patching",
+ "encryption": {
+ "keySource": "Microsoft.NetApp"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/BackupPolicies_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/BackupPolicies_Create.json
new file mode 100644
index 000000000000..54c1b9eab674
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/BackupPolicies_Create.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "backupPolicyName": "backupPolicyName",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "westus",
+ "properties": {
+ "dailyBackupsToKeep": 10,
+ "weeklyBackupsToKeep": 10,
+ "monthlyBackupsToKeep": 10,
+ "enabled": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName",
+ "name": "account1/backupPolicyName",
+ "type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
+ "location": "westus",
+ "properties": {
+ "dailyBackupsToKeep": 10,
+ "weeklyBackupsToKeep": 10,
+ "monthlyBackupsToKeep": 10,
+ "enabled": true,
+ "provisioningState": "creating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName",
+ "name": "account1/backupPolicyName",
+ "type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
+ "location": "westus",
+ "properties": {
+ "dailyBackupsToKeep": 10,
+ "weeklyBackupsToKeep": 10,
+ "monthlyBackupsToKeep": 10,
+ "enabled": true,
+ "provisioningState": "creating"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/BackupPolicies_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/BackupPolicies_Delete.json
new file mode 100644
index 000000000000..4201d30d3c41
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/BackupPolicies_Delete.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "backupPolicyName": "backupPolicyName",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ },
+ "200": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/BackupPolicies_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/BackupPolicies_Get.json
new file mode 100644
index 000000000000..7f907acc4040
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/BackupPolicies_Get.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "backupPolicyName": "backupPolicyName",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName",
+ "name": "account1/backupPolicyName",
+ "type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
+ "location": "eastus",
+ "properties": {
+ "dailyBackupsToKeep": 10,
+ "weeklyBackupsToKeep": 10,
+ "monthlyBackupsToKeep": 10,
+ "volumesAssigned": 0,
+ "enabled": true,
+ "volumeBackups": [
+ {
+ "volumeName": "volume 1",
+ "backupsCount": 5,
+ "policyEnabled": true
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/BackupPolicies_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/BackupPolicies_List.json
new file mode 100644
index 000000000000..3358342d332c
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/BackupPolicies_List.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicy1",
+ "name": "account1/backupPolicy1",
+ "type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
+ "location": "eastus",
+ "properties": {
+ "dailyBackupsToKeep": 10,
+ "weeklyBackupsToKeep": 10,
+ "monthlyBackupsToKeep": 10,
+ "volumesAssigned": 0,
+ "enabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/BackupPolicies_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/BackupPolicies_Update.json
new file mode 100644
index 000000000000..636140af2712
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/BackupPolicies_Update.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "backupPolicyName": "backupPolicyName",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "westus",
+ "properties": {
+ "dailyBackupsToKeep": 5,
+ "weeklyBackupsToKeep": 10,
+ "monthlyBackupsToKeep": 10,
+ "enabled": false
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName",
+ "name": "account1/backupPolicyName",
+ "type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "dailyBackupsToKeep": 5,
+ "weeklyBackupsToKeep": 10,
+ "monthlyBackupsToKeep": 10,
+ "volumesAssigned": 1,
+ "enabled": false,
+ "volumeBackups": [
+ {
+ "volumeName": "volume 1",
+ "backupsCount": 5,
+ "policyEnabled": true
+ }
+ ]
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2022-09-01&operationResultResponseType=Location"
+ },
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName",
+ "name": "account1/backupPolicyName",
+ "type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "dailyBackupsToKeep": 5,
+ "weeklyBackupsToKeep": 10,
+ "monthlyBackupsToKeep": 10,
+ "volumesAssigned": 1,
+ "enabled": false,
+ "volumeBackups": [
+ {
+ "volumeName": "volume 1",
+ "backupsCount": 5,
+ "policyEnabled": true
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/CheckFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/CheckFilePathAvailability.json
new file mode 100644
index 000000000000..0a44545c8053
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/CheckFilePathAvailability.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2023-07-01",
+ "body": {
+ "name": "my-exact-filepth",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isAvailable": true
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/CheckNameAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/CheckNameAvailability.json
new file mode 100644
index 000000000000..b139c38cac74
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/CheckNameAvailability.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2023-07-01",
+ "body": {
+ "name": "accName",
+ "type": "netAppAccount",
+ "resourceGroup": "myRG"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isAvailable": true
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/CheckQuotaAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/CheckQuotaAvailability.json
new file mode 100644
index 000000000000..1294cd86cb95
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/CheckQuotaAvailability.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2023-07-01",
+ "body": {
+ "name": "resource1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "resourceGroup": "myRG"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isAvailable": true
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/GroupIdListForLDAPUser.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/GroupIdListForLDAPUser.json
new file mode 100644
index 000000000000..78fe6408e469
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/GroupIdListForLDAPUser.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "username": "user1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "groupIdsForLdapUser": [
+ "123",
+ "224"
+ ]
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2023-07-01&operationResultResponseType=Location",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2023-07-01"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/NetworkSiblingSet_Query.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/NetworkSiblingSet_Query.json
new file mode 100644
index 000000000000..2b87ad1082ae
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/NetworkSiblingSet_Query.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2023-07-01",
+ "body": {
+ "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet",
+ "networkSiblingSetStateId": "12345_44420.8001578125",
+ "networkFeatures": "Standard",
+ "provisioningState": "Succeeded",
+ "nicInfoList": [
+ {
+ "ipAddress": "1.2.3.4",
+ "volumeResourceIds": [
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume10",
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume11"
+ ]
+ },
+ {
+ "ipAddress": "1.2.3.5",
+ "volumeResourceIds": [
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume20",
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume21"
+ ]
+ },
+ {
+ "ipAddress": "1.2.3.9",
+ "volumeResourceIds": []
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/NetworkSiblingSet_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/NetworkSiblingSet_Update.json
new file mode 100644
index 000000000000..5098064f7687
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/NetworkSiblingSet_Update.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2023-07-01",
+ "body": {
+ "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet",
+ "networkSiblingSetStateId": "12345_44420.8001578125",
+ "networkFeatures": "Standard"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet",
+ "networkSiblingSetStateId": "12345_44420.8001578125",
+ "networkFeatures": "Standard",
+ "provisioningState": "Succeeded",
+ "nicInfoList": [
+ {
+ "ipAddress": "1.2.3.4",
+ "volumeResourceIds": [
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume10",
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume11"
+ ]
+ },
+ {
+ "ipAddress": "1.2.3.5",
+ "volumeResourceIds": [
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume20",
+ "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume21"
+ ]
+ },
+ {
+ "ipAddress": "1.2.3.9",
+ "volumeResourceIds": []
+ }
+ ]
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2023-01-01-preview&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/OperationList.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/OperationList.json
new file mode 100644
index 000000000000..80cd17dbc5d6
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/OperationList.json
@@ -0,0 +1,1565 @@
+{
+ "parameters": {
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.NetApp/register/action",
+ "display": {
+ "provider": "Microsoft.NetApp",
+ "resource": "Subscription",
+ "operation": "Subscription Registration Action",
+ "description": "Subscription Registration Action"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Read volume resource",
+ "description": "Reads a volume resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Write volume resource",
+ "description": "Writes a volume resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Delete volume resource",
+ "description": "Deletes a volume resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/Revert/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Revert volume resource",
+ "description": "Revert volume to specific snapshot"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/BreakReplication/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Break volume replication resource",
+ "description": "Break volume replication relations"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReplicationStatus/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Read Volume Replication Status.",
+ "description": "Reads the statuses of the Volume Replication."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ListReplications/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReInitializeReplication/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Re-Initialize replication",
+ "description": "Attempts to re-initialize an uninitialized replication"
+ },
+ "origin": "user,system"
+ },
+ {
+ "properties": {
+ "serviceSpecification": {
+ "metricSpecifications": [
+ {
+ "name": "AverageReadLatency",
+ "displayName": "Average read latency",
+ "displayDescription": "Average read latency in milliseconds per operation",
+ "unit": "MilliSeconds",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "AverageReadLatency",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "AverageWriteLatency",
+ "displayName": "Average write latency",
+ "displayDescription": "Average write latency in milliseconds per operation",
+ "unit": "MilliSeconds",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "AverageWriteLatency",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumeLogicalSize",
+ "displayName": "Volume Consumed Size",
+ "displayDescription": "Logical size of the volume (used bytes)",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumeLogicalSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumeSnapshotSize",
+ "displayName": "Volume snapshot size",
+ "displayDescription": "Size of all snapshots in volume",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumeSnapshotSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "ReadIops",
+ "displayName": "Read iops",
+ "displayDescription": "Read In/out operations per second",
+ "unit": "CountPerSecond",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "ReadIops",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "WriteIops",
+ "displayName": "Write iops",
+ "displayDescription": "Write In/out operations per second",
+ "unit": "CountPerSecond",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "WriteIops",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumeAllocatedSize",
+ "displayName": "Volume allocated size",
+ "displayDescription": "The provisioned size of a volume",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumeAllocatedSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumeCoolTierSize",
+ "displayName": "Volume cool tier size",
+ "displayDescription": "Volume Footprint for Cool Tier",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumeCoolTierSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumeCoolTierDataReadSize",
+ "displayName": "Volume cool tier data read size",
+ "displayDescription": "Data read in using GET per volume",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumeCoolTierDataReadSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumeCoolTierDataWriteSize",
+ "displayName": "Volume cool tier data write size",
+ "displayDescription": "Data tiered out using PUT per volume",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumeCoolTierDataWriteSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "XregionReplicationLastTransferDuration",
+ "displayName": "Volume replication last transfer duration",
+ "displayDescription": "The amount of time in seconds it took for the last transfer to complete.",
+ "unit": "Seconds",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "XregionReplicationLastTransferDuration",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "XregionReplicationLastTransferSize",
+ "displayName": "Volume replication last transfer size",
+ "displayDescription": "The total number of bytes transferred as part of the last transfer.",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "XregionReplicationLastTransferSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "XregionReplicationHealthy",
+ "displayName": "Is volume replication status healthy",
+ "displayDescription": "Condition of the relationship, 1 or 0.",
+ "unit": "Count",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "XregionReplicationHealthy",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "XregionReplicationLagTime",
+ "displayName": "Volume replication lag time",
+ "displayDescription": "The amount of time in seconds by which the data on the mirror lags behind the source.",
+ "unit": "Seconds",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "XregionReplicationLagTime",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "XregionReplicationTotalTransferBytes",
+ "displayName": "Volume replication total transfer",
+ "displayDescription": "Cumulative bytes transferred for the relationship.",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "XregionReplicationTotalTransferBytes",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "XregionReplicationRelationshipProgress",
+ "displayName": "Volume replication progress",
+ "displayDescription": "Total amount of data transferred for the current transfer operation.",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "XregionReplicationRelationshipProgress",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "XregionReplicationRelationshipTransferring",
+ "displayName": "Is volume replication transferring",
+ "displayDescription": "Whether the status of the Volume Replication is 'transferring'.",
+ "unit": "Count",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "XregionReplicationRelationshipTransferring",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "CbsVolumeLogicalBackupBytes",
+ "displayName": "Volume Backup Bytes",
+ "displayDescription": "Total bytes backed up for this Volume.",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "CbsVolumeLogicalBackupBytes",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "CbsVolumeProtected",
+ "displayName": "Is Volume Backup Enabled",
+ "displayDescription": "Is backup enabled for the volume? 1 if yes, 0 if no.",
+ "unit": "Count",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "CbsVolumeProtected",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "CbsVolumeBackupActive",
+ "displayName": "Is Volume Backup suspended",
+ "displayDescription": "Is the backup policy suspended for the volume? 0 if yes, 1 if no.",
+ "unit": "Count",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "CbsVolumeBackupActive",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "CbsVolumeOperationTransferredBytes",
+ "displayName": "Volume Backup Last Transferred Bytes",
+ "displayDescription": "Total bytes transferred for last backup or restore operation.",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "CbsVolumeOperationTransferredBytes",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "CbsVolumeOperationComplete",
+ "displayName": "Is Volume Backup Operation Complete",
+ "displayDescription": "Did the last volume backup or restore operation complete successfully? 1 if yes, 0 if no.",
+ "unit": "Count",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "CbsVolumeOperationComplete",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumeConsumedSizePercentage",
+ "displayName": "Percentage Volume Consumed Size",
+ "displayDescription": "The percentage of the volume consumed including snapshots.",
+ "unit": "Percent",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumeConsumedSizePercentage",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "OtherThroughput",
+ "displayName": "Other throughput",
+ "displayDescription": "Other throughput (that is not read or write) in bytes per second",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "OtherThroughput",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "ReadThroughput",
+ "displayName": "Read throughput",
+ "displayDescription": "Read throughput in bytes per second",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "ReadThroughput",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "TotalThroughput",
+ "displayName": "Total throughput",
+ "displayDescription": "Sum of all throughput in bytes per second",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "TotalThroughput",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "WriteThroughput",
+ "displayName": "Write throughput",
+ "displayDescription": "Write throughput in bytes per second",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "WriteThroughput",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ }
+ ]
+ }
+ },
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/metricDefinitions/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Read volume metric definitions.",
+ "description": "Gets the available metrics for Volume resource."
+ },
+ "origin": "system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/diagnosticSettings/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Read diagnostic setting.",
+ "description": "Gets the diagnostic setting for the resource."
+ },
+ "origin": "system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/diagnosticSettings/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Write diagnostic setting.",
+ "description": "Creates or updates the diagnostic setting for the resource."
+ },
+ "origin": "system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/AuthorizeReplication/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Authorize Replication",
+ "description": "Authorize the source volume replication"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ResyncReplication/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Resync Replication",
+ "description": "Resync the replication on the destination volume"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/DeleteReplication/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Delete Replication",
+ "description": "Delete the replication on the destination volume"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReplicationStatus/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Read Volume Replication Status.",
+ "description": "Reads the statuses of the Volume Replication."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/MountTargets/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Read mount target resource",
+ "description": "Reads a mount target resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/BackupStatus/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RestoreStatus/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/PoolChange/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Change pool for volume",
+ "description": "Moves volume to another pool."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RelocateVolume/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Relocate volume to a new stamp.",
+ "description": "Relocate volume to a new stamp."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/FinalizeRelocation/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Finalize relocation of volume.",
+ "description": "Finalize relocation by cleaning up the old volume."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RevertRelocation/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Revert the relocation of volume.",
+ "description": "Revert the relocation and revert back to the old volume."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Accounts resource type",
+ "operation": "Read account resource",
+ "description": "Reads an account resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Accounts resource type",
+ "operation": "Write account resource",
+ "description": "Writes an account resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Accounts resource type",
+ "operation": "Delete account resource",
+ "description": "Deletes a account resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/RenewCredentials/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Accounts resource type",
+ "operation": "Renew MSI credentials, if possible.",
+ "description": "Renews MSI credentials of account, if account has MSI credentials that are due for renewal."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Pools resource type",
+ "operation": "Read pool resource",
+ "description": "Reads a pool resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Pools resource type",
+ "operation": "Write pool resource",
+ "description": "Writes a pool resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Pools resource type",
+ "operation": "Delete pool resource",
+ "description": "Deletes a pool resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "properties": {
+ "serviceSpecification": {
+ "metricSpecifications": [
+ {
+ "name": "VolumePoolAllocatedUsed",
+ "displayName": "Pool Allocated To Volume Size",
+ "displayDescription": "Allocated used size of the pool",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumePoolAllocatedUsed",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumePoolTotalLogicalSize",
+ "displayName": "Pool Consumed Size",
+ "displayDescription": "Sum of the logical size of all the volumes belonging to the pool",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average",
+ "Total"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumePoolTotalLogicalSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumePoolAllocatedSize",
+ "displayName": "Pool Allocated Size",
+ "displayDescription": "Provisioned size of this pool",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average",
+ "Total"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumePoolAllocatedSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumePoolTotalSnapshotSize",
+ "displayName": "Total Snapshot size for the pool",
+ "displayDescription": "Sum of snapshot size of all volumes in this pool",
+ "unit": "Bytes",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumePoolTotalSnapshotSize",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumePoolProvisionedThroughput",
+ "displayName": "Provisioned throughput for the pool",
+ "displayDescription": "Provisioned throughput of this pool",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumePoolProvisionedThroughput",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ },
+ {
+ "name": "VolumePoolAllocatedToVolumeThroughput",
+ "displayName": "Pool allocated throughput",
+ "displayDescription": "Sum of the throughput of all the volumes belonging to the pool",
+ "unit": "BytesPerSecond",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Average"
+ ],
+ "supportedTimeGrainTypes": [
+ "PT5M",
+ "PT15M",
+ "PT30M",
+ "PT1H",
+ "PT6H",
+ "PT12H",
+ "P1D"
+ ],
+ "internalMetricName": "VolumePoolAllocatedToVolumeThroughput",
+ "enableRegionalMdmAccount": true,
+ "sourceMdmAccount": "MicrosoftNetAppShoebox2",
+ "sourceMdmNamespace": "NetAppUsageAndMetrics",
+ "fillGapWithZero": false,
+ "isInternal": false,
+ "dimensions": []
+ }
+ ]
+ }
+ },
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/metricDefinitions/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Pools resource type",
+ "operation": "Read volume metric definitions.",
+ "description": "Gets the available metrics for Volume resource."
+ },
+ "origin": "system"
+ },
+ {
+ "properties": {
+ "serviceSpecification": {
+ "logSpecifications": [
+ {
+ "name": "Autoscale",
+ "displayName": "Capacity Pool Autoscaled"
+ }
+ ]
+ }
+ },
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/logDefinitions/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Pools resource type",
+ "operation": "Read log definitions.",
+ "description": "Gets the log definitions for the resource."
+ },
+ "origin": "system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/diagnosticSettings/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Pools resource type",
+ "operation": "Read diagnostic setting.",
+ "description": "Gets the diagnostic setting for the resource."
+ },
+ "origin": "system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/diagnosticSettings/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Pools resource type",
+ "operation": "Write diagnostic setting.",
+ "description": "Creates or updates the diagnostic setting for the resource."
+ },
+ "origin": "system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshots resource type",
+ "operation": "Read snapshot resource",
+ "description": "Reads a snapshot resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshots resource type",
+ "operation": "Write snapshot resource",
+ "description": "Writes a snapshot resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshots resource type",
+ "operation": "Delete snapshot resource",
+ "description": "Deletes a snapshot resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/RestoreFiles/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshots resource type",
+ "operation": "Single File Snapshot Restore",
+ "description": "Restores files from a snapshot resource"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Subvolume resource type."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Subvolume resource type.",
+ "operation": "Write subvolume Resource",
+ "description": "Write a subvolume resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Subvolume resource type."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/GetMetadata/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Subvolume resource type.",
+ "operation": "Subvolume Metadata resource.",
+ "description": "Read subvolume metadata resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshot Policies resource type",
+ "operation": "Read snapshot policy resource",
+ "description": "Reads a snapshot policy resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshot Policies resource type",
+ "operation": "Write snapshot policy resource",
+ "description": "Writes a snapshot policy resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshot Policies resource type",
+ "operation": "Delete snapshot policy resource",
+ "description": "Deletes a snapshot policy resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/Volumes/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshot Policies resource type",
+ "operation": "List connected volumes",
+ "description": "List volumes connected to snapshot policy"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/ListVolumes/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Snapshot Policies resource type",
+ "operation": "List connected volumes",
+ "description": "List volumes connected to snapshot policy"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Backup resource type",
+ "operation": "Read backup resource.",
+ "description": "Reads a backup resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Backup resource type",
+ "operation": "Write backup resource.",
+ "description": "Writes a backup resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Backup resource type",
+ "operation": "Delete backup resource",
+ "description": "Deletes a backup resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Backup Policy resource type",
+ "operation": "Read backup policy resource.",
+ "description": "Reads a backup policy resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Backup Policy resource type",
+ "operation": "Write backup policy resource.",
+ "description": "Writes a backup policy resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Backup Policy resource type",
+ "operation": "Delete backup policy resource",
+ "description": "Deletes a backup policy resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/vaults/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Vault resource type",
+ "operation": "Read vault resource.",
+ "description": "Reads a vault resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/accountBackups/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Account backup resource type",
+ "operation": "Read an account backup resource.",
+ "description": "Reads an account backup resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/accountBackups/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Account backup resource type",
+ "operation": "Write an account backup resource.",
+ "description": "Writes an account backup resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/accountBackups/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Account backup resource type",
+ "operation": "Delete an account backup resource.",
+ "description": "Deletes an account backup resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volume Group resource type",
+ "operation": "Read volume group resource",
+ "description": "Reads a volume group resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/write",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volume Group resource type",
+ "operation": "Write volume group resource",
+ "description": "Writes a volume group resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/delete",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volume Group resource type",
+ "operation": "Delete volume group resource",
+ "description": "Deletes a volume group resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/locations/quotaLimits/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "QuotaLimit resource type",
+ "operation": "Read QuotaLimit resource type",
+ "description": "Reads a Quotalimit resource type."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/Operations/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Operations resource type",
+ "operation": "Read operation resource",
+ "description": "Reads an operation resources."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/locations/operationresults/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Operation results resource type",
+ "operation": "Read operation result resource",
+ "description": "Reads an operation result resource."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/locations/read",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Location wide operation",
+ "operation": "Read location wide operation",
+ "description": "Reads a location wide operation."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/locations/checknameavailability/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "NetApp resources",
+ "operation": "Check if resource name is available",
+ "description": "Check if resource name is available"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/locations/checkfilepathavailability/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Volumes resource type",
+ "operation": "Check if file path is available",
+ "description": "Check if file path is available"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/unregister/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "Subscription",
+ "operation": "Unregister Subscription for Azure NetApp Files",
+ "description": "Unregisters Subscription with Microsoft.NetApp resource provider"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.NetApp/locations/checkinventory/action",
+ "display": {
+ "provider": "Microsoft.NetApp Resource Provider",
+ "resource": "ReservedCapacity reservation resource.",
+ "operation": "Checks ReservedCapacity inventory.",
+ "description": "Checks ReservedCapacity inventory."
+ },
+ "origin": "user,system"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Pools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Pools_CreateOrUpdate.json
new file mode 100644
index 000000000000..96a8630d72d4
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Pools_CreateOrUpdate.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "size": 4398046511104,
+ "serviceLevel": "Premium",
+ "qosType": "Auto"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104,
+ "qosType": "Auto",
+ "totalThroughputMibps": 281.474
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104,
+ "qosType": "Auto",
+ "totalThroughputMibps": 281.474
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Pools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Pools_Delete.json
new file mode 100644
index 000000000000..bd1765829030
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Pools_Delete.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Pools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Pools_Get.json
new file mode 100644
index 000000000000..c26585af3965
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Pools_Get.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104,
+ "qosType": "Manual",
+ "totalThroughputMibps": 281.474,
+ "utilizedThroughputMibps": 100.47
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Pools_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Pools_List.json
new file mode 100644
index 000000000000..5a2c06eacfbf
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Pools_List.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104,
+ "qosType": "Auto",
+ "totalThroughputMibps": 281.474
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Pools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Pools_Update.json
new file mode 100644
index 000000000000..1d87c459702d
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Pools_Update.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2023-07-01",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104,
+ "qosType": "Manual",
+ "totalThroughputMibps": 281.474,
+ "utilizedThroughputMibps": 100.47
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/QuotaLimits_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/QuotaLimits_Get.json
new file mode 100644
index 000000000000..4dea6a25cf5f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/QuotaLimits_Get.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "quotaLimitName": "totalCoolAccessVolumesPerSubscription",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalCoolAccessVolumesPerSubscription",
+ "name": "eastus/totalCoolAccessVolumesPerSubscription",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 10,
+ "default": 10
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/QuotaLimits_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/QuotaLimits_List.json
new file mode 100644
index 000000000000..8e7cfaa45f1a
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/QuotaLimits_List.json
@@ -0,0 +1,87 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/accountsPerSubscription",
+ "name": "eastus/accountsPerSubscription",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 10,
+ "default": 10
+ }
+ },
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/poolsPerAccount",
+ "name": "eastus/poolsPerAccount",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 25,
+ "default": 25
+ }
+ },
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/volumesPerPool",
+ "name": "eastus/volumesPerPool",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 500,
+ "default": 500
+ }
+ },
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/snapshotsPerVolume",
+ "name": "eastus/snapshotsPerVolume",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 255,
+ "default": 255
+ }
+ },
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalTiBsPerSubscription",
+ "name": "eastus/totalTiBsPerSubscription",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 1000,
+ "default": 25
+ }
+ },
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalDPVolumesPerSubscription",
+ "name": "eastus/totalDPVolumesPerSubscription",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 10,
+ "default": 10
+ }
+ },
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalVolumesPerSubscription",
+ "name": "eastus/totalVolumesPerSubscription",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 500,
+ "default": 500
+ }
+ },
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalCoolAccessVolumesPerSubscription",
+ "name": "eastus/totalCoolAccessVolumesPerSubscription",
+ "type": "Microsoft.NetApp/locations/quotaLimits",
+ "properties": {
+ "current": 10,
+ "default": 10
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/RegionInfo.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/RegionInfo.json
new file mode 100644
index 000000000000..d7506914d815
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/RegionInfo.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "storageToNetworkProximity": "T2",
+ "availabilityZoneMappings": [
+ {
+ "availabilityZone": "1",
+ "isAvailable": true
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_Create.json
new file mode 100644
index 000000000000..713341d0d416
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_Create.json
@@ -0,0 +1,104 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "snapshotPolicyName": "snapshotPolicyName",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "enabled": true,
+ "hourlySchedule": {
+ "snapshotsToKeep": 2,
+ "minute": 50
+ },
+ "dailySchedule": {
+ "snapshotsToKeep": 4,
+ "hour": 14,
+ "minute": 30
+ },
+ "weeklySchedule": {
+ "snapshotsToKeep": 3,
+ "day": "Wednesday",
+ "hour": 14,
+ "minute": 45
+ },
+ "monthlySchedule": {
+ "snapshotsToKeep": 5,
+ "daysOfMonth": "10,11,12",
+ "hour": 14,
+ "minute": 15
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "eastus",
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1",
+ "name": "account1/snapshotPolicy1",
+ "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies",
+ "properties": {
+ "enabled": true,
+ "hourlySchedule": {
+ "snapshotsToKeep": 2,
+ "minute": 50
+ },
+ "dailySchedule": {
+ "snapshotsToKeep": 4,
+ "hour": 14,
+ "minute": 30
+ },
+ "weeklySchedule": {
+ "snapshotsToKeep": 3,
+ "day": "Wednesday",
+ "hour": 14,
+ "minute": 45
+ },
+ "monthlySchedule": {
+ "snapshotsToKeep": 5,
+ "daysOfMonth": "10,11,12",
+ "hour": 14,
+ "minute": 15
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "location": "eastus",
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1",
+ "name": "account1/snapshotPolicy1",
+ "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies",
+ "properties": {
+ "enabled": true,
+ "hourlySchedule": {
+ "snapshotsToKeep": 2,
+ "minute": 50
+ },
+ "dailySchedule": {
+ "snapshotsToKeep": 4,
+ "hour": 14,
+ "minute": 30
+ },
+ "weeklySchedule": {
+ "snapshotsToKeep": 3,
+ "day": "Wednesday",
+ "hour": 14,
+ "minute": 45
+ },
+ "monthlySchedule": {
+ "snapshotsToKeep": 5,
+ "daysOfMonth": "10,11,12",
+ "hour": 14,
+ "minute": 15
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_Delete.json
new file mode 100644
index 000000000000..d48e36c2b340
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_Delete.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "snapshotPolicyName": "snapshotPolicyName",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ },
+ "200": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_Get.json
new file mode 100644
index 000000000000..f9ad6b86cb75
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_Get.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "snapshotPolicyName": "snapshotPolicyName",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1",
+ "name": "account1/snapshotPolicy1",
+ "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies",
+ "location": "eastus",
+ "properties": {
+ "enabled": true,
+ "hourlySchedule": {
+ "snapshotsToKeep": 2,
+ "minute": 50
+ },
+ "dailySchedule": {
+ "snapshotsToKeep": 4,
+ "hour": 14,
+ "minute": 30
+ },
+ "weeklySchedule": {
+ "snapshotsToKeep": 3,
+ "day": "Wednesday",
+ "hour": 14,
+ "minute": 45
+ },
+ "monthlySchedule": {
+ "snapshotsToKeep": 5,
+ "daysOfMonth": "10,11,12",
+ "hour": 14,
+ "minute": 15
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_List.json
new file mode 100644
index 000000000000..c6bd605cb96f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_List.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1",
+ "name": "account1/snapshotPolicy1",
+ "location": "eastus",
+ "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies",
+ "properties": {
+ "enabled": true,
+ "hourlySchedule": {
+ "snapshotsToKeep": 2,
+ "minute": 50
+ },
+ "dailySchedule": {
+ "snapshotsToKeep": 4,
+ "hour": 14,
+ "minute": 30
+ },
+ "weeklySchedule": {
+ "snapshotsToKeep": 3,
+ "day": "Wednesday",
+ "hour": 14,
+ "minute": 45
+ },
+ "monthlySchedule": {
+ "snapshotsToKeep": 5,
+ "daysOfMonth": "10,11,12",
+ "hour": 14,
+ "minute": 15
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_ListVolumes.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_ListVolumes.json
new file mode 100644
index 000000000000..7aeea61732a1
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_ListVolumes.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "snapshotPolicyName": "snapshotPolicyName",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "name": "account1/pool1/volume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "throughputMibps": 128,
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_Update.json
new file mode 100644
index 000000000000..aa78c7aed1b0
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/SnapshotPolicies_Update.json
@@ -0,0 +1,107 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "snapshotPolicyName": "snapshotPolicyName",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "enabled": true,
+ "hourlySchedule": {
+ "snapshotsToKeep": 2,
+ "minute": 50
+ },
+ "dailySchedule": {
+ "snapshotsToKeep": 4,
+ "hour": 14,
+ "minute": 30
+ },
+ "weeklySchedule": {
+ "snapshotsToKeep": 3,
+ "day": "Wednesday",
+ "hour": 14,
+ "minute": 45
+ },
+ "monthlySchedule": {
+ "snapshotsToKeep": 5,
+ "daysOfMonth": "10,11,12",
+ "hour": 14,
+ "minute": 15
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1",
+ "name": "account1/snapshotPolicy1",
+ "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies",
+ "location": "eastus",
+ "properties": {
+ "enabled": true,
+ "hourlySchedule": {
+ "snapshotsToKeep": 2,
+ "minute": 50
+ },
+ "dailySchedule": {
+ "snapshotsToKeep": 4,
+ "hour": 14,
+ "minute": 30
+ },
+ "weeklySchedule": {
+ "snapshotsToKeep": 3,
+ "day": "Wednesday",
+ "hour": 14,
+ "minute": 45
+ },
+ "monthlySchedule": {
+ "snapshotsToKeep": 5,
+ "daysOfMonth": "10,11,12",
+ "hour": 14,
+ "minute": 15
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2022-09-01&operationResultResponseType=Location"
+ },
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1",
+ "name": "account1/snapshotPolicy1",
+ "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies",
+ "location": "eastus",
+ "properties": {
+ "enabled": true,
+ "hourlySchedule": {
+ "snapshotsToKeep": 2,
+ "minute": 50
+ },
+ "dailySchedule": {
+ "snapshotsToKeep": 4,
+ "hour": 14,
+ "minute": 30
+ },
+ "weeklySchedule": {
+ "snapshotsToKeep": 3,
+ "day": "Wednesday",
+ "hour": 14,
+ "minute": 45
+ },
+ "monthlySchedule": {
+ "snapshotsToKeep": 5,
+ "daysOfMonth": "10,11,12",
+ "hour": 14,
+ "minute": 15
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_Create.json
new file mode 100644
index 000000000000..be9899c729b9
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_Create.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2023-07-01",
+ "location": "eastus",
+ "body": {
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1",
+ "name": "account1/pool1/volume1/snapshot1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "created": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_Delete.json
new file mode 100644
index 000000000000..318588b18afd
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_Delete.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ },
+ "200": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_Get.json
new file mode 100644
index 000000000000..c312be7f2170
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_Get.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1",
+ "name": "account1/pool1/volume1/snapshot1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "created": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_List.json
new file mode 100644
index 000000000000..b42307b72e6c
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_List.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1",
+ "name": "account1/pool1/volume1/snapshot1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "created": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_SingleFileRestore.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_SingleFileRestore.json
new file mode 100644
index 000000000000..44ddf900b385
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_SingleFileRestore.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2023-07-01",
+ "body": {
+ "filePaths": [
+ "/dir1/customer1.db",
+ "/dir1/customer2.db"
+ ]
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_Update.json
new file mode 100644
index 000000000000..d68f88c84258
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Snapshots_Update.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2023-07-01",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1",
+ "name": "account1/pool1/volume1/snapshot1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "created": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_Create.json
new file mode 100644
index 000000000000..c88b46719869
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_Create.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "subvolumeName": "subvolume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "properties": {
+ "path": "/subvolumePath"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1",
+ "name": "account1/pool1/volume1/subvolume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes",
+ "properties": {
+ "path": "/subvolumePath",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1",
+ "name": "account1/pool1/volume1/subvolume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes",
+ "properties": {
+ "path": "/subvolumePath",
+ "provisioningState": "Creating"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_Delete.json
new file mode 100644
index 000000000000..69a2abda19a4
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_Delete.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "subvolumeName": "subvolume1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ },
+ "200": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_Get.json
new file mode 100644
index 000000000000..2df6a6526897
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_Get.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "subvolumeName": "subvolume1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1",
+ "name": "account1/pool1/volume1/subvolume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes",
+ "properties": {
+ "path": "/pathToSubvol"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_List.json
new file mode 100644
index 000000000000..455f8359b591
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_List.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "subvolumeName": "subvolume1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1",
+ "name": "account1/pool1/volume1/subvolume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes",
+ "properties": {
+ "path": "/pathToSubvol"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_Metadata.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_Metadata.json
new file mode 100644
index 000000000000..77c6f8211e86
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_Metadata.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "subvolumeName": "subvolume1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1/metadata",
+ "name": "account1/pool1/volume1/subvolume1/metadata",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/metadata",
+ "properties": {
+ "path": "/pathToSubvol",
+ "size": 5,
+ "bytesUsed": 5,
+ "permissions": "777",
+ "creationTimeStamp": "2017-08-15T13:23:33Z",
+ "accessedTimeStamp": "2017-08-15T13:23:33Z",
+ "modifiedTimeStamp": "2017-08-15T13:23:33Z",
+ "changedTimeStamp": "2017-08-15T13:23:33Z"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_Update.json
new file mode 100644
index 000000000000..835ea88f7057
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Subvolumes_Update.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "subvolumeName": "subvolume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "properties": {
+ "path": "/subvolumePath"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1",
+ "name": "account1/pool1/volume1/subvolume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolume1",
+ "properties": {
+ "path": "/subvolumePath"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_Create_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_Create_Oracle.json
new file mode 100644
index 000000000000..6cfe75942bf5
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_Create_Oracle.json
@@ -0,0 +1,965 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "volumeGroupName": "group1",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "westus",
+ "properties": {
+ "groupMetaData": {
+ "groupDescription": "Volume group",
+ "applicationType": "ORACLE",
+ "applicationIdentifier": "OR2"
+ },
+ "volumes": [
+ {
+ "name": "test-ora-data1",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-data1",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-data1",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-data2",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-data2",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-data2",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-data3",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-data3",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-data3",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-data4",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-data4",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-data4",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-data5",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-data5",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-data5",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-data6",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-data6",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-data6",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-data7",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-data7",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-data7",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-data8",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-data8",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-data8",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-log",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-log",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-log",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-log-mirror",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-log-mirror",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-log-mirror",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-binary",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-binary",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-binary",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-ora-backup",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "creationToken": "test-ora-backup",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "ora-backup",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1",
+ "name": "group1",
+ "type": "Microsoft.NetApp/netAppAccounts/volumeGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Creating",
+ "groupMetaData": {
+ "groupDescription": "Volume group",
+ "applicationType": "ORACLE",
+ "applicationIdentifier": "OR2"
+ },
+ "volumes": [
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-data1",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data1",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data1",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data2",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-data2",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data2",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data2",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data3",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-data3",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data3",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data3",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data4",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-data4",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data4",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data4",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data5",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-data5",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data5",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data5",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data6",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-data6",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data6",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data6",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data7",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-data7",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data7",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data7",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data8",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-data8",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data8",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data8",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-log",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-log",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-log",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log-mirror",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-log-mirror",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-log-mirror",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-log-mirror",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-binary",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-binary",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-binary",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-binary",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-backup",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-ora-backup",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-backup",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-backup",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_Create_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_Create_SapHana.json
new file mode 100644
index 000000000000..bda14e9dd9a2
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_Create_SapHana.json
@@ -0,0 +1,406 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "volumeGroupName": "group1",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "westus",
+ "properties": {
+ "groupMetaData": {
+ "groupDescription": "Volume group",
+ "applicationType": "SAP-HANA",
+ "applicationIdentifier": "SH9"
+ },
+ "volumes": [
+ {
+ "name": "test-data-mnt00001",
+ "properties": {
+ "creationToken": "test-data-mnt00001",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "data",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-log-mnt00001",
+ "properties": {
+ "creationToken": "test-log-mnt00001",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "log",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-shared",
+ "properties": {
+ "creationToken": "test-shared",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "shared",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-data-backup",
+ "properties": {
+ "creationToken": "test-data-backup",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "data-backup",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "name": "test-log-backup",
+ "properties": {
+ "creationToken": "test-log-backup",
+ "serviceLevel": "Premium",
+ "throughputMibps": 10,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400,
+ "volumeSpecName": "log-backup",
+ "capacityPoolResourceId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1",
+ "name": "group1",
+ "type": "Microsoft.NetApp/netAppAccounts/volumeGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Creating",
+ "groupMetaData": {
+ "groupDescription": "Volume group",
+ "applicationType": "SAP-HANA",
+ "applicationIdentifier": "SH9"
+ },
+ "volumes": [
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-mnt00001",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-data-mnt00001",
+ "properties": {
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "data",
+ "serviceLevel": "Premium",
+ "creationToken": "test-data-mnt00001",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-mnt00001",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-log-mnt00001",
+ "properties": {
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "log",
+ "serviceLevel": "Premium",
+ "creationToken": "test-log-mnt00001",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-shared",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-shared",
+ "properties": {
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "shared",
+ "serviceLevel": "Premium",
+ "creationToken": "test-shared",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-backup",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-data-backup",
+ "properties": {
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "data-backup",
+ "serviceLevel": "Premium",
+ "creationToken": "test-data-backup",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-backup",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "test-log-backup",
+ "properties": {
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "log-backup",
+ "serviceLevel": "Premium",
+ "creationToken": "test-log-backup",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_Delete.json
new file mode 100644
index 000000000000..57d4289a65f5
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_Delete.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "volumeGroupName": "group1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ },
+ "200": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_Get_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_Get_Oracle.json
new file mode 100644
index 000000000000..46ea6ccaa2a1
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_Get_Oracle.json
@@ -0,0 +1,510 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "volumeGroupName": "group1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1",
+ "name": "group1",
+ "type": "Microsoft.NetApp/netAppAccounts/volumeGroups",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "groupMetaData": {
+ "groupDescription": "Volume group",
+ "applicationType": "ORACLE",
+ "applicationIdentifier": "OR2",
+ "volumesCount": 12
+ },
+ "volumes": [
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-data1",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data1",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data1",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data2",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-data2",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data2",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data2",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data3",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-data3",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data3",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data3",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data4",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-data4",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data4",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data4",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data5",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-data5",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data5",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data5",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data6",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-data6",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data6",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data6",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data7",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-data7",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data7",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data7",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data8",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-data8",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-data8",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-data8",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-log",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-log",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-log",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log-mirror",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-log-mirror",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-log-mirror",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-log-mirror",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-binary",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-binary",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-binary",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-binary",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-backup",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-ora-backup",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "volumeSpecName": "ora-backup",
+ "serviceLevel": "Premium",
+ "creationToken": "test-ora-backup",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_Get_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_Get_SapHana.json
new file mode 100644
index 000000000000..50aba876e400
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_Get_SapHana.json
@@ -0,0 +1,220 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "volumeGroupName": "group1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1",
+ "name": "group1",
+ "type": "Microsoft.NetApp/netAppAccounts/volumeGroups",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "groupMetaData": {
+ "groupDescription": "Volume group",
+ "applicationType": "SAP-HANA",
+ "applicationIdentifier": "SH9",
+ "volumesCount": 5
+ },
+ "volumes": [
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-mnt00001",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-data-mnt00001",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "data",
+ "serviceLevel": "Premium",
+ "creationToken": "test-data-mnt00001",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-mnt00001",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-log-mnt00001",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "log",
+ "serviceLevel": "Premium",
+ "creationToken": "test-log-mnt00001",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-shared",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-shared",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "shared",
+ "serviceLevel": "Premium",
+ "creationToken": "test-shared",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-backup",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-data-backup",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "data-backup",
+ "serviceLevel": "Premium",
+ "creationToken": "test-data-backup",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-backup",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "name": "account1/pool1/test-log-backup",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "throughputMibps": 10.0,
+ "proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
+ "volumeSpecName": "log-backup",
+ "serviceLevel": "Premium",
+ "creationToken": "test-log-backup",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "exportPolicy": {
+ "rules": [
+ {
+ "ruleIndex": 1,
+ "unixReadOnly": true,
+ "unixReadWrite": true,
+ "kerberos5ReadOnly": false,
+ "kerberos5ReadWrite": false,
+ "kerberos5iReadOnly": false,
+ "kerberos5iReadWrite": false,
+ "kerberos5pReadOnly": false,
+ "kerberos5pReadWrite": false,
+ "cifs": false,
+ "nfsv3": false,
+ "nfsv41": true,
+ "allowedClients": "0.0.0.0/0",
+ "hasRootAccess": true
+ }
+ ]
+ },
+ "protocolTypes": [
+ "NFSv4.1"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_List_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_List_Oracle.json
new file mode 100644
index 000000000000..9e0cbcde4a59
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_List_Oracle.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1",
+ "name": "group1",
+ "type": "Microsoft.NetApp/netAppAccounts/volumeGroups",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "groupMetaData": {
+ "groupDescription": "Volume group",
+ "applicationType": "ORACLE",
+ "applicationIdentifier": "DEV",
+ "volumesCount": 12
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_List_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_List_SapHana.json
new file mode 100644
index 000000000000..a1f18a22c660
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeGroups_List_SapHana.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1",
+ "name": "group1",
+ "type": "Microsoft.NetApp/netAppAccounts/volumeGroups",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "groupMetaData": {
+ "groupDescription": "Volume group",
+ "applicationType": "SAP-HANA",
+ "applicationIdentifier": "SH9",
+ "volumesCount": 5
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeQuotaRules_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeQuotaRules_Create.json
new file mode 100644
index 000000000000..970897a290f2
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeQuotaRules_Create.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9",
+ "resourceGroupName": "myRG",
+ "accountName": "account-9957",
+ "poolName": "pool-5210",
+ "volumeName": "volume-6387",
+ "volumeQuotaRuleName": "rule-0004",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "westus",
+ "properties": {
+ "quotaTarget": "1821",
+ "quotaSizeInKiBs": 100005,
+ "quotaType": "IndividualUserQuota"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ },
+ "body": {
+ "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004",
+ "name": "account-9957/pool-5210/volume-6387/rule-0004",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules",
+ "location": "westus",
+ "properties": {
+ "quotaTarget": "1821",
+ "quotaSizeInKiBs": 100005,
+ "quotaType": "IndividualUserQuota",
+ "provisioningState": "Creating"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004",
+ "name": "account-9957/pool-5210/volume-6387/rule-0004",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules",
+ "location": "westus",
+ "properties": {
+ "quotaTarget": "1821",
+ "quotaSizeInKiBs": 100005,
+ "quotaType": "IndividualUserQuota",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeQuotaRules_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeQuotaRules_Delete.json
new file mode 100644
index 000000000000..4cafb09671d5
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeQuotaRules_Delete.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9",
+ "resourceGroupName": "myRG",
+ "accountName": "account-9957",
+ "poolName": "pool-5210",
+ "volumeName": "volume-6387",
+ "volumeQuotaRuleName": "rule-0004",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeQuotaRules_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeQuotaRules_Get.json
new file mode 100644
index 000000000000..430b58c037cc
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeQuotaRules_Get.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9",
+ "resourceGroupName": "myRG",
+ "accountName": "account-9957",
+ "poolName": "pool-5210",
+ "volumeName": "volume-6387",
+ "volumeQuotaRuleName": "rule-0004",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004",
+ "name": "account-9957/pool-5210/volume-6387/rule-0004",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules",
+ "location": "westus",
+ "properties": {
+ "quotaTarget": "1821",
+ "quotaSizeInKiBs": 100005,
+ "quotaType": "IndividualUserQuota",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeQuotaRules_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeQuotaRules_List.json
new file mode 100644
index 000000000000..09b559f880e8
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeQuotaRules_List.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9",
+ "resourceGroupName": "myRG",
+ "accountName": "account-9957",
+ "poolName": "pool-5210",
+ "volumeName": "volume-6387",
+ "volumeQuotaRuleName": "rule-0004",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004",
+ "name": "account-9957/pool-5210/volume-6387/rule-0004",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules",
+ "location": "westus",
+ "properties": {
+ "quotaTarget": "1821",
+ "quotaSizeInKiBs": 100005,
+ "quotaType": "IndividualUserQuota",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeQuotaRules_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeQuotaRules_Update.json
new file mode 100644
index 000000000000..a7a7961f95a9
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/VolumeQuotaRules_Update.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9",
+ "resourceGroupName": "myRG",
+ "accountName": "account-9957",
+ "poolName": "pool-5210",
+ "volumeName": "volume-6387",
+ "volumeQuotaRuleName": "rule-0004",
+ "api-version": "2023-07-01",
+ "body": {
+ "properties": {
+ "quotaSizeInKiBs": 100009
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004",
+ "name": "account-9957/pool-5210/volume-6387/rule-0004",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Patching",
+ "quotaTarget": "1821",
+ "quotaSizeInKiBs": 100005,
+ "quotaType": "IndividualUserQuota"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_AuthorizeReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_AuthorizeReplication.json
new file mode 100644
index 000000000000..9a528e854a68
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_AuthorizeReplication.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "remoteVolumeResourceId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRemoteRG/providers/Microsoft.NetApp/netAppAccounts/remoteAccount1/capacityPools/remotePool1/volumes/remoteVolume1"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_BreakFileLocks.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_BreakFileLocks.json
new file mode 100644
index 000000000000..1f8faac6d153
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_BreakFileLocks.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "clientIp": "101.102.103.104",
+ "confirmRunningDisruptiveOperation": true
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_BreakReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_BreakReplication.json
new file mode 100644
index 000000000000..06f369a6cd9f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_BreakReplication.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "forceBreakReplication": false
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_CreateOrUpdate.json
new file mode 100644
index 000000000000..936bf4f57640
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_CreateOrUpdate.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "creationToken": "my-unique-file-path",
+ "serviceLevel": "Premium",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "location": "eastus",
+ "name": "account1/pool1/volume1",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "throughputMibps": 128,
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "encryptionKeySource": "Microsoft.NetApp"
+ },
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "location": "eastus",
+ "name": "account1/pool1/volume1",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "throughputMibps": 128,
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "encryptionKeySource": "Microsoft.NetApp"
+ },
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_Delete.json
new file mode 100644
index 000000000000..8a8fb010f268
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_Delete.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "204": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_DeleteReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_DeleteReplication.json
new file mode 100644
index 000000000000..964ce31bcb4f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_DeleteReplication.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_FinalizeRelocation.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_FinalizeRelocation.json
new file mode 100644
index 000000000000..964ce31bcb4f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_FinalizeRelocation.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_Get.json
new file mode 100644
index 000000000000..6899ce630b80
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_Get.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "name": "account1/pool1/volume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "throughputMibps": 128,
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "networkFeatures": "Standard",
+ "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4",
+ "storageToNetworkProximity": "T2"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_List.json
new file mode 100644
index 000000000000..5ef1b6567282
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_List.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "name": "account1/pool1/volume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "throughputMibps": 128,
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "networkFeatures": "Standard",
+ "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4",
+ "storageToNetworkProximity": "T2"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ListReplications.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ListReplications.json
new file mode 100644
index 000000000000..684d2456177f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ListReplications.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "replicationSchedule": "daily",
+ "remoteVolumeResourceId": "/subscriptions/36e85c76-e720-473e-881f-e2fe72f462d0/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-5999/capacityPools/pool-0977/volumes/volume-4508",
+ "remoteVolumeRegion": "westus"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_PoolChange.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_PoolChange.json
new file mode 100644
index 000000000000..3599168fc3b1
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_PoolChange.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "newPoolResourceId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_PopulateAvailabilityZones.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_PopulateAvailabilityZones.json
new file mode 100644
index 000000000000..9dd21b50a26e
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_PopulateAvailabilityZones.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "name": "account1/pool1/volume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "throughputMibps": 128,
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "networkFeatures": "Standard",
+ "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4",
+ "storageToNetworkProximity": "T2"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ReInitializeReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ReInitializeReplication.json
new file mode 100644
index 000000000000..964ce31bcb4f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ReInitializeReplication.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ReestablishReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ReestablishReplication.json
new file mode 100644
index 000000000000..b829ee5efd41
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ReestablishReplication.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "sourceVolumeId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/mySourceRG/providers/Microsoft.NetApp/netAppAccounts/sourceAccount1/capacityPools/sourcePool1/volumes/sourceVolume1"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_Relocate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_Relocate.json
new file mode 100644
index 000000000000..1a831b097acf
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_Relocate.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {}
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ReplicationStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ReplicationStatus.json
new file mode 100644
index 000000000000..340d054d94c8
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ReplicationStatus.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "healthy": true,
+ "relationshipStatus": "Idle",
+ "mirrorState": "Mirrored",
+ "totalProgress": "1048576",
+ "errorMessage": ""
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ResetCifsPassword.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ResetCifsPassword.json
new file mode 100644
index 000000000000..964ce31bcb4f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ResetCifsPassword.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_RestoreStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_RestoreStatus.json
new file mode 100644
index 000000000000..4afa54f4596d
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_RestoreStatus.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "healthy": true,
+ "relationshipStatus": "Idle",
+ "mirrorState": "Uninitialized",
+ "unhealthyReason": "",
+ "errorMessage": "",
+ "totalTransferBytes": 100000
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ResyncReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ResyncReplication.json
new file mode 100644
index 000000000000..964ce31bcb4f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_ResyncReplication.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_Revert.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_Revert.json
new file mode 100644
index 000000000000..7fc8e72831b2
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_Revert.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "snapshotId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_RevertRelocation.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_RevertRelocation.json
new file mode 100644
index 000000000000..964ce31bcb4f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_RevertRelocation.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_Update.json
new file mode 100644
index 000000000000..ecf9e1d84f49
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/examples/Volumes_Update.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2023-07-01",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "name": "account1/pool1/volume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "throughputMibps": 128,
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "networkFeatures": "Standard",
+ "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4",
+ "storageToNetworkProximity": "T2",
+ "dataProtection": {
+ "snapshot": {
+ "snapshotPolicyId": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1"
+ }
+ }
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2021-10-01&operationResultResponseType=Location"
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/netapp.json
new file mode 100644
index 000000000000..5f8bb2baa3cf
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2023-07-01/netapp.json
@@ -0,0 +1,8024 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Microsoft NetApp",
+ "description": "Microsoft NetApp Azure Resource Provider specification",
+ "version": "2023-07-01",
+ "x-ms-code-generation-settings": {
+ "name": "AzureNetAppFilesManagementClient"
+ }
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "schemes": [
+ "https"
+ ],
+ "host": "management.azure.com",
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.NetApp/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "summary": "Describes the Resource Provider",
+ "description": "Lists all of the available Microsoft.NetApp Rest API operations",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "OperationList": {
+ "$ref": "examples/OperationList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability": {
+ "post": {
+ "tags": [
+ "NetApp Resource"
+ ],
+ "summary": "Check resource name availability",
+ "description": "Check if a resource name is available.",
+ "operationId": "NetAppResource_CheckNameAvailability",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Name availability request.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ResourceNameAvailabilityRequest"
+ },
+ "x-ms-client-flatten": true
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CheckAvailabilityResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CheckNameAvailability": {
+ "$ref": "examples/CheckNameAvailability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability": {
+ "post": {
+ "tags": [
+ "NetApp Resource"
+ ],
+ "summary": "Check file path availability",
+ "description": "Check if a file path is available.",
+ "operationId": "NetAppResource_CheckFilePathAvailability",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "description": "File path availability request.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/FilePathAvailabilityRequest"
+ },
+ "x-ms-client-flatten": true
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CheckAvailabilityResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CheckFilePathAvailability": {
+ "$ref": "examples/CheckFilePathAvailability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkQuotaAvailability": {
+ "post": {
+ "tags": [
+ "NetApp Resource"
+ ],
+ "summary": "Check quota availability",
+ "description": "Check if a quota is available.",
+ "operationId": "NetAppResource_CheckQuotaAvailability",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Quota availability request.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/QuotaAvailabilityRequest"
+ },
+ "x-ms-client-flatten": true
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CheckAvailabilityResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CheckQuotaAvailability": {
+ "$ref": "examples/CheckQuotaAvailability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits": {
+ "get": {
+ "tags": [
+ "NetApp Resource"
+ ],
+ "summary": "Get quota limits",
+ "description": "Get the default and current limits for quotas",
+ "operationId": "NetAppResourceQuotaLimits_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SubscriptionQuotaItemList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "QuotaLimits": {
+ "$ref": "examples/QuotaLimits_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits/{quotaLimitName}": {
+ "get": {
+ "tags": [
+ "NetApp Resource"
+ ],
+ "summary": "Get quota limits",
+ "description": "Get the default and current subscription quota limit",
+ "operationId": "NetAppResourceQuotaLimits_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "#/parameters/QuotaLimitName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SubscriptionQuotaItem"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "QuotaLimits": {
+ "$ref": "examples/QuotaLimits_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfo": {
+ "get": {
+ "summary": "Describes region specific information.",
+ "description": "Provides storage to network proximity and logical zone mapping information.",
+ "tags": [
+ "NetApp Resource"
+ ],
+ "operationId": "NetAppResource_QueryRegionInfo",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/regionInfo"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "RegionInfo_Query": {
+ "$ref": "examples/RegionInfo.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/queryNetworkSiblingSet": {
+ "post": {
+ "tags": [
+ "NetApp Resource"
+ ],
+ "summary": "Describe a network sibling set",
+ "description": "Get details of the specified network sibling set.",
+ "operationId": "NetAppResource_QueryNetworkSiblingSet",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Network sibling set to query.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/QueryNetworkSiblingSetRequest"
+ },
+ "x-ms-client-flatten": true
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/networkSiblingSet"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NetworkSiblingSet_Query": {
+ "$ref": "examples/NetworkSiblingSet_Query.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/updateNetworkSiblingSet": {
+ "post": {
+ "tags": [
+ "NetApp Resource"
+ ],
+ "summary": "Update the network features of a network sibling set",
+ "description": "Update the network features of the specified network sibling set.",
+ "operationId": "NetAppResource_UpdateNetworkSiblingSet",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Update for the specified network sibling set.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/UpdateNetworkSiblingSetRequest"
+ },
+ "x-ms-client-flatten": true
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/networkSiblingSet"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Update request accepted; operation will complete asynchronously",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "NetworkFeatures_Update": {
+ "$ref": "examples/NetworkSiblingSet_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts": {
+ "get": {
+ "summary": "Describe all NetApp Accounts in a subscription",
+ "description": "List and describe all NetApp accounts in the subscription.",
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_ListBySubscription",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/netAppAccountList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_List": {
+ "$ref": "examples/Accounts_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts": {
+ "get": {
+ "summary": "Describe all NetApp Accounts in a resource group",
+ "description": "List and describe all NetApp accounts in the resource group.",
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/netAppAccountList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_List": {
+ "$ref": "examples/Accounts_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}": {
+ "get": {
+ "summary": "Describe a NetApp Account",
+ "description": "Get the NetApp account",
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_Get": {
+ "$ref": "examples/Accounts_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_CreateOrUpdate",
+ "summary": "Create or update a NetApp account",
+ "description": "Create or update the specified NetApp account within the resource group",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "NetApp Account object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - account updated",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "201": {
+ "description": "Account created",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Accounts_CreateOrUpdate": {
+ "$ref": "examples/Accounts_CreateOrUpdate.json"
+ },
+ "Accounts_CreateOrUpdateWithActiveDirectory": {
+ "$ref": "examples/Accounts_CreateOrUpdateAD.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_Delete",
+ "summary": "Delete a NetApp account",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "description": "Delete the specified NetApp account",
+ "responses": {
+ "202": {
+ "description": "Accepted -- Delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Accounts_Delete": {
+ "$ref": "examples/Accounts_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_Update",
+ "summary": "Update a NetApp account",
+ "description": "Patch the specified NetApp account",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "NetApp Account object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/netAppAccountPatch"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - account updated",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Accounts_Update": {
+ "$ref": "examples/Accounts_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/renewCredentials": {
+ "post": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_RenewCredentials",
+ "summary": "Renew identity credentials",
+ "description": "Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If encryption.identity.principalId does not match identity.principalId, running this operation will fix it.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Accounts_RenewCredentials": {
+ "$ref": "examples/Accounts_RenewCredentials.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools": {
+ "get": {
+ "summary": "Describe all Capacity Pools",
+ "description": "List all capacity pools in the NetApp Account",
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/capacityPoolList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Pools_List": {
+ "$ref": "examples/Pools_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}": {
+ "get": {
+ "summary": "Describe a Capacity Pool",
+ "description": "Get details of the specified capacity pool",
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Pools_Get": {
+ "$ref": "examples/Pools_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_CreateOrUpdate",
+ "summary": "Create or Update the specified capacity pool within the resource group",
+ "description": "Create or Update a capacity pool",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Capacity pool object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - pool updated",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "201": {
+ "description": "Pool created",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Pools_CreateOrUpdate": {
+ "$ref": "examples/Pools_CreateOrUpdate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_Update",
+ "summary": "Update a capacity pool",
+ "description": "Patch the specified capacity pool",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Capacity pool object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/capacityPoolPatch"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Update request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Pools_Update": {
+ "$ref": "examples/Pools_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_Delete",
+ "summary": "Delete a capacity pool",
+ "description": "Delete the specified capacity pool",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted -- Delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Pools_Delete": {
+ "$ref": "examples/Pools_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes": {
+ "get": {
+ "summary": "Describe all volumes",
+ "description": "List all volumes within the capacity pool",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_List",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volumeList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_List": {
+ "$ref": "examples/Volumes_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": {
+ "get": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_Get",
+ "summary": "Describe a volume",
+ "description": "Get the details of the specified volume",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_Get": {
+ "$ref": "examples/Volumes_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_CreateOrUpdate",
+ "summary": "Create or Update a volume",
+ "description": "Create or update the specified volume within the capacity pool",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Volume object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Ok - volume updated",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "201": {
+ "description": "Volume created",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Volumes_CreateOrUpdate": {
+ "$ref": "examples/Volumes_CreateOrUpdate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_Update",
+ "summary": "Update a volume",
+ "description": "Patch the specified volume",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Volume object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volumePatch"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create or update request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_Update": {
+ "$ref": "examples/Volumes_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_Delete",
+ "summary": "Delete a volume",
+ "description": "Delete the specified volume",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "in": "query",
+ "name": "forceDelete",
+ "type": "boolean",
+ "description": "An option to force delete the volume. Will cleanup resources connected to the particular volume",
+ "required": false
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted -- Delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_Delete": {
+ "$ref": "examples/Volumes_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/populateAvailabilityZone": {
+ "post": {
+ "tags": [
+ "Volumes"
+ ],
+ "summary": "Populate Availability Zone",
+ "description": "This operation will populate availability zone information for a volume",
+ "operationId": "Volumes_PopulateAvailabilityZone",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "202": {
+ "description": "Accepted -- populate availability zone accepted; operation will complete asynchronously",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_PopulateAvailabilityZones": {
+ "$ref": "examples/Volumes_PopulateAvailabilityZones.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/revert": {
+ "post": {
+ "tags": [
+ "Volumes Revert"
+ ],
+ "summary": "Revert a volume to one of its snapshots",
+ "description": "Revert a volume to the snapshot specified in the body",
+ "operationId": "Volumes_Revert",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Object for snapshot to revert supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volumeRevert"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_Revert": {
+ "$ref": "examples/Volumes_Revert.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/resetCifsPassword": {
+ "post": {
+ "tags": [
+ "Reset Cifs Password"
+ ],
+ "summary": "Reset cifs password",
+ "description": "Reset cifs password from volume",
+ "operationId": "Volumes_ResetCifsPassword",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Volumes_ResetCifsPassword": {
+ "$ref": "examples/Volumes_ResetCifsPassword.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/breakFileLocks": {
+ "post": {
+ "tags": [
+ "File Locks"
+ ],
+ "summary": "Break file locks",
+ "description": "Break all the file locks on a volume",
+ "operationId": "Volumes_BreakFileLocks",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Optional body to provide the ability to clear file locks with selected options",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/breakFileLocksRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_BreakFileLocks": {
+ "$ref": "examples/Volumes_BreakFileLocks.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/getGroupIdListForLdapUser": {
+ "post": {
+ "tags": [
+ "Group Id List for LDAP User"
+ ],
+ "summary": " Get Group Id List for LDAP User",
+ "description": "Returns the list of group Ids for a specific LDAP User",
+ "operationId": "Volumes_ListGetGroupIdListForLdapUser",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Returns group Id list for a specific LDAP user",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/getGroupIdListForLDAPUserRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/getGroupIdListForLDAPUserResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "GetGroupIdListForUser": {
+ "$ref": "examples/GroupIdListForLDAPUser.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/breakReplication": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "Break volume replication",
+ "description": "Break the replication connection on the destination volume",
+ "operationId": "Volumes_BreakReplication",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Optional body to force break the replication.",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/breakReplicationRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_BreakReplication": {
+ "$ref": "examples/Volumes_BreakReplication.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/reestablishReplication": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "Re-establish volume replication",
+ "description": "Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots",
+ "operationId": "Volumes_ReestablishReplication",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "body for the id of the source volume.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/reestablishReplicationRequest"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_ReestablishReplication": {
+ "$ref": "examples/Volumes_ReestablishReplication.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/replicationStatus": {
+ "get": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "Get volume replication status",
+ "description": "Get the status of the replication",
+ "operationId": "Volumes_ReplicationStatus",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/replicationStatus"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_ReplicationStatus": {
+ "$ref": "examples/Volumes_ReplicationStatus.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/listReplications": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "List replications for volume",
+ "description": "List all replications for a specified volume",
+ "operationId": "Volumes_ListReplications",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/listReplications"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_ListReplications": {
+ "$ref": "examples/Volumes_ListReplications.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/resyncReplication": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "Resync volume replication",
+ "description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.",
+ "operationId": "Volumes_ResyncReplication",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_ResyncReplication": {
+ "$ref": "examples/Volumes_ResyncReplication.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/deleteReplication": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "Delete volume replication",
+ "description": "Delete the replication connection on the destination volume, and send release to the source replication",
+ "operationId": "Volumes_DeleteReplication",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_DeleteReplication": {
+ "$ref": "examples/Volumes_DeleteReplication.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeReplication": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "Authorize source volume replication",
+ "description": "Authorize the replication connection on the source volume",
+ "operationId": "Volumes_AuthorizeReplication",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Authorize request object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/authorizeRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_AuthorizeReplication": {
+ "$ref": "examples/Volumes_AuthorizeReplication.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/reinitializeReplication": {
+ "post": {
+ "tags": [
+ "Volumes Replication"
+ ],
+ "summary": "ReInitialize volume replication",
+ "description": "Re-Initializes the replication connection on the destination volume",
+ "operationId": "Volumes_ReInitializeReplication",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_ReInitializeReplication": {
+ "$ref": "examples/Volumes_ReInitializeReplication.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/poolChange": {
+ "post": {
+ "tags": [
+ "Pool Change"
+ ],
+ "summary": "Change pool for volume",
+ "description": "Moves volume to another pool",
+ "operationId": "Volumes_PoolChange",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Move volume to the pool supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/poolChangeRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Volumes_AuthorizeReplication": {
+ "$ref": "examples/Volumes_PoolChange.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/relocate": {
+ "post": {
+ "tags": [
+ "Volumes Relocation"
+ ],
+ "summary": "Relocate volume",
+ "description": "Relocates volume to a new stamp",
+ "operationId": "Volumes_Relocate",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Relocate volume request",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/relocateVolumeRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Volumes_Relocate": {
+ "$ref": "examples/Volumes_Relocate.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/finalizeRelocation": {
+ "post": {
+ "tags": [
+ "Volumes Relocation"
+ ],
+ "summary": "Finalize volume relocation",
+ "description": "Finalizes the relocation of the volume and cleans up the old volume.",
+ "operationId": "Volumes_FinalizeRelocation",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Volumes_FinalizeRelocation": {
+ "$ref": "examples/Volumes_FinalizeRelocation.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/revertRelocation": {
+ "post": {
+ "tags": [
+ "Volumes Relocation"
+ ],
+ "summary": "Revert volume relocation",
+ "description": "Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.",
+ "operationId": "Volumes_RevertRelocation",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Volumes_RevertRelocation": {
+ "$ref": "examples/Volumes_RevertRelocation.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": {
+ "get": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_List",
+ "summary": "Describe all snapshots",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "description": "List all snapshots associated with the volume",
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshotsList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Snapshots_List": {
+ "$ref": "examples/Snapshots_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": {
+ "get": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Get",
+ "summary": "Describe a snapshot",
+ "description": "Get details of the specified snapshot",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Snapshots_Get": {
+ "$ref": "examples/Snapshots_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Create",
+ "summary": "Create a snapshot",
+ "description": "Create the specified snapshot within the given volume",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Snapshot object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Snapshot created",
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Snapshots_Create": {
+ "$ref": "examples/Snapshots_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Update",
+ "summary": "Update a snapshot",
+ "description": "Patch a snapshot",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Snapshot object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/snapshotPatch"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Update request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Snapshots_Update": {
+ "$ref": "examples/Snapshots_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Delete",
+ "summary": "Delete a snapshot",
+ "description": "Delete snapshot",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted -- Delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Snapshots_Delete": {
+ "$ref": "examples/Snapshots_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}/restoreFiles": {
+ "post": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_RestoreFiles",
+ "summary": "Create a new Snapshot Restore Files request",
+ "description": "Restore the specified files from the specified snapshot to the active filesystem",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Restore payload supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/snapshotRestoreFiles"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - terminal state"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Snapshots_SingleFileRestore": {
+ "$ref": "examples/Snapshots_SingleFileRestore.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies": {
+ "get": {
+ "operationId": "SnapshotPolicies_List",
+ "description": "List snapshot policy",
+ "tags": [
+ "Snapshot Policy"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshotPoliciesList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SnapshotPolicies_List": {
+ "$ref": "examples/SnapshotPolicies_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}": {
+ "get": {
+ "operationId": "SnapshotPolicies_Get",
+ "description": "Get a snapshot Policy",
+ "tags": [
+ "Snapshot Policy"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshotPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SnapshotPolicies_Get": {
+ "$ref": "examples/SnapshotPolicies_Get.json"
+ }
+ }
+ },
+ "put": {
+ "operationId": "SnapshotPolicies_Create",
+ "description": "Create a snapshot policy",
+ "tags": [
+ "Snapshot Policy"
+ ],
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Snapshot policy object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/snapshotPolicy"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - snapshot Policy updated",
+ "schema": {
+ "$ref": "#/definitions/snapshotPolicy"
+ }
+ },
+ "201": {
+ "description": "Snapshot Policy created",
+ "schema": {
+ "$ref": "#/definitions/snapshotPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": false,
+ "x-ms-examples": {
+ "SnapshotPolicies_Create": {
+ "$ref": "examples/SnapshotPolicies_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Snapshot Policy"
+ ],
+ "operationId": "SnapshotPolicies_Update",
+ "description": "Patch a snapshot policy",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Snapshot policy object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/snapshotPolicyPatch"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshotPolicy"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create or update request accepted; operation will complete asynchronously",
+ "schema": {
+ "$ref": "#/definitions/snapshotPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "SnapshotPolicies_Update": {
+ "$ref": "examples/SnapshotPolicies_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "operationId": "SnapshotPolicies_Delete",
+ "description": "Delete snapshot policy",
+ "tags": [
+ "Snapshot Policy"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted -- Create or update request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "SnapshotPolicies_Delete": {
+ "$ref": "examples/SnapshotPolicies_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}/volumes": {
+ "get": {
+ "tags": [
+ "Snapshot Policy List Volumes"
+ ],
+ "summary": "Get volumes for snapshot policy",
+ "description": "Get volumes associated with snapshot policy",
+ "operationId": "SnapshotPolicies_ListVolumes",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshotPolicyVolumeList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SnapshotPolicies_ListVolumes": {
+ "$ref": "examples/SnapshotPolicies_ListVolumes.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/restoreStatus": {
+ "get": {
+ "tags": [
+ "Restore"
+ ],
+ "summary": "Get volume's restore status",
+ "description": "Get the status of the restore for a volume",
+ "operationId": "Backups_GetVolumeRestoreStatus",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/restoreStatus"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_RestoreStatus": {
+ "$ref": "examples/Volumes_RestoreStatus.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies": {
+ "get": {
+ "tags": [
+ "Backup Policy"
+ ],
+ "summary": "List backup policies",
+ "description": "List backup policies for Netapp Account",
+ "operationId": "BackupPolicies_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/backupPoliciesList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Backups_List": {
+ "$ref": "examples/BackupPolicies_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}": {
+ "get": {
+ "tags": [
+ "Backup Policy"
+ ],
+ "summary": "Get a backup Policy",
+ "description": "Get a particular backup Policy",
+ "operationId": "BackupPolicies_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/backupPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Backups_Get": {
+ "$ref": "examples/BackupPolicies_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Backup Policy"
+ ],
+ "summary": "Create a backup policy",
+ "description": "Create a backup policy for Netapp Account",
+ "operationId": "BackupPolicies_Create",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Backup policy object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/backupPolicy"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Backup Policy created",
+ "schema": {
+ "$ref": "#/definitions/backupPolicy"
+ }
+ },
+ "201": {
+ "description": "Backup created",
+ "schema": {
+ "$ref": "#/definitions/backupPolicy"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "BackupPolicies_Create": {
+ "$ref": "examples/BackupPolicies_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Backup Policy"
+ ],
+ "summary": "Patch a backup policy",
+ "description": "Patch a backup policy for Netapp Account",
+ "operationId": "BackupPolicies_Update",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "body",
+ "description": "Backup policy object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/backupPolicyPatch"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/backupPolicy"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create or update request accepted; operation will complete asynchronously",
+ "schema": {
+ "$ref": "#/definitions/backupPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "BackupPolicies_Update": {
+ "$ref": "examples/BackupPolicies_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Backup Policy"
+ ],
+ "summary": "Delete a backup policy",
+ "description": "Delete backup policy",
+ "operationId": "BackupPolicies_Delete",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/BackupPolicyName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted -- Create or update request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Backups_Delete": {
+ "$ref": "examples/BackupPolicies_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules": {
+ "get": {
+ "tags": [
+ "VolumeQuotaRules"
+ ],
+ "operationId": "VolumeQuotaRules_ListByVolume",
+ "summary": "Get all quota rules for a volume",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "description": "List all quota rules associated with the volume",
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volumeQuotaRulesList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VolumeQuotaRules_List": {
+ "$ref": "examples/VolumeQuotaRules_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}": {
+ "get": {
+ "tags": [
+ "VolumeQuotaRules"
+ ],
+ "operationId": "VolumeQuotaRules_Get",
+ "summary": "Describe a quota rule",
+ "description": "Get details of the specified quota rule",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/VolumeQuotaRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volumeQuotaRule"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VolumeQuotaRules_Get": {
+ "$ref": "examples/VolumeQuotaRules_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "VolumeQuotaRules"
+ ],
+ "operationId": "VolumeQuotaRules_Create",
+ "summary": "Create a quota rule",
+ "description": "Create the specified quota rule within the given volume",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Quota rule object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volumeQuotaRule"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/VolumeQuotaRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - VolumeQuotaRule updated",
+ "schema": {
+ "$ref": "#/definitions/volumeQuotaRule"
+ }
+ },
+ "201": {
+ "description": "Quota rule Created",
+ "schema": {
+ "$ref": "#/definitions/volumeQuotaRule"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "VolumeQuotaRules_Create": {
+ "$ref": "examples/VolumeQuotaRules_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "VolumeQuotaRules"
+ ],
+ "operationId": "VolumeQuotaRules_Update",
+ "summary": "Update a quota rule",
+ "description": "Patch a quota rule",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Quota rule object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volumeQuotaRulePatch"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/VolumeQuotaRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volumeQuotaRule"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Update request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "VolumeQuotaRules_Update": {
+ "$ref": "examples/VolumeQuotaRules_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "VolumeQuotaRules"
+ ],
+ "operationId": "VolumeQuotaRules_Delete",
+ "summary": "Delete a quota rule",
+ "description": "Delete quota rule",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/VolumeQuotaRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted -- Delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "VolumeQuotaRules_Delete": {
+ "$ref": "examples/VolumeQuotaRules_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups": {
+ "get": {
+ "summary": "Describe all volume groups",
+ "description": "List all volume groups for given account",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "tags": [
+ "Volume Groups"
+ ],
+ "operationId": "VolumeGroups_ListByNetAppAccount",
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volumeGroupList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VolumeGroups_List_SapHana": {
+ "$ref": "examples/VolumeGroups_List_SapHana.json"
+ },
+ "VolumeGroups_List_Oracle": {
+ "$ref": "examples/VolumeGroups_List_Oracle.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}": {
+ "get": {
+ "summary": "Describe a Volume Group",
+ "description": "Get details of the specified volume group",
+ "tags": [
+ "Volume Groups"
+ ],
+ "operationId": "VolumeGroups_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/VolumeGroupName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volumeGroupDetails"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VolumeGroups_Get_SapHana": {
+ "$ref": "examples/VolumeGroups_Get_SapHana.json"
+ },
+ "VolumeGroups_Get_Oracle": {
+ "$ref": "examples/VolumeGroups_Get_Oracle.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Volume Groups"
+ ],
+ "operationId": "VolumeGroups_Create",
+ "summary": "Create the specified volume group and volumes. Creating volume group will create all the volumes specified in request body implicitly. Once volumes are created using volume group, those will be treated as regular volumes thereafter.",
+ "description": "Create a volume group along with specified volumes",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Volume Group object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volumeGroupDetails"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/VolumeGroupName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Volume group created",
+ "schema": {
+ "$ref": "#/definitions/volumeGroupDetails"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "VolumeGroups_Create_SapHana": {
+ "$ref": "examples/VolumeGroups_Create_SapHana.json"
+ },
+ "VolumeGroups_Create_Oracle": {
+ "$ref": "examples/VolumeGroups_Create_Oracle.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Volume Groups"
+ ],
+ "operationId": "VolumeGroups_Delete",
+ "summary": "Delete a volume group",
+ "description": "Delete the specified volume group only if there are no volumes under volume group.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/VolumeGroupName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted -- Delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "VolumeGroups_Delete": {
+ "$ref": "examples/VolumeGroups_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes": {
+ "get": {
+ "tags": [
+ "Subvolumes"
+ ],
+ "operationId": "Subvolumes_ListByVolume",
+ "summary": "List of all the subvolumes",
+ "description": "Returns a list of the subvolumes in the volume",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/subvolumesList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Subvolumes_List": {
+ "$ref": "examples/Subvolumes_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}": {
+ "get": {
+ "tags": [
+ "Subvolumes"
+ ],
+ "summary": "Get the path associated with the subvolumeName",
+ "description": "Returns the path associated with the subvolumeName provided",
+ "operationId": "Subvolumes_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SubvolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/subvolumeInfo"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Subvolumes_Get": {
+ "$ref": "examples/Subvolumes_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Subvolumes"
+ ],
+ "summary": "Create or clone a new subvolume",
+ "description": "Creates a subvolume in the path or clones the subvolume mentioned in the parentPath",
+ "operationId": "Subvolumes_Create",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Subvolume object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/subvolumeInfo"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SubvolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - updated",
+ "schema": {
+ "$ref": "#/definitions/subvolumeInfo"
+ }
+ },
+ "201": {
+ "description": "Subvolume created",
+ "schema": {
+ "$ref": "#/definitions/subvolumeInfo"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Subvolumes_Create": {
+ "$ref": "examples/Subvolumes_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Subvolumes"
+ ],
+ "operationId": "Subvolumes_Update",
+ "summary": "Update a subvolume",
+ "description": "Patch a subvolume",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Subvolume object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/subvolumePatchRequest"
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SubvolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "schema": {
+ "$ref": "#/definitions/subvolumeInfo"
+ },
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted -- Update request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Subvolumes_Update": {
+ "$ref": "examples/Subvolumes_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Subvolumes"
+ ],
+ "operationId": "Subvolumes_Delete",
+ "summary": "Delete a subvolume",
+ "description": "Delete subvolume",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SubvolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted -- Delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Subvolumes_Delete": {
+ "$ref": "examples/Subvolumes_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}/getMetadata": {
+ "post": {
+ "tags": [
+ "Subvolumes"
+ ],
+ "operationId": "Subvolumes_GetMetadata",
+ "summary": "Describe a subvolume",
+ "description": "Get details of the specified subvolume",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SubvolumeName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/subvolumeModel"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Subvolumes_Metadata": {
+ "$ref": "examples/Subvolumes_Metadata.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "OperationListResult": {
+ "description": "Result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "description": "List of Storage operations supported by the Storage resource provider."
+ }
+ }
+ },
+ "Operation": {
+ "description": "Microsoft.NetApp REST API operation definition.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "display": {
+ "description": "Display metadata associated with the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft NetApp.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed etc.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Type of operation: get, read, delete, etc.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Operation description.",
+ "type": "string"
+ }
+ }
+ },
+ "origin": {
+ "type": "string",
+ "description": "The origin of operations."
+ },
+ "properties": {
+ "$ref": "#/definitions/OperationProperties",
+ "description": "Properties of operation, include metric specifications.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "OperationProperties": {
+ "description": "Properties of operation, include metric specifications.",
+ "properties": {
+ "serviceSpecification": {
+ "$ref": "#/definitions/ServiceSpecification",
+ "description": "One property of operation, include metric specifications."
+ }
+ }
+ },
+ "ServiceSpecification": {
+ "description": "One property of operation, include metric specifications.",
+ "properties": {
+ "metricSpecifications": {
+ "description": "Metric specifications of operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricSpecification"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
+ },
+ "logSpecifications": {
+ "description": "Log specification of operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LogSpecification"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
+ }
+ }
+ },
+ "MetricSpecification": {
+ "description": "Metric specification of operation.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of metric specification."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Display name of metric specification."
+ },
+ "displayDescription": {
+ "type": "string",
+ "description": "Display description of metric specification."
+ },
+ "unit": {
+ "type": "string",
+ "description": "Unit could be Bytes or Count."
+ },
+ "supportedAggregationTypes": {
+ "description": "Support metric aggregation type.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "enum": [
+ "Average"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "MetricAggregationType",
+ "modelAsString": true
+ }
+ }
+ },
+ "supportedTimeGrainTypes": {
+ "type": "array",
+ "description": "The supported time grain types for the metrics.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "internalMetricName": {
+ "type": "string",
+ "description": "The internal metric name."
+ },
+ "enableRegionalMdmAccount": {
+ "description": "Whether or not the service is using regional MDM accounts.",
+ "type": "boolean"
+ },
+ "sourceMdmAccount": {
+ "type": "string",
+ "description": "The source MDM account."
+ },
+ "sourceMdmNamespace": {
+ "type": "string",
+ "description": "The source MDM namespace."
+ },
+ "dimensions": {
+ "description": "Dimensions of blobs, including blob type and access tier.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Dimension"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
+ },
+ "aggregationType": {
+ "type": "string",
+ "description": "Aggregation type could be Average."
+ },
+ "fillGapWithZero": {
+ "type": "boolean",
+ "description": "The property to decide fill gap with zero or not."
+ },
+ "category": {
+ "type": "string",
+ "description": "The category this metric specification belong to, could be Capacity."
+ },
+ "resourceIdDimensionNameOverride": {
+ "type": "string",
+ "description": "Account Resource Id."
+ },
+ "isInternal": {
+ "description": "Whether the metric is internal.",
+ "type": "boolean"
+ }
+ }
+ },
+ "LogSpecification": {
+ "description": "Log Definition of a single resource metric.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of log specification.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Display name of log specification.",
+ "type": "string"
+ }
+ }
+ },
+ "Dimension": {
+ "description": "Dimension of blobs, possibly be blob type or access tier.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Display name of dimension."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Display name of dimension."
+ }
+ }
+ },
+ "CheckAvailabilityResponse": {
+ "description": "Information regarding availability of a resource.",
+ "type": "object",
+ "properties": {
+ "isAvailable": {
+ "description": "true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.",
+ "type": "boolean"
+ },
+ "reason": {
+ "description": "Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.",
+ "enum": [
+ "Invalid",
+ "AlreadyExists"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "InAvailabilityReasonType",
+ "modelAsString": true
+ }
+ },
+ "message": {
+ "description": "If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.",
+ "type": "string"
+ }
+ }
+ },
+ "regionInfo": {
+ "description": "Provides region specific information.",
+ "type": "object",
+ "properties": {
+ "storageToNetworkProximity": {
+ "title": "Storage to Network Proximity",
+ "description": "Provides storage to network proximity information in the region.",
+ "type": "string",
+ "enum": [
+ "Default",
+ "T1",
+ "T2",
+ "AcrossT2",
+ "T1AndT2",
+ "T1AndAcrossT2",
+ "T2AndAcrossT2",
+ "T1AndT2AndAcrossT2"
+ ],
+ "x-ms-enum": {
+ "name": "RegionStorageToNetworkProximity",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Default",
+ "description": "Basic network connectivity."
+ },
+ {
+ "value": "T1",
+ "description": "Standard T1 network connectivity."
+ },
+ {
+ "value": "T2",
+ "description": "Standard T2 network connectivity."
+ },
+ {
+ "value": "AcrossT2",
+ "description": "Standard AcrossT2 network connectivity."
+ },
+ {
+ "value": "T1AndT2",
+ "description": "Standard T1 and T2 network connectivity."
+ },
+ {
+ "value": "T1AndAcrossT2",
+ "description": "Standard T1 and AcrossT2 network connectivity."
+ },
+ {
+ "value": "T2AndAcrossT2",
+ "description": "Standard T2 and AcrossT2 network connectivity."
+ },
+ {
+ "value": "T1AndT2AndAcrossT2",
+ "description": "Standard T1, T2 and AcrossT2 network connectivity."
+ }
+ ]
+ },
+ "example": "T2"
+ },
+ "availabilityZoneMappings": {
+ "title": "Logical availability zone mappings.",
+ "description": "Provides logical availability zone mappings for the subscription for a region.",
+ "type": "array",
+ "x-ms-identifiers": [
+ "availabilityZone"
+ ],
+ "items": {
+ "type": "object",
+ "properties": {
+ "availabilityZone": {
+ "description": "Logical availability zone.",
+ "type": "string",
+ "example": "1"
+ },
+ "isAvailable": {
+ "description": "Available availability zone",
+ "type": "boolean",
+ "example": true
+ }
+ }
+ }
+ }
+ }
+ },
+ "ResourceNameAvailabilityRequest": {
+ "description": "Resource name availability request content.",
+ "required": [
+ "name",
+ "type",
+ "resourceGroup"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Resource name to verify.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Resource type used for verification.",
+ "enum": [
+ "Microsoft.NetApp/netAppAccounts",
+ "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CheckNameResourceTypes",
+ "modelAsString": true
+ }
+ },
+ "resourceGroup": {
+ "description": "Resource group name.",
+ "type": "string"
+ }
+ }
+ },
+ "FilePathAvailabilityRequest": {
+ "description": "File path availability request content - availability is based on the name and the subnetId.",
+ "required": [
+ "name",
+ "subnetId"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "File path to verify.",
+ "type": "string"
+ },
+ "subnetId": {
+ "type": "string",
+ "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes"
+ }
+ }
+ },
+ "QuotaAvailabilityRequest": {
+ "description": "Quota availability request content.",
+ "required": [
+ "name",
+ "type",
+ "resourceGroup"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the resource to verify.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Resource type used for verification.",
+ "enum": [
+ "Microsoft.NetApp/netAppAccounts",
+ "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CheckQuotaNameResourceTypes",
+ "modelAsString": true
+ }
+ },
+ "resourceGroup": {
+ "description": "Resource group name.",
+ "type": "string"
+ }
+ }
+ },
+ "SubscriptionQuotaItemList": {
+ "description": "List of Subscription Quota Items",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of SubscriptionQuotaItems",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubscriptionQuotaItem"
+ }
+ }
+ }
+ },
+ "SubscriptionQuotaItem": {
+ "description": "Information regarding Subscription Quota Item.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "SubscriptionQuotaItem properties",
+ "$ref": "#/definitions/SubscriptionQuotaItemProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "SubscriptionQuotaItemProperties": {
+ "description": "SubscriptionQuotaItem Properties",
+ "type": "object",
+ "properties": {
+ "current": {
+ "description": "The current quota value.",
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32"
+ },
+ "default": {
+ "description": "The default quota value.",
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32"
+ }
+ }
+ },
+ "netAppAccountList": {
+ "description": "List of NetApp account resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "Multiple NetApp accounts",
+ "items": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ }
+ },
+ "netAppAccount": {
+ "description": "NetApp account resource",
+ "type": "object",
+ "required": [
+ "location"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "properties": {
+ "description": "NetApp Account properties",
+ "$ref": "#/definitions/accountProperties",
+ "x-ms-client-flatten": true
+ },
+ "identity": {
+ "description": "The identity used for the resource.",
+ "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity"
+ }
+ }
+ },
+ "netAppAccountPatch": {
+ "description": "NetApp account patch resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "NetApp Account properties",
+ "$ref": "#/definitions/accountProperties",
+ "x-ms-client-flatten": true
+ },
+ "identity": {
+ "description": "The identity used for the resource.",
+ "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity"
+ }
+ }
+ },
+ "accountProperties": {
+ "description": "NetApp account properties",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ },
+ "activeDirectories": {
+ "description": "Active Directories",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/activeDirectory"
+ },
+ "x-ms-identifiers": [
+ "activeDirectoryId"
+ ]
+ },
+ "encryption": {
+ "description": "Encryption settings",
+ "$ref": "#/definitions/accountEncryption"
+ },
+ "disableShowmount": {
+ "type": "boolean",
+ "readOnly": true,
+ "x-nullable": true,
+ "description": "Shows the status of disableShowmount for all volumes under the subscription, null equals false"
+ }
+ }
+ },
+ "activeDirectory": {
+ "description": "Active Directory",
+ "type": "object",
+ "properties": {
+ "activeDirectoryId": {
+ "type": "string",
+ "x-nullable": true,
+ "description": "Id of the Active Directory"
+ },
+ "username": {
+ "type": "string",
+ "description": "A domain user account with permission to create machine accounts"
+ },
+ "password": {
+ "type": "string",
+ "x-ms-secret": true,
+ "maxLength": 64,
+ "description": "Plain text password of Active Directory domain administrator, value is masked in the response"
+ },
+ "domain": {
+ "type": "string",
+ "description": "Name of the Active Directory domain"
+ },
+ "dns": {
+ "type": "string",
+ "description": "Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain",
+ "pattern": "^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)((, ?)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))*$",
+ "example": "101.102.103.104,101.102.103.105"
+ },
+ "status": {
+ "type": "string",
+ "description": "Status of the Active Directory",
+ "readOnly": true,
+ "enum": [
+ "Created",
+ "Updating",
+ "InUse",
+ "Deleted",
+ "Error"
+ ],
+ "x-ms-enum": {
+ "name": "ActiveDirectoryStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Created",
+ "description": "Active Directory created but not in use"
+ },
+ {
+ "value": "InUse",
+ "description": "Active Directory in use by SMB Volume"
+ },
+ {
+ "value": "Deleted",
+ "description": "Active Directory Deleted"
+ },
+ {
+ "value": "Error",
+ "description": "Error with the Active Directory"
+ },
+ {
+ "value": "Updating",
+ "description": "Active Directory Updating"
+ }
+ ]
+ }
+ },
+ "statusDetails": {
+ "type": "string",
+ "description": "Any details in regards to the Status of the Active Directory",
+ "readOnly": true
+ },
+ "smbServerName": {
+ "type": "string",
+ "description": "NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes"
+ },
+ "organizationalUnit": {
+ "type": "string",
+ "default": "CN=Computers",
+ "description": "The Organizational Unit (OU) within the Windows Active Directory"
+ },
+ "site": {
+ "type": "string",
+ "description": "The Active Directory site the service will limit Domain Controller discovery to"
+ },
+ "backupOperators": {
+ "description": "Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "maxLength": 255,
+ "minLength": 1
+ },
+ "example": [
+ "user1",
+ "user2"
+ ]
+ },
+ "administrators": {
+ "description": "Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "maxLength": 255,
+ "minLength": 1
+ },
+ "example": [
+ "user1",
+ "user2"
+ ]
+ },
+ "kdcIP": {
+ "type": "string",
+ "pattern": "^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)((, ?)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))*$",
+ "description": "kdc server IP addresses for the active directory machine. This optional parameter is used only while creating kerberos volume.",
+ "example": "101.102.103.104"
+ },
+ "adName": {
+ "type": "string",
+ "maxLength": 64,
+ "minLength": 1,
+ "description": "Name of the active directory machine. This optional parameter is used only while creating kerberos volume",
+ "example": "ADServerName"
+ },
+ "serverRootCACertificate": {
+ "type": "string",
+ "maxLength": 10240,
+ "minLength": 1,
+ "description": "When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes.",
+ "x-ms-secret": true,
+ "example": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURuVENDQW9XZ0F3SUJBZ0lRR3FXdnRxeHBvSTFJV3Z4VGdJbElWREFOQmdrcWhraUc5dzBCQVFzRkFEQlYKTVJNd0VRWUtDWkltaVpQeUxHUUJHUllEWTI5dE1SY3dGUVlLQ1pJbWlaUHlMR1FCR1JZSGFHRnlhV3R5WWpFbApNQ01HQTFVRUF4TWNhR0Z5YVd0eVlpMVhTVTR0TWtKUFZrRkZTMEkwTkVJdFEwRXRNakFlRncweU1EQTFNRFV3Ck56TTVORGxhRncweU1EQTFNRFl3TnpRNU5EaGFNRlV4RXpBUkJnb0praWFKay9Jc1pBRVpGZ05qYjIweEZ6QVYKQmdvSmtpYUprL0lzWkFFWkZnZG9ZWEpwYTNKaU1TVXdJd1lEVlFRREV4eG9ZWEpwYTNKaUxWZEpUaTB5UWs5VwpRVVZMUWpRMFFpMURRUzB5TUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFqMHByCnhaaXpNaDBqYnRwN1ZOc0JrRVJ2MVpZT0MzMEtqaGRWdEExRm1MeFM2cXlycmpMZUdXOXRSd2ZnUkR0eVBodTIKZVJTcVpTUjF6Z1hZR0s0Nys3Y3F0YnB2UElOektCb0dOWERIVTNxVWlleXJWSjFDVzRKNjJodUdrbUV1VVVkMApKMXBxNTVxbjk1SmRUbWh1dmZlTUxxeHB5c01nbGVnY281ZFhoN0hsQkhwaTNKMFN4ZnhVWmxKMVZiOFJZVEZhCkJiMGFlTVZaRzRKeVREaktiMlR1TmFXOG1aUE5vOFBMRDRocjdndFNZUEQvQ1dVVGV5QlpoZC9LTzNPczlWVEIKYmpLUGtWd0J2WEs2SlFMSGprNFBHS3VYZDhaWVFyajBtOWNIZDNmcWNYTXlQUnQ2TlJ4ak0yMTUxckFzSkVhNgpWZC9ta056akpXalBrT2VZUVFJREFRQUJvMmt3WnpBVEJna3JCZ0VFQVlJM0ZBSUVCaDRFQUVNQVFUQU9CZ05WCkhROEJBZjhFQkFNQ0FZWXdEd1lEVlIwVEFRSC9CQVV3QXdFQi96QWRCZ05WSFE0RUZnUVVDVEc2ODJSay9kMysKWGtHa0VMakRFMjI4ZjNnd0VBWUpLd1lCQkFHQ054VUJCQU1DQVFBd0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQgpBR1RjTTNnWExIU05wS014RHEvUFpZbWZCMmNlN3VhMmxxbXpzZSt4QmthSTE0WXdzZE5ZQjZBVTNFWDM3QWpZCjd3bm9xQzY1N0U2RVhTODVDckoyNXJNTHo4OEtONGI3cUg5RUowSS9XVHg5YTdUT0ZENENWQThuL0xwNGh1Ym4KNlBFalY5NFlZWXBXTG1hTkkvbGFReWsxSHVJbDFSTCttVDFnSWQ4ZWZXZ1UvNmlVVEw3eGMrdjkyNHBuTHhISwpOSnNTV3c0NFk5a0R5SU9KOXFjWUlBN1lhTkxPZTRjSysvQlRvdDh0dVVKT1hHLzdBRmtxR2EyQVA4MmFZOStKCnkwSmU2OG5nTHJ1dVU4VHpneVpqdkFHcTRrVEVOdWFoaFdHVC9KWkEzOXhSNUV4MmNMUUplcE5NdnlZbUZ3Z1UKME8zYlA0OWNBVFVCMXoyQ3Y5aTRQbVk9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
+ },
+ "aesEncryption": {
+ "type": "boolean",
+ "description": "If enabled, AES encryption will be enabled for SMB communication."
+ },
+ "ldapSigning": {
+ "type": "boolean",
+ "description": "Specifies whether or not the LDAP traffic needs to be signed."
+ },
+ "securityOperators": {
+ "type": "array",
+ "description": "Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier",
+ "items": {
+ "type": "string",
+ "maxLength": 255,
+ "minLength": 1
+ },
+ "example": [
+ "user1",
+ "user2"
+ ]
+ },
+ "ldapOverTLS": {
+ "type": "boolean",
+ "description": "Specifies whether or not the LDAP traffic needs to be secured via TLS."
+ },
+ "allowLocalNfsUsersWithLdap": {
+ "type": "boolean",
+ "description": " If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes."
+ },
+ "encryptDCConnections": {
+ "type": "boolean",
+ "description": "If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted."
+ },
+ "ldapSearchScope": {
+ "description": "LDAP Search scope options",
+ "$ref": "#/definitions/ldapSearchScopeOpt"
+ },
+ "preferredServersForLdapClient": {
+ "type": "string",
+ "maxLength": 32,
+ "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)((, ?)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))?)?$",
+ "description": "Comma separated list of IPv4 addresses of preferred servers for LDAP client. At most two comma separated IPv4 addresses can be passed.",
+ "example": "101.102.103.104, 101.102.103.105"
+ }
+ }
+ },
+ "ldapSearchScopeOpt": {
+ "type": "object",
+ "description": "LDAP search scope ",
+ "properties": {
+ "userDN": {
+ "type": "string",
+ "description": "This specifies the user DN, which overrides the base DN for user lookups.",
+ "maxLength": 255,
+ "example": "OU=fin,OU=hr,dc=domain,dc=com"
+ },
+ "groupDN": {
+ "type": "string",
+ "description": "This specifies the group DN, which overrides the base DN for group lookups.",
+ "maxLength": 255,
+ "example": "OU=fin,OU=hr,dc=domain,dc=com"
+ },
+ "groupMembershipFilter": {
+ "type": "string",
+ "description": "This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server.",
+ "maxLength": 255,
+ "example": "cn=*99"
+ }
+ }
+ },
+ "accountEncryption": {
+ "type": "object",
+ "description": "Encryption settings",
+ "properties": {
+ "keySource": {
+ "type": "string",
+ "description": "The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault",
+ "enum": [
+ "Microsoft.NetApp",
+ "Microsoft.KeyVault"
+ ],
+ "x-ms-enum": {
+ "name": "KeySource",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Microsoft.NetApp",
+ "description": "Microsoft-managed key encryption"
+ },
+ {
+ "value": "Microsoft.KeyVault",
+ "description": "Customer-managed key encryption"
+ }
+ ]
+ },
+ "default": "Microsoft.NetApp"
+ },
+ "keyVaultProperties": {
+ "$ref": "#/definitions/KeyVaultProperties",
+ "description": "Properties provided by KeVault. Applicable if keySource is 'Microsoft.KeyVault'."
+ },
+ "identity": {
+ "$ref": "#/definitions/EncryptionIdentity",
+ "description": "Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'."
+ }
+ }
+ },
+ "KeyVaultProperties": {
+ "description": "Properties of key vault.",
+ "type": "object",
+ "required": [
+ "keyVaultUri",
+ "keyName",
+ "keyVaultResourceId"
+ ],
+ "properties": {
+ "keyVaultId": {
+ "type": "string",
+ "description": "UUID v4 used to identify the Azure Key Vault configuration",
+ "readOnly": true,
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca7778"
+ },
+ "keyVaultUri": {
+ "type": "string",
+ "description": "The Uri of KeyVault."
+ },
+ "keyName": {
+ "type": "string",
+ "description": "The name of KeyVault key."
+ },
+ "keyVaultResourceId": {
+ "type": "string",
+ "description": "The resource ID of KeyVault."
+ },
+ "status": {
+ "type": "string",
+ "description": "Status of the KeyVault connection.",
+ "readOnly": true,
+ "enum": [
+ "Created",
+ "Updating",
+ "InUse",
+ "Deleted",
+ "Error"
+ ],
+ "x-ms-enum": {
+ "name": "KeyVaultStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Created",
+ "description": "KeyVault connection created but not in use"
+ },
+ {
+ "value": "InUse",
+ "description": "KeyVault connection in use by SMB Volume"
+ },
+ {
+ "value": "Deleted",
+ "description": "KeyVault connection Deleted"
+ },
+ {
+ "value": "Error",
+ "description": "Error with the KeyVault connection"
+ },
+ {
+ "value": "Updating",
+ "description": "KeyVault connection Updating"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "EncryptionIdentity": {
+ "description": "Identity used to authenticate with key vault.",
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "type": "string",
+ "description": "The principal ID (object ID) of the identity used to authenticate with key vault. Read-only.",
+ "readOnly": true
+ },
+ "userAssignedIdentity": {
+ "type": "string",
+ "description": "The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities."
+ }
+ }
+ },
+ "capacityPoolList": {
+ "description": "List of capacity pool resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of Capacity pools",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ }
+ },
+ "capacityPool": {
+ "description": "Capacity pool resource",
+ "type": "object",
+ "required": [
+ "location",
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "properties": {
+ "description": "Capacity pool properties",
+ "$ref": "#/definitions/poolProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "poolProperties": {
+ "description": "Pool properties",
+ "type": "object",
+ "required": [
+ "size",
+ "serviceLevel"
+ ],
+ "properties": {
+ "poolId": {
+ "title": "poolId",
+ "type": "string",
+ "readOnly": true,
+ "description": "UUID v4 used to identify the Pool",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca7778"
+ },
+ "size": {
+ "title": "size",
+ "type": "integer",
+ "format": "int64",
+ "description": "Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).",
+ "default": 4398046511104
+ },
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "$ref": "#/definitions/serviceLevel"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ },
+ "totalThroughputMibps": {
+ "type": "number",
+ "description": "Total throughput of pool in MiB/s",
+ "example": 164.221,
+ "readOnly": true
+ },
+ "utilizedThroughputMibps": {
+ "type": "number",
+ "description": "Utilized throughput of pool in MiB/s",
+ "example": 164.221,
+ "readOnly": true
+ },
+ "qosType": {
+ "title": "qosType",
+ "type": "string",
+ "description": "The qos type of the pool",
+ "enum": [
+ "Auto",
+ "Manual"
+ ],
+ "x-ms-enum": {
+ "name": "qosType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Auto",
+ "description": "qos type Auto"
+ },
+ {
+ "value": "Manual",
+ "description": "qos type Manual"
+ }
+ ]
+ },
+ "example": "Manual",
+ "default": "Auto"
+ },
+ "coolAccess": {
+ "type": "boolean",
+ "default": false,
+ "example": false,
+ "description": "If enabled (true) the pool can contain cool Access enabled volumes."
+ },
+ "encryptionType": {
+ "title": "encryptionType",
+ "type": "string",
+ "x-nullable": true,
+ "description": "Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "enum": [
+ "Single",
+ "Double"
+ ],
+ "x-ms-enum": {
+ "name": "encryptionType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Single",
+ "description": "EncryptionType Single, volumes will use single encryption at rest"
+ },
+ {
+ "value": "Double",
+ "description": "EncryptionType Double, volumes will use double encryption at rest"
+ }
+ ]
+ },
+ "example": "Single",
+ "default": "Single"
+ }
+ }
+ },
+ "capacityPoolPatch": {
+ "description": "Capacity pool patch resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Capacity pool properties",
+ "$ref": "#/definitions/poolPatchProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "poolPatchProperties": {
+ "description": "Patchable pool properties",
+ "type": "object",
+ "properties": {
+ "size": {
+ "title": "size",
+ "type": "integer",
+ "format": "int64",
+ "description": "Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiply of 4398046511104).",
+ "default": 4398046511104
+ },
+ "qosType": {
+ "title": "qosType",
+ "type": "string",
+ "description": "The qos type of the pool",
+ "enum": [
+ "Auto",
+ "Manual"
+ ],
+ "x-ms-enum": {
+ "name": "qosType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Auto",
+ "description": "qos type Auto"
+ },
+ {
+ "value": "Manual",
+ "description": "qos type Manual"
+ }
+ ]
+ },
+ "example": "Manual",
+ "default": "Auto"
+ },
+ "coolAccess": {
+ "type": "boolean",
+ "example": false,
+ "description": "If enabled (true) the pool can contain cool Access enabled volumes."
+ }
+ }
+ },
+ "volumeList": {
+ "description": "List of volume resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of volumes",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ }
+ },
+ "volume": {
+ "description": "Volume resource",
+ "type": "object",
+ "required": [
+ "location",
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "zones": {
+ "type": "array",
+ "description": "Availability Zone",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "items": {
+ "type": "string",
+ "maxLength": 255,
+ "minLength": 1,
+ "example": "1"
+ }
+ },
+ "properties": {
+ "description": "Volume properties",
+ "$ref": "#/definitions/volumeProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "resourceIdentity": {
+ "type": "object",
+ "description": "Identity for the resource.",
+ "properties": {
+ "principalId": {
+ "description": "Object id of the identity resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "tenantId": {
+ "description": "The tenant id of the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Type of Identity. Supported values are: 'None', 'SystemAssigned'",
+ "type": "string"
+ }
+ }
+ },
+ "resourceTags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Tags are a list of key-value pairs that describe the resource"
+ },
+ "volumeProperties": {
+ "description": "Volume properties",
+ "type": "object",
+ "required": [
+ "creationToken",
+ "usageThreshold",
+ "subnetId"
+ ],
+ "properties": {
+ "fileSystemId": {
+ "title": "FileSystem ID",
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique FileSystem Identifier.",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca7778"
+ },
+ "creationToken": {
+ "title": "Creation Token or File Path",
+ "type": "string",
+ "description": "A unique file path for the volume. Used when creating mount targets",
+ "pattern": "^[a-zA-Z][a-zA-Z0-9\\-]{0,79}$",
+ "minLength": 1,
+ "maxLength": 80,
+ "example": "some-amazing-filepath"
+ },
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "$ref": "#/definitions/serviceLevel"
+ },
+ "usageThreshold": {
+ "title": "usageThreshold",
+ "type": "integer",
+ "format": "int64",
+ "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume or 2400Tib for LargeVolume on exceptional basis. Specified in bytes.",
+ "minimum": 107374182400,
+ "maximum": 2638827906662400,
+ "default": 107374182400,
+ "example": 107374182400
+ },
+ "exportPolicy": {
+ "title": "exportPolicy",
+ "description": "Set of export policy rules",
+ "properties": {
+ "rules": {
+ "title": "Export policy rule",
+ "description": "Export policy rule",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/exportPolicyRule"
+ },
+ "x-ms-identifiers": [
+ "ruleIndex"
+ ]
+ }
+ }
+ },
+ "protocolTypes": {
+ "title": "protocolTypes",
+ "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "example": [
+ "NFSv4.1"
+ ]
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ },
+ "snapshotId": {
+ "title": "Snapshot ID",
+ "type": "string",
+ "x-nullable": true,
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "description": "UUID v4 or resource identifier used to identify the Snapshot.",
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "deleteBaseSnapshot": {
+ "type": "boolean",
+ "description": "If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false"
+ },
+ "backupId": {
+ "title": "Backup ID",
+ "type": "string",
+ "x-nullable": true,
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "description": "UUID v4 or resource identifier used to identify the Backup.",
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "baremetalTenantId": {
+ "title": "Baremetal Tenant ID",
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique Baremetal Tenant Identifier.",
+ "example": "9560acf5-4e3a-12e7-9bdb-02007cca7779"
+ },
+ "subnetId": {
+ "type": "string",
+ "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes"
+ },
+ "networkFeatures": {
+ "$ref": "#/definitions/networkFeatures"
+ },
+ "networkSiblingSetId": {
+ "title": "Network Sibling Set ID",
+ "description": "Network Sibling Set ID for the the group of volumes sharing networking resources.",
+ "type": "string",
+ "readOnly": true,
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "storageToNetworkProximity": {
+ "title": "Storage to Network Proximity",
+ "description": "Provides storage to network proximity information for the volume.",
+ "type": "string",
+ "enum": [
+ "Default",
+ "T1",
+ "T2",
+ "AcrossT2"
+ ],
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "VolumeStorageToNetworkProximity",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Default",
+ "description": "Basic storage to network connectivity."
+ },
+ {
+ "value": "T1",
+ "description": "Standard T1 storage to network connectivity."
+ },
+ {
+ "value": "T2",
+ "description": "Standard T2 storage to network connectivity."
+ },
+ {
+ "value": "AcrossT2",
+ "description": "Standard AcrossT2 storage to network connectivity."
+ }
+ ]
+ },
+ "example": "T1"
+ },
+ "mountTargets": {
+ "title": "mountTargets",
+ "type": "array",
+ "readOnly": true,
+ "description": "List of mount targets",
+ "items": {
+ "$ref": "#/definitions/mountTargetProperties"
+ },
+ "x-ms-identifiers": [
+ "fileSystemId"
+ ]
+ },
+ "volumeType": {
+ "type": "string",
+ "description": "What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection",
+ "example": "DataProtection"
+ },
+ "dataProtection": {
+ "title": "DataProtection",
+ "description": "DataProtection type volumes include an object containing details of the replication",
+ "properties": {
+ "replication": {
+ "title": "Replication",
+ "description": "Replication properties",
+ "type": "object",
+ "$ref": "#/definitions/replicationObject"
+ },
+ "snapshot": {
+ "title": "Snapshot",
+ "description": "Snapshot properties.",
+ "$ref": "#/definitions/volumeSnapshotProperties"
+ },
+ "volumeRelocation": {
+ "title": "VolumeRelocation",
+ "description": "VolumeRelocation properties",
+ "type": "object",
+ "$ref": "#/definitions/volumeRelocationProperties"
+ }
+ }
+ },
+ "isRestoring": {
+ "type": "boolean",
+ "description": "Restoring"
+ },
+ "snapshotDirectoryVisible": {
+ "type": "boolean",
+ "default": true,
+ "description": "If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true)."
+ },
+ "kerberosEnabled": {
+ "type": "boolean",
+ "description": "Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "example": false,
+ "default": false
+ },
+ "securityStyle": {
+ "type": "string",
+ "description": "The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol",
+ "default": "unix",
+ "enum": [
+ "ntfs",
+ "unix"
+ ],
+ "x-ms-enum": {
+ "name": "SecurityStyle",
+ "modelAsString": true
+ }
+ },
+ "smbEncryption": {
+ "type": "boolean",
+ "description": "Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later",
+ "example": false,
+ "default": false
+ },
+ "smbAccessBasedEnumeration": {
+ "$ref": "#/definitions/smbAccessBasedEnumeration"
+ },
+ "smbNonBrowsable": {
+ "$ref": "#/definitions/smbNonBrowsable"
+ },
+ "smbContinuouslyAvailable": {
+ "type": "boolean",
+ "description": "Enables continuously available share property for smb volume. Only applicable for SMB volume",
+ "example": false,
+ "default": false
+ },
+ "throughputMibps": {
+ "title": "Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume",
+ "type": "number",
+ "x-nullable": true,
+ "example": 128.223
+ },
+ "actualThroughputMibps": {
+ "type": "number",
+ "description": "Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel",
+ "example": 164.221,
+ "readOnly": true
+ },
+ "encryptionKeySource": {
+ "description": "Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'",
+ "type": "string",
+ "enum": [
+ "Microsoft.NetApp",
+ "Microsoft.KeyVault"
+ ],
+ "x-ms-enum": {
+ "name": "EncryptionKeySource",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Microsoft.NetApp",
+ "description": "Microsoft-managed key encryption"
+ },
+ {
+ "value": "Microsoft.KeyVault",
+ "description": "Customer-managed key encryption"
+ }
+ ]
+ },
+ "default": "Microsoft.NetApp"
+ },
+ "keyVaultPrivateEndpointResourceId": {
+ "type": "string",
+ "description": "The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'."
+ },
+ "ldapEnabled": {
+ "type": "boolean",
+ "description": "Specifies whether LDAP is enabled or not for a given NFS volume.",
+ "example": false,
+ "default": false
+ },
+ "coolAccess": {
+ "type": "boolean",
+ "description": "Specifies whether Cool Access(tiering) is enabled for the volume.",
+ "example": false,
+ "default": false
+ },
+ "coolnessPeriod": {
+ "type": "integer",
+ "description": "Specifies the number of days after which data that is not accessed by clients will be tiered.",
+ "example": 7,
+ "minimum": 7,
+ "maximum": 183,
+ "format": "int32"
+ },
+ "coolAccessRetrievalPolicy": {
+ "$ref": "#/definitions/coolAccessRetrievalPolicy"
+ },
+ "unixPermissions": {
+ "type": "string",
+ "description": "UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.",
+ "minLength": 4,
+ "maxLength": 4,
+ "x-nullable": true,
+ "example": "0770"
+ },
+ "cloneProgress": {
+ "description": "When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning.",
+ "type": "integer",
+ "format": "int32",
+ "example": 10,
+ "x-nullable": true,
+ "readOnly": true
+ },
+ "fileAccessLogs": {
+ "type": "string",
+ "description": "Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume.",
+ "readOnly": true,
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "fileAccessLogs",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Enabled",
+ "description": "fileAccessLogs are enabled"
+ },
+ {
+ "value": "Disabled",
+ "description": "fileAccessLogs are not enabled"
+ }
+ ]
+ },
+ "example": "Disabled",
+ "default": "Disabled"
+ },
+ "avsDataStore": {
+ "title": "avsDataStore",
+ "type": "string",
+ "description": "Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "avsDataStore",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Enabled",
+ "description": "avsDataStore is enabled"
+ },
+ {
+ "value": "Disabled",
+ "description": "avsDataStore is disabled"
+ }
+ ]
+ },
+ "example": "Enabled",
+ "default": "Disabled"
+ },
+ "dataStoreResourceId": {
+ "title": "dataStoreResourceId",
+ "description": "Data store resource unique identifier",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "isDefaultQuotaEnabled": {
+ "type": "boolean",
+ "description": "Specifies if default quota is enabled for the volume.",
+ "example": false,
+ "default": false
+ },
+ "defaultUserQuotaInKiBs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .",
+ "example": 4,
+ "default": 0
+ },
+ "defaultGroupQuotaInKiBs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.",
+ "example": 4,
+ "default": 0
+ },
+ "maximumNumberOfFiles": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB.",
+ "example": 100000000
+ },
+ "volumeGroupName": {
+ "type": "string",
+ "description": "Volume Group Name",
+ "readOnly": true
+ },
+ "capacityPoolResourceId": {
+ "type": "string",
+ "description": "Pool Resource Id used in case of creating a volume through volume group"
+ },
+ "proximityPlacementGroup": {
+ "type": "string",
+ "description": "Proximity placement group associated with the volume",
+ "example": "/subscriptions/aaaaaaaa-1234-1234-1224-234567891011/resourceGroups/testGroup/providers/Microsoft.Compute/proximityPlacementGroups/testppg"
+ },
+ "t2Network": {
+ "type": "string",
+ "description": "T2 network information",
+ "example": "Test-T2-Alias",
+ "readOnly": true
+ },
+ "volumeSpecName": {
+ "type": "string",
+ "description": "Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log",
+ "example": "Data"
+ },
+ "encrypted": {
+ "type": "boolean",
+ "description": "Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01.",
+ "readOnly": true
+ },
+ "placementRules": {
+ "title": "Volume placement rules",
+ "description": "Application specific placement rules for the particular volume",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/placementKeyValuePairs"
+ },
+ "x-ms-identifiers": [
+ "key"
+ ]
+ },
+ "enableSubvolumes": {
+ "type": "string",
+ "description": "Flag indicating whether subvolume operations are enabled on the volume",
+ "example": "Enabled",
+ "default": "Disabled",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "enableSubvolumes",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Enabled",
+ "description": "subvolumes are enabled"
+ },
+ {
+ "value": "Disabled",
+ "description": "subvolumes are not enabled"
+ }
+ ]
+ }
+ },
+ "provisionedAvailabilityZone": {
+ "title": "Provisioned Availability Zone",
+ "type": "string",
+ "readOnly": true,
+ "description": "The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides.",
+ "example": "2",
+ "x-nullable": true
+ },
+ "isLargeVolume": {
+ "title": "Is Large Volume",
+ "type": "boolean",
+ "description": "Specifies whether volume is a Large Volume or Regular Volume.",
+ "example": false,
+ "default": false
+ },
+ "originatingResourceId": {
+ "title": "Originating Resource Id",
+ "type": "string",
+ "description": "Id of the snapshot or backup that the volume is restored from.",
+ "example": "/subscriptions/aaaaaaaa-1234-1234-1224-234567891011/resourceGroups/testGroup/providers/Microsoft.NetApp/netAppAccounts/accountOriginatingResourceId/capacityPools/originatingResourceIdPool/volumes/theOriginalVolume/snapshots/theSnapshot",
+ "readOnly": true,
+ "x-nullable": true
+ }
+ }
+ },
+ "exportPolicyRule": {
+ "description": "Volume Export Policy Rule",
+ "type": "object",
+ "properties": {
+ "ruleIndex": {
+ "type": "integer",
+ "description": "Order index",
+ "format": "int32"
+ },
+ "unixReadOnly": {
+ "type": "boolean",
+ "description": "Read only access"
+ },
+ "unixReadWrite": {
+ "type": "boolean",
+ "description": "Read and write access"
+ },
+ "kerberos5ReadOnly": {
+ "type": "boolean",
+ "description": "Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later",
+ "example": false,
+ "default": false
+ },
+ "kerberos5ReadWrite": {
+ "type": "boolean",
+ "description": "Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later",
+ "example": false,
+ "default": false
+ },
+ "kerberos5iReadOnly": {
+ "type": "boolean",
+ "description": "Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later",
+ "example": false,
+ "default": false
+ },
+ "kerberos5iReadWrite": {
+ "type": "boolean",
+ "description": "Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later",
+ "example": false,
+ "default": false
+ },
+ "kerberos5pReadOnly": {
+ "type": "boolean",
+ "description": "Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later",
+ "example": false,
+ "default": false
+ },
+ "kerberos5pReadWrite": {
+ "type": "boolean",
+ "description": "Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later",
+ "example": false,
+ "default": false
+ },
+ "cifs": {
+ "type": "boolean",
+ "description": "Allows CIFS protocol"
+ },
+ "nfsv3": {
+ "type": "boolean",
+ "description": "Allows NFSv3 protocol. Enable only for NFSv3 type volumes"
+ },
+ "nfsv41": {
+ "type": "boolean",
+ "description": "Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes"
+ },
+ "allowedClients": {
+ "type": "string",
+ "description": "Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names"
+ },
+ "hasRootAccess": {
+ "type": "boolean",
+ "description": "Has root access to volume",
+ "example": true,
+ "default": true
+ },
+ "chownMode": {
+ "type": "string",
+ "description": "This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own.",
+ "default": "Restricted",
+ "enum": [
+ "Restricted",
+ "Unrestricted"
+ ],
+ "x-ms-enum": {
+ "name": "ChownMode",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "replicationObject": {
+ "description": "Replication properties",
+ "type": "object",
+ "required": [
+ "remoteVolumeResourceId"
+ ],
+ "properties": {
+ "replicationId": {
+ "type": "string",
+ "description": "Id",
+ "readOnly": true
+ },
+ "endpointType": {
+ "type": "string",
+ "description": "Indicates whether the local volume is the source or destination for the Volume Replication",
+ "enum": [
+ "src",
+ "dst"
+ ],
+ "x-ms-enum": {
+ "name": "EndpointType",
+ "modelAsString": true
+ }
+ },
+ "replicationSchedule": {
+ "type": "string",
+ "description": "Schedule",
+ "enum": [
+ "_10minutely",
+ "hourly",
+ "daily"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicationSchedule",
+ "modelAsString": true
+ }
+ },
+ "remoteVolumeResourceId": {
+ "type": "string",
+ "description": "The resource ID of the remote volume."
+ },
+ "remoteVolumeRegion": {
+ "type": "string",
+ "description": "The remote region for the other end of the Volume Replication."
+ }
+ }
+ },
+ "replication": {
+ "description": "Replication properties",
+ "type": "object",
+ "required": [
+ "remoteVolumeResourceId"
+ ],
+ "properties": {
+ "endpointType": {
+ "type": "string",
+ "description": "Indicates whether the local volume is the source or destination for the Volume Replication",
+ "enum": [
+ "src",
+ "dst"
+ ],
+ "x-ms-enum": {
+ "name": "EndpointType",
+ "modelAsString": true
+ }
+ },
+ "replicationSchedule": {
+ "type": "string",
+ "description": "Schedule",
+ "enum": [
+ "_10minutely",
+ "hourly",
+ "daily"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicationSchedule",
+ "modelAsString": true
+ }
+ },
+ "remoteVolumeResourceId": {
+ "type": "string",
+ "description": "The resource ID of the remote volume."
+ },
+ "remoteVolumeRegion": {
+ "type": "string",
+ "description": "The remote region for the other end of the Volume Replication."
+ }
+ }
+ },
+ "volumeRelocationProperties": {
+ "description": "Volume relocation properties",
+ "type": "object",
+ "properties": {
+ "relocationRequested": {
+ "type": "boolean",
+ "description": "Has relocation been requested for this volume"
+ },
+ "readyToBeFinalized": {
+ "type": "boolean",
+ "readOnly": true,
+ "description": "Has relocation finished and is ready to be cleaned up"
+ }
+ }
+ },
+ "volumeSnapshotProperties": {
+ "description": "Volume Snapshot Properties",
+ "type": "object",
+ "properties": {
+ "snapshotPolicyId": {
+ "type": "string",
+ "description": "Snapshot Policy ResourceId"
+ }
+ }
+ },
+ "replicationStatus": {
+ "description": "Replication status",
+ "type": "object",
+ "properties": {
+ "healthy": {
+ "type": "boolean",
+ "description": "Replication health check"
+ },
+ "relationshipStatus": {
+ "type": "string",
+ "description": "Status of the mirror relationship",
+ "enum": [
+ "Idle",
+ "Transferring"
+ ],
+ "x-ms-enum": {
+ "name": "RelationshipStatus",
+ "modelAsString": true
+ }
+ },
+ "mirrorState": {
+ "type": "string",
+ "description": "The status of the replication",
+ "enum": [
+ "Uninitialized",
+ "Mirrored",
+ "Broken"
+ ],
+ "x-ms-enum": {
+ "name": "MirrorState",
+ "modelAsString": true
+ }
+ },
+ "totalProgress": {
+ "type": "string",
+ "description": "The progress of the replication"
+ },
+ "errorMessage": {
+ "type": "string",
+ "description": "Displays error message if the replication is in an error state"
+ }
+ }
+ },
+ "listReplications": {
+ "description": "List Replications",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of replications",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/replication"
+ },
+ "x-ms-identifiers": []
+ }
+ }
+ },
+ "volumePatch": {
+ "description": "Volume patch resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Patchable volume properties",
+ "$ref": "#/definitions/volumePatchProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "volumePatchProperties": {
+ "description": "Patchable volume properties",
+ "type": "object",
+ "properties": {
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "$ref": "#/definitions/serviceLevel"
+ },
+ "usageThreshold": {
+ "title": "usageThreshold",
+ "type": "integer",
+ "format": "int64",
+ "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume or 2400Tib for LargeVolume on exceptional basis. Specified in bytes.",
+ "minimum": 107374182400,
+ "maximum": 2638827906662400,
+ "default": 107374182400,
+ "example": 107374182400
+ },
+ "exportPolicy": {
+ "title": "exportPolicy",
+ "description": "Set of export policy rules",
+ "properties": {
+ "rules": {
+ "title": "Export policy rule",
+ "description": "Export policy rule",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/exportPolicyRule"
+ },
+ "x-ms-identifiers": [
+ "ruleIndex"
+ ]
+ }
+ }
+ },
+ "throughputMibps": {
+ "title": "Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume",
+ "type": "number",
+ "example": 128.22
+ },
+ "dataProtection": {
+ "title": "DataProtection",
+ "description": "DataProtection type volumes include an object containing details of the replication",
+ "properties": {
+ "snapshot": {
+ "title": "Snapshot",
+ "description": "Snapshot properties.",
+ "$ref": "#/definitions/volumeSnapshotProperties"
+ }
+ }
+ },
+ "isDefaultQuotaEnabled": {
+ "type": "boolean",
+ "description": "Specifies if default quota is enabled for the volume.",
+ "example": false,
+ "default": false
+ },
+ "defaultUserQuotaInKiBs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .",
+ "example": 4,
+ "default": 0
+ },
+ "defaultGroupQuotaInKiBs": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.",
+ "example": 4,
+ "default": 0
+ },
+ "unixPermissions": {
+ "type": "string",
+ "description": "UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.",
+ "minLength": 4,
+ "maxLength": 4,
+ "x-nullable": true,
+ "example": "0770"
+ },
+ "coolAccess": {
+ "type": "boolean",
+ "description": "Specifies whether Cool Access(tiering) is enabled for the volume.",
+ "example": false
+ },
+ "coolnessPeriod": {
+ "type": "integer",
+ "description": "Specifies the number of days after which data that is not accessed by clients will be tiered.",
+ "example": 7,
+ "minimum": 7,
+ "maximum": 183,
+ "format": "int32"
+ },
+ "coolAccessRetrievalPolicy": {
+ "$ref": "#/definitions/coolAccessRetrievalPolicy"
+ },
+ "snapshotDirectoryVisible": {
+ "type": "boolean",
+ "description": "If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots."
+ },
+ "smbAccessBasedEnumeration": {
+ "$ref": "#/definitions/smbAccessBasedEnumeration"
+ },
+ "smbNonBrowsable": {
+ "$ref": "#/definitions/smbNonBrowsable"
+ }
+ }
+ },
+ "mountTarget": {
+ "description": "Mount Target",
+ "type": "object",
+ "required": [
+ "location",
+ "properties"
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags",
+ "x-ms-client-flatten": true
+ },
+ "properties": {
+ "description": "Mount Target Properties",
+ "$ref": "#/definitions/mountTargetProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "mountTargetProperties": {
+ "description": "Mount target properties",
+ "type": "object",
+ "required": [
+ "fileSystemId"
+ ],
+ "properties": {
+ "mountTargetId": {
+ "title": "mountTargetId",
+ "type": "string",
+ "readOnly": true,
+ "description": "UUID v4 used to identify the MountTarget",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "fileSystemId": {
+ "title": "fileSystemId",
+ "type": "string",
+ "description": "UUID v4 used to identify the MountTarget",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "ipAddress": {
+ "title": "ipAddress",
+ "description": "The mount target's IPv4 address",
+ "type": "string",
+ "readOnly": true,
+ "example": "1.2.3.4"
+ },
+ "smbServerFqdn": {
+ "title": "smbServerFQDN",
+ "description": "The SMB server's Fully Qualified Domain Name, FQDN",
+ "type": "string",
+ "example": "fullyqualified.domainname.com"
+ }
+ }
+ },
+ "snapshotsList": {
+ "description": "List of Snapshots",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of Snapshots",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/snapshot"
+ }
+ }
+ }
+ },
+ "snapshot": {
+ "description": "Snapshot of a Volume",
+ "type": "object",
+ "required": [
+ "location"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "properties": {
+ "description": "Snapshot Properties",
+ "$ref": "#/definitions/snapshotProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "snapshotPatch": {
+ "description": "Snapshot patch",
+ "type": "object",
+ "properties": {}
+ },
+ "snapshotProperties": {
+ "description": "Snapshot properties",
+ "type": "object",
+ "properties": {
+ "snapshotId": {
+ "title": "snapshotId",
+ "type": "string",
+ "readOnly": true,
+ "description": "UUID v4 used to identify the Snapshot",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "created": {
+ "title": "name",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The creation date of the snapshot",
+ "example": "2017-08-15 13:23:33"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ }
+ }
+ },
+ "snapshotPolicyProperties": {
+ "description": "Snapshot policy properties",
+ "type": "object",
+ "properties": {
+ "hourlySchedule": {
+ "title": "hourlySchedule",
+ "description": "Schedule for hourly snapshots",
+ "type": "object",
+ "$ref": "#/definitions/hourlySchedule"
+ },
+ "dailySchedule": {
+ "title": "dailySchedule",
+ "description": "Schedule for daily snapshots",
+ "type": "object",
+ "$ref": "#/definitions/dailySchedule"
+ },
+ "weeklySchedule": {
+ "title": "weeklySchedule",
+ "description": "Schedule for weekly snapshots",
+ "type": "object",
+ "$ref": "#/definitions/weeklySchedule"
+ },
+ "monthlySchedule": {
+ "title": "monthlySchedule",
+ "description": "Schedule for monthly snapshots",
+ "type": "object",
+ "$ref": "#/definitions/monthlySchedule"
+ },
+ "enabled": {
+ "type": "boolean",
+ "description": "The property to decide policy is enabled or not"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ }
+ }
+ },
+ "snapshotPolicy": {
+ "description": "Snapshot policy information",
+ "type": "object",
+ "required": [
+ "location",
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "properties": {
+ "description": "Snapshot policy Properties",
+ "$ref": "#/definitions/snapshotPolicyProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "snapshotPoliciesList": {
+ "description": "List of Snapshot Policies",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of snapshot policies",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/snapshotPolicy"
+ }
+ }
+ }
+ },
+ "snapshotPolicyDetails": {
+ "description": "Snapshot policy properties",
+ "type": "object",
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Snapshot policy Properties",
+ "$ref": "#/definitions/snapshotPolicyProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "snapshotPolicyPatch": {
+ "description": "Snapshot policy Details for create and update",
+ "type": "object",
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Snapshot Policy properties",
+ "$ref": "#/definitions/snapshotPolicyProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "snapshotPolicyVolumeList": {
+ "description": "Volumes associated with snapshot policy",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of volumes",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/volume"
+ }
+ }
+ }
+ },
+ "hourlySchedule": {
+ "description": "Hourly Schedule properties",
+ "type": "object",
+ "properties": {
+ "snapshotsToKeep": {
+ "type": "integer",
+ "description": "Hourly snapshot count to keep",
+ "format": "int32"
+ },
+ "minute": {
+ "type": "integer",
+ "description": "Indicates which minute snapshot should be taken",
+ "example": 30,
+ "format": "int32"
+ },
+ "usedBytes": {
+ "type": "integer",
+ "description": "Resource size in bytes, current storage usage for the volume in bytes",
+ "format": "int64"
+ }
+ }
+ },
+ "dailySchedule": {
+ "description": "Daily Schedule properties",
+ "type": "object",
+ "properties": {
+ "snapshotsToKeep": {
+ "type": "integer",
+ "description": "Daily snapshot count to keep",
+ "format": "int32"
+ },
+ "hour": {
+ "type": "integer",
+ "description": "Indicates which hour in UTC timezone a snapshot should be taken",
+ "example": 11,
+ "format": "int32"
+ },
+ "minute": {
+ "type": "integer",
+ "description": "Indicates which minute snapshot should be taken",
+ "example": 30,
+ "format": "int32"
+ },
+ "usedBytes": {
+ "type": "integer",
+ "description": "Resource size in bytes, current storage usage for the volume in bytes",
+ "format": "int64"
+ }
+ }
+ },
+ "weeklySchedule": {
+ "description": "Weekly Schedule properties, make a snapshot every week at a specific day or days",
+ "type": "object",
+ "properties": {
+ "snapshotsToKeep": {
+ "type": "integer",
+ "description": "Weekly snapshot count to keep",
+ "format": "int32"
+ },
+ "day": {
+ "type": "string",
+ "description": "Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english",
+ "example": "Sunday,Monday"
+ },
+ "hour": {
+ "type": "integer",
+ "description": "Indicates which hour in UTC timezone a snapshot should be taken",
+ "example": 11,
+ "format": "int32"
+ },
+ "minute": {
+ "type": "integer",
+ "description": "Indicates which minute snapshot should be taken",
+ "example": 30,
+ "format": "int32"
+ },
+ "usedBytes": {
+ "type": "integer",
+ "description": "Resource size in bytes, current storage usage for the volume in bytes",
+ "format": "int64"
+ }
+ }
+ },
+ "monthlySchedule": {
+ "description": "Monthly Schedule properties",
+ "type": "object",
+ "properties": {
+ "snapshotsToKeep": {
+ "type": "integer",
+ "description": "Monthly snapshot count to keep",
+ "format": "int32"
+ },
+ "daysOfMonth": {
+ "type": "string",
+ "description": "Indicates which days of the month snapshot should be taken. A comma delimited string.",
+ "example": "1,11,21"
+ },
+ "hour": {
+ "type": "integer",
+ "description": "Indicates which hour in UTC timezone a snapshot should be taken",
+ "example": 11,
+ "format": "int32"
+ },
+ "minute": {
+ "type": "integer",
+ "description": "Indicates which minute snapshot should be taken",
+ "example": 30,
+ "format": "int32"
+ },
+ "usedBytes": {
+ "type": "integer",
+ "description": "Resource size in bytes, current storage usage for the volume in bytes",
+ "format": "int64"
+ }
+ }
+ },
+ "volumeRevert": {
+ "description": "revert a volume to the snapshot",
+ "type": "object",
+ "properties": {
+ "snapshotId": {
+ "type": "string",
+ "description": "Resource id of the snapshot"
+ }
+ }
+ },
+ "authorizeRequest": {
+ "description": "Authorize request",
+ "type": "object",
+ "properties": {
+ "remoteVolumeResourceId": {
+ "type": "string",
+ "description": "Resource id of the remote volume"
+ }
+ }
+ },
+ "breakReplicationRequest": {
+ "description": "Break replication request",
+ "type": "object",
+ "properties": {
+ "forceBreakReplication": {
+ "type": "boolean",
+ "description": "If replication is in status transferring and you want to force break the replication, set to true"
+ }
+ }
+ },
+ "reestablishReplicationRequest": {
+ "description": "Re-establish request object supplied in the body of the operation.",
+ "type": "object",
+ "properties": {
+ "sourceVolumeId": {
+ "type": "string",
+ "description": "Resource id of the source volume for the replication"
+ }
+ }
+ },
+ "relocateVolumeRequest": {
+ "description": "Relocate volume request",
+ "type": "object",
+ "properties": {
+ "creationToken": {
+ "type": "string",
+ "description": "New creation token for the volume that controls the mount point name"
+ }
+ }
+ },
+ "breakFileLocksRequest": {
+ "description": "Break file locks request",
+ "type": "object",
+ "properties": {
+ "clientIp": {
+ "type": "string",
+ "description": "To clear file locks on a volume for a particular client",
+ "pattern": "^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
+ "example": "101.102.103.104"
+ },
+ "confirmRunningDisruptiveOperation": {
+ "type": "boolean",
+ "description": "Break File locks could be a disruptive operation for application as locks on the volume will be broken, if want to process, set to true.",
+ "default": false
+ }
+ }
+ },
+ "poolChangeRequest": {
+ "description": "Pool change request",
+ "type": "object",
+ "required": [
+ "newPoolResourceId"
+ ],
+ "properties": {
+ "newPoolResourceId": {
+ "type": "string",
+ "description": "Resource id of the pool to move volume to"
+ }
+ }
+ },
+ "backupPolicyProperties": {
+ "description": "Backup policy properties",
+ "type": "object",
+ "properties": {
+ "backupPolicyId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Backup Policy Resource ID"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ },
+ "dailyBackupsToKeep": {
+ "type": "integer",
+ "description": "Daily backups count to keep",
+ "format": "int32"
+ },
+ "weeklyBackupsToKeep": {
+ "type": "integer",
+ "description": "Weekly backups count to keep",
+ "format": "int32"
+ },
+ "monthlyBackupsToKeep": {
+ "type": "integer",
+ "description": "Monthly backups count to keep",
+ "format": "int32"
+ },
+ "volumesAssigned": {
+ "type": "integer",
+ "readOnly": true,
+ "description": "Volumes using current backup policy",
+ "format": "int32"
+ },
+ "enabled": {
+ "type": "boolean",
+ "description": "The property to decide policy is enabled or not"
+ },
+ "volumeBackups": {
+ "description": "A list of volumes assigned to this policy",
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/volumeBackups"
+ },
+ "x-ms-identifiers": [
+ "volumeName"
+ ]
+ }
+ }
+ },
+ "backupPolicy": {
+ "description": "Backup policy information",
+ "type": "object",
+ "required": [
+ "location",
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "properties": {
+ "description": "Backup policy Properties",
+ "$ref": "#/definitions/backupPolicyProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "backupPoliciesList": {
+ "description": "List of Backup Policies",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of backup policies",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/backupPolicy"
+ }
+ }
+ }
+ },
+ "backupPolicyPatch": {
+ "description": "Backup policy Details for create and update",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Backup policy Properties",
+ "$ref": "#/definitions/backupPolicyProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "volumeBackups": {
+ "description": "Volume details using the backup policy",
+ "type": "object",
+ "readOnly": true,
+ "properties": {
+ "volumeName": {
+ "type": "string",
+ "description": "Volume name"
+ },
+ "backupsCount": {
+ "type": "integer",
+ "description": "Total count of backups for volume",
+ "format": "int32"
+ },
+ "policyEnabled": {
+ "type": "boolean",
+ "description": "Policy enabled"
+ }
+ }
+ },
+ "restoreStatus": {
+ "description": "Restore status",
+ "type": "object",
+ "properties": {
+ "healthy": {
+ "type": "boolean",
+ "readOnly": true,
+ "description": "Restore health status"
+ },
+ "relationshipStatus": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Status of the restore SnapMirror relationship",
+ "enum": [
+ "Idle",
+ "Transferring",
+ "Failed",
+ "Unknown"
+ ],
+ "x-ms-enum": {
+ "name": "RelationshipStatus",
+ "modelAsString": true
+ }
+ },
+ "mirrorState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The status of the restore",
+ "enum": [
+ "Uninitialized",
+ "Mirrored",
+ "Broken"
+ ],
+ "x-ms-enum": {
+ "name": "MirrorState",
+ "modelAsString": true
+ }
+ },
+ "unhealthyReason": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Reason for the unhealthy restore relationship"
+ },
+ "errorMessage": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Displays error message if the restore is in an error state"
+ },
+ "totalTransferBytes": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Displays the total bytes transferred"
+ }
+ }
+ },
+ "getGroupIdListForLDAPUserRequest": {
+ "description": "Get group Id list for LDAP User request",
+ "type": "object",
+ "required": [
+ "username"
+ ],
+ "properties": {
+ "username": {
+ "type": "string",
+ "description": "username is required to fetch the group to which user is part of",
+ "maxLength": 255,
+ "minLength": 1
+ }
+ }
+ },
+ "getGroupIdListForLDAPUserResponse": {
+ "description": "Group Id list for Ldap user",
+ "type": "object",
+ "properties": {
+ "groupIdsForLdapUser": {
+ "description": "Group Id list",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "example": [
+ "123",
+ "224"
+ ]
+ }
+ }
+ },
+ "cloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/cloudErrorBody",
+ "description": "Cloud error body."
+ }
+ },
+ "description": "An error response from the service."
+ },
+ "cloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ }
+ },
+ "description": "An error response from the service."
+ },
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "type": "string",
+ "description": "The service level of the file system",
+ "enum": [
+ "Standard",
+ "Premium",
+ "Ultra",
+ "StandardZRS"
+ ],
+ "default": "Premium",
+ "x-ms-enum": {
+ "name": "ServiceLevel",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard",
+ "description": "Standard service level"
+ },
+ {
+ "value": "Premium",
+ "description": "Premium service level"
+ },
+ {
+ "value": "Ultra",
+ "description": "Ultra service level"
+ },
+ {
+ "value": "StandardZRS",
+ "description": "Zone redundant storage service level"
+ }
+ ]
+ }
+ },
+ "volumeQuotaRulesList": {
+ "description": "List of Volume Quota Rules",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of Volume Quota Rules",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/volumeQuotaRule"
+ }
+ }
+ }
+ },
+ "volumeQuotaRule": {
+ "description": "Quota Rule of a Volume",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "Volume Quota Rule Properties",
+ "$ref": "#/definitions/volumeQuotaRulesProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "volumeQuotaRulePatch": {
+ "description": "Patchable Quota Rule of a Volume",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Volume Quota Rule Properties",
+ "$ref": "#/definitions/volumeQuotaRulesProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "volumeQuotaRulesProperties": {
+ "description": "Volume Quota Rule properties",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "$ref": "#/definitions/netappProvisioningState"
+ },
+ "quotaSizeInKiBs": {
+ "type": "integer",
+ "description": "Size of quota",
+ "format": "int64",
+ "example": "100006"
+ },
+ "quotaType": {
+ "title": "quotaType",
+ "type": "string",
+ "description": "Type of quota",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "enum": [
+ "DefaultUserQuota",
+ "DefaultGroupQuota",
+ "IndividualUserQuota",
+ "IndividualGroupQuota"
+ ],
+ "x-ms-enum": {
+ "name": "type",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "DefaultUserQuota",
+ "description": "Default user quota"
+ },
+ {
+ "value": "DefaultGroupQuota",
+ "description": "Default group quota"
+ },
+ {
+ "value": "IndividualUserQuota",
+ "description": "Individual user quota"
+ },
+ {
+ "value": "IndividualGroupQuota",
+ "description": "Individual group quota"
+ }
+ ]
+ },
+ "example": "DefaultUserQuota"
+ },
+ "quotaTarget": {
+ "type": "string",
+ "description": "UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running ",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ }
+ },
+ "volumeGroupList": {
+ "description": "List of volume group resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of volume Groups",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/volumeGroup"
+ }
+ }
+ }
+ },
+ "volumeGroup": {
+ "description": "Volume group resource",
+ "type": "object",
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "properties": {
+ "description": "Volume group properties",
+ "$ref": "#/definitions/volumeGroupListProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "volumeGroupDetails": {
+ "description": "Volume group resource for create",
+ "type": "object",
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "properties": {
+ "description": "Volume group properties",
+ "$ref": "#/definitions/volumeGroupProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "volumeGroupMetaData": {
+ "description": "Volume group properties",
+ "type": "object",
+ "properties": {
+ "groupDescription": {
+ "type": "string",
+ "description": "Group Description",
+ "example": "group description"
+ },
+ "applicationType": {
+ "type": "string",
+ "description": "Application Type",
+ "enum": [
+ "SAP-HANA",
+ "ORACLE"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationType",
+ "modelAsString": true
+ },
+ "example": "SAP-HANA"
+ },
+ "applicationIdentifier": {
+ "type": "string",
+ "description": "Application specific identifier",
+ "example": "SH1"
+ },
+ "globalPlacementRules": {
+ "title": "Global volume placement rules",
+ "description": "Application specific placement rules for the volume group",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/placementKeyValuePairs"
+ },
+ "x-ms-identifiers": [
+ "key"
+ ]
+ },
+ "volumesCount": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Number of volumes in volume group",
+ "example": 5,
+ "readOnly": true
+ }
+ }
+ },
+ "volumeGroupProperties": {
+ "description": "Volume group properties",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "type": "string",
+ "description": "Azure lifecycle management",
+ "example": "Available",
+ "readOnly": true
+ },
+ "groupMetaData": {
+ "title": "groupMetaData",
+ "description": "Volume group details",
+ "type": "object",
+ "$ref": "#/definitions/volumeGroupMetaData"
+ },
+ "volumes": {
+ "description": "List of volumes from group",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/volumeGroupVolumeProperties"
+ }
+ }
+ }
+ },
+ "volumeGroupListProperties": {
+ "description": "Volume group properties",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "type": "string",
+ "description": "Azure lifecycle management",
+ "example": "Available",
+ "readOnly": true
+ },
+ "groupMetaData": {
+ "title": "groupMetaData",
+ "description": "Volume group details",
+ "type": "object",
+ "$ref": "#/definitions/volumeGroupMetaData"
+ }
+ }
+ },
+ "volumeGroupVolumeProperties": {
+ "description": "Volume resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "zones": {
+ "type": "array",
+ "description": "Availability Zone",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "items": {
+ "type": "string",
+ "maxLength": 255,
+ "minLength": 1,
+ "example": "1"
+ }
+ },
+ "properties": {
+ "description": "Volume properties",
+ "$ref": "#/definitions/volumeProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "placementKeyValuePairs": {
+ "description": "Application specific parameters for the placement of volumes in the volume group",
+ "type": "object",
+ "required": [
+ "key",
+ "value"
+ ],
+ "properties": {
+ "key": {
+ "type": "string",
+ "description": "Key for an application specific parameter for the placement of volumes in the volume group",
+ "example": "key1"
+ },
+ "value": {
+ "type": "string",
+ "description": "Value for an application specific parameter for the placement of volumes in the volume group",
+ "example": "value1"
+ }
+ }
+ },
+ "networkSiblingSet": {
+ "title": "Network sibling set",
+ "description": "Describes the contents of a network sibling set.",
+ "type": "object",
+ "properties": {
+ "networkSiblingSetId": {
+ "$ref": "#/definitions/networkSiblingSetId"
+ },
+ "subnetId": {
+ "$ref": "#/definitions/subnetId"
+ },
+ "networkSiblingSetStateId": {
+ "$ref": "#/definitions/networkSiblingSetStateId"
+ },
+ "networkFeatures": {
+ "$ref": "#/definitions/networkFeatures"
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/networkSiblingSetProvisioningState"
+ },
+ "nicInfoList": {
+ "type": "array",
+ "x-ms-identifiers": [],
+ "description": "List of NIC information",
+ "items": {
+ "$ref": "#/definitions/nicInfo"
+ }
+ }
+ }
+ },
+ "QueryNetworkSiblingSetRequest": {
+ "title": "QueryNetworkSiblingSetRequest",
+ "description": "Network sibling set query.",
+ "type": "object",
+ "required": [
+ "networkSiblingSetId",
+ "subnetId"
+ ],
+ "properties": {
+ "networkSiblingSetId": {
+ "$ref": "#/definitions/networkSiblingSetId"
+ },
+ "subnetId": {
+ "$ref": "#/definitions/subnetId"
+ }
+ }
+ },
+ "UpdateNetworkSiblingSetRequest": {
+ "title": "UpdateNetworkSiblingSetRequest",
+ "description": "Network sibling set update.",
+ "type": "object",
+ "required": [
+ "networkSiblingSetId",
+ "subnetId",
+ "networkSiblingSetStateId",
+ "networkFeatures"
+ ],
+ "properties": {
+ "networkSiblingSetId": {
+ "$ref": "#/definitions/networkSiblingSetId"
+ },
+ "subnetId": {
+ "$ref": "#/definitions/subnetId"
+ },
+ "networkSiblingSetStateId": {
+ "$ref": "#/definitions/networkSiblingSetStateId"
+ },
+ "networkFeatures": {
+ "$ref": "#/definitions/networkFeatures",
+ "description": "Network features available to the volume, some such"
+ }
+ }
+ },
+ "networkFeatures": {
+ "title": "Network features",
+ "description": "Network features available to the volume, or current state of update.",
+ "type": "string",
+ "enum": [
+ "Basic",
+ "Standard",
+ "Basic_Standard",
+ "Standard_Basic"
+ ],
+ "x-ms-enum": {
+ "name": "NetworkFeatures",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Basic",
+ "description": "Basic network features."
+ },
+ {
+ "value": "Standard",
+ "description": "Standard network features."
+ },
+ {
+ "value": "Basic_Standard",
+ "description": "Updating from Basic to Standard network features."
+ },
+ {
+ "value": "Standard_Basic",
+ "description": "Updating from Standard to Basic network features."
+ }
+ ]
+ },
+ "example": "Standard",
+ "default": "Basic"
+ },
+ "networkSiblingSetProvisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gets the status of the NetworkSiblingSet at the time the operation was called.",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "NetworkSiblingSetProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "networkSiblingSetId": {
+ "title": "Network Sibling Set ID",
+ "description": "Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.",
+ "type": "string",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "networkSiblingSetStateId": {
+ "title": "Network sibling set state Id",
+ "description": "Network sibling set state Id identifying the current state of the sibling set.",
+ "type": "string",
+ "example": "12345_44420.8001578125"
+ },
+ "nicInfo": {
+ "title": "NIC information",
+ "description": "NIC information and list of volumes for which the NIC has the primary mount ip address.",
+ "type": "object",
+ "properties": {
+ "ipAddress": {
+ "$ref": "#/definitions/ipAddress"
+ },
+ "volumeResourceIds": {
+ "$ref": "#/definitions/volumeResourceIds"
+ }
+ }
+ },
+ "ipAddress": {
+ "title": "ipAddress",
+ "type": "string",
+ "readOnly": true,
+ "example": "1.2.3.4"
+ },
+ "volumeResourceIds": {
+ "title": "Volume resource Ids",
+ "type": "array",
+ "items": {
+ "title": "Resource Id of volume",
+ "type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
+ }
+ ]
+ }
+ }
+ },
+ "subnetId": {
+ "title": "Subnet resource Id",
+ "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}",
+ "type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.Network/virtualNetworks/subnets"
+ }
+ ]
+ }
+ },
+ "snapshotRestoreFiles": {
+ "description": "Restore payload for Single File Snapshot Restore",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "filePaths"
+ ],
+ "properties": {
+ "filePaths": {
+ "description": "List of files to be restored",
+ "type": "array",
+ "minItems": 1,
+ "maxItems": 10,
+ "items": {
+ "type": "string",
+ "maxLength": 1024,
+ "minLength": 1
+ },
+ "example": [
+ "/dir1/customer1.db",
+ "/dir1/customer2.db"
+ ]
+ },
+ "destinationPath": {
+ "description": "Destination folder where the files will be restored",
+ "type": "string",
+ "example": "/AVSdataStore"
+ }
+ }
+ },
+ "subvolumesList": {
+ "description": "List of Subvolumes",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of Subvolumes",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/subvolumeInfo"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ }
+ },
+ "subvolumeInfo": {
+ "description": "Subvolume Information properties",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "Subvolume Properties",
+ "$ref": "#/definitions/subvolumeProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "subvolumePatchRequest": {
+ "description": "Subvolume Patch Request properties",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "properties": {
+ "description": "Subvolume Properties",
+ "$ref": "#/definitions/subvolumePatchParams",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "subvolumePatchParams": {
+ "description": "Parameters with which a subvolume can be updated",
+ "type": "object",
+ "properties": {
+ "size": {
+ "title": "size",
+ "type": "integer",
+ "x-nullable": true,
+ "format": "int64",
+ "description": "Truncate subvolume to the provided size in bytes",
+ "example": 5
+ },
+ "path": {
+ "title": "path",
+ "type": "string",
+ "description": "path to the subvolume",
+ "example": "/pathToSubvolume"
+ }
+ }
+ },
+ "subvolumeProperties": {
+ "description": "This represents path associated with the subvolume",
+ "type": "object",
+ "properties": {
+ "path": {
+ "title": "path",
+ "type": "string",
+ "description": "Path to the subvolume",
+ "example": "/subvolume1"
+ },
+ "size": {
+ "title": "size",
+ "type": "integer",
+ "x-nullable": true,
+ "format": "int64",
+ "description": "Truncate subvolume to the provided size in bytes",
+ "example": 5
+ },
+ "parentPath": {
+ "title": "name",
+ "x-nullable": true,
+ "type": "string",
+ "description": "parent path to the subvolume",
+ "example": "/parentPath"
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Azure lifecycle management",
+ "readOnly": true,
+ "example": "Available"
+ }
+ }
+ },
+ "subvolumeModel": {
+ "description": "Result of the post subvolume and action is to get metadata of the subvolume.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "properties": {
+ "description": "It represents the minimal properties of the subvolume.",
+ "$ref": "#/definitions/subvolumeModelProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "subvolumeModelProperties": {
+ "description": "Properties which represents actual subvolume model which is stored as a file in the system.",
+ "type": "object",
+ "properties": {
+ "path": {
+ "title": "path",
+ "type": "string",
+ "description": "Path to the subvolume",
+ "example": "/subvolume1"
+ },
+ "parentPath": {
+ "title": "parentpath",
+ "type": "string",
+ "description": "Path to the parent subvolume",
+ "example": "/parentPath"
+ },
+ "size": {
+ "title": "size",
+ "type": "integer",
+ "format": "int64",
+ "description": "Size of subvolume",
+ "example": 5
+ },
+ "bytesUsed": {
+ "title": "bytesUsed",
+ "type": "integer",
+ "format": "int64",
+ "description": "Bytes used",
+ "example": 5
+ },
+ "permissions": {
+ "title": "permissions",
+ "type": "string",
+ "description": "Permissions of the subvolume",
+ "example": "777"
+ },
+ "creationTimeStamp": {
+ "title": "creationTimeStamp",
+ "type": "string",
+ "format": "date-time",
+ "description": "Creation time and date",
+ "example": "2017-08-15T13:23:33Z"
+ },
+ "accessedTimeStamp": {
+ "title": "accessedTimeStamp",
+ "type": "string",
+ "format": "date-time",
+ "description": "Most recent access time and date",
+ "example": "2017-08-15T13:23:33Z"
+ },
+ "modifiedTimeStamp": {
+ "title": "modifiedTimeStamp",
+ "type": "string",
+ "format": "date-time",
+ "description": "Most recent modification time and date",
+ "example": "2017-08-15T13:23:33Z"
+ },
+ "changedTimeStamp": {
+ "title": "changedTimeStamp",
+ "type": "string",
+ "format": "date-time",
+ "description": "Most recent change time and date",
+ "example": "2017-08-15T13:23:33Z"
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Azure lifecycle management",
+ "example": "Available"
+ }
+ }
+ },
+ "netappProvisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gets the status of the VolumeQuotaRule at the time the operation was called.",
+ "enum": [
+ "Accepted",
+ "Creating",
+ "Patching",
+ "Deleting",
+ "Moving",
+ "Failed",
+ "Succeeded"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": false
+ }
+ },
+ "coolAccessRetrievalPolicy": {
+ "type": "string",
+ "description": "coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are: \n Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default.\n OnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads.\n Never - No client-driven data is pulled from cool tier to standard storage.",
+ "enum": [
+ "Default",
+ "OnRead",
+ "Never"
+ ],
+ "x-ms-enum": {
+ "name": "coolAccessRetrievalPolicy",
+ "modelAsString": true
+ }
+ },
+ "smbAccessBasedEnumeration": {
+ "title": "smbAccessBasedEnumeration",
+ "type": "string",
+ "description": "Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "x-ms-enum": {
+ "name": "smbAccessBasedEnumeration",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Disabled",
+ "description": "smbAccessBasedEnumeration share setting is disabled"
+ },
+ {
+ "value": "Enabled",
+ "description": "smbAccessBasedEnumeration share setting is enabled"
+ }
+ ]
+ },
+ "x-nullable": true,
+ "example": "Enabled"
+ },
+ "smbNonBrowsable": {
+ "title": "smbNonBrowsable",
+ "type": "string",
+ "description": "Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "x-ms-enum": {
+ "name": "smbNonBrowsable",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Disabled",
+ "description": "smbNonBrowsable share setting is disabled"
+ },
+ {
+ "value": "Enabled",
+ "description": "smbNonBrowsable share setting is enabled"
+ }
+ ]
+ },
+ "example": "Enabled"
+ }
+ },
+ "parameters": {
+ "AccountName": {
+ "name": "accountName",
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$",
+ "in": "path",
+ "required": true,
+ "description": "The name of the NetApp account",
+ "x-ms-parameter-location": "method"
+ },
+ "PoolName": {
+ "name": "poolName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$",
+ "minLength": 1,
+ "maxLength": 64,
+ "description": "The name of the capacity pool",
+ "x-ms-parameter-location": "method"
+ },
+ "VolumeName": {
+ "name": "volumeName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$",
+ "minLength": 1,
+ "maxLength": 64,
+ "description": "The name of the volume",
+ "x-ms-parameter-location": "method"
+ },
+ "MountTargetName": {
+ "name": "mountTargetName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the mount target",
+ "x-ms-parameter-location": "method"
+ },
+ "SnapshotName": {
+ "name": "snapshotName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the snapshot",
+ "x-ms-parameter-location": "method"
+ },
+ "SnapshotPolicyName": {
+ "name": "snapshotPolicyName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the snapshot policy",
+ "x-ms-parameter-location": "method"
+ },
+ "BackupPolicyName": {
+ "name": "backupPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Backup policy Name which uniquely identify backup policy.",
+ "x-ms-parameter-location": "method"
+ },
+ "QuotaLimitName": {
+ "name": "quotaLimitName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the Quota Limit",
+ "x-ms-parameter-location": "method"
+ },
+ "VolumeGroupName": {
+ "name": "volumeGroupName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$",
+ "minLength": 1,
+ "maxLength": 64,
+ "description": "The name of the volumeGroup",
+ "x-ms-parameter-location": "method"
+ },
+ "SubvolumeName": {
+ "name": "subvolumeName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the subvolume.",
+ "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$",
+ "minLength": 1,
+ "maxLength": 64,
+ "x-ms-parameter-location": "method"
+ },
+ "VolumeQuotaRuleName": {
+ "name": "volumeQuotaRuleName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of volume quota rule",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/readme.go.md b/specification/netapp/resource-manager/readme.go.md
index 59e20df0c80f..68cfb88137c4 100644
--- a/specification/netapp/resource-manager/readme.go.md
+++ b/specification/netapp/resource-manager/readme.go.md
@@ -21,6 +21,8 @@ azure-arm: true
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-netapp-2023-07-01
+ - tag: package-preview-2023-05
- tag: package-netapp-2023-05-01
- tag: package-netapp-2022-11-01-preview
- tag: package-netapp-2022-11-01
@@ -40,8 +42,8 @@ batch:
- tag: package-netapp-2020-08-01
- tag: package-netapp-2020-07-01
- tag: package-netapp-2020-06-01
- - tag: package-netapp-2020-05-01
- - tag: package-netapp-2020-03-01
+ - tag: package-netapp-2020-05-01
+ - tag: package-netapp-2020-03-01
- tag: package-netapp-2020-02-01
- tag: package-netapp-2019-11-01
- tag: package-netapp-2019-10-01
@@ -52,6 +54,24 @@ batch:
- tag: package-2017-08-15
```
+### Tag: package-netapp-2023-07-01 and go
+
+These settings apply only when `--tag=package-netapp-2023-07-01 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-netapp-2023-07-01' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2023-07-01/$(namespace)
+```
+
+### Tag: package-preview-2023-05 and go
+
+These settings apply only when `--tag=package-preview-2023-05 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-preview-2023-05' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2023-05-01-preview/$(namespace)
+```
+
### Tag: package-netapp-2023-05-01 and go
These settings apply only when `--tag=package-netapp-2023-05-01 --go` is specified on the command line.
@@ -210,7 +230,7 @@ These settings apply only when `--tag=package-netapp-2020-07-01 --go` is specifi
Please also specify `--go-sdk-folder=`.
``` yaml $(tag) == 'package-netapp-2020-07-01' && $(go)
-output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-07-01/$(namespace)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-07-01/$(namespace)
```
### Tag: package-netapp-2020-06-01 and go
@@ -219,7 +239,7 @@ These settings apply only when `--tag=package-netapp-2020-06-01 --go` is specifi
Please also specify `--go-sdk-folder=`.
``` yaml $(tag) == 'package-netapp-2020-06-01' && $(go)
-output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-06-01/$(namespace)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-06-01/$(namespace)
```
### Tag: package-netapp-2020-05-01 and go
diff --git a/specification/netapp/resource-manager/readme.java.md b/specification/netapp/resource-manager/readme.java.md
index 214741f735e6..03a18d629f56 100644
--- a/specification/netapp/resource-manager/readme.java.md
+++ b/specification/netapp/resource-manager/readme.java.md
@@ -18,6 +18,8 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-netapp
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-netapp-2023-07-01
+ - tag: package-preview-2023-05
- tag: package-netapp-2023-05-01
- tag: package-netapp-2022-11-01-preview
- tag: package-netapp-2022-11-01
@@ -33,12 +35,12 @@ batch:
- tag: package-netapp-2021-02-01
- tag: package-netapp-2020-12-01
- tag: package-netapp-2020-11-01
- - tag: package-netapp-2020-09-01
+ - tag: package-netapp-2020-09-01
- tag: package-netapp-2020-08-01
- tag: package-netapp-2020-07-01
- tag: package-netapp-2020-06-01
- - tag: package-netapp-2020-05-01
- - tag: package-netapp-2020-03-01
+ - tag: package-netapp-2020-05-01
+ - tag: package-netapp-2020-03-01
- tag: package-netapp-2020-02-01
- tag: package-netapp-2019-11-01
- tag: package-netapp-2019-10-01
@@ -49,6 +51,32 @@ batch:
- tag: package-2017-08-15
```
+### Tag: package-netapp-2023-07-01 and java
+
+These settings apply only when `--tag=package-netapp-2023-07-01 --java` is specified on the command line.
+Please also specify the `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-netapp-2023-07-01' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.netapp.v2023_07_01
+ output-folder: $(azure-libraries-for-java-folder)/sdk/netapp/mgmt-v2023_07_01
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-preview-2023-05 and java
+
+These settings apply only when `--tag=package-preview-2023-05 --java` is specified on the command line.
+Please also specify the `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-preview-2023-05' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.netapp.v2023_05_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/sdk/netapp/mgmt-v2023_05_01_preview
+regenerate-manager: true
+generate-interface: true
+```
+
### Tag: package-netapp-2023-05-01 and java
These settings apply only when `--tag=package-netapp-2023-05-01 --java` is specified on the command line.
diff --git a/specification/netapp/resource-manager/readme.md b/specification/netapp/resource-manager/readme.md
index 70799183251c..29ca82dfae8d 100644
--- a/specification/netapp/resource-manager/readme.md
+++ b/specification/netapp/resource-manager/readme.md
@@ -28,7 +28,25 @@ These are the global settings for the Azure NetApp Files API.
title: NetAppManagementClient
description: Microsoft NetApp Files Azure Resource Provider specification
openapi-type: arm
-tag: package-netapp-2023-05-01
+tag: package-netapp-2023-07-01
+```
+
+### Tag: package-netapp-2023-07-01
+
+These settings apply only when `--tag=package-netapp-2023-07-01` is specified on the command line.
+
+```yaml $(tag) == 'package-netapp-2023-07-01'
+input-file:
+ - Microsoft.NetApp/stable/2023-07-01/netapp.json
+```
+
+### Tag: package-preview-2023-05
+
+These settings apply only when `--tag=package-preview-2023-05` is specified on the command line.
+
+```yaml $(tag) == 'package-preview-2023-05'
+input-file:
+ - Microsoft.NetApp/preview/2023-05-01-preview/netapp.json
```
@@ -36,10 +54,11 @@ tag: package-netapp-2023-05-01
These settings apply only when `--tag=package-netapp-2023-05-01` is specified on the command line.
-```yaml $(tag) == 'package-netapp-2023-05-01'
+``` yaml $(tag) == 'package-netapp-2023-05-01'
input-file:
- Microsoft.NetApp/stable/2023-05-01/netapp.json
```
+
### Tag: package-netapp-2022-11-01
These settings apply only when `--tag=package-netapp-2022-11-01` is specified on the command line.
@@ -58,7 +77,6 @@ input-file:
- Microsoft.NetApp/preview/2022-11-01-preview/netapp.json
```
-
### Tag: package-netapp-2022-09-01
These settings apply only when `--tag=package-netapp-2022-09-01` is specified on the command line.
@@ -309,7 +327,7 @@ swagger-to-sdk:
- repo: azure-sdk-for-js
- repo: azure-sdk-for-go
- repo: azure-sdk-for-java
- - repo: azure-sdk-for-trenton
+ - repo: azure-sdk-for-trenton
- repo: azure-resource-manager-schemas
- repo: azure-powershell
```
@@ -358,6 +376,6 @@ suppressions:
from: netapp.json
where:
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}/restoreFiles"].post
- - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/migrateBackups"].post
+ - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/migrateBackups"].post
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/migrateBackups"].post
```
diff --git a/specification/network/resource-manager/readme.python.md b/specification/network/resource-manager/readme.python.md
index ce776c92c5d8..555c132b829e 100644
--- a/specification/network/resource-manager/readme.python.md
+++ b/specification/network/resource-manager/readme.python.md
@@ -18,9 +18,10 @@ Generate all API versions currently shipped for this package
```yaml $(python)
multiapi: true
-default-api-version: "2023-05-01"
+default-api-version: "2023-06-01"
clear-output-folder: true
batch:
+ - tag: package-2023-06
- tag: package-2023-05
- tag: package-2023-04
- tag: package-2023-02
@@ -56,6 +57,16 @@ perform-load: false
clear-output-folder: false
```
+### Tag: package-2023-06 and python
+
+These settings apply only when `--tag=package-2023-06 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2023-06'
+namespace: azure.mgmt.network.v2023_06_01
+output-folder: $(python-sdks-folder)/network/azure-mgmt-network/azure/mgmt/network/v2023_06_01
+```
+
### Tag: package-2023-05 and python
These settings apply only when `--tag=package-2023-05 --python` is specified on the command line.
diff --git a/specification/networkanalytics/resource-manager/readme.java.md b/specification/networkanalytics/resource-manager/readme.java.md
new file mode 100644
index 000000000000..f04c0c55e721
--- /dev/null
+++ b/specification/networkanalytics/resource-manager/readme.java.md
@@ -0,0 +1,9 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+
+``` yaml $(java)
+title: NetworkAnalyticsMgmtClient
+service-name: Network Analytics
+client-flattened-annotation-target: disabled
+```
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachineKeySets_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachineKeySets_Delete.json
deleted file mode 100644
index 07df57637b2d..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachineKeySets_Delete.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterName": "clusterName",
- "bareMetalMachineKeySetName": "bareMetalMachineKeySetName"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachineKeySets_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachineKeySets_ListByResourceGroup.json
deleted file mode 100644
index 1550c753b921..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachineKeySets_ListByResourceGroup.json
+++ /dev/null
@@ -1,81 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterName": "clusterName"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bareMetalMachineKeySets/bareMetalMachineKeySetName",
- "name": "bareMetalMachineKeySetName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusters/bareMetalMachineKeySets",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "privilegeLevel": "Standard",
- "expiration": "2022-12-31T23:59:59.008Z",
- "azureGroupId": "f110271b-XXXX-4163-9b99-214d91660f0e",
- "osGroupName": "standardAccessGroup",
- "jumpHostsAllowed": [
- "192.0.2.1",
- "192.0.2.5"
- ],
- "userList": [
- {
- "azureUserName": "userABC",
- "sshPublicKey": {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- },
- "description": "Needs access for troubleshooting as a part of the support team"
- },
- {
- "azureUserName": "userXYZ",
- "sshPublicKey": {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- },
- "description": "Needs access for troubleshooting as a part of the support team"
- }
- ],
- "provisioningState": "Succeeded",
- "userListStatus": [
- {
- "azureUserName": "userABC",
- "status": "Active",
- "statusMessage": "User has been provisioned"
- },
- {
- "azureUserName": "userXYZ",
- "status": "Invalid",
- "statusMessage": "User is not a valid Azure user"
- }
- ],
- "lastValidation": "2022-12-12T12:00:00.008Z",
- "detailedStatus": "SomeInvalid",
- "detailedStatusMessage": "Inalid Azure user(s) were provided: userXYZ"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Cordon.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Cordon.json
deleted file mode 100644
index d7f67db12495..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Cordon.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "bareMetalMachineName": "bareMetalMachineName",
- "bareMetalMachineCordonParameters": {
- "evacuate": "True"
- }
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Create.json
deleted file mode 100644
index 931541eb06a0..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Create.json
+++ /dev/null
@@ -1,183 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "bareMetalMachineName": "bareMetalMachineName",
- "bareMetalMachineParameters": {
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "machineSkuId": "684E-3B16-399E",
- "rackSlot": 1,
- "machineName": "r01c001",
- "bootMacAddress": "00:00:4e:00:58:af",
- "bmcMacAddress": "00:00:4f:00:57:00",
- "bmcCredentials": {
- "username": "bmcuser",
- "password": "{password}"
- },
- "bmcConnectionString": "bmcconnectionstring",
- "machineDetails": "User-provided machine details.",
- "serialNumber": "BM1219XXX"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "name": "bareMetalMachineName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/bareMetalMachines",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "machineSkuId": "684E-3B16-399E",
- "rackSlot": 1,
- "machineName": "r01c001",
- "bootMacAddress": "00:00:4e:00:58:af",
- "bmcMacAddress": "00:00:4f:00:57:00",
- "bmcCredentials": {
- "username": "bmcuser"
- },
- "bmcConnectionString": "bmcconnectionstring",
- "machineDetails": "User-provided machine details.",
- "serialNumber": "BM1219XXX",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "readyState": "True",
- "cordonStatus": "Uncordoned",
- "powerState": "On",
- "hardwareInventory": {
- "interfaces": [
- {
- "name": "networkInterfaceName",
- "macAddress": "2C:54:91:88:C9:E3",
- "linkStatus": "Up",
- "networkInterfaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName"
- }
- ],
- "additionalHostInformation": "Machine specific information..."
- },
- "detailedStatus": "Available",
- "detailedStatusMessage": "DetailedStatusMessage",
- "serviceTag": "ST1219XXX",
- "kubernetesNodeName": "node01",
- "kubernetesVersion": "1.21",
- "osImage": "v20220805e",
- "oamIpv4Address": "192.0.2.1",
- "oamIpv6Address": "0:0:0:0:0:FFFF:7F00:0001",
- "hardwareValidationStatus": {
- "result": "Pass",
- "lastValidationTime": "2022-09-30T13:27:03.008Z"
- },
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ]
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "name": "bareMetalMachineName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/bareMetalMachines",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "machineSkuId": "684E-3B16-399E",
- "rackSlot": 1,
- "machineName": "r01c001",
- "bootMacAddress": "00:00:4e:00:58:af",
- "bmcMacAddress": "00:00:4f:00:57:00",
- "bmcCredentials": {
- "username": "bmcuser"
- },
- "bmcConnectionString": "bmcconnectionstring",
- "machineDetails": "User-provided machine details.",
- "serialNumber": "BM1219XXX",
- "provisioningState": "Accepted",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "readyState": "True",
- "cordonStatus": "Uncordoned",
- "powerState": "On",
- "hardwareInventory": {
- "interfaces": [
- {
- "name": "networkInterfaceName",
- "macAddress": "2C:54:91:88:C9:E3",
- "linkStatus": "Up",
- "networkInterfaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName"
- }
- ],
- "additionalHostInformation": "Machine specific information..."
- },
- "detailedStatus": "Available",
- "detailedStatusMessage": "DetailedStatusMessage",
- "serviceTag": "ST1219XXX",
- "kubernetesNodeName": "node01",
- "kubernetesVersion": "1.21",
- "osImage": "v20220805e",
- "oamIpv4Address": "192.0.2.1",
- "oamIpv6Address": "0:0:0:0:0:FFFF:7F00:0001",
- "hardwareValidationStatus": {
- "result": "Pass",
- "lastValidationTime": "2022-09-30T13:27:03.008Z"
- },
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ]
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Delete.json
deleted file mode 100644
index 4687beb54c3b..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Delete.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "bareMetalMachineName": "bareMetalMachineName"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Get.json
deleted file mode 100644
index 6742fcf18a6a..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Get.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "bareMetalMachineName": "bareMetalMachineName"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "name": "bareMetalMachineName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/bareMetalMachines",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "machineSkuId": "684E-3B16-399E",
- "rackSlot": 1,
- "machineName": "r01c001",
- "bootMacAddress": "00:00:4e:00:58:af",
- "bmcMacAddress": "00:00:4f:00:57:00",
- "bmcCredentials": {
- "username": "bmcuser"
- },
- "bmcConnectionString": "bmcconnectionstring",
- "machineDetails": "User-provided machine details.",
- "serialNumber": "BM1219XXX",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "readyState": "True",
- "cordonStatus": "Uncordoned",
- "powerState": "On",
- "hardwareInventory": {
- "interfaces": [
- {
- "name": "networkInterfaceName",
- "macAddress": "2C:54:91:88:C9:E3",
- "linkStatus": "Up",
- "networkInterfaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName"
- }
- ],
- "additionalHostInformation": "Machine specific information..."
- },
- "detailedStatus": "Available",
- "detailedStatusMessage": "DetailedStatusMessage",
- "serviceTag": "ST1219XXX",
- "kubernetesNodeName": "node01",
- "kubernetesVersion": "1.21",
- "osImage": "v20220805e",
- "oamIpv4Address": "192.0.2.1",
- "oamIpv6Address": "0:0:0:0:0:FFFF:7F00:0001",
- "hardwareValidationStatus": {
- "result": "Pass",
- "lastValidationTime": "2022-09-30T13:27:03.008Z"
- },
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ]
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_ListByResourceGroup.json
deleted file mode 100644
index ec65a34ab3db..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_ListByResourceGroup.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "name": "bareMetalMachineName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/bareMetalMachines",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "machineSkuId": "684E-3B16-399E",
- "rackSlot": 1,
- "machineName": "r01c001",
- "bootMacAddress": "00:00:4e:00:58:af",
- "bmcMacAddress": "00:00:4f:00:57:00",
- "bmcCredentials": {
- "username": "bmcuser"
- },
- "bmcConnectionString": "bmcconnectionstring",
- "machineDetails": "User-provided machine details.",
- "serialNumber": "BM1219XXX",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "readyState": "True",
- "cordonStatus": "Uncordoned",
- "powerState": "On",
- "hardwareInventory": {
- "interfaces": [
- {
- "name": "networkInterfaceName",
- "macAddress": "2C:54:91:88:C9:E3",
- "linkStatus": "Up",
- "networkInterfaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName"
- }
- ],
- "additionalHostInformation": "Machine specific information..."
- },
- "detailedStatus": "Available",
- "detailedStatusMessage": "DetailedStatusMessage",
- "serviceTag": "ST1219XXX",
- "kubernetesNodeName": "node01",
- "kubernetesVersion": "1.21",
- "osImage": "v20220805e",
- "oamIpv4Address": "192.0.2.1",
- "oamIpv6Address": "0:0:0:0:0:FFFF:7F00:0001",
- "hardwareValidationStatus": {
- "result": "Pass",
- "lastValidationTime": "2022-09-30T13:27:03.008Z"
- },
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ]
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_ListBySubscription.json
deleted file mode 100644
index f75963a3a0a1..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_ListBySubscription.json
+++ /dev/null
@@ -1,85 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "name": "bareMetalMachineName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/bareMetalMachines",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "machineSkuId": "684E-3B16-399E",
- "rackSlot": 1,
- "machineName": "r01c001",
- "bootMacAddress": "00:00:4e:00:58:af",
- "bmcMacAddress": "00:00:4f:00:57:00",
- "bmcCredentials": {
- "username": "bmcuser"
- },
- "bmcConnectionString": "bmcconnectionstring",
- "machineDetails": "User-provided machine details.",
- "serialNumber": "BM1219XXX",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "readyState": "True",
- "cordonStatus": "Uncordoned",
- "powerState": "On",
- "hardwareInventory": {
- "interfaces": [
- {
- "name": "networkInterfaceName",
- "macAddress": "2C:54:91:88:C9:E3",
- "linkStatus": "Up",
- "networkInterfaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName"
- }
- ],
- "additionalHostInformation": "Machine specific information..."
- },
- "detailedStatus": "Available",
- "detailedStatusMessage": "DetailedStatusMessage",
- "serviceTag": "ST1219XXX",
- "kubernetesNodeName": "node01",
- "kubernetesVersion": "1.21",
- "osImage": "v20220805e",
- "oamIpv4Address": "192.0.2.1",
- "oamIpv6Address": "0:0:0:0:0:FFFF:7F00:0001",
- "hardwareValidationStatus": {
- "result": "Pass",
- "lastValidationTime": "2022-09-30T13:27:03.008Z"
- },
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ]
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Patch.json
deleted file mode 100644
index b674f4f230ab..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Patch.json
+++ /dev/null
@@ -1,166 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "bareMetalMachineName": "bareMetalMachineName",
- "bareMetalMachineUpdateParameters": {
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "properties": {
- "machineDetails": "machinedetails"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "name": "bareMetalMachineName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/bareMetalMachines",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "machineSkuId": "684E-3B16-399E",
- "rackSlot": 1,
- "machineName": "r01c001",
- "bootMacAddress": "00:00:4e:00:58:af",
- "bmcMacAddress": "00:00:4f:00:57:00",
- "bmcCredentials": {
- "username": "bmcuser"
- },
- "bmcConnectionString": "bmcconnectionstring",
- "machineDetails": "User-provided machine details.",
- "serialNumber": "BM1219XXX",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "readyState": "True",
- "cordonStatus": "Uncordoned",
- "powerState": "On",
- "hardwareInventory": {
- "interfaces": [
- {
- "name": "networkInterfaceName",
- "macAddress": "2C:54:91:88:C9:E3",
- "linkStatus": "Up",
- "networkInterfaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName"
- }
- ],
- "additionalHostInformation": "Machine specific information..."
- },
- "detailedStatus": "Available",
- "detailedStatusMessage": "DetailedStatusMessage",
- "serviceTag": "ST1219XXX",
- "kubernetesNodeName": "node01",
- "kubernetesVersion": "1.21",
- "osImage": "v20220805e",
- "oamIpv4Address": "192.0.2.1",
- "oamIpv6Address": "0:0:0:0:0:FFFF:7F00:0001",
- "hardwareValidationStatus": {
- "result": "Pass",
- "lastValidationTime": "2022-09-30T13:27:03.008Z"
- },
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ]
- }
- }
- },
- "202": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "name": "bareMetalMachineName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/bareMetalMachines",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "machineSkuId": "684E-3B16-399E",
- "rackSlot": 1,
- "machineName": "r01c001",
- "bootMacAddress": "00:00:4e:00:58:af",
- "bmcMacAddress": "00:00:4f:00:57:00",
- "bmcCredentials": {
- "username": "bmcuser"
- },
- "bmcConnectionString": "bmcconnectionstring",
- "machineDetails": "User-provided machine details.",
- "serialNumber": "BM1219XXX",
- "provisioningState": "Accepted",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "readyState": "True",
- "cordonStatus": "Uncordoned",
- "powerState": "On",
- "hardwareInventory": {
- "interfaces": [
- {
- "name": "networkInterfaceName",
- "macAddress": "2C:54:91:88:C9:E3",
- "linkStatus": "Up",
- "networkInterfaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName"
- }
- ],
- "additionalHostInformation": "Machine specific information..."
- },
- "detailedStatus": "Available",
- "detailedStatusMessage": "DetailedStatusMessage",
- "serviceTag": "ST1219XXX",
- "kubernetesNodeName": "node01",
- "kubernetesVersion": "1.21",
- "osImage": "v20220805e",
- "oamIpv4Address": "192.0.2.1",
- "oamIpv6Address": "0:0:0:0:0:FFFF:7F00:0001",
- "hardwareValidationStatus": {
- "result": "Pass",
- "lastValidationTime": "2022-09-30T13:27:03.008Z"
- },
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ]
- }
- },
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_PowerOff.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_PowerOff.json
deleted file mode 100644
index 823c24fd16c4..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_PowerOff.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "bareMetalMachineName": "bareMetalMachineName",
- "bareMetalMachinePowerOffParameters": {
- "skipShutdown": "True"
- }
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Reimage.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Reimage.json
deleted file mode 100644
index 04c1faa37b9f..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Reimage.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "bareMetalMachineName": "bareMetalMachineName"
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Replace.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Replace.json
deleted file mode 100644
index a34410dbae9f..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Replace.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "bareMetalMachineName": "bareMetalMachineName",
- "bareMetalMachineReplaceParameters": {
- "bootMacAddress": "00:00:4e:00:58:af",
- "bmcCredentials": {
- "username": "bmcuser",
- "password": "{password}"
- },
- "serialNumber": "BM1219XXX",
- "bmcMacAddress": "00:00:4f:00:57:ad",
- "machineName": "name"
- }
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Restart.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Restart.json
deleted file mode 100644
index 04c1faa37b9f..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Restart.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "bareMetalMachineName": "bareMetalMachineName"
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_RunCommand.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_RunCommand.json
deleted file mode 100644
index 9bdf6be5ae48..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_RunCommand.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "bareMetalMachineName": "bareMetalMachineName",
- "bareMetalMachineRunCommandParameters": {
- "script": "cHdkCg==",
- "arguments": [
- "--argument1",
- "argument2"
- ],
- "limitTimeSeconds": 60
- }
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_RunDataExtracts.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_RunDataExtracts.json
deleted file mode 100644
index 1575f2288841..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_RunDataExtracts.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "bareMetalMachineName": "bareMetalMachineName",
- "bareMetalMachineRunDataExtractsParameters": {
- "commands": [
- {
- "command": "networkInfo"
- }
- ],
- "limitTimeSeconds": 60
- }
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_RunReadCommands.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_RunReadCommands.json
deleted file mode 100644
index 61a25c8e4c02..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_RunReadCommands.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "bareMetalMachineName": "bareMetalMachineName",
- "bareMetalMachineRunReadCommandsParameters": {
- "commands": [
- {
- "command": "kubectl get",
- "arguments": [
- "pods",
- "-A"
- ]
- },
- {
- "command": "ping",
- "arguments": [
- "192.168.0.99",
- "-c",
- "3"
- ]
- }
- ],
- "limitTimeSeconds": 60
- }
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Start.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Start.json
deleted file mode 100644
index 04c1faa37b9f..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Start.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "bareMetalMachineName": "bareMetalMachineName"
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Uncordon.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Uncordon.json
deleted file mode 100644
index 04c1faa37b9f..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_Uncordon.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "bareMetalMachineName": "bareMetalMachineName"
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_ValidateHardware.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_ValidateHardware.json
deleted file mode 100644
index 4db46fc99d6b..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachines_ValidateHardware.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "bareMetalMachineName": "bareMetalMachineName",
- "bareMetalMachineValidateHardwareParameters": {
- "validationCategory": "BasicValidation"
- }
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BmcKeySets_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BmcKeySets_Delete.json
deleted file mode 100644
index 43e7a2e7c3da..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BmcKeySets_Delete.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterName": "clusterName",
- "bmcKeySetName": "bmcKeySetName"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BmcKeySets_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BmcKeySets_ListByResourceGroup.json
deleted file mode 100644
index cbb95361ea91..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BmcKeySets_ListByResourceGroup.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterName": "clusterName"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bmcKeySets/bmcKeySetName",
- "name": "bmcKeySetName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusters/bmcKeySets",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "privilegeLevel": "Administrator",
- "expiration": "2022-12-31T23:59:59.008Z",
- "azureGroupId": "f110271b-XXXX-4163-9b99-214d91660f0e",
- "userList": [
- {
- "azureUserName": "userABC",
- "sshPublicKey": {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- },
- "description": "Needs access for troubleshooting as a part of the support team"
- },
- {
- "azureUserName": "userXYZ",
- "sshPublicKey": {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- },
- "description": "Needs access for troubleshooting as a part of the support team"
- }
- ],
- "provisioningState": "Succeeded",
- "userListStatus": [
- {
- "azureUserName": "userABC",
- "status": "Active",
- "statusMessage": "User has been provisioned"
- },
- {
- "azureUserName": "userXYZ",
- "status": "Invalid",
- "statusMessage": "User is not a valid Azure user"
- }
- ],
- "lastValidation": "2022-12-12T12:00:00.008Z",
- "detailedStatus": "SomeInvalid",
- "detailedStatusMessage": "Inalid Azure user(s) were provided: userXYZ"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_Create.json
deleted file mode 100644
index 86000dca9065..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_Create.json
+++ /dev/null
@@ -1,158 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "cloudServicesNetworkName": "cloudServicesNetworkName",
- "cloudServicesNetworkParameters": {
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "additionalEgressEndpoints": [
- {
- "category": "azure-resource-management",
- "endpoints": [
- {
- "domainName": "https://storageaccountex.blob.core.windows.net",
- "port": 443
- }
- ]
- }
- ],
- "enableDefaultEgressEndpoints": "False"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "name": "cloudServicesNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/cloudServicesNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "additionalEgressEndpoints": [
- {
- "category": "azure-resource-management",
- "endpoints": [
- {
- "domainName": "https://storageaccountex.blob.core.windows.net",
- "port": 443
- }
- ]
- }
- ],
- "enableDefaultEgressEndpoints": "False",
- "provisioningState": "Succeeded",
- "interfaceName": "eth0",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "enabledEgressEndpoints": [
- {
- "category": "azure-resource-management",
- "endpoints": [
- {
- "domainName": "https://storageaccountex.blob.core.windows.net",
- "port": 443
- }
- ]
- }
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Cloud services network is up"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "name": "cloudServicesNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/cloudServicesNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "additionalEgressEndpoints": [
- {
- "category": "azure-resource-management",
- "endpoints": [
- {
- "domainName": "https://storageaccountex.blob.core.windows.net",
- "port": 443
- }
- ]
- }
- ],
- "enableDefaultEgressEndpoints": "False",
- "provisioningState": "Succeeded",
- "interfaceName": "eth0",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "enabledEgressEndpoints": [
- {
- "category": "azure-resource-management",
- "endpoints": [
- {
- "domainName": "https://storageaccountex.blob.core.windows.net",
- "port": 443
- }
- ]
- }
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Cloud services network is up"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_Delete.json
deleted file mode 100644
index 302b5c800f36..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_Delete.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "cloudServicesNetworkName": "cloudServicesNetworkName"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_Get.json
deleted file mode 100644
index 61b41b3ac98c..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_Get.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "cloudServicesNetworkName": "cloudServicesNetworkName"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "name": "cloudServicesNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/cloudServicesNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "additionalEgressEndpoints": [
- {
- "category": "azure-resource-management",
- "endpoints": [
- {
- "domainName": "https://storageaccountex.blob.core.windows.net",
- "port": 443
- }
- ]
- }
- ],
- "enableDefaultEgressEndpoints": "False",
- "provisioningState": "Succeeded",
- "interfaceName": "eth0",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "enabledEgressEndpoints": [
- {
- "category": "azure-resource-management",
- "endpoints": [
- {
- "domainName": "https://storageaccountex.blob.core.windows.net",
- "port": 443
- }
- ]
- }
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Cloud services network is up"
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_ListByResourceGroup.json
deleted file mode 100644
index 9f2aed659ae8..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_ListByResourceGroup.json
+++ /dev/null
@@ -1,74 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "name": "cloudServicesNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/cloudServicesNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "additionalEgressEndpoints": [
- {
- "category": "azure-resource-management",
- "endpoints": [
- {
- "domainName": "https://storageaccountex.blob.core.windows.net",
- "port": 443
- }
- ]
- }
- ],
- "enableDefaultEgressEndpoints": "False",
- "provisioningState": "Succeeded",
- "interfaceName": "eth0",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "enabledEgressEndpoints": [
- {
- "category": "azure-resource-management",
- "endpoints": [
- {
- "domainName": "https://storageaccountex.blob.core.windows.net",
- "port": 443
- }
- ]
- }
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Cloud services network is up"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_ListBySubscription.json
deleted file mode 100644
index 601bebe0d47a..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_ListBySubscription.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "name": "cloudServicesNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/cloudServicesNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "additionalEgressEndpoints": [
- {
- "category": "azure-resource-management",
- "endpoints": [
- {
- "domainName": "https://storageaccountex.blob.core.windows.net",
- "port": 443
- }
- ]
- }
- ],
- "enableDefaultEgressEndpoints": "False",
- "provisioningState": "Succeeded",
- "interfaceName": "eth0",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "enabledEgressEndpoints": [
- {
- "category": "azure-resource-management",
- "endpoints": [
- {
- "domainName": "https://storageaccountex.blob.core.windows.net",
- "port": 443
- }
- ]
- }
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Cloud services network is up"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_Patch.json
deleted file mode 100644
index c9f8b26a8c13..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/CloudServicesNetworks_Patch.json
+++ /dev/null
@@ -1,153 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "cloudServicesNetworkName": "cloudServicesNetworkName",
- "cloudServicesNetworkUpdateParameters": {
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "properties": {
- "additionalEgressEndpoints": [
- {
- "category": "azure-resource-management",
- "endpoints": [
- {
- "domainName": "https://storageaccountex.blob.core.windows.net",
- "port": 443
- }
- ]
- }
- ],
- "enableDefaultEgressEndpoints": "False"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "name": "cloudServicesNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/cloudServicesNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "additionalEgressEndpoints": [
- {
- "category": "azure-resource-management",
- "endpoints": [
- {
- "domainName": "https://storageaccountex.blob.core.windows.net",
- "port": 443
- }
- ]
- }
- ],
- "enableDefaultEgressEndpoints": "False",
- "provisioningState": "Succeeded",
- "interfaceName": "eth0",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "enabledEgressEndpoints": [
- {
- "category": "azure-resource-management",
- "endpoints": [
- {
- "domainName": "https://storageaccountex.blob.core.windows.net",
- "port": 443
- }
- ]
- }
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Cloud services network is up"
- }
- }
- },
- "202": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "name": "cloudServicesNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/cloudServicesNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "additionalEgressEndpoints": [
- {
- "category": "azure-resource-management",
- "endpoints": [
- {
- "domainName": "https://storageaccountex.blob.core.windows.net",
- "port": 443
- }
- ]
- }
- ],
- "enableDefaultEgressEndpoints": "False",
- "provisioningState": "Accepted",
- "interfaceName": "eth0",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "enabledEgressEndpoints": [
- {
- "category": "azure-resource-management",
- "endpoints": [
- {
- "domainName": "https://storageaccountex.blob.core.windows.net",
- "port": 443
- }
- ]
- }
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Cloud services network is up"
- }
- },
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_Create.json
deleted file mode 100644
index 074e10b7b0d5..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_Create.json
+++ /dev/null
@@ -1,118 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterManagerName": "clusterManagerName",
- "clusterManagerParameters": {
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "properties": {
- "fabricControllerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName",
- "analyticsWorkspaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
- "managedResourceGroupConfiguration": {
- "name": "my-managed-rg",
- "location": "East US"
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
- "name": "clusterManagerName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusterManagers",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "properties": {
- "managerExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "fabricControllerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName",
- "analyticsWorkspaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
- "clusterVersions": [
- {
- "targetClusterVersion": "1.0.0",
- "supportExpiryDate": "2023-04-29"
- },
- {
- "targetClusterVersion": "1.0.2",
- "supportExpiryDate": "2025-01-01"
- }
- ],
- "provisioningState": "Succeeded",
- "detailedStatus": "Available",
- "detailedStatusMessage": "cluster manager is up and running",
- "managedResourceGroupConfiguration": {
- "name": "my-managed-rg",
- "location": "East US"
- }
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
- "name": "clusterManagerName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusterManagers",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "properties": {
- "managerExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "fabricControllerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName",
- "analyticsWorkspaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
- "clusterVersions": [
- {
- "targetClusterVersion": "1.0.0",
- "supportExpiryDate": "2023-04-29"
- },
- {
- "targetClusterVersion": "1.0.2",
- "supportExpiryDate": "2025-01-01"
- }
- ],
- "provisioningState": "Accepted",
- "detailedStatus": "Available",
- "detailedStatusMessage": "cluster manager is up and running",
- "managedResourceGroupConfiguration": {
- "name": "my-managed-rg",
- "location": "East US"
- }
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_Delete.json
deleted file mode 100644
index 82d4ebb1abe8..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_Delete.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterManagerName": "clusterManagerName"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_Get.json
deleted file mode 100644
index 9b54cff7052e..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_Get.json
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterManagerName": "clusterManagerName"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
- "name": "clusterManagerName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusterManagers",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "properties": {
- "managerExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "fabricControllerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName",
- "analyticsWorkspaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
- "clusterVersions": [
- {
- "targetClusterVersion": "1.0.0",
- "supportExpiryDate": "2023-04-29"
- },
- {
- "targetClusterVersion": "1.0.2",
- "supportExpiryDate": "2025-01-01"
- }
- ],
- "provisioningState": "Succeeded",
- "detailedStatus": "Available",
- "detailedStatusMessage": "cluster manager is up and running",
- "managedResourceGroupConfiguration": {
- "name": "my-managed-rg",
- "location": "East US"
- }
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_ListByResourceGroup.json
deleted file mode 100644
index 86c9fc0b0070..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_ListByResourceGroup.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
- "name": "clusterManagerName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusterManagers",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "properties": {
- "managerExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "fabricControllerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName",
- "analyticsWorkspaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
- "clusterVersions": [
- {
- "targetClusterVersion": "1.0.0",
- "supportExpiryDate": "2023-04-29"
- },
- {
- "targetClusterVersion": "1.0.2",
- "supportExpiryDate": "2025-01-01"
- }
- ],
- "provisioningState": "Succeeded",
- "detailedStatus": "Available",
- "detailedStatusMessage": "cluster manager is up and running",
- "managedResourceGroupConfiguration": {
- "name": "my-managed-rg",
- "location": "East US"
- }
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_ListBySubscription.json
deleted file mode 100644
index 6f75a91c94af..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_ListBySubscription.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
- "name": "clusterManagerName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusterManagers",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "properties": {
- "managerExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "fabricControllerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName",
- "analyticsWorkspaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
- "clusterVersions": [
- {
- "targetClusterVersion": "1.0.0",
- "supportExpiryDate": "2023-04-29"
- },
- {
- "targetClusterVersion": "1.0.2",
- "supportExpiryDate": "2025-01-01"
- }
- ],
- "provisioningState": "Succeeded",
- "detailedStatus": "Available",
- "detailedStatusMessage": "cluster manager is up and running",
- "managedResourceGroupConfiguration": {
- "name": "my-managed-rg",
- "location": "East US"
- }
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_Patch.json
deleted file mode 100644
index 1a0bb6594907..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterManagers_Patch.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterManagerName": "clusterManagerName",
- "clusterManagerUpdateParameters": {
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
- "name": "clusterManagerName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusterManagers",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "properties": {
- "managerExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "fabricControllerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName",
- "analyticsWorkspaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
- "clusterVersions": [
- {
- "targetClusterVersion": "1.0.0",
- "supportExpiryDate": "2023-04-29"
- },
- {
- "targetClusterVersion": "1.0.2",
- "supportExpiryDate": "2025-01-01"
- }
- ],
- "provisioningState": "Succeeded",
- "detailedStatus": "Available",
- "detailedStatusMessage": "cluster manager is up and running",
- "managedResourceGroupConfiguration": {
- "name": "my-managed-rg",
- "location": "East US"
- }
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterMetricsConfigurations_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterMetricsConfigurations_Delete.json
deleted file mode 100644
index 57242398fe46..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterMetricsConfigurations_Delete.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterName": "clusterName",
- "metricsConfigurationName": "default"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterMetricsConfigurations_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterMetricsConfigurations_Get.json
deleted file mode 100644
index f18381a50fb5..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterMetricsConfigurations_Get.json
+++ /dev/null
@@ -1,49 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterName": "clusterName",
- "metricsConfigurationName": "default"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/metricsConfigurations/default",
- "name": "default",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusters/metricsConfigurations",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "enabledMetrics": [
- "metric1",
- "metric2"
- ],
- "collectionInterval": 15,
- "provisioningState": "Succeeded",
- "disabledMetrics": [
- "metric3",
- "metric4"
- ],
- "detailedStatus": "Applied",
- "detailedStatusMessage": "Metrics configuration has been successfully applied to all resources."
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterMetricsConfigurations_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterMetricsConfigurations_ListByResourceGroup.json
deleted file mode 100644
index d5e8a955550f..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterMetricsConfigurations_ListByResourceGroup.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterName": "clusterName"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/metricsConfigurations/default",
- "name": "default",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusters/metricsConfigurations",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "enabledMetrics": [
- "metric1",
- "metric2"
- ],
- "collectionInterval": 15,
- "provisioningState": "Succeeded",
- "disabledMetrics": [
- "metric3",
- "metric4"
- ],
- "detailedStatus": "Applied",
- "detailedStatusMessage": "Metrics configuration has been successfully applied to all resources."
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterMetricsConfigurations_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterMetricsConfigurations_Patch.json
deleted file mode 100644
index b87bd2e60680..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterMetricsConfigurations_Patch.json
+++ /dev/null
@@ -1,103 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterName": "clusterName",
- "metricsConfigurationName": "default",
- "metricsConfigurationUpdateParameters": {
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "properties": {
- "enabledMetrics": [
- "metric1",
- "metric2"
- ],
- "collectionInterval": 15
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/metricsConfigurations/default",
- "name": "default",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusters/metricsConfigurations",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "enabledMetrics": [
- "metric1",
- "metric2"
- ],
- "collectionInterval": 15,
- "provisioningState": "Succeeded",
- "disabledMetrics": [
- "metric3",
- "metric4"
- ],
- "detailedStatus": "Applied",
- "detailedStatusMessage": "Metrics configuration has been successfully applied to all resources."
- }
- }
- },
- "202": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/metricsConfigurations/default",
- "name": "default",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusters/metricsConfigurations",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "enabledMetrics": [
- "metric1",
- "metric2"
- ],
- "collectionInterval": 15,
- "provisioningState": "Accepted",
- "disabledMetrics": [
- "metric3",
- "metric4"
- ],
- "detailedStatus": "Applied",
- "detailedStatusMessage": "Metrics configuration has been successfully applied to all resources."
- }
- },
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterMetricsConfigurations_Update.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterMetricsConfigurations_Update.json
deleted file mode 100644
index ddfb9b0e6bfd..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/ClusterMetricsConfigurations_Update.json
+++ /dev/null
@@ -1,108 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterName": "clusterName",
- "metricsConfigurationName": "default",
- "metricsConfigurationParameters": {
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "enabledMetrics": [
- "metric1",
- "metric2"
- ],
- "collectionInterval": 15
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/metricsConfigurations/default",
- "name": "default",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusters/metricsConfigurations",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "enabledMetrics": [
- "metric1",
- "metric2"
- ],
- "collectionInterval": 15,
- "provisioningState": "Succeeded",
- "disabledMetrics": [
- "metric3",
- "metric4"
- ],
- "detailedStatus": "Applied",
- "detailedStatusMessage": "Metrics configuration has been successfully applied to all resources."
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/metricsConfigurations/default",
- "name": "default",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusters/metricsConfigurations",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "enabledMetrics": [
- "metric1",
- "metric2"
- ],
- "collectionInterval": 15,
- "provisioningState": "Accepted",
- "disabledMetrics": [
- "metric3",
- "metric4"
- ],
- "detailedStatus": "Applied",
- "detailedStatusMessage": "Metrics configuration has been successfully applied to all resources."
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Create.json
deleted file mode 100644
index 48c6f28fad82..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Create.json
+++ /dev/null
@@ -1,474 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterName": "clusterName",
- "clusterParameters": {
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "properties": {
- "networkFabricId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
- "clusterType": "SingleRack",
- "analyticsWorkspaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
- "clusterLocation": "Foo Street, 3rd Floor, row 9",
- "clusterVersion": "1.0.0",
- "aggregatorOrSingleRackDefinition": {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username",
- "password": "{password}"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username",
- "password": "{password}"
- },
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username",
- "password": "{password}"
- },
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- },
- "computeRackDefinitions": [
- {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username",
- "password": "{password}"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username",
- "password": "{password}"
- },
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username",
- "password": "{password}"
- },
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- }
- ],
- "managedResourceGroupConfiguration": {
- "name": "my-managed-rg",
- "location": "East US"
- },
- "clusterServicePrincipal": {
- "tenantId": "80000000-4000-4000-4000-120000000000",
- "principalId": "00000008-0004-0004-0004-000000000012",
- "applicationId": "12345678-1234-1234-1234-123456789012",
- "password": "{password}"
- },
- "computeDeploymentThreshold": {
- "type": "PercentSuccess",
- "grouping": "PerCluster",
- "value": 90
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "name": "clusterName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusters",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "properties": {
- "networkFabricId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
- "clusterType": "SingleRack",
- "analyticsWorkspaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
- "clusterLocation": "Foo Street, 3rd Floor, row 9",
- "clusterVersion": "1.0.0",
- "aggregatorOrSingleRackDefinition": {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- },
- "computeRackDefinitions": [
- {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- }
- ],
- "managedResourceGroupConfiguration": {
- "name": "my-managed-rg",
- "location": "East US"
- },
- "clusterServicePrincipal": {
- "tenantId": "80000000-4000-4000-4000-120000000000",
- "principalId": "00000008-0004-0004-0004-000000000012",
- "applicationId": "12345678-1234-1234-1234-123456789012"
- },
- "computeDeploymentThreshold": {
- "type": "PercentSuccess",
- "grouping": "PerCluster",
- "value": 90
- },
- "provisioningState": "Succeeded",
- "clusterExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "hybridAksExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/hybridAKSExtendedLocationName"
- },
- "clusterManagerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
- "availableUpgradeVersions": [
- {
- "targetClusterVersion": "1.0.2",
- "expectedDuration": "0:0:30",
- "controlImpact": "False",
- "workloadImpact": "False",
- "impactDescription": "can be done in place",
- "supportExpiryDate": "2025-01-01"
- }
- ],
- "supportExpiryDate": "2023-04-29",
- "detailedStatus": "Running",
- "detailedStatusMessage": "Cluster is running and healthy",
- "clusterManagerConnectionStatus": "Connected",
- "clusterConnectionStatus": "Connected",
- "workloadResourceIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
- ],
- "clusterCapacity": {
- "totalCoreCount": 10,
- "availableCoreCount": 10,
- "totalMemoryGB": 10,
- "availableMemoryGB": 20,
- "totalHostStorageGB": 10,
- "availableHostStorageGB": 20,
- "totalApplianceStorageGB": 10,
- "availableApplianceStorageGB": 3
- },
- "manualActionCount": 0
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "name": "clusterName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusters",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "properties": {
- "networkFabricId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
- "clusterType": "SingleRack",
- "analyticsWorkspaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
- "clusterLocation": "Foo Street, 3rd Floor, row 9",
- "clusterVersion": "1.0.0",
- "aggregatorOrSingleRackDefinition": {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- },
- "computeRackDefinitions": [
- {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- }
- ],
- "managedResourceGroupConfiguration": {
- "name": "my-managed-rg",
- "location": "East US"
- },
- "clusterServicePrincipal": {
- "tenantId": "80000000-4000-4000-4000-120000000000",
- "principalId": "00000008-0004-0004-0004-000000000012",
- "applicationId": "12345678-1234-1234-1234-123456789012"
- },
- "computeDeploymentThreshold": {
- "type": "PercentSuccess",
- "grouping": "PerCluster",
- "value": 90
- },
- "provisioningState": "Accepted",
- "clusterExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "hybridAksExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/hybridAKSExtendedLocationName"
- },
- "clusterManagerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
- "availableUpgradeVersions": [
- {
- "targetClusterVersion": "1.0.2",
- "expectedDuration": "0:0:30",
- "controlImpact": "False",
- "workloadImpact": "False",
- "impactDescription": "can be done in place",
- "supportExpiryDate": "2025-01-01"
- }
- ],
- "supportExpiryDate": "2023-04-29",
- "detailedStatus": "PendingDeployment",
- "detailedStatusMessage": "Cluster creation is accepted. Deployment is pending.",
- "clusterManagerConnectionStatus": "Connected",
- "clusterConnectionStatus": "Connected",
- "workloadResourceIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
- ],
- "clusterCapacity": {
- "totalCoreCount": 10,
- "availableCoreCount": 10,
- "totalMemoryGB": 10,
- "availableMemoryGB": 20,
- "totalHostStorageGB": 10,
- "availableHostStorageGB": 20,
- "totalApplianceStorageGB": 10,
- "availableApplianceStorageGB": 3
- },
- "manualActionCount": 0
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Delete.json
deleted file mode 100644
index 2ab45078fa01..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Delete.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterName": "clusterName"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Deploy.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Deploy.json
deleted file mode 100644
index 2e272b4d2a79..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Deploy.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterName": "clusterName",
- "clusterDeployParameters": {}
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Deploy_SkipValidation.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Deploy_SkipValidation.json
deleted file mode 100644
index c04408525c6e..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Deploy_SkipValidation.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterName": "clusterName",
- "clusterDeployParameters": {
- "skipValidationsForMachines": [
- "bmmName1"
- ]
- }
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Get.json
deleted file mode 100644
index 90af700e7967..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Get.json
+++ /dev/null
@@ -1,180 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterName": "clusterName"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "name": "clusterName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusters",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "properties": {
- "networkFabricId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
- "clusterType": "SingleRack",
- "analyticsWorkspaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
- "clusterLocation": "Foo Street, 3rd Floor, row 9",
- "clusterVersion": "1.0.0",
- "aggregatorOrSingleRackDefinition": {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- },
- "computeRackDefinitions": [
- {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- }
- ],
- "managedResourceGroupConfiguration": {
- "name": "my-managed-rg",
- "location": "East US"
- },
- "clusterServicePrincipal": {
- "tenantId": "80000000-4000-4000-4000-120000000000",
- "principalId": "00000008-0004-0004-0004-000000000012",
- "applicationId": "12345678-1234-1234-1234-123456789012"
- },
- "computeDeploymentThreshold": {
- "type": "PercentSuccess",
- "grouping": "PerCluster",
- "value": 90
- },
- "provisioningState": "Succeeded",
- "clusterExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "hybridAksExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/hybridAKSExtendedLocationName"
- },
- "clusterManagerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
- "availableUpgradeVersions": [
- {
- "targetClusterVersion": "1.0.2",
- "expectedDuration": "0:0:30",
- "controlImpact": "False",
- "workloadImpact": "False",
- "impactDescription": "can be done in place",
- "supportExpiryDate": "2025-01-01"
- }
- ],
- "supportExpiryDate": "2023-04-29",
- "detailedStatus": "Running",
- "detailedStatusMessage": "Cluster is running and healthy",
- "clusterManagerConnectionStatus": "Connected",
- "clusterConnectionStatus": "Connected",
- "workloadResourceIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
- ],
- "clusterCapacity": {
- "totalCoreCount": 10,
- "availableCoreCount": 10,
- "totalMemoryGB": 10,
- "availableMemoryGB": 20,
- "totalHostStorageGB": 10,
- "availableHostStorageGB": 20,
- "totalApplianceStorageGB": 10,
- "availableApplianceStorageGB": 3
- },
- "manualActionCount": 0
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_ListByResourceGroup.json
deleted file mode 100644
index 6801f6d7b236..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_ListByResourceGroup.json
+++ /dev/null
@@ -1,184 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "name": "clusterName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusters",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "properties": {
- "networkFabricId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
- "clusterType": "SingleRack",
- "analyticsWorkspaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
- "clusterLocation": "Foo Street, 3rd Floor, row 9",
- "clusterVersion": "1.0.0",
- "aggregatorOrSingleRackDefinition": {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- },
- "computeRackDefinitions": [
- {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- }
- ],
- "managedResourceGroupConfiguration": {
- "name": "my-managed-rg",
- "location": "East US"
- },
- "clusterServicePrincipal": {
- "tenantId": "80000000-4000-4000-4000-120000000000",
- "principalId": "00000008-0004-0004-0004-000000000012",
- "applicationId": "12345678-1234-1234-1234-123456789012"
- },
- "computeDeploymentThreshold": {
- "type": "PercentSuccess",
- "grouping": "PerCluster",
- "value": 90
- },
- "provisioningState": "Succeeded",
- "clusterExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "hybridAksExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/hybridAKSExtendedLocationName"
- },
- "clusterManagerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
- "availableUpgradeVersions": [
- {
- "targetClusterVersion": "1.0.2",
- "expectedDuration": "0:0:30",
- "controlImpact": "False",
- "workloadImpact": "False",
- "impactDescription": "can be done in place",
- "supportExpiryDate": "2025-01-01"
- }
- ],
- "supportExpiryDate": "2023-04-29",
- "detailedStatus": "Running",
- "detailedStatusMessage": "Cluster is running and healthy",
- "clusterManagerConnectionStatus": "Connected",
- "clusterConnectionStatus": "Connected",
- "workloadResourceIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
- ],
- "clusterCapacity": {
- "totalCoreCount": 10,
- "availableCoreCount": 10,
- "totalMemoryGB": 10,
- "availableMemoryGB": 20,
- "totalHostStorageGB": 10,
- "availableHostStorageGB": 20,
- "totalApplianceStorageGB": 10,
- "availableApplianceStorageGB": 3
- },
- "manualActionCount": 0
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_ListBySubscription.json
deleted file mode 100644
index bd1a9e04201b..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_ListBySubscription.json
+++ /dev/null
@@ -1,183 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "name": "clusterName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusters",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "properties": {
- "networkFabricId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
- "clusterType": "SingleRack",
- "analyticsWorkspaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
- "clusterLocation": "Foo Street, 3rd Floor, row 9",
- "clusterVersion": "1.0.0",
- "aggregatorOrSingleRackDefinition": {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- },
- "computeRackDefinitions": [
- {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- }
- ],
- "managedResourceGroupConfiguration": {
- "name": "my-managed-rg",
- "location": "East US"
- },
- "clusterServicePrincipal": {
- "tenantId": "80000000-4000-4000-4000-120000000000",
- "principalId": "00000008-0004-0004-0004-000000000012",
- "applicationId": "12345678-1234-1234-1234-123456789012"
- },
- "computeDeploymentThreshold": {
- "type": "PercentSuccess",
- "grouping": "PerCluster",
- "value": 90
- },
- "provisioningState": "Succeeded",
- "clusterExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "hybridAksExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/hybridAKSExtendedLocationName"
- },
- "clusterManagerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
- "availableUpgradeVersions": [
- {
- "targetClusterVersion": "1.0.2",
- "expectedDuration": "0:0:30",
- "controlImpact": "False",
- "workloadImpact": "False",
- "impactDescription": "can be done in place",
- "supportExpiryDate": "2025-01-01"
- }
- ],
- "supportExpiryDate": "2023-04-29",
- "detailedStatus": "Running",
- "detailedStatusMessage": "Cluster is running and healthy",
- "clusterManagerConnectionStatus": "Connected",
- "clusterConnectionStatus": "Connected",
- "workloadResourceIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
- ],
- "clusterCapacity": {
- "totalCoreCount": 10,
- "availableCoreCount": 10,
- "totalMemoryGB": 10,
- "availableMemoryGB": 20,
- "totalHostStorageGB": 10,
- "availableHostStorageGB": 20,
- "totalApplianceStorageGB": 10,
- "availableApplianceStorageGB": 3
- },
- "manualActionCount": 0
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Patch_AggregatorOrSingleRackDefinition.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Patch_AggregatorOrSingleRackDefinition.json
deleted file mode 100644
index 1e7d3c4eaf67..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Patch_AggregatorOrSingleRackDefinition.json
+++ /dev/null
@@ -1,409 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterName": "clusterName",
- "clusterUpdateParameters": {
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "properties": {
- "aggregatorOrSingleRackDefinition": {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "newSerialNumber",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username",
- "password": "{password}"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username",
- "password": "{password}"
- },
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username",
- "password": "{password}"
- },
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- },
- "computeDeploymentThreshold": {
- "type": "PercentSuccess",
- "grouping": "PerCluster",
- "value": 90
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "name": "clusterName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusters",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "properties": {
- "networkFabricId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
- "clusterType": "SingleRack",
- "analyticsWorkspaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
- "clusterLocation": "Foo Street, 3rd Floor, row 9",
- "clusterVersion": "1.0.0",
- "aggregatorOrSingleRackDefinition": {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "newSerialNumber",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- },
- "computeRackDefinitions": [
- {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- }
- ],
- "managedResourceGroupConfiguration": {
- "name": "my-managed-rg",
- "location": "East US"
- },
- "clusterServicePrincipal": {
- "tenantId": "80000000-4000-4000-4000-120000000000",
- "principalId": "00000008-0004-0004-0004-000000000012",
- "applicationId": "12345678-1234-1234-1234-123456789012"
- },
- "computeDeploymentThreshold": {
- "type": "PercentSuccess",
- "grouping": "PerCluster",
- "value": 90
- },
- "provisioningState": "Accepted",
- "clusterExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "hybridAksExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/hybridAKSExtendedLocationName"
- },
- "clusterManagerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
- "availableUpgradeVersions": [
- {
- "targetClusterVersion": "1.0.2",
- "expectedDuration": "0:0:30",
- "controlImpact": "False",
- "workloadImpact": "False",
- "impactDescription": "can be done in place",
- "supportExpiryDate": "2025-01-01"
- }
- ],
- "supportExpiryDate": "2023-04-29",
- "detailedStatus": "Running",
- "detailedStatusMessage": "Cluster is running and healthy",
- "clusterManagerConnectionStatus": "Connected",
- "clusterConnectionStatus": "Connected",
- "workloadResourceIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
- ],
- "clusterCapacity": {
- "totalCoreCount": 10,
- "availableCoreCount": 10,
- "totalMemoryGB": 10,
- "availableMemoryGB": 20,
- "totalHostStorageGB": 10,
- "availableHostStorageGB": 20,
- "totalApplianceStorageGB": 10,
- "availableApplianceStorageGB": 3
- },
- "manualActionCount": 0
- }
- }
- },
- "202": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "name": "clusterName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusters",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "properties": {
- "networkFabricId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
- "clusterType": "SingleRack",
- "analyticsWorkspaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
- "clusterLocation": "Foo Street, 3rd Floor, row 9",
- "clusterVersion": "1.0.0",
- "aggregatorOrSingleRackDefinition": {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "newSerialNumber",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- },
- "computeRackDefinitions": [
- {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- }
- ],
- "managedResourceGroupConfiguration": {
- "name": "my-managed-rg",
- "location": "East US"
- },
- "clusterServicePrincipal": {
- "tenantId": "80000000-4000-4000-4000-120000000000",
- "principalId": "00000008-0004-0004-0004-000000000012",
- "applicationId": "12345678-1234-1234-1234-123456789012"
- },
- "computeDeploymentThreshold": {
- "type": "PercentSuccess",
- "grouping": "PerCluster",
- "value": 90
- },
- "provisioningState": "Accepted",
- "clusterExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "hybridAksExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/hybridAKSExtendedLocationName"
- },
- "clusterManagerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
- "availableUpgradeVersions": [
- {
- "targetClusterVersion": "1.0.2",
- "expectedDuration": "0:0:30",
- "controlImpact": "False",
- "workloadImpact": "False",
- "impactDescription": "can be done in place",
- "supportExpiryDate": "2025-01-01"
- }
- ],
- "supportExpiryDate": "2023-04-29",
- "detailedStatus": "Running",
- "detailedStatusMessage": "Cluster is running and healthy",
- "clusterManagerConnectionStatus": "Connected",
- "clusterConnectionStatus": "Connected",
- "workloadResourceIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
- ],
- "clusterCapacity": {
- "totalCoreCount": 10,
- "availableCoreCount": 10,
- "totalMemoryGB": 10,
- "availableMemoryGB": 20,
- "totalHostStorageGB": 10,
- "availableHostStorageGB": 20,
- "totalApplianceStorageGB": 10,
- "availableApplianceStorageGB": 3
- },
- "manualActionCount": 0
- }
- },
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Patch_Location.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Patch_Location.json
deleted file mode 100644
index e3694f4b92ff..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_Patch_Location.json
+++ /dev/null
@@ -1,362 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterName": "clusterName",
- "clusterUpdateParameters": {
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "properties": {
- "clusterLocation": "Foo Street, 3rd Floor, row 9"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "name": "clusterName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusters",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "properties": {
- "networkFabricId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
- "clusterType": "SingleRack",
- "analyticsWorkspaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
- "clusterLocation": "Foo Street, 3rd Floor, row 9",
- "clusterVersion": "1.0.0",
- "aggregatorOrSingleRackDefinition": {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- },
- "computeRackDefinitions": [
- {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- }
- ],
- "managedResourceGroupConfiguration": {
- "name": "my-managed-rg",
- "location": "East US"
- },
- "clusterServicePrincipal": {
- "tenantId": "80000000-4000-4000-4000-120000000000",
- "principalId": "00000008-0004-0004-0004-000000000012",
- "applicationId": "12345678-1234-1234-1234-123456789012"
- },
- "computeDeploymentThreshold": {
- "type": "PercentSuccess",
- "grouping": "PerCluster",
- "value": 90
- },
- "provisioningState": "Succeeded",
- "clusterExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "hybridAksExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/hybridAKSExtendedLocationName"
- },
- "clusterManagerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
- "availableUpgradeVersions": [
- {
- "targetClusterVersion": "1.0.2",
- "expectedDuration": "0:0:30",
- "controlImpact": "False",
- "workloadImpact": "False",
- "impactDescription": "can be done in place",
- "supportExpiryDate": "2025-01-01"
- }
- ],
- "supportExpiryDate": "2023-04-29",
- "detailedStatus": "Running",
- "detailedStatusMessage": "Cluster is running and healthy",
- "clusterManagerConnectionStatus": "Connected",
- "clusterConnectionStatus": "Connected",
- "workloadResourceIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
- ],
- "clusterCapacity": {
- "totalCoreCount": 10,
- "availableCoreCount": 10,
- "totalMemoryGB": 10,
- "availableMemoryGB": 20,
- "totalHostStorageGB": 10,
- "availableHostStorageGB": 20,
- "totalApplianceStorageGB": 10,
- "availableApplianceStorageGB": 3
- },
- "manualActionCount": 0
- }
- }
- },
- "202": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "name": "clusterName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/clusters",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "properties": {
- "networkFabricId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
- "clusterType": "SingleRack",
- "analyticsWorkspaceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
- "clusterLocation": "Foo Street, 3rd Floor, row 9",
- "clusterVersion": "1.0.0",
- "aggregatorOrSingleRackDefinition": {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- },
- "computeRackDefinitions": [
- {
- "networkRackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
- "rackSkuId": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
- "rackSerialNumber": "AA1234",
- "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
- "storageApplianceConfigurationData": [
- {
- "rackSlot": 1,
- "adminCredentials": {
- "username": "username"
- },
- "storageApplianceName": "vmName",
- "serialNumber": "BM1219XXX"
- }
- ],
- "bareMetalMachineConfigurationData": [
- {
- "rackSlot": 1,
- "bootMacAddress": "00:BB:CC:DD:EE:FF",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName1",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
- "serialNumber": "BM1219XXX"
- },
- {
- "rackSlot": 2,
- "bootMacAddress": "00:BB:CC:DD:EE:00",
- "bmcCredentials": {
- "username": "username"
- },
- "bmcConnectionString": "bmcConnectionString",
- "machineName": "bmmName2",
- "machineDetails": "extraDetails",
- "bmcMacAddress": "AA:BB:CC:DD:EE:00",
- "serialNumber": "BM1219YYY"
- }
- ]
- }
- ],
- "managedResourceGroupConfiguration": {
- "name": "my-managed-rg",
- "location": "East US"
- },
- "clusterServicePrincipal": {
- "tenantId": "80000000-4000-4000-4000-120000000000",
- "principalId": "00000008-0004-0004-0004-000000000012",
- "applicationId": "12345678-1234-1234-1234-123456789012"
- },
- "computeDeploymentThreshold": {
- "type": "PercentSuccess",
- "grouping": "PerCluster",
- "value": 90
- },
- "provisioningState": "Accepted",
- "clusterExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "hybridAksExtendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/hybridAKSExtendedLocationName"
- },
- "clusterManagerId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
- "availableUpgradeVersions": [
- {
- "targetClusterVersion": "1.0.2",
- "expectedDuration": "0:0:30",
- "controlImpact": "False",
- "workloadImpact": "False",
- "impactDescription": "can be done in place",
- "supportExpiryDate": "2025-01-01"
- }
- ],
- "supportExpiryDate": "2023-04-29",
- "detailedStatus": "Running",
- "detailedStatusMessage": "Cluster is running and healthy",
- "clusterManagerConnectionStatus": "Connected",
- "clusterConnectionStatus": "Connected",
- "workloadResourceIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
- ],
- "clusterCapacity": {
- "totalCoreCount": 10,
- "availableCoreCount": 10,
- "totalMemoryGB": 10,
- "availableMemoryGB": 20,
- "totalHostStorageGB": 10,
- "availableHostStorageGB": 20,
- "totalApplianceStorageGB": 10,
- "availableApplianceStorageGB": 3
- },
- "manualActionCount": 0
- }
- },
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_UpdateVersion.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_UpdateVersion.json
deleted file mode 100644
index 2a5e76f4325b..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Clusters_UpdateVersion.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "clusterName": "clusterName",
- "clusterUpdateVersionParameters": {
- "targetClusterVersion": "2.0"
- }
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Consoles_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Consoles_Create.json
deleted file mode 100644
index 8c72dffd8666..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Consoles_Create.json
+++ /dev/null
@@ -1,104 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "virtualMachineName": "virtualMachineName",
- "consoleName": "default",
- "consoleParameters": {
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "properties": {
- "sshPublicKey": {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- },
- "enabled": "True",
- "expiration": "2022-06-01T01:27:03.008Z"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName/consoles/default",
- "name": "default",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/virtualMachines/consoles",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "properties": {
- "sshPublicKey": {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- },
- "enabled": "True",
- "expiration": "2022-06-01T01:27:03.008Z",
- "provisioningState": "Succeeded",
- "privateLinkServiceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Network/privateLinkServices/console-pls",
- "virtualMachineAccessId": "VirtualMachineAccessId",
- "detailedStatus": "Ready",
- "detailedStatusMessage": "Console is ready for use"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName/consoles/default",
- "name": "default",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/virtualMachines/consoles",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "properties": {
- "sshPublicKey": {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- },
- "enabled": "True",
- "expiration": "2022-06-01T01:27:03.008Z",
- "provisioningState": "Accepted",
- "privateLinkServiceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Network/privateLinkServices/console-pls",
- "virtualMachineAccessId": "VirtualMachineAccessId",
- "detailedStatus": "Ready",
- "detailedStatusMessage": "Console is ready for use"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Consoles_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Consoles_Delete.json
deleted file mode 100644
index ba19bed6f324..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Consoles_Delete.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "virtualMachineName": "virtualMachineName",
- "consoleName": "default"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Consoles_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Consoles_Get.json
deleted file mode 100644
index f62c39c51e61..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Consoles_Get.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "virtualMachineName": "virtualMachineName",
- "consoleName": "default"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName/consoles/default",
- "name": "default",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/virtualMachines/consoles",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "properties": {
- "sshPublicKey": {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- },
- "enabled": "True",
- "expiration": "2022-06-01T01:27:03.008Z",
- "provisioningState": "Succeeded",
- "privateLinkServiceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Network/privateLinkServices/console-pls",
- "virtualMachineAccessId": "VirtualMachineAccessId",
- "detailedStatus": "Ready",
- "detailedStatusMessage": "Console is ready for use"
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Consoles_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Consoles_ListByResourceGroup.json
deleted file mode 100644
index 49b2a3fe0cfb..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Consoles_ListByResourceGroup.json
+++ /dev/null
@@ -1,51 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "virtualMachineName": "virtualMachineName"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName/consoles/default",
- "name": "default",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/virtualMachines/consoles",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "properties": {
- "sshPublicKey": {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- },
- "enabled": "True",
- "expiration": "2022-06-01T01:27:03.008Z",
- "provisioningState": "Succeeded",
- "privateLinkServiceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Network/privateLinkServices/console-pls",
- "virtualMachineAccessId": "VirtualMachineAccessId",
- "detailedStatus": "Ready",
- "detailedStatusMessage": "Console is ready for use"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Consoles_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Consoles_Patch.json
deleted file mode 100644
index 1818d32194e5..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Consoles_Patch.json
+++ /dev/null
@@ -1,99 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "virtualMachineName": "virtualMachineName",
- "consoleName": "default",
- "consoleUpdateParameters": {
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "properties": {
- "sshPublicKey": {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- },
- "expiration": "2022-06-01T01:27:03.008Z",
- "enabled": "True"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName/consoles/default",
- "name": "default",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/virtualMachines/consoles",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "properties": {
- "sshPublicKey": {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- },
- "enabled": "True",
- "expiration": "2022-06-01T01:27:03.008Z",
- "provisioningState": "Succeeded",
- "privateLinkServiceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Network/privateLinkServices/console-pls",
- "virtualMachineAccessId": "VirtualMachineAccessId",
- "detailedStatus": "Ready",
- "detailedStatusMessage": "Console is ready for use"
- }
- }
- },
- "202": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName/consoles/default",
- "name": "default",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/virtualMachines/consoles",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
- },
- "properties": {
- "sshPublicKey": {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- },
- "enabled": "True",
- "expiration": "2022-06-01T01:27:03.008Z",
- "provisioningState": "Accepted",
- "privateLinkServiceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Network/privateLinkServices/console-pls",
- "virtualMachineAccessId": "VirtualMachineAccessId",
- "detailedStatus": "Ready",
- "detailedStatusMessage": "Console is ready for use"
- }
- },
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_Create.json
deleted file mode 100644
index 5ec3bfdf02dc..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_Create.json
+++ /dev/null
@@ -1,197 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "defaultCniNetworkName": "defaultCniNetworkName",
- "defaultCniNetworkParameters": {
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "l3IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
- "vlan": 12,
- "cniBgpConfiguration": {
- "serviceExternalPrefixes": [
- "192.0.2.0/28"
- ],
- "serviceLoadBalancerPrefixes": [
- "192.0.2.16/28"
- ],
- "communityAdvertisements": [
- {
- "subnetPrefix": "192.0.2.0/27",
- "communities": [
- "64512:100"
- ]
- }
- ],
- "bgpPeers": [
- {
- "peerIp": "203.0.113.254",
- "asNumber": 64497
- }
- ]
- },
- "ipAllocationType": "DualStack",
- "ipv4ConnectedPrefix": "203.0.113.0/24",
- "ipv6ConnectedPrefix": "2001:db8:0:3::/64"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/defaultcniNetworks/defaultcniNetworkName",
- "name": "defaultcniNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/defaultcniNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "l3IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
- "vlan": 12,
- "cniBgpConfiguration": {
- "serviceExternalPrefixes": [
- "192.0.2.0/28"
- ],
- "serviceLoadBalancerPrefixes": [
- "192.0.2.16/28"
- ],
- "communityAdvertisements": [
- {
- "subnetPrefix": "192.0.2.0/27",
- "communities": [
- "64512:100"
- ]
- }
- ],
- "bgpPeers": [
- {
- "peerIp": "203.0.113.254",
- "asNumber": 64497
- }
- ]
- },
- "ipAllocationType": "DualStack",
- "ipv4ConnectedPrefix": "203.0.113.0/24",
- "ipv6ConnectedPrefix": "2001:db8:0:3::/64",
- "provisioningState": "Succeeded",
- "interfaceName": "eth0",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "fabricBgpPeers": [
- {
- "peerIp": "203.0.113.2",
- "asNumber": 64496
- },
- {
- "peerIp": "203.0.113.3",
- "asNumber": 64496
- }
- ],
- "cniAsNumber": 64512,
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Default CNI network is up"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/defaultcniNetworks/defaultcniNetworkName",
- "name": "defaultcniNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/defaultcniNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "l3IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
- "vlan": 12,
- "cniBgpConfiguration": {
- "serviceExternalPrefixes": [
- "192.0.2.0/28"
- ],
- "serviceLoadBalancerPrefixes": [
- "192.0.2.16/28"
- ],
- "communityAdvertisements": [
- {
- "subnetPrefix": "192.0.2.0/27",
- "communities": [
- "64512:100"
- ]
- }
- ],
- "bgpPeers": [
- {
- "peerIp": "203.0.113.254",
- "asNumber": 64497
- }
- ]
- },
- "ipAllocationType": "DualStack",
- "ipv4ConnectedPrefix": "203.0.113.0/24",
- "ipv6ConnectedPrefix": "2001:db8:0:3::/64",
- "provisioningState": "Succeeded",
- "interfaceName": "eth0",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "fabricBgpPeers": [
- {
- "peerIp": "203.0.113.2",
- "asNumber": 64496
- },
- {
- "peerIp": "203.0.113.3",
- "asNumber": 64496
- }
- ],
- "cniAsNumber": 64512,
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Default CNI network is up"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_Delete.json
deleted file mode 100644
index 08cebf598d1b..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_Delete.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "defaultCniNetworkName": "defaultCniNetworkName"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_Get.json
deleted file mode 100644
index 0495ede16f7b..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_Get.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "defaultCniNetworkName": "defaultCniNetworkName"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/defaultcniNetworks/defaultcniNetworkName",
- "name": "defaultcniNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/defaultcniNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "l3IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
- "vlan": 12,
- "cniBgpConfiguration": {
- "serviceExternalPrefixes": [
- "192.0.2.0/28"
- ],
- "serviceLoadBalancerPrefixes": [
- "192.0.2.16/28"
- ],
- "communityAdvertisements": [
- {
- "subnetPrefix": "192.0.2.0/27",
- "communities": [
- "64512:100"
- ]
- }
- ],
- "bgpPeers": [
- {
- "peerIp": "203.0.113.254",
- "asNumber": 64497
- }
- ]
- },
- "ipAllocationType": "DualStack",
- "ipv4ConnectedPrefix": "203.0.113.0/24",
- "ipv6ConnectedPrefix": "2001:db8:0:3::/64",
- "provisioningState": "Succeeded",
- "interfaceName": "eth0",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "fabricBgpPeers": [
- {
- "peerIp": "203.0.113.2",
- "asNumber": 64496
- },
- {
- "peerIp": "203.0.113.3",
- "asNumber": 64496
- }
- ],
- "cniAsNumber": 64512,
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Default CNI network is up"
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_ListByResourceGroup.json
deleted file mode 100644
index 8f5368281978..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_ListByResourceGroup.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/defaultcniNetworks/defaultcniNetworkName",
- "name": "defaultcniNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/defaultcniNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "l3IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
- "vlan": 12,
- "cniBgpConfiguration": {
- "serviceExternalPrefixes": [
- "192.0.2.0/28"
- ],
- "serviceLoadBalancerPrefixes": [
- "192.0.2.16/28"
- ],
- "communityAdvertisements": [
- {
- "subnetPrefix": "192.0.2.0/27",
- "communities": [
- "64512:100"
- ]
- }
- ],
- "bgpPeers": [
- {
- "peerIp": "203.0.113.254",
- "asNumber": 64497
- }
- ]
- },
- "ipAllocationType": "DualStack",
- "ipv4ConnectedPrefix": "203.0.113.0/24",
- "ipv6ConnectedPrefix": "2001:db8:0:3::/64",
- "provisioningState": "Succeeded",
- "interfaceName": "eth0",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "fabricBgpPeers": [
- {
- "peerIp": "203.0.113.2",
- "asNumber": 64496
- },
- {
- "peerIp": "203.0.113.3",
- "asNumber": 64496
- }
- ],
- "cniAsNumber": 64512,
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Default CNI network is up"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_ListBySubscription.json
deleted file mode 100644
index 269496aa243d..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_ListBySubscription.json
+++ /dev/null
@@ -1,85 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/defaultcniNetworks/defaultcniNetworkName",
- "name": "defaultcniNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/defaultcniNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "l3IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
- "vlan": 12,
- "cniBgpConfiguration": {
- "serviceExternalPrefixes": [
- "192.0.2.0/28"
- ],
- "serviceLoadBalancerPrefixes": [
- "192.0.2.16/28"
- ],
- "communityAdvertisements": [
- {
- "subnetPrefix": "192.0.2.0/27",
- "communities": [
- "64512:100"
- ]
- }
- ],
- "bgpPeers": [
- {
- "peerIp": "203.0.113.254",
- "asNumber": 64497
- }
- ]
- },
- "ipAllocationType": "DualStack",
- "ipv4ConnectedPrefix": "203.0.113.0/24",
- "ipv6ConnectedPrefix": "2001:db8:0:3::/64",
- "provisioningState": "Succeeded",
- "interfaceName": "eth0",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "fabricBgpPeers": [
- {
- "peerIp": "203.0.113.2",
- "asNumber": 64496
- },
- {
- "peerIp": "203.0.113.3",
- "asNumber": 64496
- }
- ],
- "cniAsNumber": 64512,
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Default CNI network is up"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_Patch.json
deleted file mode 100644
index 5ae98b4f87fe..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/DefaultCniNetworks_Patch.json
+++ /dev/null
@@ -1,88 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "defaultCniNetworkName": "defaultCniNetworkName",
- "DefaultCniNetworkUpdateParameters": {
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/defaultcniNetworks/defaultcniNetworkName",
- "name": "defaultcniNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/defaultcniNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "l3IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
- "vlan": 12,
- "cniBgpConfiguration": {
- "serviceExternalPrefixes": [
- "192.0.2.0/28"
- ],
- "serviceLoadBalancerPrefixes": [
- "192.0.2.16/28"
- ],
- "communityAdvertisements": [
- {
- "subnetPrefix": "192.0.2.0/27",
- "communities": [
- "64512:100"
- ]
- }
- ],
- "bgpPeers": [
- {
- "peerIp": "203.0.113.254",
- "asNumber": 64497
- }
- ]
- },
- "ipAllocationType": "DualStack",
- "ipv4ConnectedPrefix": "203.0.113.0/24",
- "ipv6ConnectedPrefix": "2001:db8:0:3::/64",
- "provisioningState": "Succeeded",
- "interfaceName": "eth0",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "fabricBgpPeers": [
- {
- "peerIp": "203.0.113.2",
- "asNumber": 64496
- },
- {
- "peerIp": "203.0.113.3",
- "asNumber": 64496
- }
- ],
- "cniAsNumber": 64512,
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Default CNI network is up"
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_Create.json
deleted file mode 100644
index 8539b379877e..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_Create.json
+++ /dev/null
@@ -1,596 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "hybridAksClusterName": "hybridAksClusterName",
- "hybridAksClusterParameters": {
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "hybridAksProvisionedClusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/hybridAksClusterName",
- "associatedNetworkIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName"
- ],
- "controlPlaneCount": 4,
- "workerCount": 8
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName",
- "name": "HybridAksClusterName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/hybridAksClusters",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "hybridAksProvisionedClusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/hybridAksClusterName",
- "associatedNetworkIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName"
- ],
- "controlPlaneCount": 4,
- "workerCount": 8,
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "cloudServicesNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "defaultCniNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/defaultCniNetworks/defaultCniNetworkName",
- "controlPlaneNodes": [
- {
- "vmSize": "NC_G2_v1",
- "vmCount": 4,
- "cpuCores": 2,
- "memorySizeGB": 8,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "control0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control2",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control3",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- }
- ],
- "workerNodes": [
- {
- "nodePoolName": "regularWorkers",
- "agentPoolName": "regularWorkers",
- "agentPoolId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/provisionedClustersName/agentPools/regularWorkers",
- "vmSize": "NC_Gr_v1",
- "vmCount": 6,
- "cpuCores": 2,
- "memorySizeGB": 8,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "worker0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker2",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker3",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker4",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker5",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- },
- {
- "nodePoolName": "highMemory",
- "agentPoolName": "highMemory",
- "agentPoolId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/provisionedClustersName/agentPools/highMemory",
- "vmSize": "NC_Gh_v1",
- "vmCount": 2,
- "cpuCores": 32,
- "memorySizeGB": 128,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "highmemworker0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "highmemworker1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- }
- ],
- "volumes": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Hybrid AKS cluster is operational"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName",
- "name": "HybridAksClusterName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/hybridAksClusters",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "hybridAksProvisionedClusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/hybridAksClusterName",
- "associatedNetworkIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName"
- ],
- "controlPlaneCount": 4,
- "workerCount": 8,
- "provisioningState": "Accepted",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "cloudServicesNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "defaultCniNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/defaultCniNetworks/defaultCniNetworkName",
- "controlPlaneNodes": [
- {
- "vmSize": "NC_G2_v1",
- "vmCount": 4,
- "cpuCores": 2,
- "memorySizeGB": 8,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "control0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control2",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control3",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- }
- ],
- "workerNodes": [
- {
- "nodePoolName": "regularWorkers",
- "agentPoolName": "regularWorkers",
- "agentPoolId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/provisionedClustersName/agentPools/regularWorkers",
- "vmSize": "NC_Gr_v1",
- "vmCount": 6,
- "cpuCores": 2,
- "memorySizeGB": 8,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "worker0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker2",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker3",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker4",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker5",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- },
- {
- "nodePoolName": "highMemory",
- "agentPoolName": "highMemory",
- "agentPoolId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/provisionedClustersName/agentPools/highMemory",
- "vmSize": "NC_Gh_v1",
- "vmCount": 2,
- "cpuCores": 32,
- "memorySizeGB": 128,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "highmemworker0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "highmemworker1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- }
- ],
- "volumes": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Hybrid AKS cluster is operational"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_Delete.json
deleted file mode 100644
index 636b344bf4b4..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_Delete.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "hybridAksClusterName": "hybridAksClusterName"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_Get.json
deleted file mode 100644
index fa4226fc2b83..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_Get.json
+++ /dev/null
@@ -1,292 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "hybridAksClusterName": "hybridAksClusterName"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName",
- "name": "HybridAksClusterName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/hybridAksClusters",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "hybridAksProvisionedClusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/hybridAksClusterName",
- "associatedNetworkIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName"
- ],
- "controlPlaneCount": 4,
- "workerCount": 8,
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "cloudServicesNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "defaultCniNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/defaultCniNetworks/defaultCniNetworkName",
- "controlPlaneNodes": [
- {
- "vmSize": "NC_G2_v1",
- "vmCount": 4,
- "cpuCores": 2,
- "memorySizeGB": 8,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "control0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control2",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control3",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- }
- ],
- "workerNodes": [
- {
- "nodePoolName": "regularWorkers",
- "agentPoolName": "regularWorkers",
- "agentPoolId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/provisionedClustersName/agentPools/regularWorkers",
- "vmSize": "NC_Gr_v1",
- "vmCount": 6,
- "cpuCores": 2,
- "memorySizeGB": 8,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "worker0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker2",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker3",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker4",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker5",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- },
- {
- "nodePoolName": "highMemory",
- "agentPoolName": "highMemory",
- "agentPoolId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/provisionedClustersName/agentPools/highMemory",
- "vmSize": "NC_Gh_v1",
- "vmCount": 2,
- "cpuCores": 32,
- "memorySizeGB": 128,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "highmemworker0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "highmemworker1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- }
- ],
- "volumes": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Hybrid AKS cluster is operational"
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_ListByResourceGroup.json
deleted file mode 100644
index cfc29e6c9929..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_ListByResourceGroup.json
+++ /dev/null
@@ -1,295 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName",
- "name": "HybridAksClusterName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/hybridAksClusters",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "hybridAksProvisionedClusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/hybridAksClusterName",
- "associatedNetworkIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName"
- ],
- "controlPlaneCount": 4,
- "workerCount": 8,
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "cloudServicesNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "defaultCniNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/defaultCniNetworks/defaultCniNetworkName",
- "controlPlaneNodes": [
- {
- "vmSize": "NC_G2_v1",
- "vmCount": 4,
- "cpuCores": 2,
- "memorySizeGB": 8,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "control0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control2",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control3",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- }
- ],
- "workerNodes": [
- {
- "nodePoolName": "regularWorkers",
- "agentPoolName": "regularWorkers",
- "agentPoolId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/provisionedClustersName/agentPools/regularWorkers",
- "vmSize": "NC_Gr_v1",
- "vmCount": 6,
- "cpuCores": 2,
- "memorySizeGB": 8,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "worker0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker2",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker3",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker4",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker5",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- },
- {
- "nodePoolName": "highMemory",
- "agentPoolName": "highMemory",
- "agentPoolId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/provisionedClustersName/agentPools/highMemory",
- "vmSize": "NC_Gh_v1",
- "vmCount": 2,
- "cpuCores": 32,
- "memorySizeGB": 128,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "highmemworker0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "highmemworker1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- }
- ],
- "volumes": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Hybrid AKS cluster is operational"
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_ListBySubscription.json
deleted file mode 100644
index 39f89dc2e96f..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_ListBySubscription.json
+++ /dev/null
@@ -1,294 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName",
- "name": "HybridAksClusterName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/hybridAksClusters",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "hybridAksProvisionedClusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/hybridAksClusterName",
- "associatedNetworkIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName"
- ],
- "controlPlaneCount": 4,
- "workerCount": 8,
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "cloudServicesNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "defaultCniNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/defaultCniNetworks/defaultCniNetworkName",
- "controlPlaneNodes": [
- {
- "vmSize": "NC_G2_v1",
- "vmCount": 4,
- "cpuCores": 2,
- "memorySizeGB": 8,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "control0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control2",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control3",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- }
- ],
- "workerNodes": [
- {
- "nodePoolName": "regularWorkers",
- "agentPoolName": "regularWorkers",
- "agentPoolId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/provisionedClustersName/agentPools/regularWorkers",
- "vmSize": "NC_Gr_v1",
- "vmCount": 6,
- "cpuCores": 2,
- "memorySizeGB": 8,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "worker0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker2",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker3",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker4",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker5",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- },
- {
- "nodePoolName": "highMemory",
- "agentPoolName": "highMemory",
- "agentPoolId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/provisionedClustersName/agentPools/highMemory",
- "vmSize": "NC_Gh_v1",
- "vmCount": 2,
- "cpuCores": 32,
- "memorySizeGB": 128,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "highmemworker0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "highmemworker1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- }
- ],
- "volumes": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Hybrid AKS cluster is operational"
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_Patch.json
deleted file mode 100644
index 059cd45e8fd9..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_Patch.json
+++ /dev/null
@@ -1,298 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "hybridAksClusterName": "hybridAksClusterName",
- "hybridAksClusterUpdateParameters": {
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName",
- "name": "HybridAksClusterName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/hybridAksClusters",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "hybridAksProvisionedClusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/hybridAksClusterName",
- "associatedNetworkIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName"
- ],
- "controlPlaneCount": 4,
- "workerCount": 8,
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "cloudServicesNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "defaultCniNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/defaultCniNetworks/defaultCniNetworkName",
- "controlPlaneNodes": [
- {
- "vmSize": "NC_G2_v1",
- "vmCount": 4,
- "cpuCores": 2,
- "memorySizeGB": 8,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "control0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control2",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "control3",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- }
- ],
- "workerNodes": [
- {
- "nodePoolName": "regularWorkers",
- "agentPoolName": "regularWorkers",
- "agentPoolId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/provisionedClustersName/agentPools/regularWorkers",
- "vmSize": "NC_Gr_v1",
- "vmCount": 6,
- "cpuCores": 2,
- "memorySizeGB": 8,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "worker0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker2",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker3",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker4",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "worker5",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- },
- {
- "nodePoolName": "highMemory",
- "agentPoolName": "highMemory",
- "agentPoolId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.HybridContainerService/provisionedClusters/provisionedClustersName/agentPools/highMemory",
- "vmSize": "NC_Gh_v1",
- "vmCount": 2,
- "cpuCores": 32,
- "memorySizeGB": 128,
- "diskSizeGB": 128,
- "nodes": [
- {
- "nodeName": "highmemworker0",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- },
- {
- "nodeName": "highmemworker1",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "imageId": "myacr.azurecr.io/worker:latest",
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0001",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ]
- }
- ]
- }
- ],
- "volumes": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Hybrid AKS cluster is operational"
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_RestartNode.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_RestartNode.json
deleted file mode 100644
index 85e77c320672..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/HybridAksClusters_RestartNode.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "hybridAksClusterName": "hybridAksClusterName",
- "hybridAksClusterRestartNodeParameters": {
- "nodeName": "nodeName"
- }
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_Create.json
deleted file mode 100644
index 0d817efc1f9a..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_Create.json
+++ /dev/null
@@ -1,107 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "l2NetworkName": "l2NetworkName",
- "l2NetworkParameters": {
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "l2IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
- "hybridAksPluginType": "DPDK"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
- "name": "l2NetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/l2Networks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "l2IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
- "hybridAksPluginType": "DPDK",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "L2 network is up"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
- "name": "l2NetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/l2Networks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "l2IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
- "hybridAksPluginType": "DPDK",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "L2 network is up"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_Delete.json
deleted file mode 100644
index 4c07d0fac2fc..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_Delete.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "l2NetworkName": "l2NetworkName"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_Get.json
deleted file mode 100644
index f96d796e67b0..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_Get.json
+++ /dev/null
@@ -1,49 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "l2NetworkName": "l2NetworkName"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
- "name": "l2NetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/l2Networks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "l2IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
- "hybridAksPluginType": "DPDK",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "L2 network is up"
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_ListByResourceGroup.json
deleted file mode 100644
index cc4ab2d3a7fc..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_ListByResourceGroup.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
- "name": "l2NetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/l2Networks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "l2IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
- "hybridAksPluginType": "DPDK",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "L2 network is up"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_ListBySubscription.json
deleted file mode 100644
index 75c1d6b4a0cc..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_ListBySubscription.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
- "name": "l2NetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/l2Networks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "l2IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
- "hybridAksPluginType": "DPDK",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "L2 network is up"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_Patch.json
deleted file mode 100644
index 19477a22b7c4..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L2Networks_Patch.json
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "l2NetworkName": "l2NetworkName",
- "l2NetworkUpdateParameters": {
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
- "name": "l2NetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/l2Networks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "l2IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
- "hybridAksPluginType": "DPDK",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "L2 network is up"
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_Create.json
deleted file mode 100644
index 417c171478c5..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_Create.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "l3NetworkName": "l3NetworkName",
- "l3NetworkParameters": {
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "l3IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
- "vlan": 12,
- "ipAllocationType": "DualStack",
- "ipv4ConnectedPrefix": "198.51.100.0/24",
- "ipv6ConnectedPrefix": "2001:db8::/64",
- "hybridAksPluginType": "DPDK",
- "hybridAksIpamEnabled": "True"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "name": "l3NetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/l3Networks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "l3IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
- "vlan": 12,
- "ipAllocationType": "DualStack",
- "ipv4ConnectedPrefix": "198.51.100.0/24",
- "ipv6ConnectedPrefix": "2001:db8::/64",
- "hybridAksPluginType": "DPDK",
- "hybridAksIpamEnabled": "True",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "L3 network is up"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "name": "l3NetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/l3Networks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "l3IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
- "vlan": 12,
- "ipAllocationType": "DualStack",
- "ipv4ConnectedPrefix": "198.51.100.0/24",
- "ipv6ConnectedPrefix": "2001:db8::/64",
- "hybridAksPluginType": "DPDK",
- "hybridAksIpamEnabled": "True",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "L3 network is up"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_Delete.json
deleted file mode 100644
index 57736a0f2d78..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_Delete.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "l3NetworkName": "l3NetworkName"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_Get.json
deleted file mode 100644
index 3ded32168c59..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_Get.json
+++ /dev/null
@@ -1,54 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "l3NetworkName": "l3NetworkName"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "name": "l3NetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/l3Networks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "l3IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
- "vlan": 12,
- "ipAllocationType": "DualStack",
- "ipv4ConnectedPrefix": "198.51.100.0/24",
- "ipv6ConnectedPrefix": "2001:db8::/64",
- "hybridAksPluginType": "DPDK",
- "hybridAksIpamEnabled": "True",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "L3 network is up"
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_ListByResourceGroup.json
deleted file mode 100644
index 09d7ba659e38..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_ListByResourceGroup.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "name": "l3NetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/l3Networks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "l3IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
- "vlan": 12,
- "ipAllocationType": "DualStack",
- "ipv4ConnectedPrefix": "198.51.100.0/24",
- "ipv6ConnectedPrefix": "2001:db8::/64",
- "hybridAksPluginType": "DPDK",
- "hybridAksIpamEnabled": "True",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "L3 network is up"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_ListBySubscription.json
deleted file mode 100644
index 9932e7a76825..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_ListBySubscription.json
+++ /dev/null
@@ -1,57 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "name": "l3NetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/l3Networks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "l3IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
- "vlan": 12,
- "ipAllocationType": "DualStack",
- "ipv4ConnectedPrefix": "198.51.100.0/24",
- "ipv6ConnectedPrefix": "2001:db8::/64",
- "hybridAksPluginType": "DPDK",
- "hybridAksIpamEnabled": "True",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "L3 network is up"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_Patch.json
deleted file mode 100644
index 7be1bb7599ff..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/L3Networks_Patch.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "l3NetworkName": "l3NetworkName",
- "l3NetworkUpdateParameters": {
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "name": "l3NetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/l3Networks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "l3IsolationDomainId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
- "vlan": 12,
- "ipAllocationType": "DualStack",
- "ipv4ConnectedPrefix": "198.51.100.0/24",
- "ipv6ConnectedPrefix": "2001:db8::/64",
- "hybridAksPluginType": "DPDK",
- "hybridAksIpamEnabled": "True",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "L3 network is up"
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Operations_List.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Operations_List.json
deleted file mode 100644
index 5b0f1f8db38a..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Operations_List.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview"
- },
- "responses": {
- "200": {
- "body": {
- "nextLink": "https://fully.qualified.hyperlink",
- "value": [
- {
- "actionType": "Internal",
- "display": {
- "description": "Reads Network Cloud cluster(s)",
- "operation": "Get/list Network Cloud cluster resources",
- "provider": "Microsoft Network Cloud",
- "resource": "Network Cloud cluster"
- },
- "isDataAction": true,
- "name": "Microsoft.NetworkCloud/clusters/Read",
- "origin": "user,system"
- },
- {
- "actionType": "Internal",
- "display": {
- "description": "Writes Network Cloud cluster(s)",
- "operation": "Create/update Network Cloud cluster resources",
- "provider": "Microsoft Network Cloud",
- "resource": "Network Cloud cluster"
- },
- "isDataAction": true,
- "name": "Microsoft.NetworkCloud/clusters/Write",
- "origin": "user,system"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_Create.json
deleted file mode 100644
index ceb79a0b70fb..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_Create.json
+++ /dev/null
@@ -1,98 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "rackName": "rackName",
- "rackParameters": {
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackSkuId": "RACK-TYPE-1",
- "rackSerialNumber": "RACK_SERIAL_NUMBER",
- "availabilityZone": "1",
- "rackLocation": "Rack 28"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "name": "rackName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/racks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackSkuId": "RACK-TYPE-1",
- "rackSerialNumber": "RACK_SERIAL_NUMBER",
- "availabilityZone": "1",
- "rackLocation": "Rack 28",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "detailedStatus": "Available",
- "detailedStatusMessage": "Rack is operational"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "name": "rackName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/racks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackSkuId": "RACK-TYPE-1",
- "rackSerialNumber": "RACK_SERIAL_NUMBER",
- "availabilityZone": "1",
- "rackLocation": "Rack 28",
- "provisioningState": "Accepted",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "detailedStatus": "Available",
- "detailedStatusMessage": "Rack is operational"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_Delete.json
deleted file mode 100644
index fc004c7f17a2..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_Delete.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "rackName": "rackName"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_Get.json
deleted file mode 100644
index afc149c430ce..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_Get.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "rackName": "rackName"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "name": "rackName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/racks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackSkuId": "RACK-TYPE-1",
- "rackSerialNumber": "RACK_SERIAL_NUMBER",
- "availabilityZone": "1",
- "rackLocation": "Rack 28",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "detailedStatus": "Available",
- "detailedStatusMessage": "Rack is operational"
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_ListByResourceGroup.json
deleted file mode 100644
index d2fef4295e0e..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_ListByResourceGroup.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "name": "rackName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/racks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackSkuId": "RACK-TYPE-1",
- "rackSerialNumber": "RACK_SERIAL_NUMBER",
- "availabilityZone": "1",
- "rackLocation": "Rack 28",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "detailedStatus": "Available",
- "detailedStatusMessage": "Rack is operational"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_ListBySubscription.json
deleted file mode 100644
index e325a07bdbef..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_ListBySubscription.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "name": "rackName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/racks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackSkuId": "RACK-TYPE-1",
- "rackSerialNumber": "RACK_SERIAL_NUMBER",
- "availabilityZone": "1",
- "rackLocation": "Rack 28",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "detailedStatus": "Available",
- "detailedStatusMessage": "Rack is operational"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_Patch.json
deleted file mode 100644
index 2a165181417a..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Racks_Patch.json
+++ /dev/null
@@ -1,91 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "rackName": "rackName",
- "rackUpdateParameters": {
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "properties": {
- "rackSerialNumber": "RACK_SERIAL_NUMBER",
- "rackLocation": "Rack 2B"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "name": "rackName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/racks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackSkuId": "RACK-TYPE-1",
- "rackSerialNumber": "RACK_SERIAL_NUMBER",
- "availabilityZone": "1",
- "rackLocation": "Rack 28",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "detailedStatus": "Available",
- "detailedStatusMessage": "Rack is operational"
- }
- }
- },
- "202": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "name": "rackName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/racks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackSkuId": "RACK-TYPE-1",
- "rackSerialNumber": "RACK_SERIAL_NUMBER",
- "availabilityZone": "1",
- "rackLocation": "Rack 28",
- "provisioningState": "Accepted",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "detailedStatus": "Available",
- "detailedStatusMessage": "Rack is operational"
- }
- },
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_Create.json
deleted file mode 100644
index 162883a24340..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_Create.json
+++ /dev/null
@@ -1,118 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "storageApplianceName": "storageApplianceName",
- "storageApplianceParameters": {
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "storageApplianceSkuId": "684E-3B16-399E",
- "rackSlot": 1,
- "serialNumber": "BM1219XXX",
- "administratorCredentials": {
- "username": "adminUser",
- "password": "{password}"
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/storageAppliances/storageApplianceName",
- "name": "storageApplianceName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/storageAppliances",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "storageApplianceSkuId": "684E-3B16-399E",
- "rackSlot": 1,
- "serialNumber": "BM1219XXX",
- "administratorCredentials": {
- "username": "adminUser"
- },
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "capacity": 893,
- "capacityUsed": 500,
- "remoteVendorManagementStatus": "Enabled",
- "remoteVendorManagementFeature": "Supported",
- "detailedStatus": "Available",
- "detailedStatusMessage": "Storage appliance is up and running",
- "managementIpv4Address": "192.0.2.2"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/storageAppliances/storageApplianceName",
- "name": "storageApplianceName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/storageAppliances",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "storageApplianceSkuId": "684E-3B16-399E",
- "rackSlot": 1,
- "serialNumber": "BM1219XXX",
- "administratorCredentials": {
- "username": "adminUser"
- },
- "provisioningState": "Accepted",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "capacity": 893,
- "capacityUsed": 500,
- "remoteVendorManagementStatus": "Enabled",
- "remoteVendorManagementFeature": "Supported",
- "detailedStatus": "Available",
- "detailedStatusMessage": "Storage appliance is up and running",
- "managementIpv4Address": "192.0.2.2"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_Delete.json
deleted file mode 100644
index 3c3d7fe59ad7..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_Delete.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "storageApplianceName": "storageApplianceName"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_DisableRemoteVendorManagement.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_DisableRemoteVendorManagement.json
deleted file mode 100644
index a6b01cc9fa51..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_DisableRemoteVendorManagement.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "storageApplianceName": "storageApplianceName"
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_EnableRemoteVendorManagement.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_EnableRemoteVendorManagement.json
deleted file mode 100644
index 81eca1d0cc98..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_EnableRemoteVendorManagement.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "storageApplianceName": "storageApplianceName",
- "storageApplianceEnableRemoteVendorManagementParameters": {
- "supportEndpoints": [
- "10.0.0.0/24"
- ]
- }
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_Get.json
deleted file mode 100644
index bc47a1862080..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_Get.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "storageApplianceName": "storageApplianceName"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/storageAppliances/storageApplianceName",
- "name": "storageApplianceName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/storageAppliances",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "storageApplianceSkuId": "684E-3B16-399E",
- "rackSlot": 1,
- "serialNumber": "BM1219XXX",
- "administratorCredentials": {
- "username": "adminUser"
- },
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "capacity": 893,
- "capacityUsed": 500,
- "remoteVendorManagementStatus": "Enabled",
- "remoteVendorManagementFeature": "Supported",
- "detailedStatus": "Available",
- "detailedStatusMessage": "Storage appliance is up and running",
- "managementIpv4Address": "192.0.2.2"
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_ListByResourceGroup.json
deleted file mode 100644
index b78e9164d399..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_ListByResourceGroup.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/storageAppliances/storageApplianceName",
- "name": "storageApplianceName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/storageAppliances",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "storageApplianceSkuId": "684E-3B16-399E",
- "rackSlot": 1,
- "serialNumber": "BM1219XXX",
- "administratorCredentials": {
- "username": "adminUser"
- },
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "capacity": 893,
- "capacityUsed": 500,
- "remoteVendorManagementStatus": "Enabled",
- "remoteVendorManagementFeature": "Supported",
- "detailedStatus": "Available",
- "detailedStatusMessage": "Storage appliance is up and running",
- "managementIpv4Address": "192.0.2.2"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_ListBySubscription.json
deleted file mode 100644
index 6af4364d886e..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_ListBySubscription.json
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/storageAppliances/storageApplianceName",
- "name": "storageApplianceName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/storageAppliances",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "storageApplianceSkuId": "684E-3B16-399E",
- "rackSlot": 1,
- "serialNumber": "BM1219XXX",
- "administratorCredentials": {
- "username": "adminUser"
- },
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "capacity": 893,
- "capacityUsed": 500,
- "remoteVendorManagementStatus": "Enabled",
- "remoteVendorManagementFeature": "Supported",
- "detailedStatus": "Available",
- "detailedStatusMessage": "Storage appliance is up and running",
- "managementIpv4Address": "192.0.2.2"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_Patch.json
deleted file mode 100644
index 2f555ab57358..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_Patch.json
+++ /dev/null
@@ -1,106 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "storageApplianceName": "storageApplianceName",
- "storageApplianceUpdateParameters": {
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "properties": {
- "serialNumber": "BM1219XXX"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/storageAppliances/storageApplianceName",
- "name": "storageApplianceName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/storageAppliances",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "storageApplianceSkuId": "684E-3B16-399E",
- "rackSlot": 1,
- "serialNumber": "BM1219XXX",
- "administratorCredentials": {
- "username": "adminUser"
- },
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "capacity": 893,
- "capacityUsed": 500,
- "remoteVendorManagementStatus": "Enabled",
- "remoteVendorManagementFeature": "Supported",
- "detailedStatus": "Available",
- "detailedStatusMessage": "Storage appliance is up and running",
- "managementIpv4Address": "192.0.2.2"
- }
- }
- },
- "202": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/storageAppliances/storageApplianceName",
- "name": "storageApplianceName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/storageAppliances",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "rackId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "storageApplianceSkuId": "684E-3B16-399E",
- "rackSlot": 1,
- "serialNumber": "BM1219XXX",
- "administratorCredentials": {
- "username": "adminUser"
- },
- "provisioningState": "Accepted",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "capacity": 893,
- "capacityUsed": 500,
- "remoteVendorManagementStatus": "Enabled",
- "remoteVendorManagementFeature": "Supported",
- "detailedStatus": "Available",
- "detailedStatusMessage": "Storage appliance is up and running",
- "managementIpv4Address": "192.0.2.2"
- }
- },
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_RunReadCommands.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_RunReadCommands.json
deleted file mode 100644
index 8db119891c47..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_RunReadCommands.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "storageApplianceName": "storageApplianceName",
- "storageApplianceRunReadCommandsParameters": {
- "commands": [
- {
- "command": "AlertList"
- }
- ],
- "limitTimeSeconds": 60
- }
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_ValidateHardware.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_ValidateHardware.json
deleted file mode 100644
index dbf2f478539e..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/StorageAppliances_ValidateHardware.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "storageApplianceName": "storageApplianceName",
- "storageApplianceValidateHardwareParameters": {
- "validationCategory": "BasicValidation"
- }
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_Create.json
deleted file mode 100644
index 28bb47205e89..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_Create.json
+++ /dev/null
@@ -1,128 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "trunkedNetworkName": "trunkedNetworkName",
- "trunkedNetworkParameters": {
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "isolationDomainIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName"
- ],
- "vlans": [
- 12,
- 14
- ],
- "hybridAksPluginType": "DPDK"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
- "name": "trunkedNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/trunkedNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "isolationDomainIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName"
- ],
- "vlans": [
- 12,
- 14
- ],
- "hybridAksPluginType": "DPDK",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Trunked network is up"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
- "name": "trunkedNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/trunkedNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "isolationDomainIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName"
- ],
- "vlans": [
- 12,
- 14
- ],
- "hybridAksPluginType": "DPDK",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Trunked network is up"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_Delete.json
deleted file mode 100644
index cf945467342a..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_Delete.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "trunkedNetworkName": "trunkedNetworkName"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_Get.json
deleted file mode 100644
index a55ad892d413..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_Get.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "trunkedNetworkName": "trunkedNetworkName"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
- "name": "trunkedNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/trunkedNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "isolationDomainIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName"
- ],
- "vlans": [
- 12,
- 14
- ],
- "hybridAksPluginType": "DPDK",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Trunked network is up"
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_ListByResourceGroup.json
deleted file mode 100644
index e09cf84e4ff5..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_ListByResourceGroup.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
- "name": "trunkedNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/trunkedNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "isolationDomainIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName"
- ],
- "vlans": [
- 12,
- 14
- ],
- "hybridAksPluginType": "DPDK",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Trunked network is up"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_ListBySubscription.json
deleted file mode 100644
index 78859372e39b..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_ListBySubscription.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
- "name": "trunkedNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/trunkedNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "isolationDomainIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName"
- ],
- "vlans": [
- 12,
- 14
- ],
- "hybridAksPluginType": "DPDK",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Trunked network is up"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_Patch.json
deleted file mode 100644
index b32b37265859..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/TrunkedNetworks_Patch.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "trunkedNetworkName": "trunkedNetworkName",
- "trunkedNetworkUpdateParameters": {
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
- "name": "trunkedNetworkName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/trunkedNetworks",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "interfaceName": "eth0",
- "isolationDomainIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName"
- ],
- "vlans": [
- 12,
- 14
- ],
- "hybridAksPluginType": "DPDK",
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "hybridAksClustersAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/hybridAksClusters/hybridAksClusterName"
- ],
- "virtualMachinesAssociatedIds": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Available",
- "detailedStatusMessage": "Trunked network is up"
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_AttachVolume.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_AttachVolume.json
deleted file mode 100644
index 03cd7289370a..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_AttachVolume.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "virtualMachineName": "virtualMachineName",
- "virtualMachineAttachVolumeParameters": {
- "volumeId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- }
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Create.json
deleted file mode 100644
index f72fff6acf31..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Create.json
+++ /dev/null
@@ -1,246 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "virtualMachineName": "virtualMachineName",
- "virtualMachineParameters": {
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "vmImage": "myacr.azurecr.io/foobar:latest",
- "vmImageRepositoryCredentials": {
- "username": "myuser",
- "password": "{password}",
- "registryUrl": "myacr.azurecr.io"
- },
- "vmDeviceModel": "T2",
- "cpuCores": 2,
- "memorySizeGB": 8,
- "storageProfile": {
- "osDisk": {
- "createOption": "Ephemeral",
- "deleteOption": "Delete",
- "diskSizeGB": 120
- },
- "volumeAttachments": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ]
- },
- "cloudServicesNetworkAttachment": {
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "ipAllocationMethod": "Dynamic"
- },
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
- "defaultGateway": "True"
- }
- ],
- "placementHints": [
- {
- "hintType": "Affinity",
- "schedulingExecution": "Hard",
- "resourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "scope": ""
- }
- ],
- "userData": "dXNlckRhdGVTYW1wbGU=",
- "networkData": "bmV0d29ya0RhdGVTYW1wbGU=",
- "bootMethod": "UEFI",
- "adminUsername": "username",
- "sshPublicKeys": [
- {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- }
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName",
- "name": "virtualMachineName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/virtualMachines",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "vmImage": "myacr.azurecr.io/foobar:latest",
- "vmImageRepositoryCredentials": {
- "username": "myuser",
- "registryUrl": "myacr.azurecr.io"
- },
- "vmDeviceModel": "T2",
- "cpuCores": 2,
- "memorySizeGB": 8,
- "storageProfile": {
- "osDisk": {
- "createOption": "Ephemeral",
- "deleteOption": "Delete",
- "diskSizeGB": 120
- },
- "volumeAttachments": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ]
- },
- "cloudServicesNetworkAttachment": {
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "ipAllocationMethod": "Dynamic"
- },
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ],
- "placementHints": [
- {
- "hintType": "Affinity",
- "schedulingExecution": "Hard",
- "resourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "scope": ""
- }
- ],
- "userData": "dXNlckRhdGVTYW1wbGU=",
- "networkData": "bmV0d29ya0RhdGVTYW1wbGU=",
- "bootMethod": "UEFI",
- "adminUsername": "username",
- "sshPublicKeys": [
- {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- }
- ],
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "detailedStatus": "Available",
- "detailedStatusMessage": "VM is up and healthy",
- "volumes": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ]
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName",
- "name": "virtualMachineName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/virtualMachines",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "vmImage": "myacr.azurecr.io/foobar:latest",
- "vmImageRepositoryCredentials": {
- "username": "myuser",
- "registryUrl": "myacr.azurecr.io"
- },
- "vmDeviceModel": "T2",
- "cpuCores": 2,
- "memorySizeGB": 8,
- "storageProfile": {
- "osDisk": {
- "createOption": "Ephemeral",
- "deleteOption": "Delete",
- "diskSizeGB": 120
- },
- "volumeAttachments": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ]
- },
- "cloudServicesNetworkAttachment": {
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "ipAllocationMethod": "Dynamic"
- },
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ],
- "placementHints": [
- {
- "hintType": "Affinity",
- "schedulingExecution": "Hard",
- "resourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "scope": ""
- }
- ],
- "userData": "dXNlckRhdGVTYW1wbGU=",
- "networkData": "bmV0d29ya0RhdGVTYW1wbGU=",
- "bootMethod": "UEFI",
- "adminUsername": "username",
- "sshPublicKeys": [
- {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- }
- ],
- "provisioningState": "Accepted",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "detailedStatus": "Available",
- "detailedStatusMessage": "VM is up and healthy",
- "volumes": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ]
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Delete.json
deleted file mode 100644
index aaef60c9b139..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Delete.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "virtualMachineName": "virtualMachineName"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_DetachVolume.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_DetachVolume.json
deleted file mode 100644
index b8b1981a42d7..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_DetachVolume.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "virtualMachineName": "virtualMachineName",
- "virtualMachineDetachVolumeParameters": {
- "volumeId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- }
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Get.json
deleted file mode 100644
index fe3185d229e3..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Get.json
+++ /dev/null
@@ -1,95 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "virtualMachineName": "virtualMachineName"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName",
- "name": "virtualMachineName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/virtualMachines",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "vmImage": "myacr.azurecr.io/foobar:latest",
- "vmImageRepositoryCredentials": {
- "username": "myuser",
- "registryUrl": "myacr.azurecr.io"
- },
- "vmDeviceModel": "T2",
- "cpuCores": 2,
- "memorySizeGB": 8,
- "storageProfile": {
- "osDisk": {
- "createOption": "Ephemeral",
- "deleteOption": "Delete",
- "diskSizeGB": 120
- },
- "volumeAttachments": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ]
- },
- "cloudServicesNetworkAttachment": {
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "ipAllocationMethod": "Dynamic"
- },
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ],
- "placementHints": [
- {
- "hintType": "Affinity",
- "schedulingExecution": "Hard",
- "resourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "scope": ""
- }
- ],
- "userData": "dXNlckRhdGVTYW1wbGU=",
- "networkData": "bmV0d29ya0RhdGVTYW1wbGU=",
- "bootMethod": "UEFI",
- "adminUsername": "username",
- "sshPublicKeys": [
- {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- }
- ],
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "detailedStatus": "Available",
- "detailedStatusMessage": "VM is up and healthy",
- "volumes": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ]
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_ListByResourceGroup.json
deleted file mode 100644
index 0dfc305352bc..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_ListByResourceGroup.json
+++ /dev/null
@@ -1,99 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName",
- "name": "virtualMachineName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/virtualMachines",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "vmImage": "myacr.azurecr.io/foobar:latest",
- "vmImageRepositoryCredentials": {
- "username": "myuser",
- "registryUrl": "myacr.azurecr.io"
- },
- "vmDeviceModel": "T2",
- "cpuCores": 2,
- "memorySizeGB": 8,
- "storageProfile": {
- "osDisk": {
- "createOption": "Ephemeral",
- "deleteOption": "Delete",
- "diskSizeGB": 120
- },
- "volumeAttachments": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ]
- },
- "cloudServicesNetworkAttachment": {
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "ipAllocationMethod": "Dynamic"
- },
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ],
- "placementHints": [
- {
- "hintType": "Affinity",
- "schedulingExecution": "Hard",
- "resourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "scope": ""
- }
- ],
- "userData": "dXNlckRhdGVTYW1wbGU=",
- "networkData": "bmV0d29ya0RhdGVTYW1wbGU=",
- "bootMethod": "UEFI",
- "adminUsername": "username",
- "sshPublicKeys": [
- {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- }
- ],
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "detailedStatus": "Available",
- "detailedStatusMessage": "VM is up and healthy",
- "volumes": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ]
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_ListBySubscription.json
deleted file mode 100644
index 03c7356e45c4..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_ListBySubscription.json
+++ /dev/null
@@ -1,98 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName",
- "name": "virtualMachineName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/virtualMachines",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "vmImage": "myacr.azurecr.io/foobar:latest",
- "vmImageRepositoryCredentials": {
- "username": "myuser",
- "registryUrl": "myacr.azurecr.io"
- },
- "vmDeviceModel": "T2",
- "cpuCores": 2,
- "memorySizeGB": 8,
- "storageProfile": {
- "osDisk": {
- "createOption": "Ephemeral",
- "deleteOption": "Delete",
- "diskSizeGB": 120
- },
- "volumeAttachments": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ]
- },
- "cloudServicesNetworkAttachment": {
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "ipAllocationMethod": "Dynamic"
- },
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ],
- "placementHints": [
- {
- "hintType": "Affinity",
- "schedulingExecution": "Hard",
- "resourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "scope": ""
- }
- ],
- "userData": "dXNlckRhdGVTYW1wbGU=",
- "networkData": "bmV0d29ya0RhdGVTYW1wbGU=",
- "bootMethod": "UEFI",
- "adminUsername": "username",
- "sshPublicKeys": [
- {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- }
- ],
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "detailedStatus": "Available",
- "detailedStatusMessage": "VM is up and healthy",
- "volumes": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ]
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Patch.json
deleted file mode 100644
index 199265669c11..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Patch.json
+++ /dev/null
@@ -1,196 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "virtualMachineName": "virtualMachineName",
- "virtualMachineUpdateParameters": {
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "properties": {
- "vmImageRepositoryCredentials": {
- "username": "myuser",
- "password": "{password}",
- "registryUrl": "myacr.azurecr.io"
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName",
- "name": "virtualMachineName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/virtualMachines",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "vmImage": "myacr.azurecr.io/foobar:latest",
- "vmImageRepositoryCredentials": {
- "username": "myuser",
- "registryUrl": "myacr.azurecr.io"
- },
- "vmDeviceModel": "T2",
- "cpuCores": 2,
- "memorySizeGB": 8,
- "storageProfile": {
- "osDisk": {
- "createOption": "Ephemeral",
- "deleteOption": "Delete",
- "diskSizeGB": 120
- },
- "volumeAttachments": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ]
- },
- "cloudServicesNetworkAttachment": {
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "ipAllocationMethod": "Dynamic"
- },
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ],
- "placementHints": [
- {
- "hintType": "Affinity",
- "schedulingExecution": "Hard",
- "resourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "scope": ""
- }
- ],
- "userData": "dXNlckRhdGVTYW1wbGU=",
- "networkData": "bmV0d29ya0RhdGVTYW1wbGU=",
- "bootMethod": "UEFI",
- "adminUsername": "username",
- "sshPublicKeys": [
- {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- }
- ],
- "provisioningState": "Succeeded",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "detailedStatus": "Available",
- "detailedStatusMessage": "VM is up and healthy",
- "volumes": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ]
- }
- }
- },
- "202": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName",
- "name": "virtualMachineName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/virtualMachines",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "vmImage": "myacr.azurecr.io/foobar:latest",
- "vmImageRepositoryCredentials": {
- "username": "myuser",
- "registryUrl": "myacr.azurecr.io"
- },
- "vmDeviceModel": "T2",
- "cpuCores": 2,
- "memorySizeGB": 8,
- "storageProfile": {
- "osDisk": {
- "createOption": "Ephemeral",
- "deleteOption": "Delete",
- "diskSizeGB": 120
- },
- "volumeAttachments": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ]
- },
- "cloudServicesNetworkAttachment": {
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
- "ipAllocationMethod": "Dynamic"
- },
- "networkAttachments": [
- {
- "networkAttachmentName": "netAttachName01",
- "attachedNetworkId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
- "ipAllocationMethod": "Dynamic",
- "ipv4Address": "198.51.100.1",
- "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
- "macAddress": "bf:1c:29:31:31:1f",
- "defaultGateway": "True"
- }
- ],
- "placementHints": [
- {
- "hintType": "Affinity",
- "schedulingExecution": "Hard",
- "resourceId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
- "scope": ""
- }
- ],
- "userData": "dXNlckRhdGVTYW1wbGU=",
- "networkData": "bmV0d29ya0RhdGVTYW1wbGU=",
- "bootMethod": "UEFI",
- "adminUsername": "username",
- "sshPublicKeys": [
- {
- "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
- }
- ],
- "provisioningState": "Accepted",
- "clusterId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
- "powerState": "On",
- "bareMetalMachineId": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
- "detailedStatus": "Available",
- "detailedStatusMessage": "VM is up and healthy",
- "volumes": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
- ]
- }
- },
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_PowerOff.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_PowerOff.json
deleted file mode 100644
index c5da89098e09..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_PowerOff.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "virtualMachineName": "virtualMachineName",
- "virtualMachinePowerOffParameters": {
- "skipShutdown": "True"
- }
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Reimage.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Reimage.json
deleted file mode 100644
index e578ae979813..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Reimage.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "virtualMachineName": "virtualMachineName"
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Restart.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Restart.json
deleted file mode 100644
index e578ae979813..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Restart.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "virtualMachineName": "virtualMachineName"
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Start.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Start.json
deleted file mode 100644
index e578ae979813..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/VirtualMachines_Start.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "virtualMachineName": "virtualMachineName"
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_Create.json
deleted file mode 100644
index dd5b7c42725c..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_Create.json
+++ /dev/null
@@ -1,95 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "volumeName": "volumeName",
- "volumeParameters": {
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "sizeMiB": 10000
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName",
- "name": "volumeName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/volumes",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "sizeMiB": 10000,
- "provisioningState": "Succeeded",
- "serialNumber": "XXXX-XXXX-XXXX-XXXX",
- "attachedTo": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Active",
- "detailedStatusMessage": "Volume is available"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName",
- "name": "volumeName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/volumes",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "sizeMiB": 10000,
- "provisioningState": "Succeeded",
- "serialNumber": "XXXX-XXXX-XXXX-XXXX",
- "attachedTo": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Active",
- "detailedStatusMessage": "Volume is available"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_Delete.json
deleted file mode 100644
index aca2a6d0f550..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_Delete.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "volumeName": "volumeName"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_Get.json
deleted file mode 100644
index 54ba3527c1a2..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_Get.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "volumeName": "volumeName"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName",
- "name": "volumeName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/volumes",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "sizeMiB": 10000,
- "provisioningState": "Succeeded",
- "serialNumber": "XXXX-XXXX-XXXX-XXXX",
- "attachedTo": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Active",
- "detailedStatusMessage": "Volume is available"
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_ListByResourceGroup.json
deleted file mode 100644
index 13b6509faf29..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_ListByResourceGroup.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName",
- "name": "volumeName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/volumes",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "sizeMiB": 10000,
- "provisioningState": "Succeeded",
- "serialNumber": "XXXX-XXXX-XXXX-XXXX",
- "attachedTo": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Active",
- "detailedStatusMessage": "Volume is available"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_ListBySubscription.json
deleted file mode 100644
index 341e8f78805c..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_ListBySubscription.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName",
- "name": "volumeName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/volumes",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "sizeMiB": 10000,
- "provisioningState": "Succeeded",
- "serialNumber": "XXXX-XXXX-XXXX-XXXX",
- "attachedTo": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Active",
- "detailedStatusMessage": "Volume is available"
- }
- }
- ],
- "nextLink": "https://fully.qualified.hyperlink"
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_Patch.json
deleted file mode 100644
index e3e2c71591f6..000000000000
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/Volumes_Patch.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
- "resourceGroupName": "resourceGroupName",
- "volumeName": "volumeName",
- "volumeUpdateParameters": {
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName",
- "name": "volumeName",
- "systemData": {
- "createdAt": "2021-01-22T13:27:03.008Z",
- "createdBy": "identityA",
- "createdByType": "Application",
- "lastModifiedAt": "2021-01-22T13:29:03.001Z",
- "lastModifiedBy": "identityB",
- "lastModifiedByType": "User"
- },
- "type": "Microsoft.NetworkCloud/volumes",
- "location": "location",
- "tags": {
- "key1": "myvalue1",
- "key2": "myvalue2"
- },
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
- },
- "properties": {
- "sizeMiB": 10000,
- "provisioningState": "Succeeded",
- "serialNumber": "XXXX-XXXX-XXXX-XXXX",
- "attachedTo": [
- "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
- ],
- "detailedStatus": "Active",
- "detailedStatusMessage": "Volume is available"
- }
- }
- }
- }
-}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/AgentPools_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/AgentPools_Create.json
new file mode 100644
index 000000000000..064fd6527e8b
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/AgentPools_Create.json
@@ -0,0 +1,255 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "kubernetesClusterName": "kubernetesClusterName",
+ "agentPoolName": "agentPoolName",
+ "agentPoolParameters": {
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "agentOptions": {
+ "hugepagesCount": 96,
+ "hugepagesSize": "1G"
+ },
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "mode": "System",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "upgradeSettings": {
+ "maxSurge": "1"
+ },
+ "vmSkuName": "NC_M16_v1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName/agentPools/agentPoolName",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/kubernetesClusters/agentPools",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "agentOptions": {
+ "hugepagesCount": 96,
+ "hugepagesSize": "1G"
+ },
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "mode": "System",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "upgradeSettings": {
+ "maxSurge": "1"
+ },
+ "vmSkuName": "NC_M16_v1",
+ "provisioningState": "Succeeded",
+ "kubernetesVersion": "1.24.3-1",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Agent pool is available"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName/agentPools/agentPoolName",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/kubernetesClusters/agentPools",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "agentOptions": {
+ "hugepagesCount": 96,
+ "hugepagesSize": "1G"
+ },
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "mode": "System",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "upgradeSettings": {
+ "maxSurge": "1"
+ },
+ "vmSkuName": "NC_M16_v1",
+ "provisioningState": "Accepted",
+ "kubernetesVersion": "1.24.3-1",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Agent pool is available"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/AgentPools_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/AgentPools_Delete.json
new file mode 100644
index 000000000000..63f5c8c02675
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/AgentPools_Delete.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "kubernetesClusterName": "kubernetesClusterName",
+ "agentPoolName": "agentPoolName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/AgentPools_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/AgentPools_Get.json
new file mode 100644
index 000000000000..d16f13cb45fd
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/AgentPools_Get.json
@@ -0,0 +1,97 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "kubernetesClusterName": "kubernetesClusterName",
+ "agentPoolName": "agentPoolName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName/agentPools/agentPoolName",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/kubernetesClusters/agentPools",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "agentOptions": {
+ "hugepagesCount": 96,
+ "hugepagesSize": "1G"
+ },
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "mode": "System",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "upgradeSettings": {
+ "maxSurge": "1"
+ },
+ "vmSkuName": "NC_M16_v1",
+ "provisioningState": "Succeeded",
+ "kubernetesVersion": "1.24.3-1",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Agent pool is available"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/AgentPools_ListByKubernetesCluster.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/AgentPools_ListByKubernetesCluster.json
new file mode 100644
index 000000000000..116a88d94a6a
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/AgentPools_ListByKubernetesCluster.json
@@ -0,0 +1,101 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "kubernetesClusterName": "kubernetesClusterName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName/agentPools/agentPoolName",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/kubernetesClusters/agentPools",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "agentOptions": {
+ "hugepagesCount": 96,
+ "hugepagesSize": "1G"
+ },
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "mode": "System",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "upgradeSettings": {
+ "maxSurge": "1"
+ },
+ "vmSkuName": "NC_M16_v1",
+ "provisioningState": "Succeeded",
+ "kubernetesVersion": "1.24.3-1",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Agent pool is available"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/AgentPools_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/AgentPools_Patch.json
new file mode 100644
index 000000000000..19e9e7b5cf86
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/AgentPools_Patch.json
@@ -0,0 +1,205 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "kubernetesClusterName": "kubernetesClusterName",
+ "agentPoolName": "agentPoolName",
+ "agentPoolUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "administratorConfiguration": {
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "count": 3,
+ "upgradeSettings": {
+ "maxSurge": "1"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName/agentPools/agentPoolName",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/kubernetesClusters/agentPools",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "agentOptions": {
+ "hugepagesCount": 96,
+ "hugepagesSize": "1G"
+ },
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "mode": "System",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "upgradeSettings": {
+ "maxSurge": "1"
+ },
+ "vmSkuName": "NC_M16_v1",
+ "provisioningState": "Succeeded",
+ "kubernetesVersion": "1.24.3-1",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Agent pool is available"
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName/agentPools/agentPoolName",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/kubernetesClusters/agentPools",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "agentOptions": {
+ "hugepagesCount": 96,
+ "hugepagesSize": "1G"
+ },
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "mode": "System",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "upgradeSettings": {
+ "maxSurge": "1"
+ },
+ "vmSkuName": "NC_M16_v1",
+ "provisioningState": "Accepted",
+ "kubernetesVersion": "1.24.3-1",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Agent pool is available"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachineKeySets_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachineKeySets_Create.json
similarity index 80%
rename from specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachineKeySets_Create.json
rename to specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachineKeySets_Create.json
index cbfb52bddda0..1fe5a50aeda4 100644
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachineKeySets_Create.json
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachineKeySets_Create.json
@@ -1,7 +1,7 @@
{
"parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
"resourceGroupName": "resourceGroupName",
"clusterName": "clusterName",
"bareMetalMachineKeySetName": "bareMetalMachineKeySetName",
@@ -13,7 +13,7 @@
},
"extendedLocation": {
"type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
},
"properties": {
"privilegeLevel": "Standard",
@@ -30,6 +30,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
},
{
@@ -37,6 +38,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
}
]
@@ -46,7 +48,7 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bareMetalMachineKeySets/bareMetalMachineKeySetName",
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bareMetalMachineKeySets/bareMetalMachineKeySetName",
"name": "bareMetalMachineKeySetName",
"systemData": {
"createdAt": "2021-01-22T13:27:03.008Z",
@@ -64,7 +66,7 @@
},
"extendedLocation": {
"type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
},
"properties": {
"privilegeLevel": "Standard",
@@ -81,6 +83,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
},
{
@@ -88,6 +91,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
}
],
@@ -112,7 +116,7 @@
},
"201": {
"body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bareMetalMachineKeySets/bareMetalMachineKeySetName",
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bareMetalMachineKeySets/bareMetalMachineKeySetName",
"name": "bareMetalMachineKeySetName",
"systemData": {
"createdAt": "2021-01-22T13:27:03.008Z",
@@ -130,7 +134,7 @@
},
"extendedLocation": {
"type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
},
"properties": {
"privilegeLevel": "Standard",
@@ -147,6 +151,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
},
{
@@ -154,6 +159,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
}
],
@@ -161,7 +167,7 @@
}
},
"headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
}
}
}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachineKeySets_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachineKeySets_Delete.json
new file mode 100644
index 000000000000..af97f56d05a0
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachineKeySets_Delete.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName",
+ "bareMetalMachineKeySetName": "bareMetalMachineKeySetName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachineKeySets_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachineKeySets_Get.json
similarity index 82%
rename from specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachineKeySets_Get.json
rename to specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachineKeySets_Get.json
index 6508059a1f70..49b1b6f1e34d 100644
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachineKeySets_Get.json
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachineKeySets_Get.json
@@ -1,7 +1,7 @@
{
"parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
"resourceGroupName": "resourceGroupName",
"clusterName": "clusterName",
"bareMetalMachineKeySetName": "bareMetalMachineKeySetName"
@@ -9,7 +9,7 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bareMetalMachineKeySets/bareMetalMachineKeySetName",
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bareMetalMachineKeySets/bareMetalMachineKeySetName",
"name": "bareMetalMachineKeySetName",
"systemData": {
"createdAt": "2021-01-22T13:27:03.008Z",
@@ -27,7 +27,7 @@
},
"extendedLocation": {
"type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
},
"properties": {
"privilegeLevel": "Standard",
@@ -44,6 +44,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
},
{
@@ -51,6 +52,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
}
],
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachineKeySets_ListByCluster.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachineKeySets_ListByCluster.json
new file mode 100644
index 000000000000..3e1fcb4beada
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachineKeySets_ListByCluster.json
@@ -0,0 +1,83 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bareMetalMachineKeySets/bareMetalMachineKeySetName",
+ "name": "bareMetalMachineKeySetName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters/bareMetalMachineKeySets",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "privilegeLevel": "Standard",
+ "expiration": "2022-12-31T23:59:59.008Z",
+ "azureGroupId": "f110271b-XXXX-4163-9b99-214d91660f0e",
+ "osGroupName": "standardAccessGroup",
+ "jumpHostsAllowed": [
+ "192.0.2.1",
+ "192.0.2.5"
+ ],
+ "userList": [
+ {
+ "azureUserName": "userABC",
+ "sshPublicKey": {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ },
+ "userPrincipalName": "userABC@contoso.com",
+ "description": "Needs access for troubleshooting as a part of the support team"
+ },
+ {
+ "azureUserName": "userXYZ",
+ "sshPublicKey": {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ },
+ "userPrincipalName": "userABC@contoso.com",
+ "description": "Needs access for troubleshooting as a part of the support team"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "userListStatus": [
+ {
+ "azureUserName": "userABC",
+ "status": "Active",
+ "statusMessage": "User has been provisioned"
+ },
+ {
+ "azureUserName": "userXYZ",
+ "status": "Invalid",
+ "statusMessage": "User is not a valid Azure user"
+ }
+ ],
+ "lastValidation": "2022-12-12T12:00:00.008Z",
+ "detailedStatus": "SomeInvalid",
+ "detailedStatusMessage": "Inalid Azure user(s) were provided: userXYZ"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachineKeySets_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachineKeySets_Patch.json
similarity index 81%
rename from specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachineKeySets_Patch.json
rename to specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachineKeySets_Patch.json
index 0d40a7ed53bb..e2de55c9ad64 100644
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BareMetalMachineKeySets_Patch.json
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachineKeySets_Patch.json
@@ -1,7 +1,7 @@
{
"parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
"resourceGroupName": "resourceGroupName",
"clusterName": "clusterName",
"bareMetalMachineKeySetName": "bareMetalMachineKeySetName",
@@ -22,6 +22,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
},
{
@@ -29,6 +30,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
}
]
@@ -38,7 +40,7 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bareMetalMachineKeySets/bareMetalMachineKeySetName",
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bareMetalMachineKeySets/bareMetalMachineKeySetName",
"name": "bareMetalMachineKeySetName",
"systemData": {
"createdAt": "2021-01-22T13:27:03.008Z",
@@ -56,7 +58,7 @@
},
"extendedLocation": {
"type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
},
"properties": {
"privilegeLevel": "Standard",
@@ -73,6 +75,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
},
{
@@ -80,6 +83,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
}
],
@@ -104,7 +108,7 @@
},
"202": {
"body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bareMetalMachineKeySets/bareMetalMachineKeySetName",
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bareMetalMachineKeySets/bareMetalMachineKeySetName",
"name": "bareMetalMachineKeySetName",
"systemData": {
"createdAt": "2021-01-22T13:27:03.008Z",
@@ -122,7 +126,7 @@
},
"extendedLocation": {
"type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
},
"properties": {
"privilegeLevel": "Standard",
@@ -139,6 +143,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
},
{
@@ -146,6 +151,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
}
],
@@ -156,7 +162,7 @@
}
},
"headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
}
}
}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Cordon.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Cordon.json
new file mode 100644
index 000000000000..20a9d92a9144
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Cordon.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "bareMetalMachineName": "bareMetalMachineName",
+ "bareMetalMachineCordonParameters": {
+ "evacuate": "True"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Create.json
new file mode 100644
index 000000000000..e3e9663b68fa
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Create.json
@@ -0,0 +1,197 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "bareMetalMachineName": "bareMetalMachineName",
+ "bareMetalMachineParameters": {
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "machineSkuId": "684E-3B16-399E",
+ "rackSlot": 1,
+ "machineName": "r01c001",
+ "bootMacAddress": "00:00:4e:00:58:af",
+ "bmcMacAddress": "00:00:4f:00:57:00",
+ "bmcCredentials": {
+ "username": "bmcuser",
+ "password": "{password}"
+ },
+ "bmcConnectionString": "bmcconnectionstring",
+ "machineDetails": "User-provided machine details.",
+ "serialNumber": "BM1219XXX"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "name": "bareMetalMachineName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/bareMetalMachines",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "machineSkuId": "684E-3B16-399E",
+ "rackSlot": 1,
+ "machineName": "r01c001",
+ "bootMacAddress": "00:00:4e:00:58:af",
+ "bmcMacAddress": "00:00:4f:00:57:00",
+ "bmcCredentials": {
+ "username": "bmcuser"
+ },
+ "bmcConnectionString": "bmcconnectionstring",
+ "machineDetails": "User-provided machine details.",
+ "serialNumber": "BM1219XXX",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "readyState": "True",
+ "cordonStatus": "Uncordoned",
+ "powerState": "On",
+ "hardwareInventory": {
+ "interfaces": [
+ {
+ "name": "networkInterfaceName",
+ "macAddress": "2C:54:91:88:C9:E3",
+ "linkStatus": "Up",
+ "networkInterfaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName"
+ }
+ ],
+ "additionalHostInformation": "Machine specific information..."
+ },
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "DetailedStatusMessage",
+ "serviceTag": "ST1219XXX",
+ "kubernetesNodeName": "node01",
+ "kubernetesVersion": "1.21",
+ "osImage": "v20220805e",
+ "oamIpv4Address": "192.0.2.1",
+ "oamIpv6Address": "0:0:0:0:0:FFFF:7F00:0001",
+ "hardwareValidationStatus": {
+ "result": "Pass",
+ "lastValidationTime": "2022-09-30T13:27:03.008Z"
+ },
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "machineRoles": [
+ "platform.afo-nc.microsoft.com/management-plane=true"
+ ],
+ "runtimeProtectionStatus": {
+ "scanScheduledTime": "2023-10-01T13:00:00.000Z",
+ "scanStartedTime": "2023-09-30T13:00:03.008Z",
+ "scanCompletedTime": "2023-09-30T13:27:23.103Z",
+ "definitionsLastUpdated": "2023-09-28T13:27:03.008Z",
+ "definitionsVersion": "1.2.3"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "name": "bareMetalMachineName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/bareMetalMachines",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "machineSkuId": "684E-3B16-399E",
+ "rackSlot": 1,
+ "machineName": "r01c001",
+ "bootMacAddress": "00:00:4e:00:58:af",
+ "bmcMacAddress": "00:00:4f:00:57:00",
+ "bmcCredentials": {
+ "username": "bmcuser"
+ },
+ "bmcConnectionString": "bmcconnectionstring",
+ "machineDetails": "User-provided machine details.",
+ "serialNumber": "BM1219XXX",
+ "provisioningState": "Accepted",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "readyState": "True",
+ "cordonStatus": "Uncordoned",
+ "powerState": "On",
+ "hardwareInventory": {
+ "interfaces": [
+ {
+ "name": "networkInterfaceName",
+ "macAddress": "2C:54:91:88:C9:E3",
+ "linkStatus": "Up",
+ "networkInterfaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName"
+ }
+ ],
+ "additionalHostInformation": "Machine specific information..."
+ },
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "DetailedStatusMessage",
+ "serviceTag": "ST1219XXX",
+ "kubernetesNodeName": "node01",
+ "kubernetesVersion": "1.21",
+ "osImage": "v20220805e",
+ "oamIpv4Address": "192.0.2.1",
+ "oamIpv6Address": "0:0:0:0:0:FFFF:7F00:0001",
+ "hardwareValidationStatus": {
+ "result": "Pass",
+ "lastValidationTime": "2022-09-30T13:27:03.008Z"
+ },
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "machineRoles": [
+ "platform.afo-nc.microsoft.com/management-plane=true"
+ ],
+ "runtimeProtectionStatus": {
+ "scanScheduledTime": "2023-10-01T13:00:00.000Z",
+ "scanStartedTime": "2023-09-30T13:00:03.008Z",
+ "scanCompletedTime": "2023-09-30T13:27:23.103Z",
+ "definitionsLastUpdated": "2023-09-28T13:27:03.008Z",
+ "definitionsVersion": "1.2.3"
+ }
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Delete.json
new file mode 100644
index 000000000000..a4444d3bf4ab
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "bareMetalMachineName": "bareMetalMachineName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Get.json
new file mode 100644
index 000000000000..ca8b6441d59e
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Get.json
@@ -0,0 +1,89 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "bareMetalMachineName": "bareMetalMachineName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "name": "bareMetalMachineName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/bareMetalMachines",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "machineSkuId": "684E-3B16-399E",
+ "rackSlot": 1,
+ "machineName": "r01c001",
+ "bootMacAddress": "00:00:4e:00:58:af",
+ "bmcMacAddress": "00:00:4f:00:57:00",
+ "bmcCredentials": {
+ "username": "bmcuser"
+ },
+ "bmcConnectionString": "bmcconnectionstring",
+ "machineDetails": "User-provided machine details.",
+ "serialNumber": "BM1219XXX",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "readyState": "True",
+ "cordonStatus": "Uncordoned",
+ "powerState": "On",
+ "hardwareInventory": {
+ "interfaces": [
+ {
+ "name": "networkInterfaceName",
+ "macAddress": "2C:54:91:88:C9:E3",
+ "linkStatus": "Up",
+ "networkInterfaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName"
+ }
+ ],
+ "additionalHostInformation": "Machine specific information..."
+ },
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "DetailedStatusMessage",
+ "serviceTag": "ST1219XXX",
+ "kubernetesNodeName": "node01",
+ "kubernetesVersion": "1.21",
+ "osImage": "v20220805e",
+ "oamIpv4Address": "192.0.2.1",
+ "oamIpv6Address": "0:0:0:0:0:FFFF:7F00:0001",
+ "hardwareValidationStatus": {
+ "result": "Pass",
+ "lastValidationTime": "2022-09-30T13:27:03.008Z"
+ },
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "machineRoles": [
+ "platform.afo-nc.microsoft.com/management-plane=true"
+ ],
+ "runtimeProtectionStatus": {
+ "scanScheduledTime": "2023-10-01T13:00:00.000Z",
+ "scanStartedTime": "2023-09-30T13:00:03.008Z",
+ "scanCompletedTime": "2023-09-30T13:27:23.103Z",
+ "definitionsLastUpdated": "2023-09-28T13:27:03.008Z",
+ "definitionsVersion": "1.2.3"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_ListByResourceGroup.json
new file mode 100644
index 000000000000..ab7d93fe8129
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_ListByResourceGroup.json
@@ -0,0 +1,93 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "name": "bareMetalMachineName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/bareMetalMachines",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "machineSkuId": "684E-3B16-399E",
+ "rackSlot": 1,
+ "machineName": "r01c001",
+ "bootMacAddress": "00:00:4e:00:58:af",
+ "bmcMacAddress": "00:00:4f:00:57:00",
+ "bmcCredentials": {
+ "username": "bmcuser"
+ },
+ "bmcConnectionString": "bmcconnectionstring",
+ "machineDetails": "User-provided machine details.",
+ "serialNumber": "BM1219XXX",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "readyState": "True",
+ "cordonStatus": "Uncordoned",
+ "powerState": "On",
+ "hardwareInventory": {
+ "interfaces": [
+ {
+ "name": "networkInterfaceName",
+ "macAddress": "2C:54:91:88:C9:E3",
+ "linkStatus": "Up",
+ "networkInterfaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName"
+ }
+ ],
+ "additionalHostInformation": "Machine specific information..."
+ },
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "DetailedStatusMessage",
+ "serviceTag": "ST1219XXX",
+ "kubernetesNodeName": "node01",
+ "kubernetesVersion": "1.21",
+ "osImage": "v20220805e",
+ "oamIpv4Address": "192.0.2.1",
+ "oamIpv6Address": "0:0:0:0:0:FFFF:7F00:0001",
+ "hardwareValidationStatus": {
+ "result": "Pass",
+ "lastValidationTime": "2022-09-30T13:27:03.008Z"
+ },
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "machineRoles": [
+ "platform.afo-nc.microsoft.com/management-plane=true"
+ ],
+ "runtimeProtectionStatus": {
+ "scanScheduledTime": "2023-10-01T13:00:00.000Z",
+ "scanStartedTime": "2023-09-30T13:00:03.008Z",
+ "scanCompletedTime": "2023-09-30T13:27:23.103Z",
+ "definitionsLastUpdated": "2023-09-28T13:27:03.008Z",
+ "definitionsVersion": "1.2.3"
+ }
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_ListBySubscription.json
new file mode 100644
index 000000000000..1a4ee63b8d31
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_ListBySubscription.json
@@ -0,0 +1,92 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "name": "bareMetalMachineName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/bareMetalMachines",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "machineSkuId": "684E-3B16-399E",
+ "rackSlot": 1,
+ "machineName": "r01c001",
+ "bootMacAddress": "00:00:4e:00:58:af",
+ "bmcMacAddress": "00:00:4f:00:57:00",
+ "bmcCredentials": {
+ "username": "bmcuser"
+ },
+ "bmcConnectionString": "bmcconnectionstring",
+ "machineDetails": "User-provided machine details.",
+ "serialNumber": "BM1219XXX",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "readyState": "True",
+ "cordonStatus": "Uncordoned",
+ "powerState": "On",
+ "hardwareInventory": {
+ "interfaces": [
+ {
+ "name": "networkInterfaceName",
+ "macAddress": "2C:54:91:88:C9:E3",
+ "linkStatus": "Up",
+ "networkInterfaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName"
+ }
+ ],
+ "additionalHostInformation": "Machine specific information..."
+ },
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "DetailedStatusMessage",
+ "serviceTag": "ST1219XXX",
+ "kubernetesNodeName": "node01",
+ "kubernetesVersion": "1.21",
+ "osImage": "v20220805e",
+ "oamIpv4Address": "192.0.2.1",
+ "oamIpv6Address": "0:0:0:0:0:FFFF:7F00:0001",
+ "hardwareValidationStatus": {
+ "result": "Pass",
+ "lastValidationTime": "2022-09-30T13:27:03.008Z"
+ },
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "machineRoles": [
+ "platform.afo-nc.microsoft.com/management-plane=true"
+ ],
+ "runtimeProtectionStatus": {
+ "scanScheduledTime": "2023-10-01T13:00:00.000Z",
+ "scanStartedTime": "2023-09-30T13:00:03.008Z",
+ "scanCompletedTime": "2023-09-30T13:27:23.103Z",
+ "definitionsLastUpdated": "2023-09-28T13:27:03.008Z",
+ "definitionsVersion": "1.2.3"
+ }
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Patch.json
new file mode 100644
index 000000000000..d450eac75c87
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Patch.json
@@ -0,0 +1,180 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "bareMetalMachineName": "bareMetalMachineName",
+ "bareMetalMachineUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "machineDetails": "machinedetails"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "name": "bareMetalMachineName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/bareMetalMachines",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "machineSkuId": "684E-3B16-399E",
+ "rackSlot": 1,
+ "machineName": "r01c001",
+ "bootMacAddress": "00:00:4e:00:58:af",
+ "bmcMacAddress": "00:00:4f:00:57:00",
+ "bmcCredentials": {
+ "username": "bmcuser"
+ },
+ "bmcConnectionString": "bmcconnectionstring",
+ "machineDetails": "User-provided machine details.",
+ "serialNumber": "BM1219XXX",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "readyState": "True",
+ "cordonStatus": "Uncordoned",
+ "powerState": "On",
+ "hardwareInventory": {
+ "interfaces": [
+ {
+ "name": "networkInterfaceName",
+ "macAddress": "2C:54:91:88:C9:E3",
+ "linkStatus": "Up",
+ "networkInterfaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName"
+ }
+ ],
+ "additionalHostInformation": "Machine specific information..."
+ },
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "DetailedStatusMessage",
+ "serviceTag": "ST1219XXX",
+ "kubernetesNodeName": "node01",
+ "kubernetesVersion": "1.21",
+ "osImage": "v20220805e",
+ "oamIpv4Address": "192.0.2.1",
+ "oamIpv6Address": "0:0:0:0:0:FFFF:7F00:0001",
+ "hardwareValidationStatus": {
+ "result": "Pass",
+ "lastValidationTime": "2022-09-30T13:27:03.008Z"
+ },
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "machineRoles": [
+ "platform.afo-nc.microsoft.com/management-plane=true"
+ ],
+ "runtimeProtectionStatus": {
+ "scanScheduledTime": "2023-10-01T13:00:00.000Z",
+ "scanStartedTime": "2023-09-30T13:00:03.008Z",
+ "scanCompletedTime": "2023-09-30T13:27:23.103Z",
+ "definitionsLastUpdated": "2023-09-28T13:27:03.008Z",
+ "definitionsVersion": "1.2.3"
+ }
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "name": "bareMetalMachineName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/bareMetalMachines",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "machineSkuId": "684E-3B16-399E",
+ "rackSlot": 1,
+ "machineName": "r01c001",
+ "bootMacAddress": "00:00:4e:00:58:af",
+ "bmcMacAddress": "00:00:4f:00:57:00",
+ "bmcCredentials": {
+ "username": "bmcuser"
+ },
+ "bmcConnectionString": "bmcconnectionstring",
+ "machineDetails": "User-provided machine details.",
+ "serialNumber": "BM1219XXX",
+ "provisioningState": "Accepted",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "readyState": "True",
+ "cordonStatus": "Uncordoned",
+ "powerState": "On",
+ "hardwareInventory": {
+ "interfaces": [
+ {
+ "name": "networkInterfaceName",
+ "macAddress": "2C:54:91:88:C9:E3",
+ "linkStatus": "Up",
+ "networkInterfaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkDevices/networkDeviceName/networkInterfaces/networkInterfaceName"
+ }
+ ],
+ "additionalHostInformation": "Machine specific information..."
+ },
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "DetailedStatusMessage",
+ "serviceTag": "ST1219XXX",
+ "kubernetesNodeName": "node01",
+ "kubernetesVersion": "1.21",
+ "osImage": "v20220805e",
+ "oamIpv4Address": "192.0.2.1",
+ "oamIpv6Address": "0:0:0:0:0:FFFF:7F00:0001",
+ "hardwareValidationStatus": {
+ "result": "Pass",
+ "lastValidationTime": "2022-09-30T13:27:03.008Z"
+ },
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "machineRoles": [
+ "platform.afo-nc.microsoft.com/management-plane=true"
+ ],
+ "runtimeProtectionStatus": {
+ "scanScheduledTime": "2023-10-01T13:00:00.000Z",
+ "scanStartedTime": "2023-09-30T13:00:03.008Z",
+ "scanCompletedTime": "2023-09-30T13:27:23.103Z",
+ "definitionsLastUpdated": "2023-09-28T13:27:03.008Z",
+ "definitionsVersion": "1.2.3"
+ }
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_PowerOff.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_PowerOff.json
new file mode 100644
index 000000000000..2aa09377f927
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_PowerOff.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "bareMetalMachineName": "bareMetalMachineName",
+ "bareMetalMachinePowerOffParameters": {
+ "skipShutdown": "True"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Reimage.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Reimage.json
new file mode 100644
index 000000000000..5f7f9afefdb4
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Reimage.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "bareMetalMachineName": "bareMetalMachineName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Replace.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Replace.json
new file mode 100644
index 000000000000..8f8f4f3de678
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Replace.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "bareMetalMachineName": "bareMetalMachineName",
+ "bareMetalMachineReplaceParameters": {
+ "bootMacAddress": "00:00:4e:00:58:af",
+ "bmcCredentials": {
+ "username": "bmcuser",
+ "password": "{password}"
+ },
+ "serialNumber": "BM1219XXX",
+ "bmcMacAddress": "00:00:4f:00:57:ad",
+ "machineName": "name"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Restart.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Restart.json
new file mode 100644
index 000000000000..5f7f9afefdb4
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Restart.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "bareMetalMachineName": "bareMetalMachineName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_RunCommand.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_RunCommand.json
new file mode 100644
index 000000000000..1ab48d7131a3
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_RunCommand.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "bareMetalMachineName": "bareMetalMachineName",
+ "bareMetalMachineRunCommandParameters": {
+ "script": "cHdkCg==",
+ "arguments": [
+ "--argument1",
+ "argument2"
+ ],
+ "limitTimeSeconds": 60
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_RunDataExtracts.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_RunDataExtracts.json
new file mode 100644
index 000000000000..742e93a2da28
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_RunDataExtracts.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "bareMetalMachineName": "bareMetalMachineName",
+ "bareMetalMachineRunDataExtractsParameters": {
+ "commands": [
+ {
+ "command": "hardware-support-data-collection",
+ "arguments": [
+ "SysInfo",
+ "TTYLog"
+ ]
+ }
+ ],
+ "limitTimeSeconds": 60
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_RunReadCommands.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_RunReadCommands.json
new file mode 100644
index 000000000000..6b6a40ee087b
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_RunReadCommands.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "bareMetalMachineName": "bareMetalMachineName",
+ "bareMetalMachineRunReadCommandsParameters": {
+ "commands": [
+ {
+ "command": "kubectl get",
+ "arguments": [
+ "pods",
+ "-A"
+ ]
+ },
+ {
+ "command": "ping",
+ "arguments": [
+ "192.168.0.99",
+ "-c",
+ "3"
+ ]
+ }
+ ],
+ "limitTimeSeconds": 60
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Start.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Start.json
new file mode 100644
index 000000000000..5f7f9afefdb4
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Start.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "bareMetalMachineName": "bareMetalMachineName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Uncordon.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Uncordon.json
new file mode 100644
index 000000000000..5f7f9afefdb4
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BareMetalMachines_Uncordon.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "bareMetalMachineName": "bareMetalMachineName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BmcKeySets_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BmcKeySets_Create.json
similarity index 80%
rename from specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BmcKeySets_Create.json
rename to specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BmcKeySets_Create.json
index 883b06c1a61d..25f22187b6f5 100644
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BmcKeySets_Create.json
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BmcKeySets_Create.json
@@ -1,7 +1,7 @@
{
"parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
"resourceGroupName": "resourceGroupName",
"clusterName": "clusterName",
"bmcKeySetName": "bmcKeySetName",
@@ -13,7 +13,7 @@
},
"extendedLocation": {
"type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
},
"properties": {
"privilegeLevel": "Administrator",
@@ -25,6 +25,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
},
{
@@ -32,6 +33,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
}
]
@@ -41,7 +43,7 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bmcKeySets/bmcKeySetName",
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bmcKeySets/bmcKeySetName",
"name": "bmcKeySetName",
"systemData": {
"createdAt": "2021-01-22T13:27:03.008Z",
@@ -59,7 +61,7 @@
},
"extendedLocation": {
"type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
},
"properties": {
"privilegeLevel": "Administrator",
@@ -71,6 +73,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
},
{
@@ -78,6 +81,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userXYZ@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
}
],
@@ -102,7 +106,7 @@
},
"201": {
"body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bmcKeySets/bmcKeySetName",
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bmcKeySets/bmcKeySetName",
"name": "bmcKeySetName",
"systemData": {
"createdAt": "2021-01-22T13:27:03.008Z",
@@ -120,7 +124,7 @@
},
"extendedLocation": {
"type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
},
"properties": {
"privilegeLevel": "Administrator",
@@ -132,6 +136,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
},
{
@@ -139,6 +144,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userXYZ@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
}
],
@@ -146,7 +152,7 @@
}
},
"headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
}
}
}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BmcKeySets_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BmcKeySets_Delete.json
new file mode 100644
index 000000000000..3de2d573fb0d
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BmcKeySets_Delete.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName",
+ "bmcKeySetName": "bmcKeySetName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BmcKeySets_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BmcKeySets_Get.json
similarity index 82%
rename from specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BmcKeySets_Get.json
rename to specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BmcKeySets_Get.json
index 1acb1047d2e2..af532a71197d 100644
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BmcKeySets_Get.json
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BmcKeySets_Get.json
@@ -1,7 +1,7 @@
{
"parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
"resourceGroupName": "resourceGroupName",
"clusterName": "clusterName",
"bmcKeySetName": "bmcKeySetName"
@@ -9,7 +9,7 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bmcKeySets/bmcKeySetName",
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bmcKeySets/bmcKeySetName",
"name": "bmcKeySetName",
"systemData": {
"createdAt": "2021-01-22T13:27:03.008Z",
@@ -27,7 +27,7 @@
},
"extendedLocation": {
"type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
},
"properties": {
"privilegeLevel": "Administrator",
@@ -39,6 +39,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
},
{
@@ -46,6 +47,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userXYZ@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
}
],
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BmcKeySets_ListByCluster.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BmcKeySets_ListByCluster.json
new file mode 100644
index 000000000000..f316b17289ba
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BmcKeySets_ListByCluster.json
@@ -0,0 +1,78 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bmcKeySets/bmcKeySetName",
+ "name": "bmcKeySetName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters/bmcKeySets",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "privilegeLevel": "Administrator",
+ "expiration": "2022-12-31T23:59:59.008Z",
+ "azureGroupId": "f110271b-XXXX-4163-9b99-214d91660f0e",
+ "userList": [
+ {
+ "azureUserName": "userABC",
+ "sshPublicKey": {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ },
+ "userPrincipalName": "userABC@contoso.com",
+ "description": "Needs access for troubleshooting as a part of the support team"
+ },
+ {
+ "azureUserName": "userXYZ",
+ "sshPublicKey": {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ },
+ "userPrincipalName": "userXYZ@contoso.com",
+ "description": "Needs access for troubleshooting as a part of the support team"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "userListStatus": [
+ {
+ "azureUserName": "userABC",
+ "status": "Active",
+ "statusMessage": "User has been provisioned"
+ },
+ {
+ "azureUserName": "userXYZ",
+ "status": "Invalid",
+ "statusMessage": "User is not a valid Azure user"
+ }
+ ],
+ "lastValidation": "2022-12-12T12:00:00.008Z",
+ "detailedStatus": "SomeInvalid",
+ "detailedStatusMessage": "Inalid Azure user(s) were provided: userXYZ"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BmcKeySets_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BmcKeySets_Patch.json
similarity index 81%
rename from specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BmcKeySets_Patch.json
rename to specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BmcKeySets_Patch.json
index 80249eb0f38a..8b4a804a27e4 100644
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/BmcKeySets_Patch.json
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/BmcKeySets_Patch.json
@@ -1,7 +1,7 @@
{
"parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
"resourceGroupName": "resourceGroupName",
"clusterName": "clusterName",
"bmcKeySetName": "bmcKeySetName",
@@ -18,6 +18,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
},
{
@@ -25,6 +26,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
}
]
@@ -34,7 +36,7 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bmcKeySets/bmcKeySetName",
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bmcKeySets/bmcKeySetName",
"name": "bmcKeySetName",
"systemData": {
"createdAt": "2021-01-22T13:27:03.008Z",
@@ -52,7 +54,7 @@
},
"extendedLocation": {
"type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
},
"properties": {
"privilegeLevel": "Administrator",
@@ -64,6 +66,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
},
{
@@ -71,6 +74,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userXYZ@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
}
],
@@ -95,7 +99,7 @@
},
"202": {
"body": {
- "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bmcKeySets/bmcKeySetName",
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bmcKeySets/bmcKeySetName",
"name": "bmcKeySetName",
"systemData": {
"createdAt": "2021-01-22T13:27:03.008Z",
@@ -113,7 +117,7 @@
},
"extendedLocation": {
"type": "CustomLocation",
- "name": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
},
"properties": {
"privilegeLevel": "Administrator",
@@ -125,6 +129,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
},
{
@@ -132,6 +137,7 @@
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
+ "userPrincipalName": "userXYZ@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
}
],
@@ -142,7 +148,7 @@
}
},
"headers": {
- "Location": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2022-12-12-preview"
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
}
}
}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_Create.json
new file mode 100644
index 000000000000..a877255b5deb
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_Create.json
@@ -0,0 +1,152 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "cloudServicesNetworkName": "cloudServicesNetworkName",
+ "cloudServicesNetworkParameters": {
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "additionalEgressEndpoints": [
+ {
+ "category": "azure-resource-management",
+ "endpoints": [
+ {
+ "domainName": "https://storageaccountex.blob.core.windows.net",
+ "port": 443
+ }
+ ]
+ }
+ ],
+ "enableDefaultEgressEndpoints": "False"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "name": "cloudServicesNetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/cloudServicesNetworks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "additionalEgressEndpoints": [
+ {
+ "category": "azure-resource-management",
+ "endpoints": [
+ {
+ "domainName": "https://storageaccountex.blob.core.windows.net",
+ "port": 443
+ }
+ ]
+ }
+ ],
+ "enableDefaultEgressEndpoints": "False",
+ "provisioningState": "Succeeded",
+ "interfaceName": "eth0",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "enabledEgressEndpoints": [
+ {
+ "category": "azure-resource-management",
+ "endpoints": [
+ {
+ "domainName": "https://storageaccountex.blob.core.windows.net",
+ "port": 443
+ }
+ ]
+ }
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Cloud services network is up"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "name": "cloudServicesNetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/cloudServicesNetworks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "additionalEgressEndpoints": [
+ {
+ "category": "azure-resource-management",
+ "endpoints": [
+ {
+ "domainName": "https://storageaccountex.blob.core.windows.net",
+ "port": 443
+ }
+ ]
+ }
+ ],
+ "enableDefaultEgressEndpoints": "False",
+ "provisioningState": "Succeeded",
+ "interfaceName": "eth0",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "enabledEgressEndpoints": [
+ {
+ "category": "azure-resource-management",
+ "endpoints": [
+ {
+ "domainName": "https://storageaccountex.blob.core.windows.net",
+ "port": 443
+ }
+ ]
+ }
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Cloud services network is up"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_Delete.json
new file mode 100644
index 000000000000..5ceacd4a76de
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "cloudServicesNetworkName": "cloudServicesNetworkName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_Get.json
new file mode 100644
index 000000000000..e3e4f2a5886c
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_Get.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "cloudServicesNetworkName": "cloudServicesNetworkName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "name": "cloudServicesNetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/cloudServicesNetworks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "additionalEgressEndpoints": [
+ {
+ "category": "azure-resource-management",
+ "endpoints": [
+ {
+ "domainName": "https://storageaccountex.blob.core.windows.net",
+ "port": 443
+ }
+ ]
+ }
+ ],
+ "enableDefaultEgressEndpoints": "False",
+ "provisioningState": "Succeeded",
+ "interfaceName": "eth0",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "enabledEgressEndpoints": [
+ {
+ "category": "azure-resource-management",
+ "endpoints": [
+ {
+ "domainName": "https://storageaccountex.blob.core.windows.net",
+ "port": 443
+ }
+ ]
+ }
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Cloud services network is up"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_ListByResourceGroup.json
new file mode 100644
index 000000000000..fe3de5fa7521
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_ListByResourceGroup.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "name": "cloudServicesNetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/cloudServicesNetworks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "additionalEgressEndpoints": [
+ {
+ "category": "azure-resource-management",
+ "endpoints": [
+ {
+ "domainName": "https://storageaccountex.blob.core.windows.net",
+ "port": 443
+ }
+ ]
+ }
+ ],
+ "enableDefaultEgressEndpoints": "False",
+ "provisioningState": "Succeeded",
+ "interfaceName": "eth0",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "enabledEgressEndpoints": [
+ {
+ "category": "azure-resource-management",
+ "endpoints": [
+ {
+ "domainName": "https://storageaccountex.blob.core.windows.net",
+ "port": 443
+ }
+ ]
+ }
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Cloud services network is up"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_ListBySubscription.json
new file mode 100644
index 000000000000..5fa8e1e636f0
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_ListBySubscription.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "name": "cloudServicesNetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/cloudServicesNetworks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "additionalEgressEndpoints": [
+ {
+ "category": "azure-resource-management",
+ "endpoints": [
+ {
+ "domainName": "https://storageaccountex.blob.core.windows.net",
+ "port": 443
+ }
+ ]
+ }
+ ],
+ "enableDefaultEgressEndpoints": "False",
+ "provisioningState": "Succeeded",
+ "interfaceName": "eth0",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "enabledEgressEndpoints": [
+ {
+ "category": "azure-resource-management",
+ "endpoints": [
+ {
+ "domainName": "https://storageaccountex.blob.core.windows.net",
+ "port": 443
+ }
+ ]
+ }
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Cloud services network is up"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_Patch.json
new file mode 100644
index 000000000000..41bea7ffc84b
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/CloudServicesNetworks_Patch.json
@@ -0,0 +1,147 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "cloudServicesNetworkName": "cloudServicesNetworkName",
+ "cloudServicesNetworkUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "additionalEgressEndpoints": [
+ {
+ "category": "azure-resource-management",
+ "endpoints": [
+ {
+ "domainName": "https://storageaccountex.blob.core.windows.net",
+ "port": 443
+ }
+ ]
+ }
+ ],
+ "enableDefaultEgressEndpoints": "False"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "name": "cloudServicesNetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/cloudServicesNetworks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "additionalEgressEndpoints": [
+ {
+ "category": "azure-resource-management",
+ "endpoints": [
+ {
+ "domainName": "https://storageaccountex.blob.core.windows.net",
+ "port": 443
+ }
+ ]
+ }
+ ],
+ "enableDefaultEgressEndpoints": "False",
+ "provisioningState": "Succeeded",
+ "interfaceName": "eth0",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "enabledEgressEndpoints": [
+ {
+ "category": "azure-resource-management",
+ "endpoints": [
+ {
+ "domainName": "https://storageaccountex.blob.core.windows.net",
+ "port": 443
+ }
+ ]
+ }
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Cloud services network is up"
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "name": "cloudServicesNetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/cloudServicesNetworks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "additionalEgressEndpoints": [
+ {
+ "category": "azure-resource-management",
+ "endpoints": [
+ {
+ "domainName": "https://storageaccountex.blob.core.windows.net",
+ "port": 443
+ }
+ ]
+ }
+ ],
+ "enableDefaultEgressEndpoints": "False",
+ "provisioningState": "Accepted",
+ "interfaceName": "eth0",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "enabledEgressEndpoints": [
+ {
+ "category": "azure-resource-management",
+ "endpoints": [
+ {
+ "domainName": "https://storageaccountex.blob.core.windows.net",
+ "port": 443
+ }
+ ]
+ }
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Cloud services network is up"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_Create.json
new file mode 100644
index 000000000000..46efe68b6ae3
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_Create.json
@@ -0,0 +1,118 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterManagerName": "clusterManagerName",
+ "clusterManagerParameters": {
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "fabricControllerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "name": "clusterManagerName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusterManagers",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "managerExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "fabricControllerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterVersions": [
+ {
+ "targetClusterVersion": "1.0.0",
+ "supportExpiryDate": "2023-04-29"
+ },
+ {
+ "targetClusterVersion": "1.0.2",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "cluster manager is up and running",
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "name": "clusterManagerName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusterManagers",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "managerExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "fabricControllerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterVersions": [
+ {
+ "targetClusterVersion": "1.0.0",
+ "supportExpiryDate": "2023-04-29"
+ },
+ {
+ "targetClusterVersion": "1.0.2",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "provisioningState": "Accepted",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "cluster manager is up and running",
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ }
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_Delete.json
new file mode 100644
index 000000000000..6bda262db182
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterManagerName": "clusterManagerName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_Get.json
new file mode 100644
index 000000000000..b3f8ab2e1387
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_Get.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterManagerName": "clusterManagerName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "name": "clusterManagerName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusterManagers",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "managerExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "fabricControllerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterVersions": [
+ {
+ "targetClusterVersion": "1.0.0",
+ "supportExpiryDate": "2023-04-29"
+ },
+ {
+ "targetClusterVersion": "1.0.2",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "cluster manager is up and running",
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_ListByResourceGroup.json
new file mode 100644
index 000000000000..20f3aa739ba5
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_ListByResourceGroup.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "name": "clusterManagerName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusterManagers",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "managerExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "fabricControllerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterVersions": [
+ {
+ "targetClusterVersion": "1.0.0",
+ "supportExpiryDate": "2023-04-29"
+ },
+ {
+ "targetClusterVersion": "1.0.2",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "cluster manager is up and running",
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ }
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_ListBySubscription.json
new file mode 100644
index 000000000000..d61682dde457
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_ListBySubscription.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "name": "clusterManagerName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusterManagers",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "managerExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "fabricControllerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterVersions": [
+ {
+ "targetClusterVersion": "1.0.0",
+ "supportExpiryDate": "2023-04-29"
+ },
+ {
+ "targetClusterVersion": "1.0.2",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "cluster manager is up and running",
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ }
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_Patch.json
new file mode 100644
index 000000000000..61846b1487fc
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterManagers_Patch.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterManagerName": "clusterManagerName",
+ "clusterManagerUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "name": "clusterManagerName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusterManagers",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "managerExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "fabricControllerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/fabricControllerName",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterVersions": [
+ {
+ "targetClusterVersion": "1.0.0",
+ "supportExpiryDate": "2023-04-29"
+ },
+ {
+ "targetClusterVersion": "1.0.2",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "cluster manager is up and running",
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterMetricsConfigurations_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterMetricsConfigurations_Create.json
new file mode 100644
index 000000000000..f0152c3b3c20
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterMetricsConfigurations_Create.json
@@ -0,0 +1,108 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName",
+ "metricsConfigurationName": "default",
+ "metricsConfigurationParameters": {
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "enabledMetrics": [
+ "metric1",
+ "metric2"
+ ],
+ "collectionInterval": 15
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/metricsConfigurations/default",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters/metricsConfigurations",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "enabledMetrics": [
+ "metric1",
+ "metric2"
+ ],
+ "collectionInterval": 15,
+ "provisioningState": "Succeeded",
+ "disabledMetrics": [
+ "metric3",
+ "metric4"
+ ],
+ "detailedStatus": "Applied",
+ "detailedStatusMessage": "Metrics configuration has been successfully applied to all resources."
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/metricsConfigurations/default",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters/metricsConfigurations",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "enabledMetrics": [
+ "metric1",
+ "metric2"
+ ],
+ "collectionInterval": 15,
+ "provisioningState": "Accepted",
+ "disabledMetrics": [
+ "metric3",
+ "metric4"
+ ],
+ "detailedStatus": "Applied",
+ "detailedStatusMessage": "Metrics configuration has been successfully applied to all resources."
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterMetricsConfigurations_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterMetricsConfigurations_Delete.json
new file mode 100644
index 000000000000..f0dd7c199f59
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterMetricsConfigurations_Delete.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName",
+ "metricsConfigurationName": "default"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterMetricsConfigurations_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterMetricsConfigurations_Get.json
new file mode 100644
index 000000000000..6a9bc4ee521c
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterMetricsConfigurations_Get.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName",
+ "metricsConfigurationName": "default"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/metricsConfigurations/default",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters/metricsConfigurations",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "enabledMetrics": [
+ "metric1",
+ "metric2"
+ ],
+ "collectionInterval": 15,
+ "provisioningState": "Succeeded",
+ "disabledMetrics": [
+ "metric3",
+ "metric4"
+ ],
+ "detailedStatus": "Applied",
+ "detailedStatusMessage": "Metrics configuration has been successfully applied to all resources."
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterMetricsConfigurations_ListByCluster.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterMetricsConfigurations_ListByCluster.json
new file mode 100644
index 000000000000..f9aa147fa4f9
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterMetricsConfigurations_ListByCluster.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/metricsConfigurations/default",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters/metricsConfigurations",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "enabledMetrics": [
+ "metric1",
+ "metric2"
+ ],
+ "collectionInterval": 15,
+ "provisioningState": "Succeeded",
+ "disabledMetrics": [
+ "metric3",
+ "metric4"
+ ],
+ "detailedStatus": "Applied",
+ "detailedStatusMessage": "Metrics configuration has been successfully applied to all resources."
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterMetricsConfigurations_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterMetricsConfigurations_Patch.json
new file mode 100644
index 000000000000..7a296c2c1304
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/ClusterMetricsConfigurations_Patch.json
@@ -0,0 +1,103 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName",
+ "metricsConfigurationName": "default",
+ "metricsConfigurationUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "enabledMetrics": [
+ "metric1",
+ "metric2"
+ ],
+ "collectionInterval": 15
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/metricsConfigurations/default",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters/metricsConfigurations",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "enabledMetrics": [
+ "metric1",
+ "metric2"
+ ],
+ "collectionInterval": 15,
+ "provisioningState": "Succeeded",
+ "disabledMetrics": [
+ "metric3",
+ "metric4"
+ ],
+ "detailedStatus": "Applied",
+ "detailedStatusMessage": "Metrics configuration has been successfully applied to all resources."
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/metricsConfigurations/default",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters/metricsConfigurations",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "enabledMetrics": [
+ "metric1",
+ "metric2"
+ ],
+ "collectionInterval": 15,
+ "provisioningState": "Accepted",
+ "disabledMetrics": [
+ "metric3",
+ "metric4"
+ ],
+ "detailedStatus": "Applied",
+ "detailedStatusMessage": "Metrics configuration has been successfully applied to all resources."
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Create.json
new file mode 100644
index 000000000000..32c798057ecc
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Create.json
@@ -0,0 +1,508 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName",
+ "clusterParameters": {
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "networkFabricId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
+ "clusterType": "SingleRack",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterLocation": "Foo Street, 3rd Floor, row 9",
+ "clusterVersion": "1.0.0",
+ "aggregatorOrSingleRackDefinition": {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username",
+ "password": "{password}"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username",
+ "password": "{password}"
+ },
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username",
+ "password": "{password}"
+ },
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ },
+ "computeRackDefinitions": [
+ {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username",
+ "password": "{password}"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username",
+ "password": "{password}"
+ },
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username",
+ "password": "{password}"
+ },
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ }
+ ],
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "clusterServicePrincipal": {
+ "tenantId": "80000000-4000-4000-4000-120000000000",
+ "principalId": "00000008-0004-0004-0004-000000000012",
+ "applicationId": "12345678-1234-1234-1234-123456789012",
+ "password": "{password}"
+ },
+ "computeDeploymentThreshold": {
+ "type": "PercentSuccess",
+ "grouping": "PerCluster",
+ "value": 90
+ },
+ "secretArchive": {
+ "useKeyVault": "True",
+ "keyVaultId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
+ },
+ "updateStrategy": {
+ "strategyType": "Rack",
+ "waitTimeMinutes": 10,
+ "thresholdType": "CountSuccess",
+ "thresholdValue": 4,
+ "maxUnavailable": 4
+ },
+ "runtimeProtectionConfiguration": {
+ "enforcementLevel": "OnDemand"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "name": "clusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "networkFabricId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
+ "clusterType": "SingleRack",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterLocation": "Foo Street, 3rd Floor, row 9",
+ "clusterVersion": "1.0.0",
+ "aggregatorOrSingleRackDefinition": {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ },
+ "computeRackDefinitions": [
+ {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ }
+ ],
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "clusterServicePrincipal": {
+ "tenantId": "80000000-4000-4000-4000-120000000000",
+ "principalId": "00000008-0004-0004-0004-000000000012",
+ "applicationId": "12345678-1234-1234-1234-123456789012"
+ },
+ "computeDeploymentThreshold": {
+ "type": "PercentSuccess",
+ "grouping": "PerCluster",
+ "value": 90
+ },
+ "secretArchive": {
+ "useKeyVault": "True",
+ "keyVaultId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
+ },
+ "updateStrategy": {
+ "strategyType": "Rack",
+ "waitTimeMinutes": 10,
+ "thresholdType": "CountSuccess",
+ "thresholdValue": 4,
+ "maxUnavailable": 4
+ },
+ "runtimeProtectionConfiguration": {
+ "enforcementLevel": "OnDemand"
+ },
+ "provisioningState": "Succeeded",
+ "clusterExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "clusterManagerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "availableUpgradeVersions": [
+ {
+ "targetClusterVersion": "1.0.2",
+ "expectedDuration": "0:0:30",
+ "controlImpact": "False",
+ "workloadImpact": "False",
+ "impactDescription": "can be done in place",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "supportExpiryDate": "2023-04-29",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "Cluster is running and healthy",
+ "clusterManagerConnectionStatus": "Connected",
+ "clusterConnectionStatus": "Connected",
+ "workloadResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
+ ],
+ "clusterCapacity": {
+ "totalCoreCount": 10,
+ "availableCoreCount": 10,
+ "totalMemoryGB": 10,
+ "availableMemoryGB": 20,
+ "totalHostStorageGB": 10,
+ "availableHostStorageGB": 20,
+ "totalApplianceStorageGB": 10,
+ "availableApplianceStorageGB": 3
+ },
+ "manualActionCount": 0
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "name": "clusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "networkFabricId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
+ "clusterType": "SingleRack",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterLocation": "Foo Street, 3rd Floor, row 9",
+ "clusterVersion": "1.0.0",
+ "aggregatorOrSingleRackDefinition": {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ },
+ "computeRackDefinitions": [
+ {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ }
+ ],
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "clusterServicePrincipal": {
+ "tenantId": "80000000-4000-4000-4000-120000000000",
+ "principalId": "00000008-0004-0004-0004-000000000012",
+ "applicationId": "12345678-1234-1234-1234-123456789012"
+ },
+ "computeDeploymentThreshold": {
+ "type": "PercentSuccess",
+ "grouping": "PerCluster",
+ "value": 90
+ },
+ "secretArchive": {
+ "useKeyVault": "True",
+ "keyVaultId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
+ },
+ "updateStrategy": {
+ "strategyType": "Rack",
+ "waitTimeMinutes": 10,
+ "thresholdType": "CountSuccess",
+ "thresholdValue": 4,
+ "maxUnavailable": 4
+ },
+ "runtimeProtectionConfiguration": {
+ "enforcementLevel": "OnDemand"
+ },
+ "provisioningState": "Accepted",
+ "clusterExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "clusterManagerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "availableUpgradeVersions": [
+ {
+ "targetClusterVersion": "1.0.2",
+ "expectedDuration": "0:0:30",
+ "controlImpact": "False",
+ "workloadImpact": "False",
+ "impactDescription": "can be done in place",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "supportExpiryDate": "2023-04-29",
+ "detailedStatus": "PendingDeployment",
+ "detailedStatusMessage": "Cluster creation is accepted. Deployment is pending.",
+ "clusterManagerConnectionStatus": "Connected",
+ "clusterConnectionStatus": "Connected",
+ "workloadResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
+ ],
+ "clusterCapacity": {
+ "totalCoreCount": 10,
+ "availableCoreCount": 10,
+ "totalMemoryGB": 10,
+ "availableMemoryGB": 20,
+ "totalHostStorageGB": 10,
+ "availableHostStorageGB": 20,
+ "totalApplianceStorageGB": 10,
+ "availableApplianceStorageGB": 3
+ },
+ "manualActionCount": 0
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Delete.json
new file mode 100644
index 000000000000..8a47761ed6e4
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Deploy.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Deploy.json
new file mode 100644
index 000000000000..30c0153d97ce
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Deploy.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName",
+ "clusterDeployParameters": {}
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Deploy_SkipValidation.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Deploy_SkipValidation.json
new file mode 100644
index 000000000000..2b2d0165dba8
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Deploy_SkipValidation.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName",
+ "clusterDeployParameters": {
+ "skipValidationsForMachines": [
+ "bmmName1"
+ ]
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Get.json
new file mode 100644
index 000000000000..c9f1f60a46ca
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Get.json
@@ -0,0 +1,190 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "name": "clusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "networkFabricId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
+ "clusterType": "SingleRack",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterLocation": "Foo Street, 3rd Floor, row 9",
+ "clusterVersion": "1.0.0",
+ "aggregatorOrSingleRackDefinition": {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ },
+ "computeRackDefinitions": [
+ {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ }
+ ],
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "clusterServicePrincipal": {
+ "tenantId": "80000000-4000-4000-4000-120000000000",
+ "principalId": "00000008-0004-0004-0004-000000000012",
+ "applicationId": "12345678-1234-1234-1234-123456789012"
+ },
+ "computeDeploymentThreshold": {
+ "type": "PercentSuccess",
+ "grouping": "PerCluster",
+ "value": 90
+ },
+ "secretArchive": {
+ "useKeyVault": "True",
+ "keyVaultId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
+ },
+ "updateStrategy": {
+ "strategyType": "Rack",
+ "waitTimeMinutes": 10,
+ "thresholdType": "CountSuccess",
+ "thresholdValue": 4,
+ "maxUnavailable": 4
+ },
+ "runtimeProtectionConfiguration": {
+ "enforcementLevel": "OnDemand"
+ },
+ "provisioningState": "Succeeded",
+ "clusterExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "clusterManagerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "availableUpgradeVersions": [
+ {
+ "targetClusterVersion": "1.0.2",
+ "expectedDuration": "0:0:30",
+ "controlImpact": "False",
+ "workloadImpact": "False",
+ "impactDescription": "can be done in place",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "supportExpiryDate": "2023-04-29",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "Cluster is running and healthy",
+ "clusterManagerConnectionStatus": "Connected",
+ "clusterConnectionStatus": "Connected",
+ "workloadResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
+ ],
+ "clusterCapacity": {
+ "totalCoreCount": 10,
+ "availableCoreCount": 10,
+ "totalMemoryGB": 10,
+ "availableMemoryGB": 20,
+ "totalHostStorageGB": 10,
+ "availableHostStorageGB": 20,
+ "totalApplianceStorageGB": 10,
+ "availableApplianceStorageGB": 3
+ },
+ "manualActionCount": 0
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_ListByResourceGroup.json
new file mode 100644
index 000000000000..c0e5822c34ac
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_ListByResourceGroup.json
@@ -0,0 +1,194 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "name": "clusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "networkFabricId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
+ "clusterType": "SingleRack",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterLocation": "Foo Street, 3rd Floor, row 9",
+ "clusterVersion": "1.0.0",
+ "aggregatorOrSingleRackDefinition": {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ },
+ "computeRackDefinitions": [
+ {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ }
+ ],
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "clusterServicePrincipal": {
+ "tenantId": "80000000-4000-4000-4000-120000000000",
+ "principalId": "00000008-0004-0004-0004-000000000012",
+ "applicationId": "12345678-1234-1234-1234-123456789012"
+ },
+ "computeDeploymentThreshold": {
+ "type": "PercentSuccess",
+ "grouping": "PerCluster",
+ "value": 90
+ },
+ "secretArchive": {
+ "useKeyVault": "True",
+ "keyVaultId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
+ },
+ "updateStrategy": {
+ "strategyType": "Rack",
+ "waitTimeMinutes": 10,
+ "thresholdType": "CountSuccess",
+ "thresholdValue": 4,
+ "maxUnavailable": 4
+ },
+ "runtimeProtectionConfiguration": {
+ "enforcementLevel": "OnDemand"
+ },
+ "provisioningState": "Succeeded",
+ "clusterExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "clusterManagerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "availableUpgradeVersions": [
+ {
+ "targetClusterVersion": "1.0.2",
+ "expectedDuration": "0:0:30",
+ "controlImpact": "False",
+ "workloadImpact": "False",
+ "impactDescription": "can be done in place",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "supportExpiryDate": "2023-04-29",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "Cluster is running and healthy",
+ "clusterManagerConnectionStatus": "Connected",
+ "clusterConnectionStatus": "Connected",
+ "workloadResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
+ ],
+ "clusterCapacity": {
+ "totalCoreCount": 10,
+ "availableCoreCount": 10,
+ "totalMemoryGB": 10,
+ "availableMemoryGB": 20,
+ "totalHostStorageGB": 10,
+ "availableHostStorageGB": 20,
+ "totalApplianceStorageGB": 10,
+ "availableApplianceStorageGB": 3
+ },
+ "manualActionCount": 0
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_ListBySubscription.json
new file mode 100644
index 000000000000..5e03ba19865e
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_ListBySubscription.json
@@ -0,0 +1,193 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "name": "clusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "networkFabricId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
+ "clusterType": "SingleRack",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterLocation": "Foo Street, 3rd Floor, row 9",
+ "clusterVersion": "1.0.0",
+ "aggregatorOrSingleRackDefinition": {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ },
+ "computeRackDefinitions": [
+ {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ }
+ ],
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "clusterServicePrincipal": {
+ "tenantId": "80000000-4000-4000-4000-120000000000",
+ "principalId": "00000008-0004-0004-0004-000000000012",
+ "applicationId": "12345678-1234-1234-1234-123456789012"
+ },
+ "computeDeploymentThreshold": {
+ "type": "PercentSuccess",
+ "grouping": "PerCluster",
+ "value": 90
+ },
+ "secretArchive": {
+ "useKeyVault": "True",
+ "keyVaultId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
+ },
+ "updateStrategy": {
+ "strategyType": "Rack",
+ "waitTimeMinutes": 10,
+ "thresholdType": "CountSuccess",
+ "thresholdValue": 4,
+ "maxUnavailable": 4
+ },
+ "runtimeProtectionConfiguration": {
+ "enforcementLevel": "OnDemand"
+ },
+ "provisioningState": "Succeeded",
+ "clusterExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "clusterManagerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "availableUpgradeVersions": [
+ {
+ "targetClusterVersion": "1.0.2",
+ "expectedDuration": "0:0:30",
+ "controlImpact": "False",
+ "workloadImpact": "False",
+ "impactDescription": "can be done in place",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "supportExpiryDate": "2023-04-29",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "Cluster is running and healthy",
+ "clusterManagerConnectionStatus": "Connected",
+ "clusterConnectionStatus": "Connected",
+ "workloadResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
+ ],
+ "clusterCapacity": {
+ "totalCoreCount": 10,
+ "availableCoreCount": 10,
+ "totalMemoryGB": 10,
+ "availableMemoryGB": 20,
+ "totalHostStorageGB": 10,
+ "availableHostStorageGB": 20,
+ "totalApplianceStorageGB": 10,
+ "availableApplianceStorageGB": 3
+ },
+ "manualActionCount": 0
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Patch_AggregatorOrSingleRackDefinition.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Patch_AggregatorOrSingleRackDefinition.json
new file mode 100644
index 000000000000..5f832c21c643
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Patch_AggregatorOrSingleRackDefinition.json
@@ -0,0 +1,429 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName",
+ "clusterUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "aggregatorOrSingleRackDefinition": {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "newSerialNumber",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username",
+ "password": "{password}"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username",
+ "password": "{password}"
+ },
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username",
+ "password": "{password}"
+ },
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ },
+ "computeDeploymentThreshold": {
+ "type": "PercentSuccess",
+ "grouping": "PerCluster",
+ "value": 90
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "name": "clusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "networkFabricId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
+ "clusterType": "SingleRack",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterLocation": "Foo Street, 3rd Floor, row 9",
+ "clusterVersion": "1.0.0",
+ "aggregatorOrSingleRackDefinition": {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "newSerialNumber",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ },
+ "computeRackDefinitions": [
+ {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ }
+ ],
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "clusterServicePrincipal": {
+ "tenantId": "80000000-4000-4000-4000-120000000000",
+ "principalId": "00000008-0004-0004-0004-000000000012",
+ "applicationId": "12345678-1234-1234-1234-123456789012"
+ },
+ "computeDeploymentThreshold": {
+ "type": "PercentSuccess",
+ "grouping": "PerCluster",
+ "value": 90
+ },
+ "secretArchive": {
+ "useKeyVault": "True",
+ "keyVaultId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
+ },
+ "updateStrategy": {
+ "strategyType": "Rack",
+ "waitTimeMinutes": 10,
+ "thresholdType": "CountSuccess",
+ "thresholdValue": 4,
+ "maxUnavailable": 4
+ },
+ "runtimeProtectionConfiguration": {
+ "enforcementLevel": "OnDemand"
+ },
+ "provisioningState": "Accepted",
+ "clusterExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "clusterManagerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "availableUpgradeVersions": [
+ {
+ "targetClusterVersion": "1.0.2",
+ "expectedDuration": "0:0:30",
+ "controlImpact": "False",
+ "workloadImpact": "False",
+ "impactDescription": "can be done in place",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "supportExpiryDate": "2023-04-29",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "Cluster is running and healthy",
+ "clusterManagerConnectionStatus": "Connected",
+ "clusterConnectionStatus": "Connected",
+ "workloadResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
+ ],
+ "clusterCapacity": {
+ "totalCoreCount": 10,
+ "availableCoreCount": 10,
+ "totalMemoryGB": 10,
+ "availableMemoryGB": 20,
+ "totalHostStorageGB": 10,
+ "availableHostStorageGB": 20,
+ "totalApplianceStorageGB": 10,
+ "availableApplianceStorageGB": 3
+ },
+ "manualActionCount": 0
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "name": "clusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "networkFabricId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
+ "clusterType": "SingleRack",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterLocation": "Foo Street, 3rd Floor, row 9",
+ "clusterVersion": "1.0.0",
+ "aggregatorOrSingleRackDefinition": {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "newSerialNumber",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ },
+ "computeRackDefinitions": [
+ {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ }
+ ],
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "clusterServicePrincipal": {
+ "tenantId": "80000000-4000-4000-4000-120000000000",
+ "principalId": "00000008-0004-0004-0004-000000000012",
+ "applicationId": "12345678-1234-1234-1234-123456789012"
+ },
+ "computeDeploymentThreshold": {
+ "type": "PercentSuccess",
+ "grouping": "PerCluster",
+ "value": 90
+ },
+ "secretArchive": {
+ "useKeyVault": "True",
+ "keyVaultId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
+ },
+ "updateStrategy": {
+ "strategyType": "Rack",
+ "waitTimeMinutes": 10,
+ "thresholdType": "CountSuccess",
+ "thresholdValue": 4,
+ "maxUnavailable": 4
+ },
+ "runtimeProtectionConfiguration": {
+ "enforcementLevel": "OnDemand"
+ },
+ "provisioningState": "Accepted",
+ "clusterExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "clusterManagerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "availableUpgradeVersions": [
+ {
+ "targetClusterVersion": "1.0.2",
+ "expectedDuration": "0:0:30",
+ "controlImpact": "False",
+ "workloadImpact": "False",
+ "impactDescription": "can be done in place",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "supportExpiryDate": "2023-04-29",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "Cluster is running and healthy",
+ "clusterManagerConnectionStatus": "Connected",
+ "clusterConnectionStatus": "Connected",
+ "workloadResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
+ ],
+ "clusterCapacity": {
+ "totalCoreCount": 10,
+ "availableCoreCount": 10,
+ "totalMemoryGB": 10,
+ "availableMemoryGB": 20,
+ "totalHostStorageGB": 10,
+ "availableHostStorageGB": 20,
+ "totalApplianceStorageGB": 10,
+ "availableApplianceStorageGB": 3
+ },
+ "manualActionCount": 0
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Patch_Location.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Patch_Location.json
new file mode 100644
index 000000000000..1add7a0b8606
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Patch_Location.json
@@ -0,0 +1,382 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName",
+ "clusterUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "clusterLocation": "Foo Street, 3rd Floor, row 9"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "name": "clusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "networkFabricId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
+ "clusterType": "SingleRack",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterLocation": "Foo Street, 3rd Floor, row 9",
+ "clusterVersion": "1.0.0",
+ "aggregatorOrSingleRackDefinition": {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ },
+ "computeRackDefinitions": [
+ {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ }
+ ],
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "clusterServicePrincipal": {
+ "tenantId": "80000000-4000-4000-4000-120000000000",
+ "principalId": "00000008-0004-0004-0004-000000000012",
+ "applicationId": "12345678-1234-1234-1234-123456789012"
+ },
+ "computeDeploymentThreshold": {
+ "type": "PercentSuccess",
+ "grouping": "PerCluster",
+ "value": 90
+ },
+ "secretArchive": {
+ "useKeyVault": "True",
+ "keyVaultId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
+ },
+ "updateStrategy": {
+ "strategyType": "Rack",
+ "waitTimeMinutes": 10,
+ "thresholdType": "CountSuccess",
+ "thresholdValue": 4,
+ "maxUnavailable": 4
+ },
+ "runtimeProtectionConfiguration": {
+ "enforcementLevel": "OnDemand"
+ },
+ "provisioningState": "Succeeded",
+ "clusterExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "clusterManagerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "availableUpgradeVersions": [
+ {
+ "targetClusterVersion": "1.0.2",
+ "expectedDuration": "0:0:30",
+ "controlImpact": "False",
+ "workloadImpact": "False",
+ "impactDescription": "can be done in place",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "supportExpiryDate": "2023-04-29",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "Cluster is running and healthy",
+ "clusterManagerConnectionStatus": "Connected",
+ "clusterConnectionStatus": "Connected",
+ "workloadResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
+ ],
+ "clusterCapacity": {
+ "totalCoreCount": 10,
+ "availableCoreCount": 10,
+ "totalMemoryGB": 10,
+ "availableMemoryGB": 20,
+ "totalHostStorageGB": 10,
+ "availableHostStorageGB": 20,
+ "totalApplianceStorageGB": 10,
+ "availableApplianceStorageGB": 3
+ },
+ "manualActionCount": 0
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "name": "clusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "networkFabricId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
+ "clusterType": "SingleRack",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterLocation": "Foo Street, 3rd Floor, row 9",
+ "clusterVersion": "1.0.0",
+ "aggregatorOrSingleRackDefinition": {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ },
+ "computeRackDefinitions": [
+ {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ }
+ ],
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "clusterServicePrincipal": {
+ "tenantId": "80000000-4000-4000-4000-120000000000",
+ "principalId": "00000008-0004-0004-0004-000000000012",
+ "applicationId": "12345678-1234-1234-1234-123456789012"
+ },
+ "computeDeploymentThreshold": {
+ "type": "PercentSuccess",
+ "grouping": "PerCluster",
+ "value": 90
+ },
+ "secretArchive": {
+ "useKeyVault": "True",
+ "keyVaultId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
+ },
+ "updateStrategy": {
+ "strategyType": "Rack",
+ "waitTimeMinutes": 10,
+ "thresholdType": "CountSuccess",
+ "thresholdValue": 4,
+ "maxUnavailable": 4
+ },
+ "runtimeProtectionConfiguration": {
+ "enforcementLevel": "OnDemand"
+ },
+ "provisioningState": "Accepted",
+ "clusterExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "clusterManagerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "availableUpgradeVersions": [
+ {
+ "targetClusterVersion": "1.0.2",
+ "expectedDuration": "0:0:30",
+ "controlImpact": "False",
+ "workloadImpact": "False",
+ "impactDescription": "can be done in place",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "supportExpiryDate": "2023-04-29",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "Cluster is running and healthy",
+ "clusterManagerConnectionStatus": "Connected",
+ "clusterConnectionStatus": "Connected",
+ "workloadResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
+ ],
+ "clusterCapacity": {
+ "totalCoreCount": 10,
+ "availableCoreCount": 10,
+ "totalMemoryGB": 10,
+ "availableMemoryGB": 20,
+ "totalHostStorageGB": 10,
+ "availableHostStorageGB": 20,
+ "totalApplianceStorageGB": 10,
+ "availableApplianceStorageGB": 3
+ },
+ "manualActionCount": 0
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Patch_RuntimeProtectionConfiguration.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Patch_RuntimeProtectionConfiguration.json
new file mode 100644
index 000000000000..506e4ef43244
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Patch_RuntimeProtectionConfiguration.json
@@ -0,0 +1,384 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName",
+ "clusterUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "runtimeProtectionConfiguration": {
+ "enforcementLevel": "OnDemand"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "name": "clusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "networkFabricId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
+ "clusterType": "SingleRack",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterLocation": "Foo Street, 3rd Floor, row 9",
+ "clusterVersion": "1.0.0",
+ "aggregatorOrSingleRackDefinition": {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ },
+ "computeRackDefinitions": [
+ {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ }
+ ],
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "clusterServicePrincipal": {
+ "tenantId": "80000000-4000-4000-4000-120000000000",
+ "principalId": "00000008-0004-0004-0004-000000000012",
+ "applicationId": "12345678-1234-1234-1234-123456789012"
+ },
+ "computeDeploymentThreshold": {
+ "type": "PercentSuccess",
+ "grouping": "PerCluster",
+ "value": 90
+ },
+ "secretArchive": {
+ "useKeyVault": "True",
+ "keyVaultId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
+ },
+ "updateStrategy": {
+ "strategyType": "Rack",
+ "waitTimeMinutes": 10,
+ "thresholdType": "CountSuccess",
+ "thresholdValue": 4,
+ "maxUnavailable": 4
+ },
+ "runtimeProtectionConfiguration": {
+ "enforcementLevel": "OnDemand"
+ },
+ "provisioningState": "Succeeded",
+ "clusterExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "clusterManagerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "availableUpgradeVersions": [
+ {
+ "targetClusterVersion": "1.0.2",
+ "expectedDuration": "0:0:30",
+ "controlImpact": "False",
+ "workloadImpact": "False",
+ "impactDescription": "can be done in place",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "supportExpiryDate": "2023-04-29",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "Cluster is running and healthy",
+ "clusterManagerConnectionStatus": "Connected",
+ "clusterConnectionStatus": "Connected",
+ "workloadResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
+ ],
+ "clusterCapacity": {
+ "totalCoreCount": 10,
+ "availableCoreCount": 10,
+ "totalMemoryGB": 10,
+ "availableMemoryGB": 20,
+ "totalHostStorageGB": 10,
+ "availableHostStorageGB": 20,
+ "totalApplianceStorageGB": 10,
+ "availableApplianceStorageGB": 3
+ },
+ "manualActionCount": 0
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "name": "clusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "networkFabricId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
+ "clusterType": "SingleRack",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterLocation": "Foo Street, 3rd Floor, row 9",
+ "clusterVersion": "1.0.0",
+ "aggregatorOrSingleRackDefinition": {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ },
+ "computeRackDefinitions": [
+ {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ }
+ ],
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "clusterServicePrincipal": {
+ "tenantId": "80000000-4000-4000-4000-120000000000",
+ "principalId": "00000008-0004-0004-0004-000000000012",
+ "applicationId": "12345678-1234-1234-1234-123456789012"
+ },
+ "computeDeploymentThreshold": {
+ "type": "PercentSuccess",
+ "grouping": "PerCluster",
+ "value": 90
+ },
+ "secretArchive": {
+ "useKeyVault": "True",
+ "keyVaultId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
+ },
+ "updateStrategy": {
+ "strategyType": "Rack",
+ "waitTimeMinutes": 10,
+ "thresholdType": "CountSuccess",
+ "thresholdValue": 4,
+ "maxUnavailable": 4
+ },
+ "runtimeProtectionConfiguration": {
+ "enforcementLevel": "OnDemand"
+ },
+ "provisioningState": "Accepted",
+ "clusterExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "clusterManagerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "availableUpgradeVersions": [
+ {
+ "targetClusterVersion": "1.0.2",
+ "expectedDuration": "0:0:30",
+ "controlImpact": "False",
+ "workloadImpact": "False",
+ "impactDescription": "can be done in place",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "supportExpiryDate": "2023-04-29",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "Cluster is running and healthy",
+ "clusterManagerConnectionStatus": "Connected",
+ "clusterConnectionStatus": "Connected",
+ "workloadResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
+ ],
+ "clusterCapacity": {
+ "totalCoreCount": 10,
+ "availableCoreCount": 10,
+ "totalMemoryGB": 10,
+ "availableMemoryGB": 20,
+ "totalHostStorageGB": 10,
+ "availableHostStorageGB": 20,
+ "totalApplianceStorageGB": 10,
+ "availableApplianceStorageGB": 3
+ },
+ "manualActionCount": 0
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Patch_SecretArchive.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Patch_SecretArchive.json
new file mode 100644
index 000000000000..dbeec4f4d6bc
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Patch_SecretArchive.json
@@ -0,0 +1,385 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName",
+ "clusterUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "secretArchive": {
+ "useKeyVault": "True",
+ "keyVaultId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "name": "clusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "networkFabricId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
+ "clusterType": "SingleRack",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterLocation": "Foo Street, 3rd Floor, row 9",
+ "clusterVersion": "1.0.0",
+ "aggregatorOrSingleRackDefinition": {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ },
+ "computeRackDefinitions": [
+ {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ }
+ ],
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "clusterServicePrincipal": {
+ "tenantId": "80000000-4000-4000-4000-120000000000",
+ "principalId": "00000008-0004-0004-0004-000000000012",
+ "applicationId": "12345678-1234-1234-1234-123456789012"
+ },
+ "computeDeploymentThreshold": {
+ "type": "PercentSuccess",
+ "grouping": "PerCluster",
+ "value": 90
+ },
+ "secretArchive": {
+ "useKeyVault": "True",
+ "keyVaultId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
+ },
+ "updateStrategy": {
+ "strategyType": "Rack",
+ "waitTimeMinutes": 10,
+ "thresholdType": "CountSuccess",
+ "thresholdValue": 4,
+ "maxUnavailable": 4
+ },
+ "runtimeProtectionConfiguration": {
+ "enforcementLevel": "OnDemand"
+ },
+ "provisioningState": "Succeeded",
+ "clusterExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "clusterManagerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "availableUpgradeVersions": [
+ {
+ "targetClusterVersion": "1.0.2",
+ "expectedDuration": "0:0:30",
+ "controlImpact": "False",
+ "workloadImpact": "False",
+ "impactDescription": "can be done in place",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "supportExpiryDate": "2023-04-29",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "Cluster is running and healthy",
+ "clusterManagerConnectionStatus": "Connected",
+ "clusterConnectionStatus": "Connected",
+ "workloadResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
+ ],
+ "clusterCapacity": {
+ "totalCoreCount": 10,
+ "availableCoreCount": 10,
+ "totalMemoryGB": 10,
+ "availableMemoryGB": 20,
+ "totalHostStorageGB": 10,
+ "availableHostStorageGB": 20,
+ "totalApplianceStorageGB": 10,
+ "availableApplianceStorageGB": 3
+ },
+ "manualActionCount": 0
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "name": "clusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "networkFabricId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
+ "clusterType": "SingleRack",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterLocation": "Foo Street, 3rd Floor, row 9",
+ "clusterVersion": "1.0.0",
+ "aggregatorOrSingleRackDefinition": {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ },
+ "computeRackDefinitions": [
+ {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ }
+ ],
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "clusterServicePrincipal": {
+ "tenantId": "80000000-4000-4000-4000-120000000000",
+ "principalId": "00000008-0004-0004-0004-000000000012",
+ "applicationId": "12345678-1234-1234-1234-123456789012"
+ },
+ "computeDeploymentThreshold": {
+ "type": "PercentSuccess",
+ "grouping": "PerCluster",
+ "value": 90
+ },
+ "secretArchive": {
+ "useKeyVault": "True",
+ "keyVaultId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
+ },
+ "updateStrategy": {
+ "strategyType": "Rack",
+ "waitTimeMinutes": 10,
+ "thresholdType": "CountSuccess",
+ "thresholdValue": 4,
+ "maxUnavailable": 4
+ },
+ "runtimeProtectionConfiguration": {
+ "enforcementLevel": "OnDemand"
+ },
+ "provisioningState": "Accepted",
+ "clusterExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "clusterManagerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "availableUpgradeVersions": [
+ {
+ "targetClusterVersion": "1.0.2",
+ "expectedDuration": "0:0:30",
+ "controlImpact": "False",
+ "workloadImpact": "False",
+ "impactDescription": "can be done in place",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "supportExpiryDate": "2023-04-29",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "Cluster is running and healthy",
+ "clusterManagerConnectionStatus": "Connected",
+ "clusterConnectionStatus": "Connected",
+ "workloadResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
+ ],
+ "clusterCapacity": {
+ "totalCoreCount": 10,
+ "availableCoreCount": 10,
+ "totalMemoryGB": 10,
+ "availableMemoryGB": 20,
+ "totalHostStorageGB": 10,
+ "availableHostStorageGB": 20,
+ "totalApplianceStorageGB": 10,
+ "availableApplianceStorageGB": 3
+ },
+ "manualActionCount": 0
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Patch_UpdateStrategy.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Patch_UpdateStrategy.json
new file mode 100644
index 000000000000..0a66d58827b9
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_Patch_UpdateStrategy.json
@@ -0,0 +1,388 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName",
+ "clusterUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "updateStrategy": {
+ "strategyType": "Rack",
+ "waitTimeMinutes": 10,
+ "thresholdType": "CountSuccess",
+ "thresholdValue": 4,
+ "maxUnavailable": 4
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "name": "clusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "networkFabricId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
+ "clusterType": "SingleRack",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterLocation": "Foo Street, 3rd Floor, row 9",
+ "clusterVersion": "1.0.0",
+ "aggregatorOrSingleRackDefinition": {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ },
+ "computeRackDefinitions": [
+ {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ }
+ ],
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "clusterServicePrincipal": {
+ "tenantId": "80000000-4000-4000-4000-120000000000",
+ "principalId": "00000008-0004-0004-0004-000000000012",
+ "applicationId": "12345678-1234-1234-1234-123456789012"
+ },
+ "computeDeploymentThreshold": {
+ "type": "PercentSuccess",
+ "grouping": "PerCluster",
+ "value": 90
+ },
+ "secretArchive": {
+ "useKeyVault": "True",
+ "keyVaultId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
+ },
+ "updateStrategy": {
+ "strategyType": "Rack",
+ "waitTimeMinutes": 10,
+ "thresholdType": "CountSuccess",
+ "thresholdValue": 4,
+ "maxUnavailable": 4
+ },
+ "runtimeProtectionConfiguration": {
+ "enforcementLevel": "OnDemand"
+ },
+ "provisioningState": "Succeeded",
+ "clusterExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "clusterManagerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "availableUpgradeVersions": [
+ {
+ "targetClusterVersion": "1.0.2",
+ "expectedDuration": "0:0:30",
+ "controlImpact": "False",
+ "workloadImpact": "False",
+ "impactDescription": "can be done in place",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "supportExpiryDate": "2023-04-29",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "Cluster is running and healthy",
+ "clusterManagerConnectionStatus": "Connected",
+ "clusterConnectionStatus": "Connected",
+ "workloadResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
+ ],
+ "clusterCapacity": {
+ "totalCoreCount": 10,
+ "availableCoreCount": 10,
+ "totalMemoryGB": 10,
+ "availableMemoryGB": 20,
+ "totalHostStorageGB": 10,
+ "availableHostStorageGB": 20,
+ "totalApplianceStorageGB": 10,
+ "availableApplianceStorageGB": 3
+ },
+ "manualActionCount": 0
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "name": "clusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/clusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "networkFabricId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkFabrics/fabricName",
+ "clusterType": "SingleRack",
+ "analyticsWorkspaceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/microsoft.operationalInsights/workspaces/logAnalyticsWorkspaceName",
+ "clusterLocation": "Foo Street, 3rd Floor, row 9",
+ "clusterVersion": "1.0.0",
+ "aggregatorOrSingleRackDefinition": {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ },
+ "computeRackDefinitions": [
+ {
+ "networkRackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/networkRacks/networkRackName",
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "AA1234",
+ "rackLocation": "Foo Datacenter, Floor 3, Aisle 9, Rack 2",
+ "storageApplianceConfigurationData": [
+ {
+ "rackSlot": 1,
+ "adminCredentials": {
+ "username": "username"
+ },
+ "storageApplianceName": "vmName",
+ "serialNumber": "BM1219XXX"
+ }
+ ],
+ "bareMetalMachineConfigurationData": [
+ {
+ "rackSlot": 1,
+ "bootMacAddress": "00:BB:CC:DD:EE:FF",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName1",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:FF",
+ "serialNumber": "BM1219XXX"
+ },
+ {
+ "rackSlot": 2,
+ "bootMacAddress": "00:BB:CC:DD:EE:00",
+ "bmcCredentials": {
+ "username": "username"
+ },
+ "bmcConnectionString": "bmcConnectionString",
+ "machineName": "bmmName2",
+ "machineDetails": "extraDetails",
+ "bmcMacAddress": "AA:BB:CC:DD:EE:00",
+ "serialNumber": "BM1219YYY"
+ }
+ ]
+ }
+ ],
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "clusterServicePrincipal": {
+ "tenantId": "80000000-4000-4000-4000-120000000000",
+ "principalId": "00000008-0004-0004-0004-000000000012",
+ "applicationId": "12345678-1234-1234-1234-123456789012"
+ },
+ "computeDeploymentThreshold": {
+ "type": "PercentSuccess",
+ "grouping": "PerCluster",
+ "value": 90
+ },
+ "secretArchive": {
+ "useKeyVault": "True",
+ "keyVaultId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
+ },
+ "updateStrategy": {
+ "strategyType": "Rack",
+ "waitTimeMinutes": 10,
+ "thresholdType": "CountSuccess",
+ "thresholdValue": 4,
+ "maxUnavailable": 4
+ },
+ "runtimeProtectionConfiguration": {
+ "enforcementLevel": "OnDemand"
+ },
+ "provisioningState": "Accepted",
+ "clusterExtendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "clusterManagerId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusterManagers/clusterManagerName",
+ "availableUpgradeVersions": [
+ {
+ "targetClusterVersion": "1.0.2",
+ "expectedDuration": "0:0:30",
+ "controlImpact": "False",
+ "workloadImpact": "False",
+ "impactDescription": "can be done in place",
+ "supportExpiryDate": "2025-01-01"
+ }
+ ],
+ "supportExpiryDate": "2023-04-29",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "Cluster is running and healthy",
+ "clusterManagerConnectionStatus": "Connected",
+ "clusterConnectionStatus": "Connected",
+ "workloadResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName"
+ ],
+ "clusterCapacity": {
+ "totalCoreCount": 10,
+ "availableCoreCount": 10,
+ "totalMemoryGB": 10,
+ "availableMemoryGB": 20,
+ "totalHostStorageGB": 10,
+ "availableHostStorageGB": 20,
+ "totalApplianceStorageGB": 10,
+ "availableApplianceStorageGB": 3
+ },
+ "manualActionCount": 0
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_ScanRuntime.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_ScanRuntime.json
new file mode 100644
index 000000000000..82aa646aaf64
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_ScanRuntime.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName",
+ "clusterScanRuntimeParameters": {
+ "scanActivity": "Scan"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_UpdateVersion.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_UpdateVersion.json
new file mode 100644
index 000000000000..5eca8e57d2ee
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Clusters_UpdateVersion.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "clusterName": "clusterName",
+ "clusterUpdateVersionParameters": {
+ "targetClusterVersion": "2.0"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Consoles_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Consoles_Create.json
new file mode 100644
index 000000000000..e62eb58a5dc3
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Consoles_Create.json
@@ -0,0 +1,104 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "virtualMachineName": "virtualMachineName",
+ "consoleName": "default",
+ "consoleParameters": {
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "sshPublicKey": {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ },
+ "enabled": "True",
+ "expiration": "2022-06-01T01:27:03.008Z"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName/consoles/default",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/virtualMachines/consoles",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "sshPublicKey": {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ },
+ "enabled": "True",
+ "expiration": "2022-06-01T01:27:03.008Z",
+ "provisioningState": "Succeeded",
+ "privateLinkServiceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.Network/privateLinkServices/console-pls",
+ "virtualMachineAccessId": "VirtualMachineAccessId",
+ "detailedStatus": "Ready",
+ "detailedStatusMessage": "Console is ready for use"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName/consoles/default",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/virtualMachines/consoles",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "sshPublicKey": {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ },
+ "enabled": "True",
+ "expiration": "2022-06-01T01:27:03.008Z",
+ "provisioningState": "Accepted",
+ "privateLinkServiceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.Network/privateLinkServices/console-pls",
+ "virtualMachineAccessId": "VirtualMachineAccessId",
+ "detailedStatus": "Ready",
+ "detailedStatusMessage": "Console is ready for use"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Consoles_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Consoles_Delete.json
new file mode 100644
index 000000000000..8136142b0448
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Consoles_Delete.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "virtualMachineName": "virtualMachineName",
+ "consoleName": "default"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Consoles_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Consoles_Get.json
new file mode 100644
index 000000000000..539c4dccb68f
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Consoles_Get.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "virtualMachineName": "virtualMachineName",
+ "consoleName": "default"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName/consoles/default",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/virtualMachines/consoles",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "sshPublicKey": {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ },
+ "enabled": "True",
+ "expiration": "2022-06-01T01:27:03.008Z",
+ "provisioningState": "Succeeded",
+ "privateLinkServiceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.Network/privateLinkServices/console-pls",
+ "virtualMachineAccessId": "VirtualMachineAccessId",
+ "detailedStatus": "Ready",
+ "detailedStatusMessage": "Console is ready for use"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Consoles_ListByVirtualMachine.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Consoles_ListByVirtualMachine.json
new file mode 100644
index 000000000000..9d1254683640
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Consoles_ListByVirtualMachine.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "virtualMachineName": "virtualMachineName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName/consoles/default",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/virtualMachines/consoles",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "sshPublicKey": {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ },
+ "enabled": "True",
+ "expiration": "2022-06-01T01:27:03.008Z",
+ "provisioningState": "Succeeded",
+ "privateLinkServiceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.Network/privateLinkServices/console-pls",
+ "virtualMachineAccessId": "VirtualMachineAccessId",
+ "detailedStatus": "Ready",
+ "detailedStatusMessage": "Console is ready for use"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Consoles_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Consoles_Patch.json
new file mode 100644
index 000000000000..50d9e60137d8
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Consoles_Patch.json
@@ -0,0 +1,99 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "virtualMachineName": "virtualMachineName",
+ "consoleName": "default",
+ "consoleUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "sshPublicKey": {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ },
+ "expiration": "2022-06-01T01:27:03.008Z",
+ "enabled": "True"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName/consoles/default",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/virtualMachines/consoles",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "sshPublicKey": {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ },
+ "enabled": "True",
+ "expiration": "2022-06-01T01:27:03.008Z",
+ "provisioningState": "Succeeded",
+ "privateLinkServiceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.Network/privateLinkServices/console-pls",
+ "virtualMachineAccessId": "VirtualMachineAccessId",
+ "detailedStatus": "Ready",
+ "detailedStatusMessage": "Console is ready for use"
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName/consoles/default",
+ "name": "default",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/virtualMachines/consoles",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterManagerExtendedLocationName"
+ },
+ "properties": {
+ "sshPublicKey": {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ },
+ "enabled": "True",
+ "expiration": "2022-06-01T01:27:03.008Z",
+ "provisioningState": "Accepted",
+ "privateLinkServiceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.Network/privateLinkServices/console-pls",
+ "virtualMachineAccessId": "VirtualMachineAccessId",
+ "detailedStatus": "Ready",
+ "detailedStatusMessage": "Console is ready for use"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_Create.json
new file mode 100644
index 000000000000..3de379f79ac5
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_Create.json
@@ -0,0 +1,716 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "kubernetesClusterName": "kubernetesClusterName",
+ "kubernetesClusterParameters": {
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "aadConfiguration": {
+ "adminGroupObjectIds": [
+ "ffffffff-ffff-ffff-ffff-ffffffffffff"
+ ]
+ },
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "initialAgentPoolConfigurations": [
+ {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "agentOptions": {
+ "hugepagesCount": 96,
+ "hugepagesSize": "1G"
+ },
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "mode": "System",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "upgradeSettings": {
+ "maxSurge": "1"
+ },
+ "vmSkuName": "NC_M16_v1",
+ "name": "SystemPool-1"
+ }
+ ],
+ "controlPlaneNodeConfiguration": {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "vmSkuName": "NC_G4_v1"
+ },
+ "kubernetesVersion": "1.24.12-1",
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "networkConfiguration": {
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "bgpServiceLoadBalancerConfiguration": {
+ "bgpAdvertisements": [
+ {
+ "advertiseToFabric": "True",
+ "communities": [
+ "64512:100"
+ ],
+ "ipAddressPools": [
+ "pool1"
+ ],
+ "peers": [
+ "peer1"
+ ]
+ }
+ ],
+ "fabricPeeringEnabled": "True",
+ "bgpPeers": [
+ {
+ "bfdEnabled": "False",
+ "bgpMultiHop": "False",
+ "holdTime": "P300s",
+ "keepAliveTime": "P300s",
+ "myAsn": 64512,
+ "name": "peer1",
+ "peerAddress": "203.0.113.254",
+ "peerAsn": 64497,
+ "peerPort": 179
+ }
+ ],
+ "ipAddressPools": [
+ {
+ "addresses": [
+ "198.51.102.0/24"
+ ],
+ "autoAssign": "True",
+ "name": "pool1",
+ "onlyUseHostIps": "True"
+ }
+ ]
+ },
+ "cloudServicesNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "cniNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "dnsServiceIp": "198.51.101.2",
+ "podCidrs": [
+ "198.51.100.0/24"
+ ],
+ "serviceCidrs": [
+ "198.51.101.0/24"
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName",
+ "name": "KubernetesClusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/kubernetesClusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "aadConfiguration": {
+ "adminGroupObjectIds": [
+ "ffffffff-ffff-ffff-ffff-ffffffffffff"
+ ]
+ },
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "initialAgentPoolConfigurations": [
+ {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "agentOptions": {
+ "hugepagesCount": 96,
+ "hugepagesSize": "1G"
+ },
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "mode": "System",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "upgradeSettings": {
+ "maxSurge": "1"
+ },
+ "vmSkuName": "NC_M16_v1",
+ "name": "SystemPool-1"
+ }
+ ],
+ "controlPlaneNodeConfiguration": {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "vmSkuName": "NC_G4_v1"
+ },
+ "kubernetesVersion": "1.24.12-1",
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "networkConfiguration": {
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "bgpServiceLoadBalancerConfiguration": {
+ "bgpAdvertisements": [
+ {
+ "advertiseToFabric": "True",
+ "communities": [
+ "64512:100"
+ ],
+ "ipAddressPools": [
+ "pool1"
+ ],
+ "peers": [
+ "peer1"
+ ]
+ }
+ ],
+ "fabricPeeringEnabled": "True",
+ "bgpPeers": [
+ {
+ "bfdEnabled": "False",
+ "bgpMultiHop": "False",
+ "holdTime": "P300s",
+ "keepAliveTime": "P300s",
+ "myAsn": 64512,
+ "name": "peer1",
+ "peerAddress": "203.0.113.254",
+ "peerAsn": 64497,
+ "peerPort": 179
+ }
+ ],
+ "ipAddressPools": [
+ {
+ "addresses": [
+ "198.51.102.0/24"
+ ],
+ "autoAssign": "True",
+ "name": "pool1",
+ "onlyUseHostIps": "True"
+ }
+ ]
+ },
+ "cloudServicesNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "cniNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "dnsServiceIp": "198.51.101.2",
+ "podCidrs": [
+ "198.51.100.0/24"
+ ],
+ "serviceCidrs": [
+ "198.51.101.0/24"
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "availableUpgrades": [
+ {
+ "version": "1.24.13-1",
+ "availabilityLifecycle": "GenerallyAvailable"
+ }
+ ],
+ "attachedNetworkIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName"
+ ],
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "connectedClusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.Kubernetes/connectedClusters/connectedClusterName",
+ "controlPlaneKubernetesVersion": "1.24.12-1",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Kubernetes cluster is operational",
+ "featureStatuses": [
+ {
+ "name": "Feature1",
+ "version": "1",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "No issues detected"
+ }
+ ],
+ "nodes": [
+ {
+ "agentPoolId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName/agentPools/agentPoolName",
+ "availabilityZone": "1",
+ "bareMetalMachineId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "cpuCores": 20,
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "No issues detected",
+ "diskSizeGB": 120,
+ "image": "myacr.azurecr.io/foobar:latest",
+ "kubernetesVersion": "1.24.12-1",
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "memorySizeGB": 256,
+ "mode": "System",
+ "name": "machine1",
+ "networkAttachments": [
+ {
+ "networkAttachmentName": "netAttachName01",
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "ipAllocationMethod": "Dynamic",
+ "ipv4Address": "198.51.100.1",
+ "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
+ "macAddress": "bf:1c:29:31:31:1f",
+ "defaultGateway": "True"
+ }
+ ],
+ "powerState": "On",
+ "role": "ControlPlane",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "vmSkuName": "NC_M16_v1"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName",
+ "name": "KubernetesClusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/kubernetesClusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "aadConfiguration": {
+ "adminGroupObjectIds": [
+ "ffffffff-ffff-ffff-ffff-ffffffffffff"
+ ]
+ },
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "initialAgentPoolConfigurations": [
+ {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "agentOptions": {
+ "hugepagesCount": 96,
+ "hugepagesSize": "1G"
+ },
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "mode": "System",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "upgradeSettings": {
+ "maxSurge": "1"
+ },
+ "vmSkuName": "NC_M16_v1",
+ "name": "SystemPool-1"
+ }
+ ],
+ "controlPlaneNodeConfiguration": {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "vmSkuName": "NC_G4_v1"
+ },
+ "kubernetesVersion": "1.24.12-1",
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "networkConfiguration": {
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "bgpServiceLoadBalancerConfiguration": {
+ "bgpAdvertisements": [
+ {
+ "advertiseToFabric": "True",
+ "communities": [
+ "64512:100"
+ ],
+ "ipAddressPools": [
+ "pool1"
+ ],
+ "peers": [
+ "peer1"
+ ]
+ }
+ ],
+ "fabricPeeringEnabled": "True",
+ "bgpPeers": [
+ {
+ "bfdEnabled": "False",
+ "bgpMultiHop": "False",
+ "holdTime": "P300s",
+ "keepAliveTime": "P300s",
+ "myAsn": 64512,
+ "name": "peer1",
+ "peerAddress": "203.0.113.254",
+ "peerAsn": 64497,
+ "peerPort": 179
+ }
+ ],
+ "ipAddressPools": [
+ {
+ "addresses": [
+ "198.51.102.0/24"
+ ],
+ "autoAssign": "True",
+ "name": "pool1",
+ "onlyUseHostIps": "True"
+ }
+ ]
+ },
+ "cloudServicesNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "cniNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "dnsServiceIp": "198.51.101.2",
+ "podCidrs": [
+ "198.51.100.0/24"
+ ],
+ "serviceCidrs": [
+ "198.51.101.0/24"
+ ]
+ },
+ "provisioningState": "Accepted",
+ "availableUpgrades": [
+ {
+ "version": "1.24.13-1",
+ "availabilityLifecycle": "GenerallyAvailable"
+ }
+ ],
+ "attachedNetworkIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName"
+ ],
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "connectedClusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.Kubernetes/connectedClusters/connectedClusterName",
+ "controlPlaneKubernetesVersion": "1.24.12-1",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Kubernetes cluster is operational",
+ "featureStatuses": [
+ {
+ "name": "Feature1",
+ "version": "1",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "No issues detected"
+ }
+ ],
+ "nodes": [
+ {
+ "agentPoolId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName/agentPools/agentPoolName",
+ "availabilityZone": "1",
+ "bareMetalMachineId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "cpuCores": 20,
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "No issues detected",
+ "diskSizeGB": 120,
+ "image": "myacr.azurecr.io/foobar:latest",
+ "kubernetesVersion": "1.24.12-1",
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "memorySizeGB": 256,
+ "mode": "System",
+ "name": "machine1",
+ "networkAttachments": [
+ {
+ "networkAttachmentName": "netAttachName01",
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "ipAllocationMethod": "Dynamic",
+ "ipv4Address": "198.51.100.1",
+ "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
+ "macAddress": "bf:1c:29:31:31:1f",
+ "defaultGateway": "True"
+ }
+ ],
+ "powerState": "On",
+ "role": "ControlPlane",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "vmSkuName": "NC_M16_v1"
+ }
+ ]
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_Delete.json
new file mode 100644
index 000000000000..637cf9c566dc
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "kubernetesClusterName": "kubernetesClusterName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_Get.json
new file mode 100644
index 000000000000..3ac7fa483d3d
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_Get.json
@@ -0,0 +1,271 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "kubernetesClusterName": "kubernetesClusterName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName",
+ "name": "KubernetesClusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/kubernetesClusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "aadConfiguration": {
+ "adminGroupObjectIds": [
+ "ffffffff-ffff-ffff-ffff-ffffffffffff"
+ ]
+ },
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "initialAgentPoolConfigurations": [
+ {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "agentOptions": {
+ "hugepagesCount": 96,
+ "hugepagesSize": "1G"
+ },
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "mode": "System",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "upgradeSettings": {
+ "maxSurge": "1"
+ },
+ "vmSkuName": "NC_M16_v1",
+ "name": "SystemPool-1"
+ }
+ ],
+ "controlPlaneNodeConfiguration": {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "vmSkuName": "NC_G4_v1"
+ },
+ "kubernetesVersion": "1.24.12-1",
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "networkConfiguration": {
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "bgpServiceLoadBalancerConfiguration": {
+ "bgpAdvertisements": [
+ {
+ "advertiseToFabric": "True",
+ "communities": [
+ "64512:100"
+ ],
+ "ipAddressPools": [
+ "pool1"
+ ],
+ "peers": [
+ "peer1"
+ ]
+ }
+ ],
+ "fabricPeeringEnabled": "True",
+ "bgpPeers": [
+ {
+ "bfdEnabled": "False",
+ "bgpMultiHop": "False",
+ "holdTime": "P300s",
+ "keepAliveTime": "P300s",
+ "myAsn": 64512,
+ "name": "peer1",
+ "peerAddress": "203.0.113.254",
+ "peerAsn": 64497,
+ "peerPort": 179
+ }
+ ],
+ "ipAddressPools": [
+ {
+ "addresses": [
+ "198.51.102.0/24"
+ ],
+ "autoAssign": "True",
+ "name": "pool1",
+ "onlyUseHostIps": "True"
+ }
+ ]
+ },
+ "cloudServicesNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "cniNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "dnsServiceIp": "198.51.101.2",
+ "podCidrs": [
+ "198.51.100.0/24"
+ ],
+ "serviceCidrs": [
+ "198.51.101.0/24"
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "availableUpgrades": [
+ {
+ "version": "1.24.13-1",
+ "availabilityLifecycle": "GenerallyAvailable"
+ }
+ ],
+ "attachedNetworkIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName"
+ ],
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "connectedClusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.Kubernetes/connectedClusters/connectedClusterName",
+ "controlPlaneKubernetesVersion": "1.24.12-1",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Kubernetes cluster is operational",
+ "featureStatuses": [
+ {
+ "name": "Feature1",
+ "version": "1",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "No issues detected"
+ }
+ ],
+ "nodes": [
+ {
+ "agentPoolId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName/agentPools/agentPoolName",
+ "availabilityZone": "1",
+ "bareMetalMachineId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "cpuCores": 20,
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "No issues detected",
+ "diskSizeGB": 120,
+ "image": "myacr.azurecr.io/foobar:latest",
+ "kubernetesVersion": "1.24.12-1",
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "memorySizeGB": 256,
+ "mode": "System",
+ "name": "machine1",
+ "networkAttachments": [
+ {
+ "networkAttachmentName": "netAttachName01",
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "ipAllocationMethod": "Dynamic",
+ "ipv4Address": "198.51.100.1",
+ "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
+ "macAddress": "bf:1c:29:31:31:1f",
+ "defaultGateway": "True"
+ }
+ ],
+ "powerState": "On",
+ "role": "ControlPlane",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "vmSkuName": "NC_M16_v1"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_ListByResourceGroup.json
new file mode 100644
index 000000000000..e76f1b8f46b7
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_ListByResourceGroup.json
@@ -0,0 +1,274 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName",
+ "name": "KubernetesClusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/kubernetesClusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "aadConfiguration": {
+ "adminGroupObjectIds": [
+ "ffffffff-ffff-ffff-ffff-ffffffffffff"
+ ]
+ },
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "initialAgentPoolConfigurations": [
+ {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "agentOptions": {
+ "hugepagesCount": 96,
+ "hugepagesSize": "1G"
+ },
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "mode": "System",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "upgradeSettings": {
+ "maxSurge": "1"
+ },
+ "vmSkuName": "NC_M16_v1",
+ "name": "SystemPool-1"
+ }
+ ],
+ "controlPlaneNodeConfiguration": {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "vmSkuName": "NC_G4_v1"
+ },
+ "kubernetesVersion": "1.24.12-1",
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "networkConfiguration": {
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "bgpServiceLoadBalancerConfiguration": {
+ "bgpAdvertisements": [
+ {
+ "advertiseToFabric": "True",
+ "communities": [
+ "64512:100"
+ ],
+ "ipAddressPools": [
+ "pool1"
+ ],
+ "peers": [
+ "peer1"
+ ]
+ }
+ ],
+ "fabricPeeringEnabled": "True",
+ "bgpPeers": [
+ {
+ "bfdEnabled": "False",
+ "bgpMultiHop": "False",
+ "holdTime": "P300s",
+ "keepAliveTime": "P300s",
+ "myAsn": 64512,
+ "name": "peer1",
+ "peerAddress": "203.0.113.254",
+ "peerAsn": 64497,
+ "peerPort": 179
+ }
+ ],
+ "ipAddressPools": [
+ {
+ "addresses": [
+ "198.51.102.0/24"
+ ],
+ "autoAssign": "True",
+ "name": "pool1",
+ "onlyUseHostIps": "True"
+ }
+ ]
+ },
+ "cloudServicesNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "cniNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "dnsServiceIp": "198.51.101.2",
+ "podCidrs": [
+ "198.51.100.0/24"
+ ],
+ "serviceCidrs": [
+ "198.51.101.0/24"
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "availableUpgrades": [
+ {
+ "version": "1.24.13-1",
+ "availabilityLifecycle": "GenerallyAvailable"
+ }
+ ],
+ "attachedNetworkIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName"
+ ],
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "connectedClusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.Kubernetes/connectedClusters/connectedClusterName",
+ "controlPlaneKubernetesVersion": "1.24.12-1",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Kubernetes cluster is operational",
+ "featureStatuses": [
+ {
+ "name": "Feature1",
+ "version": "1",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "No issues detected"
+ }
+ ],
+ "nodes": [
+ {
+ "agentPoolId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName/agentPools/agentPoolName",
+ "availabilityZone": "1",
+ "bareMetalMachineId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "cpuCores": 20,
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "No issues detected",
+ "diskSizeGB": 120,
+ "image": "myacr.azurecr.io/foobar:latest",
+ "kubernetesVersion": "1.24.12-1",
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "memorySizeGB": 256,
+ "mode": "System",
+ "name": "machine1",
+ "networkAttachments": [
+ {
+ "networkAttachmentName": "netAttachName01",
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "ipAllocationMethod": "Dynamic",
+ "ipv4Address": "198.51.100.1",
+ "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
+ "macAddress": "bf:1c:29:31:31:1f",
+ "defaultGateway": "True"
+ }
+ ],
+ "powerState": "On",
+ "role": "ControlPlane",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "vmSkuName": "NC_M16_v1"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_ListBySubscription.json
new file mode 100644
index 000000000000..b323b082b1d9
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_ListBySubscription.json
@@ -0,0 +1,273 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName",
+ "name": "KubernetesClusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/kubernetesClusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "aadConfiguration": {
+ "adminGroupObjectIds": [
+ "ffffffff-ffff-ffff-ffff-ffffffffffff"
+ ]
+ },
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "initialAgentPoolConfigurations": [
+ {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "agentOptions": {
+ "hugepagesCount": 96,
+ "hugepagesSize": "1G"
+ },
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "mode": "System",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "upgradeSettings": {
+ "maxSurge": "1"
+ },
+ "vmSkuName": "NC_M16_v1",
+ "name": "SystemPool-1"
+ }
+ ],
+ "controlPlaneNodeConfiguration": {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "vmSkuName": "NC_G4_v1"
+ },
+ "kubernetesVersion": "1.24.12-1",
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "networkConfiguration": {
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "bgpServiceLoadBalancerConfiguration": {
+ "bgpAdvertisements": [
+ {
+ "advertiseToFabric": "True",
+ "communities": [
+ "64512:100"
+ ],
+ "ipAddressPools": [
+ "pool1"
+ ],
+ "peers": [
+ "peer1"
+ ]
+ }
+ ],
+ "fabricPeeringEnabled": "True",
+ "bgpPeers": [
+ {
+ "bfdEnabled": "False",
+ "bgpMultiHop": "False",
+ "holdTime": "P300s",
+ "keepAliveTime": "P300s",
+ "myAsn": 64512,
+ "name": "peer1",
+ "peerAddress": "203.0.113.254",
+ "peerAsn": 64497,
+ "peerPort": 179
+ }
+ ],
+ "ipAddressPools": [
+ {
+ "addresses": [
+ "198.51.102.0/24"
+ ],
+ "autoAssign": "True",
+ "name": "pool1",
+ "onlyUseHostIps": "True"
+ }
+ ]
+ },
+ "cloudServicesNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "cniNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "dnsServiceIp": "198.51.101.2",
+ "podCidrs": [
+ "198.51.100.0/24"
+ ],
+ "serviceCidrs": [
+ "198.51.101.0/24"
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "availableUpgrades": [
+ {
+ "version": "1.24.13-1",
+ "availabilityLifecycle": "GenerallyAvailable"
+ }
+ ],
+ "attachedNetworkIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName"
+ ],
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "connectedClusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.Kubernetes/connectedClusters/connectedClusterName",
+ "controlPlaneKubernetesVersion": "1.24.12-1",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Kubernetes cluster is operational",
+ "featureStatuses": [
+ {
+ "name": "Feature1",
+ "version": "1",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "No issues detected"
+ }
+ ],
+ "nodes": [
+ {
+ "agentPoolId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName/agentPools/agentPoolName",
+ "availabilityZone": "1",
+ "bareMetalMachineId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "cpuCores": 20,
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "No issues detected",
+ "diskSizeGB": 120,
+ "image": "myacr.azurecr.io/foobar:latest",
+ "kubernetesVersion": "1.24.12-1",
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "memorySizeGB": 256,
+ "mode": "System",
+ "name": "machine1",
+ "networkAttachments": [
+ {
+ "networkAttachmentName": "netAttachName01",
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "ipAllocationMethod": "Dynamic",
+ "ipv4Address": "198.51.100.1",
+ "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
+ "macAddress": "bf:1c:29:31:31:1f",
+ "defaultGateway": "True"
+ }
+ ],
+ "powerState": "On",
+ "role": "ControlPlane",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "vmSkuName": "NC_M16_v1"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_Patch.json
new file mode 100644
index 000000000000..8a88b02de05f
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_Patch.json
@@ -0,0 +1,561 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "kubernetesClusterName": "kubernetesClusterName",
+ "kubernetesClusterUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "administratorConfiguration": {
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "controlPlaneNodeConfiguration": {
+ "administratorConfiguration": {
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "count": 3
+ },
+ "kubernetesVersion": "1.24.12"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName",
+ "name": "KubernetesClusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/kubernetesClusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "aadConfiguration": {
+ "adminGroupObjectIds": [
+ "ffffffff-ffff-ffff-ffff-ffffffffffff"
+ ]
+ },
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "initialAgentPoolConfigurations": [
+ {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "agentOptions": {
+ "hugepagesCount": 96,
+ "hugepagesSize": "1G"
+ },
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "mode": "System",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "upgradeSettings": {
+ "maxSurge": "1"
+ },
+ "vmSkuName": "NC_M16_v1",
+ "name": "SystemPool-1"
+ }
+ ],
+ "controlPlaneNodeConfiguration": {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "vmSkuName": "NC_G4_v1"
+ },
+ "kubernetesVersion": "1.24.12-1",
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "networkConfiguration": {
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "bgpServiceLoadBalancerConfiguration": {
+ "bgpAdvertisements": [
+ {
+ "advertiseToFabric": "True",
+ "communities": [
+ "64512:100"
+ ],
+ "ipAddressPools": [
+ "pool1"
+ ],
+ "peers": [
+ "peer1"
+ ]
+ }
+ ],
+ "fabricPeeringEnabled": "True",
+ "bgpPeers": [
+ {
+ "bfdEnabled": "False",
+ "bgpMultiHop": "False",
+ "holdTime": "P300s",
+ "keepAliveTime": "P300s",
+ "myAsn": 64512,
+ "name": "peer1",
+ "peerAddress": "203.0.113.254",
+ "peerAsn": 64497,
+ "peerPort": 179
+ }
+ ],
+ "ipAddressPools": [
+ {
+ "addresses": [
+ "198.51.102.0/24"
+ ],
+ "autoAssign": "True",
+ "name": "pool1",
+ "onlyUseHostIps": "True"
+ }
+ ]
+ },
+ "cloudServicesNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "cniNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "dnsServiceIp": "198.51.101.2",
+ "podCidrs": [
+ "198.51.100.0/24"
+ ],
+ "serviceCidrs": [
+ "198.51.101.0/24"
+ ]
+ },
+ "provisioningState": "Succeeded",
+ "availableUpgrades": [
+ {
+ "version": "1.24.13-1",
+ "availabilityLifecycle": "GenerallyAvailable"
+ }
+ ],
+ "attachedNetworkIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName"
+ ],
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "connectedClusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.Kubernetes/connectedClusters/connectedClusterName",
+ "controlPlaneKubernetesVersion": "1.24.12-1",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Kubernetes cluster is operational",
+ "featureStatuses": [
+ {
+ "name": "Feature1",
+ "version": "1",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "No issues detected"
+ }
+ ],
+ "nodes": [
+ {
+ "agentPoolId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName/agentPools/agentPoolName",
+ "availabilityZone": "1",
+ "bareMetalMachineId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "cpuCores": 20,
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "No issues detected",
+ "diskSizeGB": 120,
+ "image": "myacr.azurecr.io/foobar:latest",
+ "kubernetesVersion": "1.24.12-1",
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "memorySizeGB": 256,
+ "mode": "System",
+ "name": "machine1",
+ "networkAttachments": [
+ {
+ "networkAttachmentName": "netAttachName01",
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "ipAllocationMethod": "Dynamic",
+ "ipv4Address": "198.51.100.1",
+ "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
+ "macAddress": "bf:1c:29:31:31:1f",
+ "defaultGateway": "True"
+ }
+ ],
+ "powerState": "On",
+ "role": "ControlPlane",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "vmSkuName": "NC_M16_v1"
+ }
+ ]
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName",
+ "name": "KubernetesClusterName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/kubernetesClusters",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "aadConfiguration": {
+ "adminGroupObjectIds": [
+ "ffffffff-ffff-ffff-ffff-ffffffffffff"
+ ]
+ },
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "initialAgentPoolConfigurations": [
+ {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "agentOptions": {
+ "hugepagesCount": 96,
+ "hugepagesSize": "1G"
+ },
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "mode": "System",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "upgradeSettings": {
+ "maxSurge": "1"
+ },
+ "vmSkuName": "NC_M16_v1",
+ "name": "SystemPool-1"
+ }
+ ],
+ "controlPlaneNodeConfiguration": {
+ "administratorConfiguration": {
+ "adminUsername": "azure",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ },
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "count": 3,
+ "vmSkuName": "NC_G4_v1"
+ },
+ "kubernetesVersion": "1.24.12-1",
+ "managedResourceGroupConfiguration": {
+ "name": "my-managed-rg",
+ "location": "East US"
+ },
+ "networkConfiguration": {
+ "attachedNetworkConfiguration": {
+ "l2Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "pluginType": "DPDK"
+ }
+ ],
+ "l3Networks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "pluginType": "SRIOV",
+ "ipamEnabled": "False"
+ }
+ ],
+ "trunkedNetworks": [
+ {
+ "networkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "pluginType": "MACVLAN"
+ }
+ ]
+ },
+ "bgpServiceLoadBalancerConfiguration": {
+ "bgpAdvertisements": [
+ {
+ "advertiseToFabric": "True",
+ "communities": [
+ "64512:100"
+ ],
+ "ipAddressPools": [
+ "pool1"
+ ],
+ "peers": [
+ "peer1"
+ ]
+ }
+ ],
+ "fabricPeeringEnabled": "True",
+ "bgpPeers": [
+ {
+ "bfdEnabled": "False",
+ "bgpMultiHop": "False",
+ "holdTime": "P300s",
+ "keepAliveTime": "P300s",
+ "myAsn": 64512,
+ "name": "peer1",
+ "peerAddress": "203.0.113.254",
+ "peerAsn": 64497,
+ "peerPort": 179
+ }
+ ],
+ "ipAddressPools": [
+ {
+ "addresses": [
+ "198.51.102.0/24"
+ ],
+ "autoAssign": "True",
+ "name": "pool1",
+ "onlyUseHostIps": "True"
+ }
+ ]
+ },
+ "cloudServicesNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "cniNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "dnsServiceIp": "198.51.101.2",
+ "podCidrs": [
+ "198.51.100.0/24"
+ ],
+ "serviceCidrs": [
+ "198.51.101.0/24"
+ ]
+ },
+ "provisioningState": "Accepted",
+ "availableUpgrades": [
+ {
+ "version": "1.24.13-1",
+ "availabilityLifecycle": "GenerallyAvailable"
+ }
+ ],
+ "attachedNetworkIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName"
+ ],
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "connectedClusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.Kubernetes/connectedClusters/connectedClusterName",
+ "controlPlaneKubernetesVersion": "1.24.12-1",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Kubernetes cluster is operational",
+ "featureStatuses": [
+ {
+ "name": "Feature1",
+ "version": "1",
+ "detailedStatus": "Running",
+ "detailedStatusMessage": "No issues detected"
+ }
+ ],
+ "nodes": [
+ {
+ "agentPoolId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/kubernetesClusters/kubernetesClusterName/agentPools/agentPoolName",
+ "availabilityZone": "1",
+ "bareMetalMachineId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "cpuCores": 20,
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "No issues detected",
+ "diskSizeGB": 120,
+ "image": "myacr.azurecr.io/foobar:latest",
+ "kubernetesVersion": "1.24.12-1",
+ "labels": [
+ {
+ "key": "kubernetes.label",
+ "value": "true"
+ }
+ ],
+ "memorySizeGB": 256,
+ "mode": "System",
+ "name": "machine1",
+ "networkAttachments": [
+ {
+ "networkAttachmentName": "netAttachName01",
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "ipAllocationMethod": "Dynamic",
+ "ipv4Address": "198.51.100.1",
+ "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
+ "macAddress": "bf:1c:29:31:31:1f",
+ "defaultGateway": "True"
+ }
+ ],
+ "powerState": "On",
+ "role": "ControlPlane",
+ "taints": [
+ {
+ "key": "kubernetes.taint",
+ "value": "true"
+ }
+ ],
+ "vmSkuName": "NC_M16_v1"
+ }
+ ]
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_RestartNode.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_RestartNode.json
new file mode 100644
index 000000000000..6ffa6adef560
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/KubernetesClusters_RestartNode.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "kubernetesClusterName": "kubernetesClusterName",
+ "kubernetesClusterRestartNodeParameters": {
+ "nodeName": "nodeName"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_Create.json
new file mode 100644
index 000000000000..34c594eb9935
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_Create.json
@@ -0,0 +1,99 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "l2NetworkName": "l2NetworkName",
+ "l2NetworkParameters": {
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "l2IsolationDomainId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
+ "hybridAksPluginType": "DPDK"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "name": "l2NetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/l2Networks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "l2IsolationDomainId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "L2 network is up"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "name": "l2NetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/l2Networks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "l2IsolationDomainId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "L2 network is up"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_Delete.json
new file mode 100644
index 000000000000..2ee45082e8b2
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "l2NetworkName": "l2NetworkName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_Get.json
new file mode 100644
index 000000000000..402941225e72
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_Get.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "l2NetworkName": "l2NetworkName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "name": "l2NetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/l2Networks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "l2IsolationDomainId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "L2 network is up"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_ListByResourceGroup.json
new file mode 100644
index 000000000000..aae344d5140e
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_ListByResourceGroup.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "name": "l2NetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/l2Networks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "l2IsolationDomainId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "L2 network is up"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_ListBySubscription.json
new file mode 100644
index 000000000000..b4a8d5b909e7
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_ListBySubscription.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "name": "l2NetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/l2Networks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "l2IsolationDomainId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "L2 network is up"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_Patch.json
new file mode 100644
index 000000000000..33972d19e188
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L2Networks_Patch.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "l2NetworkName": "l2NetworkName",
+ "l2NetworkUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l2Networks/l2NetworkName",
+ "name": "l2NetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/l2Networks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "l2IsolationDomainId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "L2 network is up"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_Create.json
new file mode 100644
index 000000000000..041bc2924b42
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_Create.json
@@ -0,0 +1,110 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "l3NetworkName": "l3NetworkName",
+ "l3NetworkParameters": {
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "l3IsolationDomainId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
+ "vlan": 12,
+ "ipAllocationType": "DualStack",
+ "ipv4ConnectedPrefix": "198.51.100.0/24",
+ "ipv6ConnectedPrefix": "2001:db8::/64"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "name": "l3NetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/l3Networks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "l3IsolationDomainId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
+ "vlan": 12,
+ "ipAllocationType": "DualStack",
+ "ipv4ConnectedPrefix": "198.51.100.0/24",
+ "ipv6ConnectedPrefix": "2001:db8::/64",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "L3 network is up"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "name": "l3NetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/l3Networks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "l3IsolationDomainId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
+ "vlan": 12,
+ "ipAllocationType": "DualStack",
+ "ipv4ConnectedPrefix": "198.51.100.0/24",
+ "ipv6ConnectedPrefix": "2001:db8::/64",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "L3 network is up"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_Delete.json
new file mode 100644
index 000000000000..ed30c0563014
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "l3NetworkName": "l3NetworkName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_Get.json
new file mode 100644
index 000000000000..0d687a0b3e79
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_Get.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "l3NetworkName": "l3NetworkName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "name": "l3NetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/l3Networks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "l3IsolationDomainId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
+ "vlan": 12,
+ "ipAllocationType": "DualStack",
+ "ipv4ConnectedPrefix": "198.51.100.0/24",
+ "ipv6ConnectedPrefix": "2001:db8::/64",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "L3 network is up"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_ListByResourceGroup.json
new file mode 100644
index 000000000000..d5e8bd58edd8
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_ListByResourceGroup.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "name": "l3NetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/l3Networks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "l3IsolationDomainId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
+ "vlan": 12,
+ "ipAllocationType": "DualStack",
+ "ipv4ConnectedPrefix": "198.51.100.0/24",
+ "ipv6ConnectedPrefix": "2001:db8::/64",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "L3 network is up"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_ListBySubscription.json
new file mode 100644
index 000000000000..b18bc7d3926f
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_ListBySubscription.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "name": "l3NetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/l3Networks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "l3IsolationDomainId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
+ "vlan": 12,
+ "ipAllocationType": "DualStack",
+ "ipv4ConnectedPrefix": "198.51.100.0/24",
+ "ipv6ConnectedPrefix": "2001:db8::/64",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "L3 network is up"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_Patch.json
new file mode 100644
index 000000000000..3b4a626cdf8b
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/L3Networks_Patch.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "l3NetworkName": "l3NetworkName",
+ "l3NetworkUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "name": "l3NetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/l3Networks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "l3IsolationDomainId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName",
+ "vlan": 12,
+ "ipAllocationType": "DualStack",
+ "ipv4ConnectedPrefix": "198.51.100.0/24",
+ "ipv6ConnectedPrefix": "2001:db8::/64",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "L3 network is up"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Operations_List.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Operations_List.json
new file mode 100644
index 000000000000..510a9b5ff89b
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Operations_List.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://fully.qualified.hyperlink",
+ "value": [
+ {
+ "actionType": "Internal",
+ "display": {
+ "description": "Reads Network Cloud cluster(s)",
+ "operation": "Get/list Network Cloud cluster resources",
+ "provider": "Microsoft Network Cloud",
+ "resource": "Network Cloud cluster"
+ },
+ "isDataAction": true,
+ "name": "Microsoft.NetworkCloud/clusters/Read",
+ "origin": "user,system"
+ },
+ {
+ "actionType": "Internal",
+ "display": {
+ "description": "Writes Network Cloud cluster(s)",
+ "operation": "Create/update Network Cloud cluster resources",
+ "provider": "Microsoft Network Cloud",
+ "resource": "Network Cloud cluster"
+ },
+ "isDataAction": true,
+ "name": "Microsoft.NetworkCloud/clusters/Write",
+ "origin": "user,system"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/RackSkus_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/RackSkus_Get.json
similarity index 93%
rename from specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/RackSkus_Get.json
rename to specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/RackSkus_Get.json
index 1758e619a1e8..31e22ed8248e 100644
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/RackSkus_Get.json
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/RackSkus_Get.json
@@ -1,13 +1,13 @@
{
"parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
"rackSkuName": "rackSkuName"
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
"name": "rackSkuName",
"systemData": {
"createdAt": "2021-01-22T13:27:03.008Z",
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/RackSkus_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/RackSkus_ListBySubscription.json
similarity index 93%
rename from specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/RackSkus_ListBySubscription.json
rename to specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/RackSkus_ListBySubscription.json
index 01bc876ad190..f43aa641d6b0 100644
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/examples/RackSkus_ListBySubscription.json
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/RackSkus_ListBySubscription.json
@@ -1,14 +1,14 @@
{
"parameters": {
- "api-version": "2022-12-12-preview",
- "subscriptionId": "subscriptionId"
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000"
},
"responses": {
"200": {
"body": {
"value": [
{
- "id": "/subscriptions/subscriptionId/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
"name": "rackSkuName",
"systemData": {
"createdAt": "2021-01-22T13:27:03.008Z",
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_Create.json
new file mode 100644
index 000000000000..f84dbbe2674e
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_Create.json
@@ -0,0 +1,98 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "rackName": "rackName",
+ "rackParameters": {
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "RACK_SERIAL_NUMBER",
+ "availabilityZone": "1",
+ "rackLocation": "Rack 28"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "name": "rackName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/racks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "RACK_SERIAL_NUMBER",
+ "availabilityZone": "1",
+ "rackLocation": "Rack 28",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Rack is operational"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "name": "rackName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/racks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "RACK_SERIAL_NUMBER",
+ "availabilityZone": "1",
+ "rackLocation": "Rack 28",
+ "provisioningState": "Accepted",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Rack is operational"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_Delete.json
new file mode 100644
index 000000000000..50809fb1df65
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "rackName": "rackName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_Get.json
new file mode 100644
index 000000000000..c52217ea520a
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_Get.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "rackName": "rackName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "name": "rackName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/racks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "RACK_SERIAL_NUMBER",
+ "availabilityZone": "1",
+ "rackLocation": "Rack 28",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Rack is operational"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_ListByResourceGroup.json
new file mode 100644
index 000000000000..9fa4c96c549b
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_ListByResourceGroup.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "name": "rackName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/racks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "RACK_SERIAL_NUMBER",
+ "availabilityZone": "1",
+ "rackLocation": "Rack 28",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Rack is operational"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_ListBySubscription.json
new file mode 100644
index 000000000000..d0ba0bcf7da8
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_ListBySubscription.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "name": "rackName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/racks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "RACK_SERIAL_NUMBER",
+ "availabilityZone": "1",
+ "rackLocation": "Rack 28",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Rack is operational"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_Patch.json
new file mode 100644
index 000000000000..ebb7545024eb
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Racks_Patch.json
@@ -0,0 +1,91 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "rackName": "rackName",
+ "rackUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "rackSerialNumber": "RACK_SERIAL_NUMBER",
+ "rackLocation": "Rack 2B"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "name": "rackName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/racks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "RACK_SERIAL_NUMBER",
+ "availabilityZone": "1",
+ "rackLocation": "Rack 28",
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Rack is operational"
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "name": "rackName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/racks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackSkuId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/rackSkus/rackSkuName",
+ "rackSerialNumber": "RACK_SERIAL_NUMBER",
+ "availabilityZone": "1",
+ "rackLocation": "Rack 28",
+ "provisioningState": "Accepted",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Rack is operational"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_Create.json
new file mode 100644
index 000000000000..78536a5105a7
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_Create.json
@@ -0,0 +1,118 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "storageApplianceName": "storageApplianceName",
+ "storageApplianceParameters": {
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "storageApplianceSkuId": "684E-3B16-399E",
+ "rackSlot": 1,
+ "serialNumber": "BM1219XXX",
+ "administratorCredentials": {
+ "username": "adminUser",
+ "password": "{password}"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/storageAppliances/storageApplianceName",
+ "name": "storageApplianceName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/storageAppliances",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "storageApplianceSkuId": "684E-3B16-399E",
+ "rackSlot": 1,
+ "serialNumber": "BM1219XXX",
+ "administratorCredentials": {
+ "username": "adminUser"
+ },
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "capacity": 893,
+ "capacityUsed": 500,
+ "remoteVendorManagementStatus": "Enabled",
+ "remoteVendorManagementFeature": "Supported",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Storage appliance is up and running",
+ "managementIpv4Address": "192.0.2.2"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/storageAppliances/storageApplianceName",
+ "name": "storageApplianceName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/storageAppliances",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "storageApplianceSkuId": "684E-3B16-399E",
+ "rackSlot": 1,
+ "serialNumber": "BM1219XXX",
+ "administratorCredentials": {
+ "username": "adminUser"
+ },
+ "provisioningState": "Accepted",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "capacity": 893,
+ "capacityUsed": 500,
+ "remoteVendorManagementStatus": "Enabled",
+ "remoteVendorManagementFeature": "Supported",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Storage appliance is up and running",
+ "managementIpv4Address": "192.0.2.2"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_Delete.json
new file mode 100644
index 000000000000..e071d999b10c
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "storageApplianceName": "storageApplianceName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_DisableRemoteVendorManagement.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_DisableRemoteVendorManagement.json
new file mode 100644
index 000000000000..bbe0716353da
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_DisableRemoteVendorManagement.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "storageApplianceName": "storageApplianceName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_EnableRemoteVendorManagement.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_EnableRemoteVendorManagement.json
new file mode 100644
index 000000000000..23a8d1531a43
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_EnableRemoteVendorManagement.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "storageApplianceName": "storageApplianceName",
+ "storageApplianceEnableRemoteVendorManagementParameters": {
+ "supportEndpoints": [
+ "10.0.0.0/24"
+ ]
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_Get.json
new file mode 100644
index 000000000000..fd4e239dde28
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_Get.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "storageApplianceName": "storageApplianceName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/storageAppliances/storageApplianceName",
+ "name": "storageApplianceName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/storageAppliances",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "storageApplianceSkuId": "684E-3B16-399E",
+ "rackSlot": 1,
+ "serialNumber": "BM1219XXX",
+ "administratorCredentials": {
+ "username": "adminUser"
+ },
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "capacity": 893,
+ "capacityUsed": 500,
+ "remoteVendorManagementStatus": "Enabled",
+ "remoteVendorManagementFeature": "Supported",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Storage appliance is up and running",
+ "managementIpv4Address": "192.0.2.2"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_ListByResourceGroup.json
new file mode 100644
index 000000000000..14e1aaebacec
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_ListByResourceGroup.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/storageAppliances/storageApplianceName",
+ "name": "storageApplianceName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/storageAppliances",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "storageApplianceSkuId": "684E-3B16-399E",
+ "rackSlot": 1,
+ "serialNumber": "BM1219XXX",
+ "administratorCredentials": {
+ "username": "adminUser"
+ },
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "capacity": 893,
+ "capacityUsed": 500,
+ "remoteVendorManagementStatus": "Enabled",
+ "remoteVendorManagementFeature": "Supported",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Storage appliance is up and running",
+ "managementIpv4Address": "192.0.2.2"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_ListBySubscription.json
new file mode 100644
index 000000000000..ea110025600b
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_ListBySubscription.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/storageAppliances/storageApplianceName",
+ "name": "storageApplianceName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/storageAppliances",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "storageApplianceSkuId": "684E-3B16-399E",
+ "rackSlot": 1,
+ "serialNumber": "BM1219XXX",
+ "administratorCredentials": {
+ "username": "adminUser"
+ },
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "capacity": 893,
+ "capacityUsed": 500,
+ "remoteVendorManagementStatus": "Enabled",
+ "remoteVendorManagementFeature": "Supported",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Storage appliance is up and running",
+ "managementIpv4Address": "192.0.2.2"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_Patch.json
new file mode 100644
index 000000000000..cc829693db7c
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/StorageAppliances_Patch.json
@@ -0,0 +1,106 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "storageApplianceName": "storageApplianceName",
+ "storageApplianceUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "serialNumber": "BM1219XXX"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/storageAppliances/storageApplianceName",
+ "name": "storageApplianceName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/storageAppliances",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "storageApplianceSkuId": "684E-3B16-399E",
+ "rackSlot": 1,
+ "serialNumber": "BM1219XXX",
+ "administratorCredentials": {
+ "username": "adminUser"
+ },
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "capacity": 893,
+ "capacityUsed": 500,
+ "remoteVendorManagementStatus": "Enabled",
+ "remoteVendorManagementFeature": "Supported",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Storage appliance is up and running",
+ "managementIpv4Address": "192.0.2.2"
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/storageAppliances/storageApplianceName",
+ "name": "storageApplianceName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/storageAppliances",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "rackId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "storageApplianceSkuId": "684E-3B16-399E",
+ "rackSlot": 1,
+ "serialNumber": "BM1219XXX",
+ "administratorCredentials": {
+ "username": "adminUser"
+ },
+ "provisioningState": "Accepted",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "capacity": 893,
+ "capacityUsed": 500,
+ "remoteVendorManagementStatus": "Enabled",
+ "remoteVendorManagementFeature": "Supported",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Storage appliance is up and running",
+ "managementIpv4Address": "192.0.2.2"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_Create.json
new file mode 100644
index 000000000000..fdc42c0c210f
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_Create.json
@@ -0,0 +1,119 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "trunkedNetworkName": "trunkedNetworkName",
+ "trunkedNetworkParameters": {
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "isolationDomainIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName"
+ ],
+ "vlans": [
+ 12,
+ 14
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "name": "trunkedNetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/trunkedNetworks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "isolationDomainIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName"
+ ],
+ "vlans": [
+ 12,
+ 14
+ ],
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Trunked network is up"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "name": "trunkedNetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/trunkedNetworks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "isolationDomainIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName"
+ ],
+ "vlans": [
+ 12,
+ 14
+ ],
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Trunked network is up"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_Delete.json
new file mode 100644
index 000000000000..f4501dad128b
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "trunkedNetworkName": "trunkedNetworkName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_Get.json
new file mode 100644
index 000000000000..cc8e6f0730fe
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_Get.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "trunkedNetworkName": "trunkedNetworkName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "name": "trunkedNetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/trunkedNetworks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "isolationDomainIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName"
+ ],
+ "vlans": [
+ 12,
+ 14
+ ],
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Trunked network is up"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_ListByResourceGroup.json
new file mode 100644
index 000000000000..0c2efe79d16e
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_ListByResourceGroup.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "name": "trunkedNetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/trunkedNetworks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "isolationDomainIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName"
+ ],
+ "vlans": [
+ 12,
+ 14
+ ],
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Trunked network is up"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_ListBySubscription.json
new file mode 100644
index 000000000000..d4e932a60f82
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_ListBySubscription.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "name": "trunkedNetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/trunkedNetworks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "isolationDomainIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName"
+ ],
+ "vlans": [
+ 12,
+ 14
+ ],
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Trunked network is up"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_Patch.json
new file mode 100644
index 000000000000..abd4a0d07afe
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/TrunkedNetworks_Patch.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "trunkedNetworkName": "trunkedNetworkName",
+ "trunkedNetworkUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/trunkedNetworks/trunkedNetworkName",
+ "name": "trunkedNetworkName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/trunkedNetworks",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "interfaceName": "eth0",
+ "isolationDomainIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/l2IsolationDomainName",
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ManagedNetworkFabric/l3IsolationDomains/l3IsolationDomainName"
+ ],
+ "vlans": [
+ 12,
+ 14
+ ],
+ "provisioningState": "Succeeded",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "associatedResourceIds": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "Trunked network is up"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Create.json
new file mode 100644
index 000000000000..fa405d621ee4
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Create.json
@@ -0,0 +1,248 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "virtualMachineName": "virtualMachineName",
+ "virtualMachineParameters": {
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "vmImage": "myacr.azurecr.io/foobar:latest",
+ "vmImageRepositoryCredentials": {
+ "username": "myuser",
+ "password": "{password}",
+ "registryUrl": "myacr.azurecr.io"
+ },
+ "vmDeviceModel": "T2",
+ "cpuCores": 2,
+ "memorySizeGB": 8,
+ "storageProfile": {
+ "osDisk": {
+ "createOption": "Ephemeral",
+ "deleteOption": "Delete",
+ "diskSizeGB": 120
+ },
+ "volumeAttachments": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
+ ]
+ },
+ "cloudServicesNetworkAttachment": {
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "ipAllocationMethod": "Dynamic"
+ },
+ "networkAttachments": [
+ {
+ "networkAttachmentName": "netAttachName01",
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "ipAllocationMethod": "Dynamic",
+ "ipv4Address": "198.51.100.1",
+ "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
+ "defaultGateway": "True"
+ }
+ ],
+ "placementHints": [
+ {
+ "hintType": "Affinity",
+ "schedulingExecution": "Hard",
+ "resourceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "scope": ""
+ }
+ ],
+ "userData": "dXNlckRhdGVTYW1wbGU=",
+ "networkData": "bmV0d29ya0RhdGVTYW1wbGU=",
+ "bootMethod": "UEFI",
+ "adminUsername": "username",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName",
+ "name": "virtualMachineName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/virtualMachines",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "vmImage": "myacr.azurecr.io/foobar:latest",
+ "vmImageRepositoryCredentials": {
+ "username": "myuser",
+ "registryUrl": "myacr.azurecr.io"
+ },
+ "vmDeviceModel": "T2",
+ "cpuCores": 2,
+ "memorySizeGB": 8,
+ "storageProfile": {
+ "osDisk": {
+ "createOption": "Ephemeral",
+ "deleteOption": "Delete",
+ "diskSizeGB": 120
+ },
+ "volumeAttachments": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
+ ]
+ },
+ "cloudServicesNetworkAttachment": {
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "ipAllocationMethod": "Dynamic"
+ },
+ "networkAttachments": [
+ {
+ "networkAttachmentName": "netAttachName01",
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "ipAllocationMethod": "Dynamic",
+ "ipv4Address": "198.51.100.1",
+ "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
+ "macAddress": "bf:1c:29:31:31:1f",
+ "defaultGateway": "True"
+ }
+ ],
+ "placementHints": [
+ {
+ "hintType": "Affinity",
+ "schedulingExecution": "Hard",
+ "resourceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "scope": ""
+ }
+ ],
+ "userData": "dXNlckRhdGVTYW1wbGU=",
+ "networkData": "bmV0d29ya0RhdGVTYW1wbGU=",
+ "bootMethod": "UEFI",
+ "adminUsername": "username",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "availabilityZone": "1",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "powerState": "On",
+ "bareMetalMachineId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "VM is up and healthy",
+ "volumes": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName",
+ "name": "virtualMachineName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/virtualMachines",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "vmImage": "myacr.azurecr.io/foobar:latest",
+ "vmImageRepositoryCredentials": {
+ "username": "myuser",
+ "registryUrl": "myacr.azurecr.io"
+ },
+ "vmDeviceModel": "T2",
+ "cpuCores": 2,
+ "memorySizeGB": 8,
+ "storageProfile": {
+ "osDisk": {
+ "createOption": "Ephemeral",
+ "deleteOption": "Delete",
+ "diskSizeGB": 120
+ },
+ "volumeAttachments": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
+ ]
+ },
+ "cloudServicesNetworkAttachment": {
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "ipAllocationMethod": "Dynamic"
+ },
+ "networkAttachments": [
+ {
+ "networkAttachmentName": "netAttachName01",
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "ipAllocationMethod": "Dynamic",
+ "ipv4Address": "198.51.100.1",
+ "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
+ "macAddress": "bf:1c:29:31:31:1f",
+ "defaultGateway": "True"
+ }
+ ],
+ "placementHints": [
+ {
+ "hintType": "Affinity",
+ "schedulingExecution": "Hard",
+ "resourceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "scope": ""
+ }
+ ],
+ "userData": "dXNlckRhdGVTYW1wbGU=",
+ "networkData": "bmV0d29ya0RhdGVTYW1wbGU=",
+ "bootMethod": "UEFI",
+ "adminUsername": "username",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ],
+ "provisioningState": "Accepted",
+ "availabilityZone": "1",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "powerState": "On",
+ "bareMetalMachineId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "VM is up and healthy",
+ "volumes": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
+ ]
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Delete.json
new file mode 100644
index 000000000000..2bedc929b2dc
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "virtualMachineName": "virtualMachineName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Get.json
new file mode 100644
index 000000000000..907bcea43a39
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Get.json
@@ -0,0 +1,96 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "virtualMachineName": "virtualMachineName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName",
+ "name": "virtualMachineName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/virtualMachines",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "vmImage": "myacr.azurecr.io/foobar:latest",
+ "vmImageRepositoryCredentials": {
+ "username": "myuser",
+ "registryUrl": "myacr.azurecr.io"
+ },
+ "vmDeviceModel": "T2",
+ "cpuCores": 2,
+ "memorySizeGB": 8,
+ "storageProfile": {
+ "osDisk": {
+ "createOption": "Ephemeral",
+ "deleteOption": "Delete",
+ "diskSizeGB": 120
+ },
+ "volumeAttachments": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
+ ]
+ },
+ "cloudServicesNetworkAttachment": {
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "ipAllocationMethod": "Dynamic"
+ },
+ "networkAttachments": [
+ {
+ "networkAttachmentName": "netAttachName01",
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "ipAllocationMethod": "Dynamic",
+ "ipv4Address": "198.51.100.1",
+ "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
+ "macAddress": "bf:1c:29:31:31:1f",
+ "defaultGateway": "True"
+ }
+ ],
+ "placementHints": [
+ {
+ "hintType": "Affinity",
+ "schedulingExecution": "Hard",
+ "resourceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "scope": ""
+ }
+ ],
+ "userData": "dXNlckRhdGVTYW1wbGU=",
+ "networkData": "bmV0d29ya0RhdGVTYW1wbGU=",
+ "bootMethod": "UEFI",
+ "adminUsername": "username",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "availabilityZone": "1",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "powerState": "On",
+ "bareMetalMachineId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "VM is up and healthy",
+ "volumes": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_ListByResourceGroup.json
new file mode 100644
index 000000000000..719df91b465f
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_ListByResourceGroup.json
@@ -0,0 +1,100 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName",
+ "name": "virtualMachineName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/virtualMachines",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "vmImage": "myacr.azurecr.io/foobar:latest",
+ "vmImageRepositoryCredentials": {
+ "username": "myuser",
+ "registryUrl": "myacr.azurecr.io"
+ },
+ "vmDeviceModel": "T2",
+ "cpuCores": 2,
+ "memorySizeGB": 8,
+ "storageProfile": {
+ "osDisk": {
+ "createOption": "Ephemeral",
+ "deleteOption": "Delete",
+ "diskSizeGB": 120
+ },
+ "volumeAttachments": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
+ ]
+ },
+ "cloudServicesNetworkAttachment": {
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "ipAllocationMethod": "Dynamic"
+ },
+ "networkAttachments": [
+ {
+ "networkAttachmentName": "netAttachName01",
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "ipAllocationMethod": "Dynamic",
+ "ipv4Address": "198.51.100.1",
+ "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
+ "macAddress": "bf:1c:29:31:31:1f",
+ "defaultGateway": "True"
+ }
+ ],
+ "placementHints": [
+ {
+ "hintType": "Affinity",
+ "schedulingExecution": "Hard",
+ "resourceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "scope": ""
+ }
+ ],
+ "userData": "dXNlckRhdGVTYW1wbGU=",
+ "networkData": "bmV0d29ya0RhdGVTYW1wbGU=",
+ "bootMethod": "UEFI",
+ "adminUsername": "username",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "availabilityZone": "1",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "powerState": "On",
+ "bareMetalMachineId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "VM is up and healthy",
+ "volumes": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
+ ]
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_ListBySubscription.json
new file mode 100644
index 000000000000..437175067277
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_ListBySubscription.json
@@ -0,0 +1,99 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName",
+ "name": "virtualMachineName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/virtualMachines",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "vmImage": "myacr.azurecr.io/foobar:latest",
+ "vmImageRepositoryCredentials": {
+ "username": "myuser",
+ "registryUrl": "myacr.azurecr.io"
+ },
+ "vmDeviceModel": "T2",
+ "cpuCores": 2,
+ "memorySizeGB": 8,
+ "storageProfile": {
+ "osDisk": {
+ "createOption": "Ephemeral",
+ "deleteOption": "Delete",
+ "diskSizeGB": 120
+ },
+ "volumeAttachments": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
+ ]
+ },
+ "cloudServicesNetworkAttachment": {
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "ipAllocationMethod": "Dynamic"
+ },
+ "networkAttachments": [
+ {
+ "networkAttachmentName": "netAttachName01",
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "ipAllocationMethod": "Dynamic",
+ "ipv4Address": "198.51.100.1",
+ "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
+ "macAddress": "bf:1c:29:31:31:1f",
+ "defaultGateway": "True"
+ }
+ ],
+ "placementHints": [
+ {
+ "hintType": "Affinity",
+ "schedulingExecution": "Hard",
+ "resourceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "scope": ""
+ }
+ ],
+ "userData": "dXNlckRhdGVTYW1wbGU=",
+ "networkData": "bmV0d29ya0RhdGVTYW1wbGU=",
+ "bootMethod": "UEFI",
+ "adminUsername": "username",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "availabilityZone": "1",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "powerState": "On",
+ "bareMetalMachineId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "VM is up and healthy",
+ "volumes": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
+ ]
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Patch.json
new file mode 100644
index 000000000000..af8593a078ab
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Patch.json
@@ -0,0 +1,198 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "virtualMachineName": "virtualMachineName",
+ "virtualMachineUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "properties": {
+ "vmImageRepositoryCredentials": {
+ "username": "myuser",
+ "password": "{password}",
+ "registryUrl": "myacr.azurecr.io"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName",
+ "name": "virtualMachineName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/virtualMachines",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "vmImage": "myacr.azurecr.io/foobar:latest",
+ "vmImageRepositoryCredentials": {
+ "username": "myuser",
+ "registryUrl": "myacr.azurecr.io"
+ },
+ "vmDeviceModel": "T2",
+ "cpuCores": 2,
+ "memorySizeGB": 8,
+ "storageProfile": {
+ "osDisk": {
+ "createOption": "Ephemeral",
+ "deleteOption": "Delete",
+ "diskSizeGB": 120
+ },
+ "volumeAttachments": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
+ ]
+ },
+ "cloudServicesNetworkAttachment": {
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "ipAllocationMethod": "Dynamic"
+ },
+ "networkAttachments": [
+ {
+ "networkAttachmentName": "netAttachName01",
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "ipAllocationMethod": "Dynamic",
+ "ipv4Address": "198.51.100.1",
+ "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
+ "macAddress": "bf:1c:29:31:31:1f",
+ "defaultGateway": "True"
+ }
+ ],
+ "placementHints": [
+ {
+ "hintType": "Affinity",
+ "schedulingExecution": "Hard",
+ "resourceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "scope": ""
+ }
+ ],
+ "userData": "dXNlckRhdGVTYW1wbGU=",
+ "networkData": "bmV0d29ya0RhdGVTYW1wbGU=",
+ "bootMethod": "UEFI",
+ "adminUsername": "username",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "availabilityZone": "1",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "powerState": "On",
+ "bareMetalMachineId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "VM is up and healthy",
+ "volumes": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
+ ]
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName",
+ "name": "virtualMachineName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/virtualMachines",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "vmImage": "myacr.azurecr.io/foobar:latest",
+ "vmImageRepositoryCredentials": {
+ "username": "myuser",
+ "registryUrl": "myacr.azurecr.io"
+ },
+ "vmDeviceModel": "T2",
+ "cpuCores": 2,
+ "memorySizeGB": 8,
+ "storageProfile": {
+ "osDisk": {
+ "createOption": "Ephemeral",
+ "deleteOption": "Delete",
+ "diskSizeGB": 120
+ },
+ "volumeAttachments": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
+ ]
+ },
+ "cloudServicesNetworkAttachment": {
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
+ "ipAllocationMethod": "Dynamic"
+ },
+ "networkAttachments": [
+ {
+ "networkAttachmentName": "netAttachName01",
+ "attachedNetworkId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
+ "ipAllocationMethod": "Dynamic",
+ "ipv4Address": "198.51.100.1",
+ "ipv6Address": "2001:0db8:0000:0000:0000:0000:0000:0000",
+ "macAddress": "bf:1c:29:31:31:1f",
+ "defaultGateway": "True"
+ }
+ ],
+ "placementHints": [
+ {
+ "hintType": "Affinity",
+ "schedulingExecution": "Hard",
+ "resourceId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
+ "scope": ""
+ }
+ ],
+ "userData": "dXNlckRhdGVTYW1wbGU=",
+ "networkData": "bmV0d29ya0RhdGVTYW1wbGU=",
+ "bootMethod": "UEFI",
+ "adminUsername": "username",
+ "sshPublicKeys": [
+ {
+ "keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
+ }
+ ],
+ "provisioningState": "Accepted",
+ "availabilityZone": "1",
+ "clusterId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName",
+ "powerState": "On",
+ "bareMetalMachineId": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/bareMetalMachines/bareMetalMachineName",
+ "detailedStatus": "Available",
+ "detailedStatusMessage": "VM is up and healthy",
+ "volumes": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"
+ ]
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_PowerOff.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_PowerOff.json
new file mode 100644
index 000000000000..315c3d77db11
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_PowerOff.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "virtualMachineName": "virtualMachineName",
+ "virtualMachinePowerOffParameters": {
+ "skipShutdown": "True"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Reimage.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Reimage.json
new file mode 100644
index 000000000000..6c1b441d7d8e
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Reimage.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "virtualMachineName": "virtualMachineName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Restart.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Restart.json
new file mode 100644
index 000000000000..6c1b441d7d8e
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Restart.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "virtualMachineName": "virtualMachineName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Start.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Start.json
new file mode 100644
index 000000000000..6c1b441d7d8e
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/VirtualMachines_Start.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "virtualMachineName": "virtualMachineName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_Create.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_Create.json
new file mode 100644
index 000000000000..b9c06430ee61
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_Create.json
@@ -0,0 +1,95 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "volumeName": "volumeName",
+ "volumeParameters": {
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "sizeMiB": 10000
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName",
+ "name": "volumeName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/volumes",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "sizeMiB": 10000,
+ "provisioningState": "Succeeded",
+ "serialNumber": "XXXX-XXXX-XXXX-XXXX",
+ "attachedTo": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Active",
+ "detailedStatusMessage": "Volume is available"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName",
+ "name": "volumeName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/volumes",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "sizeMiB": 10000,
+ "provisioningState": "Succeeded",
+ "serialNumber": "XXXX-XXXX-XXXX-XXXX",
+ "attachedTo": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Active",
+ "detailedStatusMessage": "Volume is available"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_Delete.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_Delete.json
new file mode 100644
index 000000000000..9f6ba9e8bdc1
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "volumeName": "volumeName"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/123e4567-e89b-12d3-a456-426655440000/providers/Microsoft.NetworkCloud/locations/location/operationStatuses/operationId?api-version=2023-10-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_Get.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_Get.json
new file mode 100644
index 000000000000..d8bf6d3fb4dc
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_Get.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "volumeName": "volumeName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName",
+ "name": "volumeName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/volumes",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "sizeMiB": 10000,
+ "provisioningState": "Succeeded",
+ "serialNumber": "XXXX-XXXX-XXXX-XXXX",
+ "attachedTo": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Active",
+ "detailedStatusMessage": "Volume is available"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_ListByResourceGroup.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_ListByResourceGroup.json
new file mode 100644
index 000000000000..329fdb40d4dd
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_ListByResourceGroup.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName",
+ "name": "volumeName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/volumes",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "sizeMiB": 10000,
+ "provisioningState": "Succeeded",
+ "serialNumber": "XXXX-XXXX-XXXX-XXXX",
+ "attachedTo": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Active",
+ "detailedStatusMessage": "Volume is available"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_ListBySubscription.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_ListBySubscription.json
new file mode 100644
index 000000000000..0f3417f18e45
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_ListBySubscription.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName",
+ "name": "volumeName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/volumes",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "sizeMiB": 10000,
+ "provisioningState": "Succeeded",
+ "serialNumber": "XXXX-XXXX-XXXX-XXXX",
+ "attachedTo": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Active",
+ "detailedStatusMessage": "Volume is available"
+ }
+ }
+ ],
+ "nextLink": "https://fully.qualified.hyperlink"
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_Patch.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_Patch.json
new file mode 100644
index 000000000000..e5c278e14055
--- /dev/null
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/examples/Volumes_Patch.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "123e4567-e89b-12d3-a456-426655440000",
+ "resourceGroupName": "resourceGroupName",
+ "volumeName": "volumeName",
+ "volumeUpdateParameters": {
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName",
+ "name": "volumeName",
+ "systemData": {
+ "createdAt": "2021-01-22T13:27:03.008Z",
+ "createdBy": "identityA",
+ "createdByType": "Application",
+ "lastModifiedAt": "2021-01-22T13:29:03.001Z",
+ "lastModifiedBy": "identityB",
+ "lastModifiedByType": "User"
+ },
+ "type": "Microsoft.NetworkCloud/volumes",
+ "location": "location",
+ "tags": {
+ "key1": "myvalue1",
+ "key2": "myvalue2"
+ },
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
+ },
+ "properties": {
+ "sizeMiB": 10000,
+ "provisioningState": "Succeeded",
+ "serialNumber": "XXXX-XXXX-XXXX-XXXX",
+ "attachedTo": [
+ "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName"
+ ],
+ "detailedStatus": "Active",
+ "detailedStatusMessage": "Volume is available"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/networkcloud.json b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/networkcloud.json
similarity index 77%
rename from specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/networkcloud.json
rename to specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/networkcloud.json
index 4e2d2af34972..b9e10ca03942 100644
--- a/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2022-12-12-preview/networkcloud.json
+++ b/specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2023-10-01-preview/networkcloud.json
@@ -12,7 +12,7 @@
"info": {
"description": "The Network Cloud APIs provide management of the on-premises clusters and their resources, such as, racks, bare metal hosts, virtual machines, workload networks and more.",
"title": "NetworkCloud",
- "version": "2022-12-12-preview"
+ "version": "2023-10-01-preview"
},
"host": "management.azure.com",
"paths": {
@@ -23,20 +23,20 @@
"operationId": "Operations_List",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -57,10 +57,10 @@
"operationId": "BareMetalMachines_ListBySubscription",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -73,7 +73,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -94,10 +94,10 @@
"operationId": "CloudServicesNetworks_ListBySubscription",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -110,7 +110,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -131,10 +131,10 @@
"operationId": "ClusterManagers_ListBySubscription",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -147,7 +147,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -168,10 +168,10 @@
"operationId": "Clusters_ListBySubscription",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -184,7 +184,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -198,73 +198,36 @@
}
}
},
- "/subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/defaultCniNetworks": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/kubernetesClusters": {
"get": {
- "description": "Get a list of default CNI networks in the provided subscription.",
- "summary": "List default CNI networks in the subscription.",
- "operationId": "DefaultCniNetworks_ListBySubscription",
+ "description": "Get a list of Kubernetes clusters in the provided subscription.",
+ "summary": "List Kubernetes clusters in the subscription.",
+ "operationId": "KubernetesClusters_ListBySubscription",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/DefaultCniNetworkList"
+ "$ref": "#/definitions/KubernetesClusterList"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
- "List default CNI networks for subscription": {
- "$ref": "./examples/DefaultCniNetworks_ListBySubscription.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/hybridAksClusters": {
- "get": {
- "description": "Get a list of additional details related to Hybrid AKS provisioned clusters in the provided subscription.",
- "summary": "List additional details related to Hybrid AKS provisioned clusters in the subscription.",
- "operationId": "HybridAksClusters_ListBySubscription",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/HybridAksClusterList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "List Hybrid AKS provisioned clusters data for subscription": {
- "$ref": "./examples/HybridAksClusters_ListBySubscription.json"
+ "List Kubernetes clusters for subscription": {
+ "$ref": "./examples/KubernetesClusters_ListBySubscription.json"
}
},
"x-ms-pageable": {
@@ -279,10 +242,10 @@
"operationId": "L2Networks_ListBySubscription",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -295,7 +258,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -316,10 +279,10 @@
"operationId": "L3Networks_ListBySubscription",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -332,7 +295,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -353,10 +316,10 @@
"operationId": "RackSkus_ListBySubscription",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -369,7 +332,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -390,10 +353,10 @@
"operationId": "RackSkus_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/RackSkuNameParameter"
@@ -409,7 +372,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -427,10 +390,10 @@
"operationId": "Racks_ListBySubscription",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -443,7 +406,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -464,10 +427,10 @@
"operationId": "StorageAppliances_ListBySubscription",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -480,7 +443,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -501,10 +464,10 @@
"operationId": "TrunkedNetworks_ListBySubscription",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -517,7 +480,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -538,10 +501,10 @@
"operationId": "VirtualMachines_ListBySubscription",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -554,7 +517,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -575,10 +538,10 @@
"operationId": "Volumes_ListBySubscription",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -591,7 +554,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -612,13 +575,13 @@
"operationId": "BareMetalMachines_ListByResourceGroup",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
}
],
"responses": {
@@ -631,7 +594,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -652,13 +615,13 @@
"operationId": "BareMetalMachines_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/BareMetalMachineNameParameter"
@@ -674,7 +637,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -690,13 +653,13 @@
"operationId": "BareMetalMachines_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/BareMetalMachineNameParameter"
@@ -733,7 +696,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -753,22 +716,19 @@
"operationId": "BareMetalMachines_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/BareMetalMachineNameParameter"
}
],
"responses": {
- "200": {
- "description": "OK"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -784,7 +744,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -795,6 +755,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
},
@@ -804,13 +765,13 @@
"operationId": "BareMetalMachines_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/BareMetalMachineNameParameter"
@@ -837,7 +798,7 @@
"$ref": "#/definitions/BareMetalMachine"
},
"headers": {
- "Location": {
+ "Azure-AsyncOperation": {
"type": "string",
"description": "The URL to retrieve the status of the asynchronous operation."
}
@@ -846,7 +807,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -857,7 +818,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
- "final-state-via": "location"
+ "final-state-via": "azure-async-operation"
}
}
},
@@ -868,13 +829,13 @@
"operationId": "BareMetalMachines_Cordon",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/BareMetalMachineNameParameter"
@@ -898,13 +859,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -915,6 +873,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -926,13 +885,13 @@
"operationId": "BareMetalMachines_PowerOff",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/BareMetalMachineNameParameter"
@@ -956,13 +915,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -973,6 +929,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -984,13 +941,13 @@
"operationId": "BareMetalMachines_Reimage",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/BareMetalMachineNameParameter"
@@ -1006,13 +963,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1023,6 +977,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -1034,13 +989,13 @@
"operationId": "BareMetalMachines_Replace",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/BareMetalMachineNameParameter"
@@ -1064,13 +1019,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1081,6 +1033,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -1092,13 +1045,13 @@
"operationId": "BareMetalMachines_Restart",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/BareMetalMachineNameParameter"
@@ -1114,13 +1067,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1131,6 +1081,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -1142,13 +1093,13 @@
"operationId": "BareMetalMachines_RunCommand",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/BareMetalMachineNameParameter"
@@ -1173,13 +1124,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1190,6 +1138,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -1201,13 +1150,13 @@
"operationId": "BareMetalMachines_RunDataExtracts",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/BareMetalMachineNameParameter"
@@ -1232,13 +1181,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1249,6 +1195,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -1260,13 +1207,13 @@
"operationId": "BareMetalMachines_RunReadCommands",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/BareMetalMachineNameParameter"
@@ -1291,13 +1238,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1308,6 +1252,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -1319,13 +1264,13 @@
"operationId": "BareMetalMachines_Start",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/BareMetalMachineNameParameter"
@@ -1341,13 +1286,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1358,6 +1300,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -1369,13 +1312,13 @@
"operationId": "BareMetalMachines_Uncordon",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/BareMetalMachineNameParameter"
@@ -1391,13 +1334,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1408,65 +1348,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/bareMetalMachines/{bareMetalMachineName}/validateHardware": {
- "post": {
- "description": "Validate the hardware of the provided bare metal machine.",
- "summary": "Trigger hardware validation of the bare metal machine.",
- "operationId": "BareMetalMachines_ValidateHardware",
- "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/BareMetalMachineNameParameter"
- },
- {
- "description": "The request body.",
- "name": "bareMetalMachineValidateHardwareParameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/BareMetalMachineValidateHardwareParameters"
- }
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string",
- "description": "The URL to retrieve the status of the asynchronous operation."
- }
- }
- },
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Validate the bare metal machine hardware": {
- "$ref": "./examples/BareMetalMachines_ValidateHardware.json"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -1478,13 +1360,13 @@
"operationId": "CloudServicesNetworks_ListByResourceGroup",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
}
],
"responses": {
@@ -1497,7 +1379,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1518,13 +1400,13 @@
"operationId": "CloudServicesNetworks_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/CloudServicesNetworkNameParameter"
@@ -1540,7 +1422,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1556,13 +1438,13 @@
"operationId": "CloudServicesNetworks_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/CloudServicesNetworkNameParameter"
@@ -1599,7 +1481,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1619,22 +1501,19 @@
"operationId": "CloudServicesNetworks_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/CloudServicesNetworkNameParameter"
}
],
"responses": {
- "200": {
- "description": "OK"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -1650,7 +1529,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1661,6 +1540,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
},
@@ -1670,13 +1550,13 @@
"operationId": "CloudServicesNetworks_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/CloudServicesNetworkNameParameter"
@@ -1703,7 +1583,7 @@
"$ref": "#/definitions/CloudServicesNetwork"
},
"headers": {
- "Location": {
+ "Azure-AsyncOperation": {
"type": "string",
"description": "The URL to retrieve the status of the asynchronous operation."
}
@@ -1712,7 +1592,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1723,7 +1603,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
- "final-state-via": "location"
+ "final-state-via": "azure-async-operation"
}
}
},
@@ -1734,13 +1614,13 @@
"operationId": "ClusterManagers_ListByResourceGroup",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
}
],
"responses": {
@@ -1753,7 +1633,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1774,13 +1654,13 @@
"operationId": "ClusterManagers_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterManagerNameParameter"
@@ -1796,7 +1676,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1812,13 +1692,13 @@
"operationId": "ClusterManagers_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterManagerNameParameter"
@@ -1855,7 +1735,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1875,22 +1755,19 @@
"operationId": "ClusterManagers_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterManagerNameParameter"
}
],
"responses": {
- "200": {
- "description": "OK"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -1906,7 +1783,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1917,6 +1794,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
},
@@ -1926,13 +1804,13 @@
"operationId": "ClusterManagers_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterManagerNameParameter"
@@ -1956,7 +1834,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -1974,13 +1852,13 @@
"operationId": "Clusters_ListByResourceGroup",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
}
],
"responses": {
@@ -1993,7 +1871,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -2014,13 +1892,13 @@
"operationId": "Clusters_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
@@ -2036,7 +1914,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -2052,13 +1930,13 @@
"operationId": "Clusters_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
@@ -2095,7 +1973,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -2115,22 +1993,19 @@
"operationId": "Clusters_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
}
],
"responses": {
- "200": {
- "description": "OK"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -2146,7 +2021,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -2157,6 +2032,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
},
@@ -2166,13 +2042,13 @@
"operationId": "Clusters_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
@@ -2199,7 +2075,7 @@
"$ref": "#/definitions/Cluster"
},
"headers": {
- "Location": {
+ "Azure-AsyncOperation": {
"type": "string",
"description": "The URL to retrieve the status of the asynchronous operation."
}
@@ -2208,7 +2084,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -2218,28 +2094,37 @@
},
"Patch cluster location": {
"$ref": "./examples/Clusters_Patch_Location.json"
+ },
+ "Patch runtime protection configuration": {
+ "$ref": "./examples/Clusters_Patch_RuntimeProtectionConfiguration.json"
+ },
+ "Patch secret archive": {
+ "$ref": "./examples/Clusters_Patch_SecretArchive.json"
+ },
+ "Patch update strategy": {
+ "$ref": "./examples/Clusters_Patch_UpdateStrategy.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
- "final-state-via": "location"
+ "final-state-via": "azure-async-operation"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}/bareMetalMachineKeySets": {
"get": {
- "description": "Get a list of bare metal machine key sets of the cluster in the provided resource group.",
- "summary": "List bare metal machine key sets of the cluster in the resource group.",
- "operationId": "BareMetalMachineKeySets_ListByResourceGroup",
+ "description": "Get a list of bare metal machine key sets for the provided cluster.",
+ "summary": "List bare metal machine key sets of the cluster.",
+ "operationId": "BareMetalMachineKeySets_ListByCluster",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
@@ -2255,13 +2140,13 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
- "List bare metal machine key set of cluster for resource group": {
- "$ref": "./examples/BareMetalMachineKeySets_ListByResourceGroup.json"
+ "List bare metal machine key sets of the cluster": {
+ "$ref": "./examples/BareMetalMachineKeySets_ListByCluster.json"
}
},
"x-ms-pageable": {
@@ -2276,19 +2161,19 @@
"operationId": "BareMetalMachineKeySets_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
},
{
- "$ref": "#/parameters/BareMetalMachineKeySetName"
+ "$ref": "#/parameters/BareMetalMachineKeySetNameParameter"
}
],
"responses": {
@@ -2301,7 +2186,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -2317,19 +2202,19 @@
"operationId": "BareMetalMachineKeySets_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
},
{
- "$ref": "#/parameters/BareMetalMachineKeySetName"
+ "$ref": "#/parameters/BareMetalMachineKeySetNameParameter"
},
{
"description": "The request body.",
@@ -2363,7 +2248,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -2383,25 +2268,22 @@
"operationId": "BareMetalMachineKeySets_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
},
{
- "$ref": "#/parameters/BareMetalMachineKeySetName"
+ "$ref": "#/parameters/BareMetalMachineKeySetNameParameter"
}
],
"responses": {
- "200": {
- "description": "OK"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -2417,7 +2299,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -2428,6 +2310,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
},
@@ -2437,19 +2320,19 @@
"operationId": "BareMetalMachineKeySets_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
},
{
- "$ref": "#/parameters/BareMetalMachineKeySetName"
+ "$ref": "#/parameters/BareMetalMachineKeySetNameParameter"
},
{
"description": "The request body.",
@@ -2473,7 +2356,7 @@
"$ref": "#/definitions/BareMetalMachineKeySet"
},
"headers": {
- "Location": {
+ "Azure-AsyncOperation": {
"type": "string",
"description": "The URL to retrieve the status of the asynchronous operation."
}
@@ -2482,7 +2365,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -2493,24 +2376,24 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
- "final-state-via": "location"
+ "final-state-via": "azure-async-operation"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}/bmcKeySets": {
"get": {
- "description": "Get a list of baseboard management controller key sets of the cluster in the provided resource group.",
- "summary": "List baseboard management controller key sets of the cluster in the resource group.",
- "operationId": "BmcKeySets_ListByResourceGroup",
+ "description": "Get a list of baseboard management controller key sets for the provided cluster.",
+ "summary": "List baseboard management controller key sets of the cluster.",
+ "operationId": "BmcKeySets_ListByCluster",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
@@ -2526,13 +2409,13 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
- "List baseboard management controller key set of cluster for resource group": {
- "$ref": "./examples/BmcKeySets_ListByResourceGroup.json"
+ "List baseboard management controller key sets of the cluster": {
+ "$ref": "./examples/BmcKeySets_ListByCluster.json"
}
},
"x-ms-pageable": {
@@ -2547,19 +2430,19 @@
"operationId": "BmcKeySets_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
},
{
- "$ref": "#/parameters/BmcKeySetName"
+ "$ref": "#/parameters/BmcKeySetNameParameter"
}
],
"responses": {
@@ -2572,7 +2455,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -2588,19 +2471,19 @@
"operationId": "BmcKeySets_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
},
{
- "$ref": "#/parameters/BmcKeySetName"
+ "$ref": "#/parameters/BmcKeySetNameParameter"
},
{
"description": "The request body.",
@@ -2634,7 +2517,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -2654,25 +2537,22 @@
"operationId": "BmcKeySets_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
},
{
- "$ref": "#/parameters/BmcKeySetName"
+ "$ref": "#/parameters/BmcKeySetNameParameter"
}
],
"responses": {
- "200": {
- "description": "OK"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -2688,7 +2568,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -2699,6 +2579,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
},
@@ -2708,19 +2589,19 @@
"operationId": "BmcKeySets_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
},
{
- "$ref": "#/parameters/BmcKeySetName"
+ "$ref": "#/parameters/BmcKeySetNameParameter"
},
{
"description": "The request body.",
@@ -2744,7 +2625,7 @@
"$ref": "#/definitions/BmcKeySet"
},
"headers": {
- "Location": {
+ "Azure-AsyncOperation": {
"type": "string",
"description": "The URL to retrieve the status of the asynchronous operation."
}
@@ -2753,7 +2634,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -2764,24 +2645,24 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
- "final-state-via": "location"
+ "final-state-via": "azure-async-operation"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}/deploy": {
"post": {
- "description": "Deploy the cluster to the provided rack.",
- "summary": "Deploy the cluster to the rack.",
+ "description": "Deploy the cluster using the rack configuration provided during creation.",
+ "summary": "Deploy the cluster.",
"operationId": "Clusters_Deploy",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
@@ -2805,13 +2686,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -2825,24 +2703,25 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}/metricsConfigurations": {
"get": {
- "description": "Get a list of metrics configurations of the clusters in the provided resource group.",
- "summary": "List metrics configurations of the cluster in the resource group.",
- "operationId": "MetricsConfigurations_ListByResourceGroup",
+ "description": "Get a list of metrics configurations for the provided cluster.",
+ "summary": "List metrics configurations of the cluster.",
+ "operationId": "MetricsConfigurations_ListByCluster",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
@@ -2858,13 +2737,13 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
- "List metrics configurations of cluster for resource group": {
- "$ref": "./examples/ClusterMetricsConfigurations_ListByResourceGroup.json"
+ "List metrics configurations of the cluster": {
+ "$ref": "./examples/ClusterMetricsConfigurations_ListByCluster.json"
}
},
"x-ms-pageable": {
@@ -2879,13 +2758,13 @@
"operationId": "MetricsConfigurations_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
@@ -2904,7 +2783,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -2915,18 +2794,18 @@
}
},
"put": {
- "description": "Update the metrics configuration of the provided cluster.",
- "summary": "Update the metrics configuration of the cluster.",
+ "description": "Create new or update the existing metrics configuration of the provided cluster.",
+ "summary": "Create or update metrics configuration of the cluster.",
"operationId": "MetricsConfigurations_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
@@ -2966,13 +2845,13 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
- "Update metrics configuration of cluster": {
- "$ref": "./examples/ClusterMetricsConfigurations_Update.json"
+ "Create or update metrics configuration of cluster": {
+ "$ref": "./examples/ClusterMetricsConfigurations_Create.json"
}
},
"x-ms-long-running-operation": true,
@@ -2986,13 +2865,13 @@
"operationId": "MetricsConfigurations_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
@@ -3002,9 +2881,6 @@
}
],
"responses": {
- "200": {
- "description": "OK"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -3020,7 +2896,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -3031,6 +2907,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
},
@@ -3040,13 +2917,13 @@
"operationId": "MetricsConfigurations_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
@@ -3076,7 +2953,7 @@
"$ref": "#/definitions/ClusterMetricsConfiguration"
},
"headers": {
- "Location": {
+ "Azure-AsyncOperation": {
"type": "string",
"description": "The URL to retrieve the status of the asynchronous operation."
}
@@ -3085,7 +2962,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -3096,6 +2973,62 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}/scanRuntime": {
+ "post": {
+ "description": "Triggers the execution of a runtime protection scan to detect and remediate detected issues, in accordance with the cluster configuration.",
+ "summary": "Execute a runtime protection scan on the cluster.",
+ "operationId": "Clusters_ScanRuntime",
+ "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"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "description": "The request body.",
+ "name": "ClusterScanRuntimeParameters",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/ClusterScanRuntimeParameters"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "type": "string",
+ "description": "The URL to retrieve the status of the asynchronous operation."
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Execute a runtime protection scan on the cluster": {
+ "$ref": "./examples/Clusters_ScanRuntime.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -3107,13 +3040,13 @@
"operationId": "Clusters_UpdateVersion",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ClusterNameParameter"
@@ -3138,13 +3071,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -3155,43 +3085,44 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/defaultCniNetworks": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters": {
"get": {
- "description": "Get a list of default CNI networks in the provided resource group.",
- "summary": "List default CNI networks in the resource group.",
- "operationId": "DefaultCniNetworks_ListByResourceGroup",
+ "description": "Get a list of Kubernetes clusters in the provided resource group.",
+ "summary": "List Kubernetes clusters in the resource group.",
+ "operationId": "KubernetesClusters_ListByResourceGroup",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/DefaultCniNetworkList"
+ "$ref": "#/definitions/KubernetesClusterList"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
- "List default CNI networks for resource group": {
- "$ref": "./examples/DefaultCniNetworks_ListByResourceGroup.json"
+ "List Kubernetes clusters for resource group": {
+ "$ref": "./examples/KubernetesClusters_ListByResourceGroup.json"
}
},
"x-ms-pageable": {
@@ -3199,69 +3130,69 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/defaultCniNetworks/{defaultCniNetworkName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters/{kubernetesClusterName}": {
"get": {
- "description": "Get properties of the provided default CNI network.",
- "summary": "Retrieve the default CNI network.",
- "operationId": "DefaultCniNetworks_Get",
+ "description": "Get properties of the provided the Kubernetes cluster.",
+ "summary": "Retrieve the Kubernetes cluster.",
+ "operationId": "KubernetesClusters_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/DefaultCniNetworkNameParameter"
+ "$ref": "#/parameters/KubernetesClusterNameParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/DefaultCniNetwork"
+ "$ref": "#/definitions/KubernetesCluster"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
- "Get default CNI network": {
- "$ref": "./examples/DefaultCniNetworks_Get.json"
+ "Get Kubernetes cluster": {
+ "$ref": "./examples/KubernetesClusters_Get.json"
}
}
},
"put": {
- "description": "Create a new default CNI network or update the properties of the existing default CNI network.",
- "summary": "Create or update the default CNI network.",
- "operationId": "DefaultCniNetworks_CreateOrUpdate",
+ "description": "Create a new Kubernetes cluster or update the properties of the existing one.",
+ "summary": "Create or update the Kubernetes cluster.",
+ "operationId": "KubernetesClusters_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/DefaultCniNetworkNameParameter"
+ "$ref": "#/parameters/KubernetesClusterNameParameter"
},
{
"description": "The request body.",
- "name": "defaultCniNetworkParameters",
+ "name": "kubernetesClusterParameters",
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/DefaultCniNetwork"
+ "$ref": "#/definitions/KubernetesCluster"
}
}
],
@@ -3269,13 +3200,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/DefaultCniNetwork"
+ "$ref": "#/definitions/KubernetesCluster"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/DefaultCniNetwork"
+ "$ref": "#/definitions/KubernetesCluster"
},
"headers": {
"Azure-AsyncOperation": {
@@ -3287,13 +3218,13 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
- "Create or update default CNI network": {
- "$ref": "./examples/DefaultCniNetworks_Create.json"
+ "Create or update Kubernetes cluster": {
+ "$ref": "./examples/KubernetesClusters_Create.json"
}
},
"x-ms-long-running-operation": true,
@@ -3302,27 +3233,24 @@
}
},
"delete": {
- "description": "Delete the provided default CNI network.",
- "summary": "Delete the default CNI network.",
- "operationId": "DefaultCniNetworks_Delete",
+ "description": "Delete the provided Kubernetes cluster.",
+ "summary": "Delete the Kubernetes cluster.",
+ "operationId": "KubernetesClusters_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/DefaultCniNetworkNameParameter"
+ "$ref": "#/parameters/KubernetesClusterNameParameter"
}
],
"responses": {
- "200": {
- "description": "OK"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -3338,43 +3266,44 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
- "Delete default CNI network": {
- "$ref": "./examples/DefaultCniNetworks_Delete.json"
+ "Delete Kubernetes cluster": {
+ "$ref": "./examples/KubernetesClusters_Delete.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
},
"patch": {
- "description": "Update tags associated with the provided default CNI network.",
- "summary": "Patch the default CNI network.",
- "operationId": "DefaultCniNetworks_Update",
+ "description": "Patch the properties of the provided Kubernetes cluster, or update the tags associated with the Kubernetes cluster. Properties and tag updates can be done independently.",
+ "summary": "Patch the Kubernetes cluster.",
+ "operationId": "KubernetesClusters_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/DefaultCniNetworkNameParameter"
+ "$ref": "#/parameters/KubernetesClusterNameParameter"
},
{
"description": "The request body.",
- "name": "defaultCniNetworkUpdateParameters",
+ "name": "kubernetesClusterUpdateParameters",
"in": "body",
"schema": {
- "$ref": "#/definitions/DefaultCniNetworkPatchParameters"
+ "$ref": "#/definitions/KubernetesClusterPatchParameters"
}
}
],
@@ -3382,56 +3311,75 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/DefaultCniNetwork"
+ "$ref": "#/definitions/KubernetesCluster"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/KubernetesCluster"
+ },
+ "headers": {
+ "Azure-AsyncOperation": {
+ "type": "string",
+ "description": "The URL to retrieve the status of the asynchronous operation."
+ }
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
- "Patch default CNI network": {
- "$ref": "./examples/DefaultCniNetworks_Patch.json"
+ "Patch Kubernetes cluster": {
+ "$ref": "./examples/KubernetesClusters_Patch.json"
}
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/hybridAksClusters": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters/{kubernetesClusterName}/agentPools": {
"get": {
- "description": "Get a list of additional details for Hybrid AKS provisioned clusters in the provided resource group.",
- "summary": "List additional details related to Hybrid AKS provisioned clusters in the resource group.",
- "operationId": "HybridAksClusters_ListByResourceGroup",
+ "description": "Get a list of agent pools for the provided Kubernetes cluster.",
+ "summary": "List agent pools of the Kubernetes cluster.",
+ "operationId": "AgentPools_ListByKubernetesCluster",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$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/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "#/parameters/KubernetesClusterNameParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/HybridAksClusterList"
+ "$ref": "#/definitions/AgentPoolList"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
- "List Hybrid AKS provisioned clusters data for resource group": {
- "$ref": "./examples/HybridAksClusters_ListByResourceGroup.json"
+ "List agent pools of the Kubernetes cluster": {
+ "$ref": "./examples/AgentPools_ListByKubernetesCluster.json"
}
},
"x-ms-pageable": {
@@ -3439,69 +3387,75 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/hybridAksClusters/{hybridAksClusterName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters/{kubernetesClusterName}/agentPools/{agentPoolName}": {
"get": {
- "description": "Get the additional details related to the provided Hybrid AKS provisioned cluster.",
- "summary": "Retrieve the additional details related to the Hybrid AKS provisioned cluster.",
- "operationId": "HybridAksClusters_Get",
+ "description": "Get properties of the provided Kubernetes cluster agent pool.",
+ "summary": "Retrieve the Kubernetes cluster agent pool.",
+ "operationId": "AgentPools_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$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/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "#/parameters/KubernetesClusterNameParameter"
},
{
- "$ref": "#/parameters/HybridAksClusterNameParameter"
+ "$ref": "#/parameters/AgentPoolNameParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/HybridAksCluster"
+ "$ref": "#/definitions/AgentPool"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
- "Get Hybrid AKS provisioned cluster data": {
- "$ref": "./examples/HybridAksClusters_Get.json"
+ "Get Kubernetes cluster agent pool": {
+ "$ref": "./examples/AgentPools_Get.json"
}
}
},
"put": {
- "description": "Create new additional details related to the Hybrid AKS provisioned cluster or update the existing one.\nAll customer initiated requests will be rejected as the life cycle of this resource is managed by the system.",
- "summary": "Create or update the additional details related to the Hybrid AKS provisioned cluster.",
- "operationId": "HybridAksClusters_CreateOrUpdate",
+ "description": "Create a new Kubernetes cluster agent pool or update the properties of the existing one.",
+ "summary": "Create or update the Kubernetes cluster agent pool.",
+ "operationId": "AgentPools_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$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/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "#/parameters/KubernetesClusterNameParameter"
},
{
- "$ref": "#/parameters/HybridAksClusterNameParameter"
+ "$ref": "#/parameters/AgentPoolNameParameter"
},
{
"description": "The request body.",
- "name": "hybridAksClusterParameters",
+ "name": "agentPoolParameters",
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/HybridAksCluster"
+ "$ref": "#/definitions/AgentPool"
}
}
],
@@ -3509,13 +3463,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/HybridAksCluster"
+ "$ref": "#/definitions/AgentPool"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/HybridAksCluster"
+ "$ref": "#/definitions/AgentPool"
},
"headers": {
"Azure-AsyncOperation": {
@@ -3527,13 +3481,13 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
- "Create or update Hybrid AKS provisioned cluster data": {
- "$ref": "./examples/HybridAksClusters_Create.json"
+ "Create or update Kubernetes cluster agent pool": {
+ "$ref": "./examples/AgentPools_Create.json"
}
},
"x-ms-long-running-operation": true,
@@ -3542,27 +3496,27 @@
}
},
"delete": {
- "description": "Delete the additional details related to the provided Hybrid AKS provisioned cluster.\nAll customer initiated requests will be rejected as the life cycle of this resource is managed by the system.",
- "summary": "Delete the additional details related to the Hybrid AKS provisioned cluster.",
- "operationId": "HybridAksClusters_Delete",
+ "description": "Delete the provided Kubernetes cluster agent pool.",
+ "summary": "Delete the Kubernetes cluster agent pool.",
+ "operationId": "AgentPools_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$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/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "#/parameters/KubernetesClusterNameParameter"
},
{
- "$ref": "#/parameters/HybridAksClusterNameParameter"
+ "$ref": "#/parameters/AgentPoolNameParameter"
}
],
"responses": {
- "200": {
- "description": "OK"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -3578,43 +3532,47 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
- "Delete Hybrid AKS provisioned cluster data": {
- "$ref": "./examples/HybridAksClusters_Delete.json"
+ "Delete Kubernetes cluster agent pool": {
+ "$ref": "./examples/AgentPools_Delete.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
},
"patch": {
- "description": "Update tags associated with the additional details related to the Hybrid AKS provisioned cluster.",
- "summary": "Patch the additional details related to the Hybrid AKS provisioned cluster.",
- "operationId": "HybridAksClusters_Update",
+ "description": "Patch the properties of the provided Kubernetes cluster agent pool, or update the tags associated with the Kubernetes cluster agent pool. Properties and tag updates can be done independently.",
+ "summary": "Patch the Kubernetes cluster agent pool.",
+ "operationId": "AgentPools_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$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/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "#/parameters/KubernetesClusterNameParameter"
},
{
- "$ref": "#/parameters/HybridAksClusterNameParameter"
+ "$ref": "#/parameters/AgentPoolNameParameter"
},
{
"description": "The request body.",
- "name": "hybridAksClusterUpdateParameters",
+ "name": "agentPoolUpdateParameters",
"in": "body",
"schema": {
- "$ref": "#/definitions/HybridAksClusterPatchParameters"
+ "$ref": "#/definitions/AgentPoolPatchParameters"
}
}
],
@@ -3622,48 +3580,64 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/HybridAksCluster"
+ "$ref": "#/definitions/AgentPool"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/AgentPool"
+ },
+ "headers": {
+ "Azure-AsyncOperation": {
+ "type": "string",
+ "description": "The URL to retrieve the status of the asynchronous operation."
+ }
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
- "Patch Hybrid AKS provisioned cluster data": {
- "$ref": "./examples/HybridAksClusters_Patch.json"
+ "Patch Kubernetes cluster agent pool": {
+ "$ref": "./examples/AgentPools_Patch.json"
}
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/hybridAksClusters/{hybridAksClusterName}/restartNode": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/kubernetesClusters/{kubernetesClusterName}/restartNode": {
"post": {
- "description": "Restart a targeted node of a Hybrid AKS cluster.",
+ "description": "Restart a targeted node of a Kubernetes cluster.",
"summary": "Restart a targeted node.",
- "operationId": "HybridAksClusters_RestartNode",
+ "operationId": "KubernetesClusters_RestartNode",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/HybridAksClusterNameParameter"
+ "$ref": "#/parameters/KubernetesClusterNameParameter"
},
{
"description": "The request body.",
- "name": "hybridAksClusterRestartNodeParameters",
+ "name": "kubernetesClusterRestartNodeParameters",
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/HybridAksClusterRestartNodeParameters"
+ "$ref": "#/definitions/KubernetesClusterRestartNodeParameters"
}
}
],
@@ -3677,23 +3651,21 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
- "Restart a Hybrid AKS cluster node": {
- "$ref": "./examples/HybridAksClusters_RestartNode.json"
+ "Restart a Kubernetes cluster node": {
+ "$ref": "./examples/KubernetesClusters_RestartNode.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -3705,13 +3677,13 @@
"operationId": "L2Networks_ListByResourceGroup",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
}
],
"responses": {
@@ -3724,7 +3696,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -3745,13 +3717,13 @@
"operationId": "L2Networks_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/L2NetworkNameParameter"
@@ -3767,7 +3739,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -3783,13 +3755,13 @@
"operationId": "L2Networks_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/L2NetworkNameParameter"
@@ -3826,7 +3798,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -3846,22 +3818,19 @@
"operationId": "L2Networks_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/L2NetworkNameParameter"
}
],
"responses": {
- "200": {
- "description": "OK"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -3877,7 +3846,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -3888,6 +3857,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
},
@@ -3897,13 +3867,13 @@
"operationId": "L2Networks_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/L2NetworkNameParameter"
@@ -3927,7 +3897,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -3945,13 +3915,13 @@
"operationId": "L3Networks_ListByResourceGroup",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
}
],
"responses": {
@@ -3964,7 +3934,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -3985,13 +3955,13 @@
"operationId": "L3Networks_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/L3NetworkNameParameter"
@@ -4007,7 +3977,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -4023,13 +3993,13 @@
"operationId": "L3Networks_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/L3NetworkNameParameter"
@@ -4066,7 +4036,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -4086,22 +4056,19 @@
"operationId": "L3Networks_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/L3NetworkNameParameter"
}
],
"responses": {
- "200": {
- "description": "OK"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -4117,7 +4084,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -4128,6 +4095,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
},
@@ -4137,13 +4105,13 @@
"operationId": "L3Networks_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/L3NetworkNameParameter"
@@ -4167,7 +4135,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -4185,13 +4153,13 @@
"operationId": "Racks_ListByResourceGroup",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
}
],
"responses": {
@@ -4204,7 +4172,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -4225,13 +4193,13 @@
"operationId": "Racks_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/RackNameParameter"
@@ -4247,7 +4215,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -4263,13 +4231,13 @@
"operationId": "Racks_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/RackNameParameter"
@@ -4306,7 +4274,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -4326,22 +4294,19 @@
"operationId": "Racks_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/RackNameParameter"
}
],
"responses": {
- "200": {
- "description": "OK"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -4357,7 +4322,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -4368,6 +4333,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
},
@@ -4377,13 +4343,13 @@
"operationId": "Racks_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/RackNameParameter"
@@ -4410,7 +4376,7 @@
"$ref": "#/definitions/Rack"
},
"headers": {
- "Location": {
+ "Azure-AsyncOperation": {
"type": "string",
"description": "The URL to retrieve the status of the asynchronous operation."
}
@@ -4419,7 +4385,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -4430,7 +4396,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
- "final-state-via": "location"
+ "final-state-via": "azure-async-operation"
}
}
},
@@ -4441,13 +4407,13 @@
"operationId": "StorageAppliances_ListByResourceGroup",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
}
],
"responses": {
@@ -4460,7 +4426,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -4481,13 +4447,13 @@
"operationId": "StorageAppliances_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/StorageApplianceNameParameter"
@@ -4503,7 +4469,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -4519,13 +4485,13 @@
"operationId": "StorageAppliances_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/StorageApplianceNameParameter"
@@ -4562,7 +4528,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -4582,22 +4548,19 @@
"operationId": "StorageAppliances_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/StorageApplianceNameParameter"
}
],
"responses": {
- "200": {
- "description": "OK"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -4613,7 +4576,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -4624,22 +4587,23 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
},
"patch": {
- "description": "Patch properties of the provided bare metal machine, or update tags associated with the bare metal machine. Properties and tag updates can be done independently.",
+ "description": "Update properties of the provided storage appliance, or update tags associated with the storage appliance Properties and tag updates can be done independently.",
"summary": "Patch the storage appliance.",
"operationId": "StorageAppliances_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/StorageApplianceNameParameter"
@@ -4666,7 +4630,7 @@
"$ref": "#/definitions/StorageAppliance"
},
"headers": {
- "Location": {
+ "Azure-AsyncOperation": {
"type": "string",
"description": "The URL to retrieve the status of the asynchronous operation."
}
@@ -4675,7 +4639,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -4686,7 +4650,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
- "final-state-via": "location"
+ "final-state-via": "azure-async-operation"
}
}
},
@@ -4697,13 +4661,13 @@
"operationId": "StorageAppliances_DisableRemoteVendorManagement",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/StorageApplianceNameParameter"
@@ -4719,13 +4683,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -4736,6 +4697,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -4747,13 +4709,13 @@
"operationId": "StorageAppliances_EnableRemoteVendorManagement",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/StorageApplianceNameParameter"
@@ -4777,13 +4739,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -4794,124 +4753,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/storageAppliances/{storageApplianceName}/runReadCommands": {
- "post": {
- "description": "Run and retrieve output from read only commands on the provided storage appliance.",
- "summary": "Retrieve output from read-only commands exercised against a storage appliance.",
- "operationId": "StorageAppliances_RunReadCommands",
- "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/StorageApplianceNameParameter"
- },
- {
- "description": "The request body.",
- "name": "storageApplianceRunReadCommandsParameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/StorageApplianceRunReadCommandsParameters"
- }
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string",
- "description": "The URL to retrieve the status of the asynchronous operation."
- }
- }
- },
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Run and retrieve output from read only commands on storage appliance.": {
- "$ref": "./examples/StorageAppliances_RunReadCommands.json"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/storageAppliances/{storageApplianceName}/validateHardware": {
- "post": {
- "description": "Validate the hardware of the provided storage appliance.",
- "summary": "Trigger hardware validation of the storage appliance.",
- "operationId": "StorageAppliances_ValidateHardware",
- "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/StorageApplianceNameParameter"
- },
- {
- "description": "The request body.",
- "name": "storageApplianceValidateHardwareParameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/StorageApplianceValidateHardwareParameters"
- }
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string",
- "description": "The URL to retrieve the status of the asynchronous operation."
- }
- }
- },
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Validate the storage appliance hardware": {
- "$ref": "./examples/StorageAppliances_ValidateHardware.json"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -4923,13 +4765,13 @@
"operationId": "TrunkedNetworks_ListByResourceGroup",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
}
],
"responses": {
@@ -4942,7 +4784,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -4963,13 +4805,13 @@
"operationId": "TrunkedNetworks_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/TrunkedNetworkNameParameter"
@@ -4985,7 +4827,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -5001,13 +4843,13 @@
"operationId": "TrunkedNetworks_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/TrunkedNetworkNameParameter"
@@ -5044,7 +4886,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -5064,22 +4906,19 @@
"operationId": "TrunkedNetworks_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/TrunkedNetworkNameParameter"
}
],
"responses": {
- "200": {
- "description": "OK"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -5095,7 +4934,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -5106,6 +4945,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
},
@@ -5115,13 +4955,13 @@
"operationId": "TrunkedNetworks_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/TrunkedNetworkNameParameter"
@@ -5145,7 +4985,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -5163,13 +5003,13 @@
"operationId": "VirtualMachines_ListByResourceGroup",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
}
],
"responses": {
@@ -5182,7 +5022,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -5203,13 +5043,13 @@
"operationId": "VirtualMachines_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/VirtualMachineNameParameter"
@@ -5225,7 +5065,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -5241,13 +5081,13 @@
"operationId": "VirtualMachines_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/VirtualMachineNameParameter"
@@ -5284,7 +5124,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -5304,22 +5144,19 @@
"operationId": "VirtualMachines_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/VirtualMachineNameParameter"
}
],
"responses": {
- "200": {
- "description": "OK"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -5335,7 +5172,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -5346,6 +5183,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
},
@@ -5355,13 +5193,13 @@
"operationId": "VirtualMachines_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/VirtualMachineNameParameter"
@@ -5388,7 +5226,7 @@
"$ref": "#/definitions/VirtualMachine"
},
"headers": {
- "Location": {
+ "Azure-AsyncOperation": {
"type": "string",
"description": "The URL to retrieve the status of the asynchronous operation."
}
@@ -5397,7 +5235,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -5408,83 +5246,24 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/attachVolume": {
- "post": {
- "description": "Attach volume to the provided virtual machine.",
- "summary": "Attach volume to the virtual machine.",
- "operationId": "VirtualMachines_AttachVolume",
- "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/VirtualMachineNameParameter"
- },
- {
- "description": "The request body.",
- "name": "virtualMachineAttachVolumeParameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/VirtualMachineVolumeParameters"
- }
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string",
- "description": "The URL to retrieve the status of the asynchronous operation."
- }
- }
- },
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Attach volume to virtual machine": {
- "$ref": "./examples/VirtualMachines_AttachVolume.json"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
+ "final-state-via": "azure-async-operation"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles": {
"get": {
- "description": "Get a list of virtual machine consoles in the provided resource group.",
- "summary": "List virtual machine consoles in the resource group.",
- "operationId": "Consoles_ListByResourceGroup",
+ "description": "Get a list of consoles for the provided virtual machine.",
+ "summary": "List consoles of the virtual machine.",
+ "operationId": "Consoles_ListByVirtualMachine",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/VirtualMachineNameParameter"
@@ -5500,13 +5279,13 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
- "List virtual machine consoles for resource group": {
- "$ref": "./examples/Consoles_ListByResourceGroup.json"
+ "List consoles of the virtual machine": {
+ "$ref": "./examples/Consoles_ListByVirtualMachine.json"
}
},
"x-ms-pageable": {
@@ -5521,13 +5300,13 @@
"operationId": "Consoles_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/VirtualMachineNameParameter"
@@ -5546,7 +5325,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -5562,13 +5341,13 @@
"operationId": "Consoles_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/VirtualMachineNameParameter"
@@ -5608,7 +5387,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -5628,13 +5407,13 @@
"operationId": "Consoles_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/VirtualMachineNameParameter"
@@ -5644,9 +5423,6 @@
}
],
"responses": {
- "200": {
- "description": "OK"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -5662,7 +5438,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -5673,6 +5449,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
},
@@ -5682,13 +5459,13 @@
"operationId": "Consoles_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/VirtualMachineNameParameter"
@@ -5718,7 +5495,7 @@
"$ref": "#/definitions/Console"
},
"headers": {
- "Location": {
+ "Azure-AsyncOperation": {
"type": "string",
"description": "The URL to retrieve the status of the asynchronous operation."
}
@@ -5727,7 +5504,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -5738,66 +5515,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/detachVolume": {
- "post": {
- "description": "Detach volume from the provided virtual machine.",
- "summary": "Detach volume from the virtual machine.",
- "operationId": "VirtualMachines_DetachVolume",
- "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/VirtualMachineNameParameter"
- },
- {
- "description": "The request body.",
- "name": "virtualMachineDetachVolumeParameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/VirtualMachineVolumeParameters"
- }
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted",
- "headers": {
- "Location": {
- "type": "string",
- "description": "The URL to retrieve the status of the asynchronous operation."
- }
- }
- },
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Detach volume from virtual machine": {
- "$ref": "./examples/VirtualMachines_DetachVolume.json"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
+ "final-state-via": "azure-async-operation"
}
}
},
@@ -5808,13 +5526,13 @@
"operationId": "VirtualMachines_PowerOff",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/VirtualMachineNameParameter"
@@ -5838,13 +5556,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -5855,6 +5570,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -5866,13 +5582,13 @@
"operationId": "VirtualMachines_Reimage",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/VirtualMachineNameParameter"
@@ -5888,13 +5604,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -5905,6 +5618,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -5916,13 +5630,13 @@
"operationId": "VirtualMachines_Restart",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/VirtualMachineNameParameter"
@@ -5938,13 +5652,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -5955,6 +5666,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -5966,13 +5678,13 @@
"operationId": "VirtualMachines_Start",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/VirtualMachineNameParameter"
@@ -5988,13 +5700,10 @@
}
}
},
- "204": {
- "description": "No Content"
- },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -6005,6 +5714,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
}
@@ -6016,13 +5726,13 @@
"operationId": "Volumes_ListByResourceGroup",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
}
],
"responses": {
@@ -6035,7 +5745,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -6056,13 +5766,13 @@
"operationId": "Volumes_Get",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/VolumeNameParameter"
@@ -6078,7 +5788,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -6094,13 +5804,13 @@
"operationId": "Volumes_CreateOrUpdate",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/VolumeNameParameter"
@@ -6137,7 +5847,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -6157,22 +5867,19 @@
"operationId": "Volumes_Delete",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/VolumeNameParameter"
}
],
"responses": {
- "200": {
- "description": "OK"
- },
"202": {
"description": "Accepted",
"headers": {
@@ -6188,7 +5895,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -6199,6 +5906,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
+ "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult",
"final-state-via": "location"
}
},
@@ -6208,13 +5916,13 @@
"operationId": "Volumes_Update",
"parameters": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/VolumeNameParameter"
@@ -6238,7 +5946,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
}
}
},
@@ -6251,6 +5959,27 @@
}
},
"definitions": {
+ "AadConfiguration": {
+ "type": "object",
+ "title": "AadConfiguration represents the Azure Active Directory Integration properties.",
+ "required": [
+ "adminGroupObjectIds"
+ ],
+ "properties": {
+ "adminGroupObjectIds": {
+ "description": "The list of Azure Active Directory group object IDs that will have an administrative role on the Kubernetes cluster.",
+ "type": "array",
+ "minItems": 1,
+ "items": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ }
+ },
"AdministrativeCredentials": {
"type": "object",
"title": "AdministrativeCredentials represents the admin credentials for the device requiring password-based authentication.",
@@ -6272,27 +6001,489 @@
}
}
},
- "BareMetalMachine": {
+ "AdministratorConfiguration": {
"type": "object",
- "title": "BareMetalMachine represents the physical machine in the rack.",
- "required": [
- "extendedLocation",
- "properties"
- ],
+ "title": "AdministratorConfiguration represents the administrative credentials that will be applied to the control plane and agent pool nodes in Kubernetes clusters.",
"properties": {
- "extendedLocation": {
- "$ref": "#/definitions/ExtendedLocation",
- "description": "The extended location of the cluster associated with the resource."
+ "adminUsername": {
+ "description": "The user name for the administrator that will be applied to the operating systems that run Kubernetes nodes. If not supplied, a user name will be chosen by the service.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
},
- "properties": {
- "$ref": "#/definitions/BareMetalMachineProperties",
- "description": "The list of the resource properties.",
+ "sshPublicKeys": {
+ "description": "The SSH configuration for the operating systems that run the nodes in the Kubernetes cluster. In some cases, specification of public keys may be required to produce a working environment.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SshPublicKey"
+ }
+ }
+ }
+ },
+ "AdministratorConfigurationPatch": {
+ "type": "object",
+ "title": "AdministratorConfigurationPatch represents the patching capabilities for the administrator configuration.",
+ "properties": {
+ "sshPublicKeys": {
+ "description": "SshPublicKey represents the public key used to authenticate with a resource through SSH.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SshPublicKey"
+ },
+ "x-ms-identifiers": [
+ "keyData"
+ ]
+ }
+ }
+ },
+ "AgentOptions": {
+ "type": "object",
+ "title": "AgentOptions are configurations that will be applied to each agent in an agent pool.",
+ "required": [
+ "hugepagesCount"
+ ],
+ "properties": {
+ "hugepagesCount": {
+ "description": "The number of hugepages to allocate.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "hugepagesSize": {
+ "description": "The size of the hugepages to allocate.",
+ "type": "string",
+ "default": "2M",
+ "enum": [
+ "2M",
+ "1G"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "HugepagesSize"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ }
+ },
+ "AgentPool": {
+ "type": "object",
+ "title": "AgentPool represents the agent pool of Kubernetes cluster.",
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "extendedLocation": {
+ "$ref": "#/definitions/ExtendedLocation",
+ "description": "The extended location of the cluster associated with the resource."
+ },
+ "properties": {
+ "$ref": "#/definitions/AgentPoolProperties",
+ "description": "The list of the resource properties.",
"x-ms-client-flatten": true
}
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "x-ms-azure-resource": true
+ },
+ "AgentPoolConfiguration": {
+ "type": "object",
+ "title": "AgentPoolConfiguration specifies the configuration of a pool of nodes.",
+ "required": [
+ "count",
+ "mode",
+ "vmSkuName"
+ ],
+ "properties": {
+ "administratorConfiguration": {
+ "$ref": "#/definitions/AdministratorConfiguration",
+ "description": "The administrator credentials to be used for the nodes in this agent pool."
+ },
+ "agentOptions": {
+ "$ref": "#/definitions/AgentOptions",
+ "description": "The configurations that will be applied to each agent in this agent pool.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "attachedNetworkConfiguration": {
+ "$ref": "#/definitions/AttachedNetworkConfiguration",
+ "description": "The configuration of networks being attached to the agent pool for use by the workloads that run on this Kubernetes cluster.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "availabilityZones": {
+ "description": "The list of availability zones of the Network Cloud cluster used for the provisioning of nodes in this agent pool. If not specified, all availability zones will be used.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "count": {
+ "description": "The number of virtual machines that use this configuration.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "labels": {
+ "description": "The labels applied to the nodes in this agent pool.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/KubernetesLabel"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "mode": {
+ "description": "The selection of how this agent pool is utilized, either as a system pool or a user pool. System pools run the features and critical services for the Kubernetes Cluster, while user pools are dedicated to user workloads. Every Kubernetes cluster must contain at least one system node pool with at least one node.",
+ "type": "string",
+ "enum": [
+ "System",
+ "User",
+ "NotApplicable"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "AgentPoolMode"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "taints": {
+ "description": "The taints applied to the nodes in this agent pool.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/KubernetesLabel"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "upgradeSettings": {
+ "$ref": "#/definitions/AgentPoolUpgradeSettings",
+ "description": "The configuration of the agent pool."
+ },
+ "vmSkuName": {
+ "description": "The name of the VM SKU that determines the size of resources allocated for node VMs.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ }
+ },
+ "AgentPoolList": {
+ "type": "object",
+ "title": "AgentPoolList represents a list of Kubernetes cluster agent pools.",
+ "properties": {
+ "nextLink": {
+ "description": "The link used to get the next page of operations.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The list of agent pools.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AgentPool"
+ }
+ }
+ }
+ },
+ "AgentPoolPatchParameters": {
+ "type": "object",
+ "title": "AgentPoolPatchParameters represents the body of the request to patch the Kubernetes cluster agent pool.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/AgentPoolPatchProperties",
+ "description": "The list of the resource properties.",
+ "x-ms-client-flatten": true
+ },
+ "tags": {
+ "description": "The Azure resource tags that will replace the existing ones.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "AgentPoolPatchProperties": {
+ "type": "object",
+ "title": "AgentPoolPatchProperties represents the properties of an agent pool that can be modified.",
+ "properties": {
+ "administratorConfiguration": {
+ "$ref": "#/definitions/NodePoolAdministratorConfigurationPatch",
+ "description": "The configuration of administrator credentials for the control plane nodes."
+ },
+ "count": {
+ "description": "The number of virtual machines that use this configuration.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "upgradeSettings": {
+ "$ref": "#/definitions/AgentPoolUpgradeSettings",
+ "description": "The configuration of the agent pool."
+ }
+ }
+ },
+ "AgentPoolProperties": {
+ "type": "object",
+ "title": "AgentPoolProperties represents the properties of the Kubernetes cluster agent pool.",
+ "required": [
+ "count",
+ "mode",
+ "vmSkuName"
+ ],
+ "properties": {
+ "administratorConfiguration": {
+ "$ref": "#/definitions/AdministratorConfiguration",
+ "description": "The administrator credentials to be used for the nodes in this agent pool.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "agentOptions": {
+ "$ref": "#/definitions/AgentOptions",
+ "description": "The configurations that will be applied to each agent in this agent pool.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "attachedNetworkConfiguration": {
+ "$ref": "#/definitions/AttachedNetworkConfiguration",
+ "description": "The configuration of networks being attached to the agent pool for use by the workloads that run on this Kubernetes cluster.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "availabilityZones": {
+ "description": "The list of availability zones of the Network Cloud cluster used for the provisioning of nodes in this agent pool. If not specified, all availability zones will be used.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "count": {
+ "description": "The number of virtual machines that use this configuration.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "detailedStatus": {
+ "description": "The current status of the agent pool.",
+ "type": "string",
+ "enum": [
+ "Available",
+ "Error",
+ "Provisioning"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "AgentPoolDetailedStatus"
+ },
+ "readOnly": true
+ },
+ "detailedStatusMessage": {
+ "description": "The descriptive message about the current detailed status.",
+ "type": "string",
+ "readOnly": true
+ },
+ "kubernetesVersion": {
+ "description": "The Kubernetes version running in this agent pool.",
+ "type": "string",
+ "readOnly": true
+ },
+ "labels": {
+ "description": "The labels applied to the nodes in this agent pool.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/KubernetesLabel"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "mode": {
+ "description": "The selection of how this agent pool is utilized, either as a system pool or a user pool. System pools run the features and critical services for the Kubernetes Cluster, while user pools are dedicated to user workloads. Every Kubernetes cluster must contain at least one system node pool with at least one node.",
+ "type": "string",
+ "enum": [
+ "System",
+ "User",
+ "NotApplicable"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "AgentPoolMode"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "provisioningState": {
+ "description": "The provisioning state of the agent pool.",
+ "type": "string",
+ "enum": [
+ "Accepted",
+ "Canceled",
+ "Deleting",
+ "Failed",
+ "InProgress",
+ "Succeeded",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "AgentPoolProvisioningState"
+ },
+ "readOnly": true
+ },
+ "taints": {
+ "description": "The taints applied to the nodes in this agent pool.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/KubernetesLabel"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "upgradeSettings": {
+ "$ref": "#/definitions/AgentPoolUpgradeSettings",
+ "description": "The configuration of the agent pool."
+ },
+ "vmSkuName": {
+ "description": "The name of the VM SKU that determines the size of resources allocated for node VMs.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ }
+ },
+ "AgentPoolUpgradeSettings": {
+ "type": "object",
+ "title": "AgentPoolUpgradeSettings specifies the upgrade settings for an agent pool.",
+ "properties": {
+ "maxSurge": {
+ "description": "The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1.",
+ "type": "string",
+ "default": "1"
+ }
+ }
+ },
+ "AttachedNetworkConfiguration": {
+ "type": "object",
+ "title": "AttachedNetworkConfiguration represents the set of workload networks to attach to a resource.",
+ "properties": {
+ "l2Networks": {
+ "description": "The list of Layer 2 Networks and related configuration for attachment.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/L2NetworkAttachmentConfiguration"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "l3Networks": {
+ "description": "The list of Layer 3 Networks and related configuration for attachment.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/L3NetworkAttachmentConfiguration"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "trunkedNetworks": {
+ "description": "The list of Trunked Networks and related configuration for attachment.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TrunkedNetworkAttachmentConfiguration"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ }
+ },
+ "AvailableUpgrade": {
+ "type": "object",
+ "title": "AvailableUpgrade represents an upgrade available for a Kubernetes cluster.",
+ "properties": {
+ "availabilityLifecycle": {
+ "description": "The version lifecycle indicator.",
+ "type": "string",
+ "enum": [
+ "Preview",
+ "GenerallyAvailable"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "AvailabilityLifecycle"
+ },
+ "readOnly": true
+ },
+ "version": {
+ "description": "The version available for upgrading.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "BareMetalMachine": {
+ "type": "object",
+ "title": "BareMetalMachine represents the physical machine in the rack.",
+ "required": [
+ "extendedLocation",
+ "properties"
+ ],
+ "properties": {
+ "extendedLocation": {
+ "$ref": "#/definitions/ExtendedLocation",
+ "description": "The extended location of the cluster associated with the resource."
+ },
+ "properties": {
+ "$ref": "#/definitions/BareMetalMachineProperties",
+ "description": "The list of the resource properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
}
],
"x-ms-azure-resource": true
@@ -6410,7 +6601,7 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
}
],
"x-ms-azure-resource": true
@@ -6681,6 +6872,14 @@
"serialNumber"
],
"properties": {
+ "associatedResourceIds": {
+ "description": "The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
"bmcConnectionString": {
"description": "The connection string for the baseboard management controller including IP address and protocol.",
"type": "string"
@@ -6702,6 +6901,7 @@
"clusterId": {
"description": "The resource ID of the cluster this bare metal machine is associated with.",
"type": "string",
+ "format": "arm-id",
"readOnly": true
},
"cordonStatus": {
@@ -6750,7 +6950,7 @@
"readOnly": true
},
"hybridAksClustersAssociatedIds": {
- "description": "The list of the resource IDs for the HybridAksClusters that have nodes hosted on this bare metal machine.",
+ "description": "Field Deprecated. These fields will be empty/omitted. The list of the resource IDs for the HybridAksClusters that have nodes hosted on this bare metal machine.",
"type": "array",
"items": {
"type": "string"
@@ -6777,6 +6977,14 @@
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,62}[a-zA-Z0-9])$"
},
+ "machineRoles": {
+ "description": "The list of roles that are assigned to the cluster node running on this machine.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
"machineSkuId": {
"description": "The unique internal identifier of the bare metal machine SKU.",
"type": "string"
@@ -6827,7 +7035,15 @@
},
"rackId": {
"description": "The resource ID of the rack where this bare metal machine resides.",
- "type": "string"
+ "type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.NetworkCloud/racks"
+ }
+ ]
+ }
},
"rackSlot": {
"description": "The rack slot in which this bare metal machine is located, ordered from the bottom up i.e. the lowest slot is 1.",
@@ -6849,6 +7065,11 @@
},
"readOnly": true
},
+ "runtimeProtectionStatus": {
+ "$ref": "#/definitions/RuntimeProtectionStatus",
+ "description": "The runtime protection status of the bare metal machine.",
+ "readOnly": true
+ },
"serialNumber": {
"description": "The serial number of the bare metal machine.",
"type": "string",
@@ -6861,7 +7082,7 @@
"readOnly": true
},
"virtualMachinesAssociatedIds": {
- "description": "The list of the resource IDs for the VirtualMachines that are hosted on this bare metal machine.",
+ "description": "Field Deprecated. These fields will be empty/omitted. The list of the resource IDs for the VirtualMachines that are hosted on this bare metal machine.",
"type": "array",
"items": {
"type": "string"
@@ -6981,58 +7202,117 @@
}
}
},
- "BareMetalMachineValidateHardwareParameters": {
+ "BgpAdvertisement": {
"type": "object",
- "title": "BareMetalMachineValidateHardwareParameters represents the body of the request to validate the physical hardware of a bare metal machine.",
+ "title": "BgpAdvertisement represents the association of IP address pools to the communities and peers.",
"required": [
- "validationCategory"
+ "ipAddressPools"
],
"properties": {
- "validationCategory": {
- "description": "The category of hardware validation to perform.",
+ "advertiseToFabric": {
+ "description": "The indicator of if this advertisement is also made to the network fabric associated with the Network Cloud Cluster. This field is ignored if fabricPeeringEnabled is set to False.",
"type": "string",
+ "default": "True",
"enum": [
- "BasicValidation"
+ "True",
+ "False"
],
"x-ms-enum": {
"modelAsString": true,
- "name": "BareMetalMachineHardwareValidationCategory"
- }
+ "name": "AdvertiseToFabric"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "communities": {
+ "description": "The names of the BGP communities to be associated with the announcement, utilizing a BGP community string in 1234:1234 format.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "ipAddressPools": {
+ "description": "The names of the IP address pools associated with this announcement.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "peers": {
+ "description": "The names of the BGP peers to limit this advertisement to. If no values are specified, all BGP peers will receive this advertisement.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
}
}
},
- "BgpPeer": {
+ "BgpServiceLoadBalancerConfiguration": {
"type": "object",
- "title": "BgpPeer represents the IP address and ASN(Autonomous System Number) to peer with Hybrid AKS cluster.",
- "required": [
- "peerIp",
- "asNumber"
- ],
+ "title": "BgpServiceLoadBalancerConfiguration represents the configuration of a BGP service load balancer.",
"properties": {
- "asNumber": {
- "description": "The ASN (Autonomous System Number) of the BGP peer.",
- "type": "integer",
- "format": "int64",
- "maximum": 4294967295,
- "minimum": 0,
+ "bgpAdvertisements": {
+ "description": "The association of IP address pools to the communities and peers, allowing for announcement of IPs.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BgpAdvertisement"
+ },
+ "x-ms-identifiers": [],
"x-ms-mutability": [
"read",
"create"
]
},
- "password": {
- "description": "The password for this peering neighbor. It defaults to no password if not specified.",
- "type": "string",
- "maxLength": 80,
- "pattern": "^[a-zA-Z0-9]{0,80}$",
+ "bgpPeers": {
+ "description": "The list of additional BgpPeer entities that the Kubernetes cluster will peer with. All peering must be explicitly defined.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceLoadBalancerBgpPeer"
+ },
+ "x-ms-identifiers": [],
"x-ms-mutability": [
+ "read",
"create"
- ],
- "x-ms-secret": true
+ ]
},
- "peerIp": {
- "description": "The IPv4 or IPv6 address to peer with the associated CNI Network. The IP version type will drive a peering with the same version type from the Default CNI Network. For example, IPv4 to IPv4 or IPv6 to IPv6.",
+ "fabricPeeringEnabled": {
+ "description": "The indicator to specify if the load balancer peers with the network fabric.",
"type": "string",
+ "default": "True",
+ "enum": [
+ "True",
+ "False"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "FabricPeeringEnabled"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "ipAddressPools": {
+ "description": "The list of pools of IP addresses that can be allocated to Load Balancer services.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IpAddressPool"
+ },
+ "x-ms-identifiers": [],
"x-ms-mutability": [
"read",
"create"
@@ -7060,7 +7340,7 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
}
],
"x-ms-azure-resource": true
@@ -7245,7 +7525,7 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
}
],
"x-ms-azure-resource": true
@@ -7324,9 +7604,18 @@
},
"x-ms-identifiers": []
},
+ "associatedResourceIds": {
+ "description": "The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
"clusterId": {
"description": "The resource ID of the Network Cloud cluster this cloud services network is associated with.",
"type": "string",
+ "format": "arm-id",
"readOnly": true
},
"detailedStatus": {
@@ -7371,7 +7660,7 @@
"readOnly": true
},
"hybridAksClustersAssociatedIds": {
- "description": "The list of Hybrid AKS cluster resource IDs that are associated with this cloud services network.",
+ "description": "Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource IDs that are associated with this cloud services network.",
"type": "array",
"items": {
"type": "string"
@@ -7400,7 +7689,7 @@
"readOnly": true
},
"virtualMachinesAssociatedIds": {
- "description": "The list of virtual machine resource IDs, excluding any Hybrid AKS virtual machines, that are currently using this cloud services network.",
+ "description": "Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource IDs, excluding any Hybrid AKS virtual machines, that are currently using this cloud services network.",
"type": "array",
"items": {
"type": "string"
@@ -7429,7 +7718,7 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
}
],
"x-ms-azure-resource": true
@@ -7593,7 +7882,7 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
}
],
"x-ms-azure-resource": true
@@ -7638,6 +7927,14 @@
"analyticsWorkspaceId": {
"description": "The resource ID of the Log Analytics workspace that is used for the logs collection.",
"type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.OperationalInsights/workspaces"
+ }
+ ]
+ },
"x-ms-mutability": [
"read",
"create"
@@ -7691,6 +7988,7 @@
"fabricControllerId": {
"description": "The resource ID of the fabric controller that has one to one mapping with the cluster manager.",
"type": "string",
+ "format": "arm-id",
"x-ms-mutability": [
"read",
"create"
@@ -7752,7 +8050,7 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
}
],
"x-ms-azure-resource": true
@@ -7925,6 +8223,18 @@
"x-ms-identifiers": [
"networkRackId"
]
+ },
+ "runtimeProtectionConfiguration": {
+ "$ref": "#/definitions/RuntimeProtectionConfiguration",
+ "description": "The settings for cluster runtime protection."
+ },
+ "secretArchive": {
+ "$ref": "#/definitions/ClusterSecretArchive",
+ "description": "The configuration for use of a key vault to store secrets for later retrieval by the operator."
+ },
+ "updateStrategy": {
+ "$ref": "#/definitions/ClusterUpdateStrategy",
+ "description": "The strategy for updating the cluster."
}
}
},
@@ -7934,7 +8244,6 @@
"required": [
"networkFabricId",
"clusterType",
- "analyticsWorkspaceId",
"clusterVersion",
"aggregatorOrSingleRackDefinition"
],
@@ -7945,11 +8254,7 @@
},
"analyticsWorkspaceId": {
"description": "The resource ID of the Log Analytics Workspace that will be used for storing relevant logs.",
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ]
+ "type": "string"
},
"availableUpgradeVersions": {
"description": "The list of cluster runtime version upgrades available for this cluster.",
@@ -7972,6 +8277,7 @@
"type": "string",
"enum": [
"Connected",
+ "Disconnected",
"Timeout",
"Undefined"
],
@@ -8007,6 +8313,14 @@
"clusterManagerId": {
"description": "The resource ID of the cluster manager that manages this cluster. This is set by the Cluster Manager when the cluster is created.",
"type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.NetworkCloud/clusterManagers"
+ }
+ ]
+ },
"readOnly": true
},
"clusterServicePrincipal": {
@@ -8077,7 +8391,7 @@
},
"hybridAksExtendedLocation": {
"$ref": "#/definitions/ExtendedLocation",
- "description": "The extended location (custom location) that represents the Hybrid AKS control plane location. This extended location is used when creating provisioned clusters (Hybrid AKS clusters).",
+ "description": "Field Deprecated. This field will not be populated in an upcoming version. The extended location (custom location) that represents the Hybrid AKS control plane location. This extended location is used when creating provisioned clusters (Hybrid AKS clusters).",
"readOnly": true
},
"managedResourceGroupConfiguration": {
@@ -8093,6 +8407,7 @@
"networkFabricId": {
"description": "The resource ID of the Network Fabric associated with the cluster.",
"type": "string",
+ "format": "arm-id",
"x-ms-mutability": [
"read",
"create"
@@ -8115,11 +8430,23 @@
},
"readOnly": true
},
+ "runtimeProtectionConfiguration": {
+ "$ref": "#/definitions/RuntimeProtectionConfiguration",
+ "description": "The settings for cluster runtime protection."
+ },
+ "secretArchive": {
+ "$ref": "#/definitions/ClusterSecretArchive",
+ "description": "The configuration for use of a key vault to store secrets for later retrieval by the operator."
+ },
"supportExpiryDate": {
"description": "The support end date of the runtime version of the cluster.",
"type": "string",
"readOnly": true
},
+ "updateStrategy": {
+ "$ref": "#/definitions/ClusterUpdateStrategy",
+ "description": "The strategy for updating the cluster."
+ },
"workloadResourceIds": {
"description": "The list of workload resource IDs that are hosted within this cluster.",
"type": "array",
@@ -8130,109 +8457,123 @@
}
}
},
- "ClusterUpdateVersionParameters": {
+ "ClusterScanRuntimeParameters": {
+ "type": "object",
+ "title": "ClusterScanRuntimeParameters defines the parameters for the cluster scan runtime operation.",
+ "properties": {
+ "scanActivity": {
+ "description": "The choice of if the scan operation should run the scan.",
+ "type": "string",
+ "default": "Scan",
+ "enum": [
+ "Scan",
+ "Skip"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "ClusterScanRuntimeParametersScanActivity"
+ }
+ }
+ }
+ },
+ "ClusterSecretArchive": {
"type": "object",
- "title": "ClusterUpdateVersionParameters represents the body of the request to update cluster version.",
+ "title": "ClusterSecretArchive configures the key vault to archive the secrets of the cluster for later retrieval.",
"required": [
- "targetClusterVersion"
+ "keyVaultId"
],
"properties": {
- "targetClusterVersion": {
- "description": "The version to be applied to the cluster during update.",
- "type": "string"
+ "keyVaultId": {
+ "description": "The resource ID of the key vault to archive the secrets of the cluster.",
+ "type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.KeyVault/vaults"
+ }
+ ]
+ }
+ },
+ "useKeyVault": {
+ "description": "The indicator if the specified key vault should be used to archive the secrets of the cluster.",
+ "type": "string",
+ "default": "False",
+ "enum": [
+ "True",
+ "False"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "ClusterSecretArchiveEnabled"
+ }
}
}
},
- "CniBgpConfiguration": {
+ "ClusterUpdateStrategy": {
"type": "object",
- "title": "CniBgpConfiguration represents the Calico BGP configuration.",
+ "title": "ClusterUpdateStrategy represents the strategy for updating the cluster.",
+ "required": [
+ "strategyType",
+ "thresholdType",
+ "thresholdValue"
+ ],
"properties": {
- "bgpPeers": {
- "description": "The list of BgpPeer entities that the Hybrid AKS cluster will peer with in addition to peering that occurs automatically with the switch fabric.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/BgpPeer"
- },
- "x-ms-identifiers": [
- "peerIp"
- ],
- "x-ms-mutability": [
- "read",
- "create"
- ]
+ "maxUnavailable": {
+ "description": "The maximum number of worker nodes that can be offline within the increment of update, e.g., rack-by-rack.\nLimited by the maximum number of machines in the increment. Defaults to the whole increment size.",
+ "type": "integer",
+ "format": "int64",
+ "minimum": 1
},
- "communityAdvertisements": {
- "description": "The list of prefix community advertisement properties. Each prefix community specifies a prefix, and the\ncommunities that should be associated with that prefix when it is announced.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/CommunityAdvertisement"
- },
- "x-ms-identifiers": [],
- "x-ms-mutability": [
- "read",
- "create"
- ]
+ "strategyType": {
+ "description": "The mode of operation for runtime protection.",
+ "type": "string",
+ "enum": [
+ "Rack"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "ClusterUpdateStrategyType"
+ }
},
- "nodeMeshPassword": {
- "description": "The password of the Calico node mesh. It defaults to a randomly-generated string when not provided.",
+ "thresholdType": {
+ "description": "Selection of how the threshold should be evaluated.",
"type": "string",
- "maxLength": 80,
- "pattern": "^[a-zA-Z0-9]{0,80}$",
- "x-ms-mutability": [
- "create"
+ "enum": [
+ "CountSuccess",
+ "PercentSuccess"
],
- "x-ms-secret": true
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "ValidationThresholdType"
+ }
},
- "serviceExternalPrefixes": {
- "description": "The subnet blocks in CIDR format for Kubernetes service external IPs to be advertised over BGP.",
- "type": "array",
- "items": {
- "type": "string"
- },
- "x-ms-mutability": [
- "read",
- "create"
- ]
+ "thresholdValue": {
+ "description": "The numeric threshold value.",
+ "type": "integer",
+ "format": "int64",
+ "minimum": 0
},
- "serviceLoadBalancerPrefixes": {
- "description": "The subnet blocks in CIDR format for Kubernetes load balancers. Load balancer IPs will only be advertised if they\nare within one of these blocks.",
- "type": "array",
- "items": {
- "type": "string"
- },
- "x-ms-mutability": [
- "read",
- "create"
- ]
+ "waitTimeMinutes": {
+ "description": "The time to wait between the increments of update defined by the strategy.",
+ "type": "integer",
+ "format": "int64",
+ "default": 15,
+ "maximum": 60,
+ "minimum": 0
}
}
},
- "CommunityAdvertisement": {
+ "ClusterUpdateVersionParameters": {
"type": "object",
- "title": "CommunityAdvertisement represents the prefix and the communities that should be associated with that prefix.",
+ "title": "ClusterUpdateVersionParameters represents the body of the request to update cluster version.",
"required": [
- "subnetPrefix",
- "communities"
+ "targetClusterVersion"
],
"properties": {
- "communities": {
- "description": "The list of community strings to announce with this prefix.",
- "type": "array",
- "items": {
- "type": "string"
- },
- "x-ms-mutability": [
- "read",
- "create"
- ]
- },
- "subnetPrefix": {
- "description": "The subnet in CIDR format for which properties should be advertised.",
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ]
+ "targetClusterVersion": {
+ "description": "The version to be applied to the cluster during update.",
+ "type": "string"
}
}
},
@@ -8256,7 +8597,7 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
}
],
"x-ms-azure-resource": true
@@ -8301,7 +8642,7 @@
"title": "ConsolePatchProperties represents the properties of the virtual machine console that can be patched.",
"properties": {
"enabled": {
- "description": "The credentials used to login to the image repository that has access to the specified image.",
+ "description": "The indicator of whether the console access is enabled.",
"type": "string",
"enum": [
"True",
@@ -8369,6 +8710,14 @@
"privateLinkServiceId": {
"description": "The resource ID of the private link service that is used to provide virtual machine console access.",
"type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.Network/privateLinkServices"
+ }
+ ]
+ },
"readOnly": true
},
"provisioningState": {
@@ -8398,195 +8747,42 @@
}
}
},
- "DefaultCniNetwork": {
- "type": "object",
- "title": "DefaultCniNetwork represents the user-managed portions of the default CNI (pod) network that is created in support of a Hybrid AKS Cluster.",
- "required": [
- "extendedLocation",
- "properties"
- ],
- "properties": {
- "extendedLocation": {
- "$ref": "#/definitions/ExtendedLocation",
- "description": "The extended location of the cluster associated with the resource."
- },
- "properties": {
- "$ref": "#/definitions/DefaultCniNetworkProperties",
- "description": "The list of the resource properties.",
- "x-ms-client-flatten": true
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
- }
- ],
- "x-ms-azure-resource": true
- },
- "DefaultCniNetworkList": {
- "type": "object",
- "title": "DefaultCniNetworkList represents a list of default CNI networks.",
- "properties": {
- "nextLink": {
- "description": "The link used to get the next page of operations.",
- "type": "string"
- },
- "value": {
- "description": "The list of default CNI networks.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/DefaultCniNetwork"
- }
- }
- }
- },
- "DefaultCniNetworkPatchParameters": {
- "type": "object",
- "title": "DefaultCniNetworkPatchParameters represents the body of the request to patch the Default CNI network.",
- "properties": {
- "tags": {
- "description": "The Azure resource tags that will replace the existing ones.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- }
- }
- },
- "DefaultCniNetworkProperties": {
+ "ControlPlaneNodeConfiguration": {
"type": "object",
- "title": "DefaultCniNetworkProperties represents properties of the default CNI network.",
+ "title": "ControlPlaneNodeConfiguration represents the selection of virtual machines and size of the control plane for a Kubernetes cluster.",
"required": [
- "l3IsolationDomainId",
- "vlan"
+ "count",
+ "vmSkuName"
],
"properties": {
- "clusterId": {
- "description": "The resource ID of the Network Cloud cluster this default CNI network is associated with.",
- "type": "string",
- "readOnly": true
- },
- "cniAsNumber": {
- "description": "The autonomous system number that the fabric expects to peer with, derived from the associated L3 isolation domain.",
- "type": "integer",
- "format": "int64",
- "readOnly": true
- },
- "cniBgpConfiguration": {
- "$ref": "#/definitions/CniBgpConfiguration",
- "description": "The Calico BGP configuration.",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- },
- "detailedStatus": {
- "description": "The more detailed status of the default CNI network.",
- "type": "string",
- "enum": [
- "Error",
- "Available",
- "Provisioning"
- ],
- "x-ms-enum": {
- "modelAsString": true,
- "name": "DefaultCniNetworkDetailedStatus"
- },
- "readOnly": true
- },
- "detailedStatusMessage": {
- "description": "The descriptive message about the current detailed status.",
- "type": "string",
- "readOnly": true
- },
- "fabricBgpPeers": {
- "description": "The L3 isolation fabric BGP peering connectivity information necessary for BGP peering the Hybrid AKS Cluster with the switch fabric.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/BgpPeer"
- },
- "x-ms-identifiers": [
- "peerIp"
- ],
- "readOnly": true
- },
- "hybridAksClustersAssociatedIds": {
- "description": "The list of Hybrid AKS cluster resource ID(s) that are associated with this default CNI network.",
- "type": "array",
- "items": {
- "type": "string"
- },
- "readOnly": true
- },
- "interfaceName": {
- "description": "The name of the interface that will be present in the virtual machine to represent this network.",
- "type": "string",
- "readOnly": true
- },
- "ipAllocationType": {
- "description": "The type of the IP address allocation.",
- "type": "string",
- "default": "DualStack",
- "enum": [
- "IPV4",
- "IPV6",
- "DualStack"
- ],
- "x-ms-enum": {
- "modelAsString": true,
- "name": "IpAllocationType"
- },
- "x-ms-mutability": [
- "read",
- "create"
- ]
- },
- "ipv4ConnectedPrefix": {
- "description": "The IPV4 prefix (CIDR) assigned to this default CNI network. It is required when the IP allocation type\nis IPV4 or DualStack.",
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- },
- "ipv6ConnectedPrefix": {
- "description": "The IPV6 prefix (CIDR) assigned to this default CNI network. It is required when the IP allocation type\nis IPV6 or DualStack.",
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- },
- "l3IsolationDomainId": {
- "description": "The resource ID of the Network Fabric l3IsolationDomain.",
- "type": "string",
+ "administratorConfiguration": {
+ "$ref": "#/definitions/AdministratorConfiguration",
+ "description": "The administrator credentials to be used for the nodes in the control plane.",
"x-ms-mutability": [
"read",
"create"
]
},
- "provisioningState": {
- "description": "The provisioning state of the default CNI network.",
- "type": "string",
- "enum": [
- "Succeeded",
- "Failed",
- "Canceled",
- "Provisioning",
- "Accepted"
- ],
- "x-ms-enum": {
- "modelAsString": true,
- "name": "DefaultCniNetworkProvisioningState"
+ "availabilityZones": {
+ "description": "The list of availability zones of the Network Cloud cluster to be used for the provisioning of nodes in the control plane. If not specified, all availability zones will be used.",
+ "type": "array",
+ "items": {
+ "type": "string"
},
- "readOnly": true
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
},
- "vlan": {
- "description": "The VLAN from the l3IsolationDomain that is used for this network.",
+ "count": {
+ "description": "The number of virtual machines that use this configuration.",
"type": "integer",
"format": "int64",
- "maximum": 4094,
- "minimum": 1,
+ "minimum": 1
+ },
+ "vmSkuName": {
+ "description": "The name of the VM SKU supplied during creation.",
+ "type": "string",
"x-ms-mutability": [
"read",
"create"
@@ -8594,6 +8790,22 @@
}
}
},
+ "ControlPlaneNodePatchConfiguration": {
+ "type": "object",
+ "title": "ControlPlaneNodePatchConfiguration represents the properties of the control plane that can be patched for this Kubernetes cluster.",
+ "properties": {
+ "administratorConfiguration": {
+ "$ref": "#/definitions/AdministratorConfigurationPatch",
+ "description": "The configuration of administrator credentials for the control plane nodes."
+ },
+ "count": {
+ "description": "The number of virtual machines that use this configuration.",
+ "type": "integer",
+ "format": "int64",
+ "minimum": 1
+ }
+ }
+ },
"EgressEndpoint": {
"type": "object",
"title": "EgressEndpoint represents the connection from a cloud services network to the specified endpoint for a common purpose.",
@@ -8663,6 +8875,41 @@
}
}
},
+ "FeatureStatus": {
+ "type": "object",
+ "title": "FeatureStatus contains information regarding a Kubernetes cluster feature.",
+ "properties": {
+ "detailedStatus": {
+ "description": "The status representing the state of this feature.",
+ "type": "string",
+ "enum": [
+ "Running",
+ "Failed",
+ "Unknown"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "FeatureDetailedStatus"
+ },
+ "readOnly": true
+ },
+ "detailedStatusMessage": {
+ "description": "The descriptive message about the current detailed status.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "The name of the feature.",
+ "type": "string",
+ "readOnly": true
+ },
+ "version": {
+ "description": "The version of the feature.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
"HardwareInventory": {
"type": "object",
"title": "HardwareInventory represents the hardware configuration of this machine as exposed to the customer, including information acquired from the model/sku information and from the ironic inspector.",
@@ -8736,21 +8983,283 @@
"description": "The outcome of the hardware validation.",
"type": "string",
"enum": [
- "Pass",
- "Fail"
+ "Pass",
+ "Fail"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "BareMetalMachineHardwareValidationResult"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "ImageRepositoryCredentials": {
+ "type": "object",
+ "title": "ImageRepositoryCredentials represents the credentials used to login to the image repository.",
+ "required": [
+ "username",
+ "password",
+ "registryUrl"
+ ],
+ "properties": {
+ "password": {
+ "description": "The password or token used to access an image in the target repository.",
+ "type": "string",
+ "minLength": 1,
+ "x-ms-secret": true
+ },
+ "registryUrl": {
+ "description": "The URL of the authentication server used to validate the repository credentials.",
+ "type": "string"
+ },
+ "username": {
+ "description": "The username used to access an image in the target repository.",
+ "type": "string",
+ "minLength": 1
+ }
+ }
+ },
+ "InitialAgentPoolConfiguration": {
+ "type": "object",
+ "title": "InitialAgentPoolConfiguration specifies the configuration of a pool of virtual machines that are initially defined with a Kubernetes cluster.",
+ "required": [
+ "count",
+ "mode",
+ "vmSkuName",
+ "name"
+ ],
+ "properties": {
+ "administratorConfiguration": {
+ "$ref": "#/definitions/AdministratorConfiguration",
+ "description": "The administrator credentials to be used for the nodes in this agent pool.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "agentOptions": {
+ "$ref": "#/definitions/AgentOptions",
+ "description": "The configurations that will be applied to each agent in this agent pool.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "attachedNetworkConfiguration": {
+ "$ref": "#/definitions/AttachedNetworkConfiguration",
+ "description": "The configuration of networks being attached to the agent pool for use by the workloads that run on this Kubernetes cluster.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "availabilityZones": {
+ "description": "The list of availability zones of the Network Cloud cluster used for the provisioning of nodes in this agent pool. If not specified, all availability zones will be used.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "count": {
+ "description": "The number of virtual machines that use this configuration.",
+ "type": "integer",
+ "format": "int64",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "labels": {
+ "description": "The labels applied to the nodes in this agent pool.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/KubernetesLabel"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "mode": {
+ "description": "The selection of how this agent pool is utilized, either as a system pool or a user pool. System pools run the features and critical services for the Kubernetes Cluster, while user pools are dedicated to user workloads. Every Kubernetes cluster must contain at least one system node pool with at least one node.",
+ "type": "string",
+ "enum": [
+ "System",
+ "User",
+ "NotApplicable"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "AgentPoolMode"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "name": {
+ "description": "The name that will be used for the agent pool resource representing this agent pool.",
+ "type": "string",
+ "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-_]{0,28}[a-zA-Z0-9])$",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "taints": {
+ "description": "The taints applied to the nodes in this agent pool.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/KubernetesLabel"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "upgradeSettings": {
+ "$ref": "#/definitions/AgentPoolUpgradeSettings",
+ "description": "The configuration of the agent pool."
+ },
+ "vmSkuName": {
+ "description": "The name of the VM SKU that determines the size of resources allocated for node VMs.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ }
+ },
+ "IpAddressPool": {
+ "type": "object",
+ "title": "IpAddressPool represents a pool of IP addresses that can be allocated to a service.",
+ "required": [
+ "addresses",
+ "name"
+ ],
+ "properties": {
+ "addresses": {
+ "description": "The list of IP address ranges. Each range can be a either a subnet in CIDR format or an explicit start-end range of IP addresses.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "autoAssign": {
+ "description": "The indicator to determine if automatic allocation from the pool should occur.",
+ "type": "string",
+ "default": "True",
+ "enum": [
+ "True",
+ "False"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "BfdEnabled"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "name": {
+ "description": "The name used to identify this IP address pool for association with a BGP advertisement.",
+ "type": "string",
+ "pattern": "^[a-z0-9]([a-z0-9.-]{0,61}[a-z0-9]){0,1}$",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "onlyUseHostIps": {
+ "description": "The indicator to prevent the use of IP addresses ending with .0 and .255 for this pool. Enabling this option will only use IP addresses between .1 and .254 inclusive.",
+ "type": "string",
+ "default": "True",
+ "enum": [
+ "True",
+ "False"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "BfdEnabled"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ }
+ },
+ "KeySetUser": {
+ "type": "object",
+ "title": "KeySetUser represents the properties of the user in the key set.",
+ "required": [
+ "azureUserName",
+ "sshPublicKey"
+ ],
+ "properties": {
+ "azureUserName": {
+ "description": "The user name that will be used for access.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The free-form description for this user.",
+ "type": "string",
+ "maxLength": 256
+ },
+ "sshPublicKey": {
+ "$ref": "#/definitions/SshPublicKey",
+ "description": "The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in."
+ },
+ "userPrincipalName": {
+ "description": "The user principal name (email format) used to validate this user's group membership.",
+ "type": "string"
+ }
+ }
+ },
+ "KeySetUserStatus": {
+ "type": "object",
+ "title": "KeySetUserStatus represents the status of the key set user.",
+ "properties": {
+ "azureUserName": {
+ "description": "The user name that will be used for access.",
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The indicator of whether the user is currently deployed for access.",
+ "type": "string",
+ "enum": [
+ "Active",
+ "Invalid"
],
"x-ms-enum": {
"modelAsString": true,
- "name": "BareMetalMachineHardwareValidationResult"
+ "name": "BareMetalMachineKeySetUserSetupStatus"
},
"readOnly": true
+ },
+ "statusMessage": {
+ "description": "The additional information describing the current status of this user, if any available.",
+ "type": "string",
+ "maxLength": 256,
+ "readOnly": true
}
}
},
- "HybridAksCluster": {
- "description": "The details are specific to the Network Cloud use of the Hybrid AKS cluster.",
+ "KubernetesCluster": {
"type": "object",
- "title": "HybridAksCluster represents the additional details regarding the Hybrid AKS cluster.",
+ "title": "KubernetesCluster represents the Kubernetes cluster hosted on Network Cloud.",
"required": [
"extendedLocation",
"properties"
@@ -8761,249 +9270,433 @@
"description": "The extended location of the cluster associated with the resource."
},
"properties": {
- "$ref": "#/definitions/HybridAksClusterProperties",
+ "$ref": "#/definitions/KubernetesClusterProperties",
"description": "The list of the resource properties.",
"x-ms-client-flatten": true
}
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
}
],
"x-ms-azure-resource": true
},
- "HybridAksClusterList": {
+ "KubernetesClusterList": {
"type": "object",
- "title": "HybridAksClusterList represents a list of Hybrid AKS clusters.",
+ "title": "KubernetesClusterList represents a list of Kubernetes clusters.",
"properties": {
"nextLink": {
"description": "The link used to get the next page of operations.",
"type": "string"
},
"value": {
- "description": "The list of additional details related to Hybrid AKS clusters.",
+ "description": "The list of additional details related to Kubernetes clusters.",
"type": "array",
"items": {
- "$ref": "#/definitions/HybridAksCluster"
- }
- }
- }
- },
- "HybridAksClusterPatchParameters": {
- "type": "object",
- "title": "HybridAksClusterPatchParameters represents the body of the request to patch the Hybrid AKS cluster.",
- "properties": {
- "tags": {
- "description": "The Azure resource tags that will replace the existing ones.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
+ "$ref": "#/definitions/KubernetesCluster"
}
}
}
},
- "HybridAksClusterProperties": {
+ "KubernetesClusterNode": {
"type": "object",
- "title": "HybridAksClusterProperties represents the properties of Hybrid AKS cluster resource.",
- "required": [
- "hybridAksProvisionedClusterId",
- "associatedNetworkIds",
- "controlPlaneCount",
- "workerCount"
- ],
+ "title": "KubernetesClusterNode represents the details of a node in a Kubernetes cluster.",
"properties": {
- "associatedNetworkIds": {
- "description": "The list of resource IDs for the workload networks associated with the Hybrid AKS cluster. It can be any of l2Networks, l3Networks, or trunkedNetworks resources. This field will also contain one cloudServicesNetwork and one defaultCniNetwork.",
- "type": "array",
- "items": {
- "type": "string"
- }
+ "agentPoolId": {
+ "description": "The resource ID of the agent pool that this node belongs to. This value is not represented on control plane nodes.",
+ "type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.NetworkCloud/kubernetesClusters/agentPools"
+ }
+ ]
+ },
+ "readOnly": true
},
- "cloudServicesNetworkId": {
- "description": "The resource ID of the associated cloud services network.",
+ "availabilityZone": {
+ "description": "The availability zone this node is running within.",
"type": "string",
"readOnly": true
},
- "clusterId": {
- "description": "The resource ID of the Network Cloud cluster hosting the Hybrid AKS cluster.",
+ "bareMetalMachineId": {
+ "description": "The resource ID of the bare metal machine that hosts this node.",
"type": "string",
+ "format": "arm-id",
"readOnly": true
},
- "controlPlaneCount": {
- "description": "The number of control plane node VMs.",
+ "cpuCores": {
+ "description": "The number of CPU cores configured for this node, derived from the VM SKU specified.",
"type": "integer",
"format": "int64",
- "minimum": 1
+ "readOnly": true
+ },
+ "detailedStatus": {
+ "description": "The detailed state of this node.",
+ "type": "string",
+ "enum": [
+ "Available",
+ "Error",
+ "Provisioning",
+ "Running",
+ "Scheduling",
+ "Stopped",
+ "Terminating",
+ "Unknown"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "KubernetesClusterNodeDetailedStatus"
+ },
+ "readOnly": true
+ },
+ "detailedStatusMessage": {
+ "description": "The descriptive message about the current detailed status.",
+ "type": "string",
+ "readOnly": true
+ },
+ "diskSizeGB": {
+ "description": "The size of the disk configured for this node.",
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true
+ },
+ "image": {
+ "description": "The machine image used to deploy this node.",
+ "type": "string",
+ "readOnly": true
+ },
+ "kubernetesVersion": {
+ "description": "The currently running version of Kubernetes and bundled features running on this node.",
+ "type": "string",
+ "readOnly": true
},
- "controlPlaneNodes": {
- "description": "The list of node configurations detailing associated VMs that are part of the control plane nodes of this Hybrid AKS cluster.",
+ "labels": {
+ "description": "The list of labels on this node that have been assigned to the agent pool containing this node.",
"type": "array",
"items": {
- "$ref": "#/definitions/NodeConfiguration"
+ "$ref": "#/definitions/KubernetesLabel"
},
"x-ms-identifiers": [
- "nodePoolName"
+ "key"
],
"readOnly": true
},
- "defaultCniNetworkId": {
- "description": "The resource ID of the associated default CNI network.",
- "type": "string",
+ "memorySizeGB": {
+ "description": "The amount of memory configured for this node, derived from the vm SKU specified.",
+ "type": "integer",
+ "format": "int64",
"readOnly": true
},
- "detailedStatus": {
- "description": "The more detailed status of this Hybrid AKS cluster.",
+ "mode": {
+ "description": "The mode of the agent pool containing this node. Not applicable for control plane nodes.",
"type": "string",
"enum": [
- "Error",
- "Available",
- "Provisioning"
+ "System",
+ "User",
+ "NotApplicable"
],
"x-ms-enum": {
"modelAsString": true,
- "name": "HybridAksClusterDetailedStatus"
+ "name": "AgentPoolMode"
},
"readOnly": true
},
- "detailedStatusMessage": {
- "description": "The descriptive message about the current detailed status.",
+ "name": {
+ "description": "The name of this node, as realized in the Kubernetes cluster.",
"type": "string",
"readOnly": true
},
- "hybridAksProvisionedClusterId": {
- "description": "The resource ID of the Hybrid AKS cluster that this additional information is for.",
- "type": "string"
+ "networkAttachments": {
+ "description": "The NetworkAttachments made to this node.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkAttachment"
+ },
+ "x-ms-identifiers": [
+ "networkAttachmentName"
+ ],
+ "readOnly": true
},
- "provisioningState": {
- "description": "The provisioning state of the Hybrid AKS cluster resource.",
+ "powerState": {
+ "description": "The power state of this node.",
"type": "string",
"enum": [
- "Succeeded",
- "Failed",
- "Canceled"
+ "On",
+ "Off",
+ "Unknown"
],
"x-ms-enum": {
"modelAsString": true,
- "name": "HybridAksClusterProvisioningState"
+ "name": "KubernetesNodePowerState"
},
"readOnly": true
},
- "volumes": {
- "description": "The resource IDs of volumes that are attached to the Hybrid AKS cluster.",
- "type": "array",
- "items": {
- "type": "string"
+ "role": {
+ "description": "The role of this node in the cluster.",
+ "type": "string",
+ "enum": [
+ "ControlPlane",
+ "Worker"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "KubernetesNodeRole"
},
"readOnly": true
},
- "workerCount": {
- "description": "The number of worker node VMs.",
- "type": "integer",
- "format": "int64"
- },
- "workerNodes": {
- "description": "The list of node configurations detailing associated VMs that are part of the worker nodes of this Hybrid AKS cluster.",
+ "taints": {
+ "description": "The list of taints that have been assigned to the agent pool containing this node.",
"type": "array",
"items": {
- "$ref": "#/definitions/NodeConfiguration"
+ "$ref": "#/definitions/KubernetesLabel"
},
"x-ms-identifiers": [
- "nodePoolName"
+ "key"
],
"readOnly": true
+ },
+ "vmSkuName": {
+ "description": "The VM SKU name that was used to create this cluster node.",
+ "type": "string",
+ "readOnly": true
}
}
},
- "HybridAksClusterRestartNodeParameters": {
+ "KubernetesClusterPatchParameters": {
"type": "object",
- "title": "HybridAksClusterRestartNodeParameters represents the body of the request to restart the node of a Hybrid AKS cluster.",
- "required": [
- "nodeName"
- ],
+ "title": "KubernetesClusterPatchParameters represents the body of the request to patch the Hybrid AKS cluster.",
"properties": {
- "nodeName": {
- "description": "The name of the node to restart.",
- "type": "string"
+ "properties": {
+ "$ref": "#/definitions/KubernetesClusterPatchProperties",
+ "description": "The list of the resource properties.",
+ "x-ms-client-flatten": true
+ },
+ "tags": {
+ "description": "The Azure resource tags that will replace the existing ones.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
}
}
},
- "ImageRepositoryCredentials": {
+ "KubernetesClusterPatchProperties": {
"type": "object",
- "title": "ImageRepositoryCredentials represents the credentials used to login to the image repository.",
- "required": [
- "username",
- "password",
- "registryUrl"
- ],
+ "title": "KubernetesClusterPatchProperties represents the properties of the Kubernetes cluster that can be patched.",
"properties": {
- "password": {
- "description": "The password or token used to access an image in the target repository.",
- "type": "string",
- "minLength": 1,
- "x-ms-secret": true
+ "administratorConfiguration": {
+ "$ref": "#/definitions/AdministratorConfigurationPatch",
+ "description": "The configuration of the default administrator credentials."
},
- "registryUrl": {
- "description": "The URL of the authentication server used to validate the repository credentials.",
- "type": "string"
+ "controlPlaneNodeConfiguration": {
+ "$ref": "#/definitions/ControlPlaneNodePatchConfiguration",
+ "description": "The defining characteristics of the control plane that can be patched for this Kubernetes cluster."
},
- "username": {
- "description": "The username used to access an image in the target repository.",
- "type": "string",
- "minLength": 1
+ "kubernetesVersion": {
+ "description": "The Kubernetes version for this cluster. Accepts n.n, n.n.n, and n.n.n-n format. The interpreted version used will be resolved into this field after creation or update.",
+ "type": "string"
}
}
},
- "KeySetUser": {
+ "KubernetesClusterProperties": {
"type": "object",
- "title": "KeySetUser represents the properties of the user in the key set.",
+ "title": "KubernetesClusterProperties represents the properties of Kubernetes cluster resource.",
"required": [
- "azureUserName",
- "sshPublicKey"
+ "initialAgentPoolConfigurations",
+ "controlPlaneNodeConfiguration",
+ "kubernetesVersion",
+ "networkConfiguration"
],
"properties": {
- "azureUserName": {
- "description": "The Azure Active Directory user name (email name).",
- "type": "string"
+ "aadConfiguration": {
+ "$ref": "#/definitions/AadConfiguration",
+ "description": "The Azure Active Directory Integration properties.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
},
- "description": {
- "description": "The free-form description for this user.",
+ "administratorConfiguration": {
+ "$ref": "#/definitions/AdministratorConfiguration",
+ "description": "The administrative credentials that will be applied to the control plane and agent pool nodes that do not specify their own values."
+ },
+ "attachedNetworkIds": {
+ "description": "The full list of network resource IDs that are attached to this cluster, including those attached only to specific agent pools.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "availableUpgrades": {
+ "description": "The list of versions that this Kubernetes cluster can be upgraded to.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AvailableUpgrade"
+ },
+ "x-ms-identifiers": [],
+ "readOnly": true
+ },
+ "clusterId": {
+ "description": "The resource ID of the Network Cloud cluster.",
"type": "string",
- "maxLength": 256
+ "format": "arm-id",
+ "readOnly": true
},
- "sshPublicKey": {
- "$ref": "#/definitions/SshPublicKey",
- "description": "The SSH public key for this user."
- }
- }
- },
- "KeySetUserStatus": {
- "type": "object",
- "title": "KeySetUserStatus represents the status of the key set user.",
- "properties": {
- "azureUserName": {
- "description": "The Azure Active Directory user name (email name).",
+ "connectedClusterId": {
+ "description": "The resource ID of the connected cluster set up when this Kubernetes cluster is created.",
"type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.Kubernetes/connectedClusters"
+ }
+ ]
+ },
"readOnly": true
},
- "status": {
- "description": "The indicator of whether the user is currently deployed for access.",
+ "controlPlaneKubernetesVersion": {
+ "description": "The current running version of Kubernetes on the control plane.",
+ "type": "string",
+ "readOnly": true
+ },
+ "controlPlaneNodeConfiguration": {
+ "$ref": "#/definitions/ControlPlaneNodeConfiguration",
+ "description": "The defining characteristics of the control plane for this Kubernetes Cluster."
+ },
+ "detailedStatus": {
+ "description": "The current status of the Kubernetes cluster.",
+ "type": "string",
+ "enum": [
+ "Available",
+ "Error",
+ "Provisioning"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "KubernetesClusterDetailedStatus"
+ },
+ "readOnly": true
+ },
+ "detailedStatusMessage": {
+ "description": "The descriptive message about the current detailed status.",
+ "type": "string",
+ "readOnly": true
+ },
+ "featureStatuses": {
+ "description": "The current feature settings.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FeatureStatus"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "readOnly": true
+ },
+ "initialAgentPoolConfigurations": {
+ "description": "The agent pools that are created with this Kubernetes cluster for running critical system services and workloads. This data in this field is only used during creation, and the field will be empty following the creation of the Kubernetes Cluster. After creation, the management of agent pools is done using the agentPools sub-resource.",
+ "type": "array",
+ "minItems": 1,
+ "items": {
+ "$ref": "#/definitions/InitialAgentPoolConfiguration"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "kubernetesVersion": {
+ "description": "The Kubernetes version for this cluster. Accepts n.n, n.n.n, and n.n.n-n format. The interpreted version used will be resolved into this field after creation or update.",
+ "type": "string"
+ },
+ "managedResourceGroupConfiguration": {
+ "$ref": "#/definitions/ManagedResourceGroupConfiguration",
+ "description": "The configuration of the managed resource group associated with the resource."
+ },
+ "networkConfiguration": {
+ "$ref": "#/definitions/NetworkConfiguration",
+ "description": "The configuration of the Kubernetes cluster networking, including the attachment of networks that span the cluster.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "nodes": {
+ "description": "The details of the nodes in this cluster.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/KubernetesClusterNode"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "The provisioning state of the Kubernetes cluster resource.",
"type": "string",
"enum": [
- "Active",
- "Invalid"
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Accepted",
+ "InProgress",
+ "Created",
+ "Updating",
+ "Deleting"
],
"x-ms-enum": {
"modelAsString": true,
- "name": "BareMetalMachineKeySetUserSetupStatus"
+ "name": "KubernetesClusterProvisioningState"
},
"readOnly": true
+ }
+ }
+ },
+ "KubernetesClusterRestartNodeParameters": {
+ "type": "object",
+ "title": "KubernetesClusterRestartNodeParameters represents the body of the request to restart the node of a Kubernetes cluster.",
+ "required": [
+ "nodeName"
+ ],
+ "properties": {
+ "nodeName": {
+ "description": "The name of the node to restart.",
+ "type": "string"
+ }
+ }
+ },
+ "KubernetesLabel": {
+ "type": "object",
+ "title": "KubernetesLabel represents a single entry for a Kubernetes label or taint such as those used on a node or pod.",
+ "required": [
+ "key",
+ "value"
+ ],
+ "properties": {
+ "key": {
+ "description": "The name of the label or taint.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
},
- "statusMessage": {
- "description": "The additional information describing the current status of this user, if any available.",
+ "value": {
+ "description": "The value of the label or taint.",
"type": "string",
- "maxLength": 256,
- "readOnly": true
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
}
}
},
@@ -9027,11 +9720,56 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
}
],
"x-ms-azure-resource": true
},
+ "L2NetworkAttachmentConfiguration": {
+ "type": "object",
+ "title": "L2NetworkAttachmentConfiguration represents the configuration of the attachment of a Layer 2 network.",
+ "required": [
+ "networkId"
+ ],
+ "properties": {
+ "networkId": {
+ "description": "The resource ID of the network that is being configured for attachment.",
+ "type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.NetworkCloud/l2Networks"
+ }
+ ]
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "pluginType": {
+ "description": "The indicator of how this network will be utilized by the Kubernetes cluster.",
+ "type": "string",
+ "default": "SRIOV",
+ "enum": [
+ "DPDK",
+ "SRIOV",
+ "OSDevice",
+ "MACVLAN",
+ "IPVLAN"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "KubernetesPluginType"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ }
+ },
"L2NetworkList": {
"type": "object",
"title": "L2NetworkList represents a list of L2 networks.",
@@ -9069,9 +9807,18 @@
"l2IsolationDomainId"
],
"properties": {
+ "associatedResourceIds": {
+ "description": "The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
"clusterId": {
"description": "The resource ID of the Network Cloud cluster this L2 network is associated with.",
"type": "string",
+ "format": "arm-id",
"readOnly": true
},
"detailedStatus": {
@@ -9094,7 +9841,7 @@
"readOnly": true
},
"hybridAksClustersAssociatedIds": {
- "description": "The list of Hybrid AKS cluster resource ID(s) that are associated with this L2 network.",
+ "description": "Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource ID(s) that are associated with this L2 network.",
"type": "array",
"items": {
"type": "string"
@@ -9102,7 +9849,7 @@
"readOnly": true
},
"hybridAksPluginType": {
- "description": "The network plugin type for Hybrid AKS.",
+ "description": "Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The network plugin type for Hybrid AKS.",
"type": "string",
"default": "SRIOV",
"enum": [
@@ -9132,6 +9879,7 @@
"l2IsolationDomainId": {
"description": "The resource ID of the Network Fabric l2IsolationDomain.",
"type": "string",
+ "format": "arm-id",
"x-ms-mutability": [
"read",
"create"
@@ -9154,7 +9902,7 @@
"readOnly": true
},
"virtualMachinesAssociatedIds": {
- "description": "The list of virtual machine resource ID(s), excluding any Hybrid AKS virtual machines, that are currently using this L2 network.",
+ "description": "Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource ID(s), excluding any Hybrid AKS virtual machines, that are currently using this L2 network.",
"type": "array",
"items": {
"type": "string"
@@ -9183,11 +9931,73 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
}
],
"x-ms-azure-resource": true
},
+ "L3NetworkAttachmentConfiguration": {
+ "type": "object",
+ "title": "L3NetworkAttachmentConfiguration represents the configuration of the attachment of a Layer 3 network.",
+ "required": [
+ "networkId"
+ ],
+ "properties": {
+ "ipamEnabled": {
+ "description": "The indication of whether this network will or will not perform IP address management and allocate IP addresses when attached.",
+ "type": "string",
+ "default": "False",
+ "enum": [
+ "True",
+ "False"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "L3NetworkConfigurationIpamEnabled"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "networkId": {
+ "description": "The resource ID of the network that is being configured for attachment.",
+ "type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.NetworkCloud/l3Networks"
+ }
+ ]
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "pluginType": {
+ "description": "The indicator of how this network will be utilized by the Kubernetes cluster.",
+ "type": "string",
+ "default": "SRIOV",
+ "enum": [
+ "DPDK",
+ "SRIOV",
+ "OSDevice",
+ "MACVLAN",
+ "IPVLAN"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "KubernetesPluginType"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ }
+ },
"L3NetworkList": {
"type": "object",
"title": "L3NetworkList represents a list of L3 networks.",
@@ -9226,9 +10036,18 @@
"vlan"
],
"properties": {
+ "associatedResourceIds": {
+ "description": "The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
"clusterId": {
"description": "The resource ID of the Network Cloud cluster this L3 network is associated with.",
"type": "string",
+ "format": "arm-id",
"readOnly": true
},
"detailedStatus": {
@@ -9251,7 +10070,7 @@
"readOnly": true
},
"hybridAksClustersAssociatedIds": {
- "description": "The list of Hybrid AKS cluster resource IDs that are associated with this L3 network.",
+ "description": "Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource IDs that are associated with this L3 network.",
"type": "array",
"items": {
"type": "string"
@@ -9259,7 +10078,7 @@
"readOnly": true
},
"hybridAksIpamEnabled": {
- "description": "The indicator of whether or not to disable IPAM allocation on the network attachment definition injected into the Hybrid AKS Cluster.",
+ "description": "Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The indicator of whether or not to disable IPAM allocation on the network attachment definition injected into the Hybrid AKS Cluster.",
"type": "string",
"default": "True",
"enum": [
@@ -9276,7 +10095,7 @@
]
},
"hybridAksPluginType": {
- "description": "The network plugin type for Hybrid AKS.",
+ "description": "Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The network plugin type for Hybrid AKS.",
"type": "string",
"default": "SRIOV",
"enum": [
@@ -9336,6 +10155,7 @@
"l3IsolationDomainId": {
"description": "The resource ID of the Network Fabric l3IsolationDomain.",
"type": "string",
+ "format": "arm-id",
"x-ms-mutability": [
"read",
"create"
@@ -9358,7 +10178,7 @@
"readOnly": true
},
"virtualMachinesAssociatedIds": {
- "description": "The list of virtual machine resource IDs, excluding any Hybrid AKS virtual machines, that are currently using this L3 network.",
+ "description": "Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource IDs, excluding any Hybrid AKS virtual machines, that are currently using this L3 network.",
"type": "array",
"items": {
"type": "string"
@@ -9573,6 +10393,7 @@
"attachedNetworkId": {
"description": "The resource ID of the associated network attached to the virtual machine.\nIt can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.",
"type": "string",
+ "format": "arm-id",
"x-ms-mutability": [
"read",
"create"
@@ -9639,6 +10460,80 @@
}
}
},
+ "NetworkConfiguration": {
+ "type": "object",
+ "title": "NetworkConfiguration specifies the Kubernetes cluster network related configuration.",
+ "required": [
+ "cloudServicesNetworkId",
+ "cniNetworkId"
+ ],
+ "properties": {
+ "attachedNetworkConfiguration": {
+ "$ref": "#/definitions/AttachedNetworkConfiguration",
+ "description": "The configuration of networks being attached to the cluster for use by the workloads that run on this Kubernetes cluster.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "bgpServiceLoadBalancerConfiguration": {
+ "$ref": "#/definitions/BgpServiceLoadBalancerConfiguration",
+ "description": "The configuration of the BGP service load balancer for this Kubernetes cluster.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "cloudServicesNetworkId": {
+ "description": "The resource ID of the associated Cloud Services network.",
+ "type": "string",
+ "format": "arm-id",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "cniNetworkId": {
+ "description": "The resource ID of the Layer 3 network that is used for creation of the Container Networking Interface network.",
+ "type": "string",
+ "format": "arm-id",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "dnsServiceIp": {
+ "description": "The IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in service CIDR.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "podCidrs": {
+ "description": "The CIDR notation IP ranges from which to assign pod IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "serviceCidrs": {
+ "description": "The CIDR notation IP ranges from which to assign service IPs. One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is expected for dual-stack networking.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ }
+ },
"NetworkInterface": {
"type": "object",
"title": "NetworkInterface represents properties of the network interface.",
@@ -9711,109 +10606,19 @@
}
}
},
- "Node": {
- "type": "object",
- "title": "Node denotes the list of node that utilizes configuration.",
- "properties": {
- "bareMetalMachineId": {
- "description": "The resource ID of the bare metal machine that hosts this node.",
- "type": "string",
- "readOnly": true
- },
- "imageId": {
- "description": "The machine image last used to deploy this node.",
- "type": "string",
- "readOnly": true
- },
- "networkAttachments": {
- "description": "The list of network attachments to the virtual machine.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/NetworkAttachment"
- },
- "x-ms-identifiers": [
- "networkAttachmentName"
- ],
- "readOnly": true
- },
- "nodeName": {
- "description": "The name of this node, as realized in the Hybrid AKS cluster.",
- "type": "string",
- "readOnly": true
- },
- "powerState": {
- "description": "The power state (On | Off) of the node.",
- "type": "string",
- "enum": [
- "On",
- "Off"
- ],
- "x-ms-enum": {
- "modelAsString": true,
- "name": "HybridAksClusterMachinePowerState"
- },
- "readOnly": true
- }
- }
- },
- "NodeConfiguration": {
+ "NodePoolAdministratorConfigurationPatch": {
"type": "object",
- "title": "NodeConfiguration contains configuration for a VM associated with a node.",
+ "title": "NodePoolAdministratorConfigurationPatch represents the patching capabilities for the administrator configuration.",
"properties": {
- "agentPoolId": {
- "description": "The resource ID of the agent pool that contains the nodes in this configuration.",
- "type": "string",
- "readOnly": true
- },
- "agentPoolName": {
- "description": "The name of the agent pool that contains the nodes in this configuration.",
- "type": "string",
- "readOnly": true
- },
- "cpuCores": {
- "description": "The number of CPU cores in the virtual machine.",
- "type": "integer",
- "format": "int64",
- "readOnly": true
- },
- "diskSizeGB": {
- "description": "The root disk size of the virtual machine in GB.",
- "type": "integer",
- "format": "int64",
- "readOnly": true
- },
- "memorySizeGB": {
- "description": "The memory size of the virtual machine in GB.",
- "type": "integer",
- "format": "int64",
- "readOnly": true
- },
- "nodePoolName": {
- "description": "Field deprecated, use agentPoolName instead. This field will be removed in a future version but will reflect the name of the agent pool that contains the nodes in this configuration.",
- "type": "string",
- "readOnly": true
- },
- "nodes": {
- "description": "The list of nodes that utilize this configuration.",
+ "sshPublicKeys": {
+ "description": "SshPublicKey represents the public key used to authenticate with a resource through SSH.",
"type": "array",
"items": {
- "$ref": "#/definitions/Node"
+ "$ref": "#/definitions/SshPublicKey"
},
- "x-ms-identifiers": [
- "nodeName"
- ],
- "readOnly": true
- },
- "vmCount": {
- "description": "The number of virtual machines that use this configuration.",
- "type": "integer",
- "format": "int64",
- "readOnly": true
- },
- "vmSize": {
- "description": "The name of the VM size supplied during the creation of the cluster.",
- "type": "string",
- "readOnly": true
+ "x-ms-identifiers": [
+ "keyData"
+ ]
}
}
},
@@ -9875,7 +10680,7 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
}
],
"x-ms-azure-resource": true
@@ -9890,7 +10695,7 @@
],
"properties": {
"availabilityZone": {
- "description": "The zone name used for this rack when created.",
+ "description": "The zone name used for this rack when created. Availability zones are used for workload placement.",
"type": "string",
"pattern": "^[a-zA-Z0-9]{1,10}$"
},
@@ -9904,7 +10709,8 @@
},
"networkRackId": {
"description": "The resource ID of the network rack that matches this rack definition.",
- "type": "string"
+ "type": "string",
+ "format": "arm-id"
},
"rackLocation": {
"description": "The free-form description of the rack's location.",
@@ -9919,7 +10725,15 @@
},
"rackSkuId": {
"description": "The resource ID of the sku for the rack being added.",
- "type": "string"
+ "type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.NetworkCloud/rackSkus"
+ }
+ ]
+ }
},
"storageApplianceConfigurationData": {
"description": "The list of storage appliance configuration data for this rack.",
@@ -9984,6 +10798,7 @@
"clusterId": {
"description": "The resource ID of the cluster the rack is created for. This value is set when the rack is created by the cluster.",
"type": "string",
+ "format": "arm-id",
"readOnly": true
},
"detailedStatus": {
@@ -10034,7 +10849,15 @@
},
"rackSkuId": {
"description": "The SKU for the rack.",
- "type": "string"
+ "type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.NetworkCloud/rackSkus"
+ }
+ ]
+ }
}
}
},
@@ -10053,7 +10876,7 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource"
}
],
"x-ms-azure-resource": true
@@ -10170,6 +10993,183 @@
}
}
},
+ "RuntimeProtectionConfiguration": {
+ "type": "object",
+ "title": "RuntimeProtectionConfiguration represents the runtime protection configuration for the cluster.",
+ "properties": {
+ "enforcementLevel": {
+ "description": "The mode of operation for runtime protection.",
+ "type": "string",
+ "default": "Disabled",
+ "enum": [
+ "Audit",
+ "Disabled",
+ "OnDemand",
+ "Passive",
+ "RealTime"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "RuntimeProtectionEnforcementLevel"
+ }
+ }
+ }
+ },
+ "RuntimeProtectionStatus": {
+ "type": "object",
+ "title": "RuntimeProtectionStatus represents the runtime protection status of the bare metal machine.",
+ "properties": {
+ "definitionsLastUpdated": {
+ "description": "The timestamp when the malware definitions were last updated.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "definitionsVersion": {
+ "description": "The version of the malware definitions.",
+ "type": "string",
+ "readOnly": true
+ },
+ "scanCompletedTime": {
+ "description": "The timestamp of the most recently completed scan, or empty if there has never been a scan.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "scanScheduledTime": {
+ "description": "The timestamp of the most recently scheduled scan, or empty if no scan has been scheduled.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "scanStartedTime": {
+ "description": "The timestamp of the most recently started scan, or empty if there has never been a scan.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ }
+ }
+ },
+ "ServiceLoadBalancerBgpPeer": {
+ "type": "object",
+ "title": "ServiceLoadBalancerBgpPeer represents the configuration of the BGP service load balancer for the Kubernetes cluster.",
+ "required": [
+ "name",
+ "peerAddress",
+ "peerAsn"
+ ],
+ "properties": {
+ "bfdEnabled": {
+ "description": "The indicator of BFD enablement for this BgpPeer.",
+ "type": "string",
+ "default": "False",
+ "enum": [
+ "True",
+ "False"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "BfdEnabled"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "bgpMultiHop": {
+ "description": "The indicator to enable multi-hop peering support.",
+ "type": "string",
+ "default": "False",
+ "enum": [
+ "True",
+ "False"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "BgpMultiHop"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "holdTime": {
+ "description": "The requested BGP hold time value. This field uses ISO 8601 duration format, for example P1H.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "keepAliveTime": {
+ "description": "The requested BGP keepalive time value. This field uses ISO 8601 duration format, for example P1H.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "myAsn": {
+ "description": "The autonomous system number used for the local end of the BGP session.",
+ "type": "integer",
+ "format": "int64",
+ "maximum": 4294967295,
+ "minimum": 0,
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "name": {
+ "description": "The name used to identify this BGP peer for association with a BGP advertisement.",
+ "type": "string",
+ "pattern": "^[a-z0-9]([a-z0-9.-]{0,61}[a-z0-9]){0,1}$",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "password": {
+ "description": "The authentication password for routers enforcing TCP MD5 authenticated sessions.",
+ "type": "string",
+ "maxLength": 80,
+ "pattern": "^[a-zA-Z0-9]{0,80}$",
+ "x-ms-mutability": [
+ "create"
+ ],
+ "x-ms-secret": true
+ },
+ "peerAddress": {
+ "description": "The IPv4 or IPv6 address used to connect this BGP session.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "peerAsn": {
+ "description": "The autonomous system number expected from the remote end of the BGP session.",
+ "type": "integer",
+ "format": "int64",
+ "maximum": 4294967295,
+ "minimum": 0,
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "peerPort": {
+ "description": "The port used to connect this BGP session.",
+ "type": "integer",
+ "format": "int64",
+ "default": 179,
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ }
+ },
"ServicePrincipalInformation": {
"type": "object",
"title": "ServicePrincipalInformation represents the details of the service principal to be used by the cluster during Arc Appliance installation.",
@@ -10201,13 +11201,13 @@
},
"SshPublicKey": {
"type": "object",
- "title": "SshPublicKey represents the public key used to authenticate with the virtual machine through SSH.",
+ "title": "SshPublicKey represents the public key used to authenticate with a resource through SSH.",
"required": [
"keyData"
],
"properties": {
"keyData": {
- "description": "The public ssh key of the user.",
+ "description": "The SSH public key data.",
"type": "string",
"minLength": 1
}
@@ -10233,31 +11233,11 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
}
],
"x-ms-azure-resource": true
},
- "StorageApplianceCommandSpecification": {
- "type": "object",
- "title": "StorageApplianceCommandSpecification represents the read-only command and optional arguments to execute against a storage appliance.",
- "required": [
- "command"
- ],
- "properties": {
- "arguments": {
- "description": "The list of string arguments that will be passed to the script in order as separate arguments.",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "command": {
- "description": "The read-only command to execute against the storage appliance.",
- "type": "string"
- }
- }
- },
"StorageApplianceConfigurationData": {
"type": "object",
"title": "StorageApplianceConfigurationData represents configuration for the storage application.",
@@ -10381,6 +11361,7 @@
"clusterId": {
"description": "The resource ID of the cluster this storage appliance is associated with.",
"type": "string",
+ "format": "arm-id",
"readOnly": true
},
"detailedStatus": {
@@ -10426,6 +11407,7 @@
"rackId": {
"description": "The resource ID of the rack where this storage appliance resides.",
"type": "string",
+ "format": "arm-id",
"x-ms-mutability": [
"read",
"create"
@@ -10483,32 +11465,6 @@
}
}
},
- "StorageApplianceRunReadCommandsParameters": {
- "type": "object",
- "title": "StorageApplianceRunReadCommandsParameters represents the body of request containing list of read-only commands to run for a storage appliance.",
- "required": [
- "commands",
- "limitTimeSeconds"
- ],
- "properties": {
- "commands": {
- "description": "The list of read-only commands to run.",
- "type": "array",
- "minItems": 1,
- "items": {
- "$ref": "#/definitions/StorageApplianceCommandSpecification"
- },
- "x-ms-identifiers": []
- },
- "limitTimeSeconds": {
- "description": "The maximum time the commands are allowed to run.\nIf the execution time exceeds the maximum, the script will be stopped, any output produced until then will be captured, and the exit code matching a timeout will be returned (252).",
- "type": "integer",
- "format": "int64",
- "maximum": 14400,
- "minimum": 60
- }
- }
- },
"StorageApplianceSkuProperties": {
"type": "object",
"title": "StorageApplianceSkuProperties represents the properties of the storage appliance SKU.",
@@ -10543,26 +11499,6 @@
}
}
},
- "StorageApplianceValidateHardwareParameters": {
- "type": "object",
- "title": "StorageApplianceValidateHardwareParameters represents the body of the request to validate the physical hardware of a storage appliance.",
- "required": [
- "validationCategory"
- ],
- "properties": {
- "validationCategory": {
- "description": "The category of hardware validation to perform.",
- "type": "string",
- "enum": [
- "BasicValidation"
- ],
- "x-ms-enum": {
- "modelAsString": true,
- "name": "StorageApplianceHardwareValidationCategory"
- }
- }
- }
- },
"StorageProfile": {
"type": "object",
"title": "StorageProfile represents information about a disk.",
@@ -10616,11 +11552,56 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
}
],
"x-ms-azure-resource": true
},
+ "TrunkedNetworkAttachmentConfiguration": {
+ "type": "object",
+ "title": "TrunkedNetworkAttachmentConfiguration represents the configuration of the attachment of a trunked network.",
+ "required": [
+ "networkId"
+ ],
+ "properties": {
+ "networkId": {
+ "description": "The resource ID of the network that is being configured for attachment.",
+ "type": "string",
+ "format": "arm-id",
+ "x-ms-arm-id-details": {
+ "allowedResources": [
+ {
+ "type": "Microsoft.NetworkCloud/trunkedNetworks"
+ }
+ ]
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "pluginType": {
+ "description": "The indicator of how this network will be utilized by the Kubernetes cluster.",
+ "type": "string",
+ "default": "SRIOV",
+ "enum": [
+ "DPDK",
+ "SRIOV",
+ "OSDevice",
+ "MACVLAN",
+ "IPVLAN"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "KubernetesPluginType"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ }
+ },
"TrunkedNetworkList": {
"type": "object",
"title": "TrunkedNetworkList represents a list of trunked networks.",
@@ -10659,9 +11640,18 @@
"vlans"
],
"properties": {
+ "associatedResourceIds": {
+ "description": "The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
"clusterId": {
"description": "The resource ID of the Network Cloud cluster this trunked network is associated with.",
"type": "string",
+ "format": "arm-id",
"readOnly": true
},
"detailedStatus": {
@@ -10684,7 +11674,7 @@
"readOnly": true
},
"hybridAksClustersAssociatedIds": {
- "description": "The list of Hybrid AKS cluster resource IDs that are associated with this trunked network.",
+ "description": "Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource IDs that are associated with this trunked network.",
"type": "array",
"items": {
"type": "string"
@@ -10692,7 +11682,7 @@
"readOnly": true
},
"hybridAksPluginType": {
- "description": "The network plugin type for Hybrid AKS.",
+ "description": "Field Deprecated. The field was previously optional, now it will have no defined behavior and will be ignored. The network plugin type for Hybrid AKS.",
"type": "string",
"default": "SRIOV",
"enum": [
@@ -10748,7 +11738,7 @@
"readOnly": true
},
"virtualMachinesAssociatedIds": {
- "description": "The list of virtual machine resource IDs, excluding any Hybrid AKS virtual machines, that are currently using this trunked network.",
+ "description": "Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource IDs, excluding any Hybrid AKS virtual machines, that are currently using this trunked network.",
"type": "array",
"items": {
"type": "string"
@@ -10831,7 +11821,7 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
}
],
"x-ms-azure-resource": true
@@ -10910,7 +11900,7 @@
"resourceId": {
"description": "The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.",
"type": "string",
- "minLength": 1,
+ "format": "arm-id",
"x-ms-mutability": [
"read",
"create"
@@ -10992,9 +11982,15 @@
"create"
]
},
+ "availabilityZone": {
+ "description": "The cluster availability zone containing this virtual machine.",
+ "type": "string",
+ "readOnly": true
+ },
"bareMetalMachineId": {
- "description": "The resource ID of the bare metal machine the virtual machine has landed to.",
+ "description": "The resource ID of the bare metal machine that hosts the virtual machine.",
"type": "string",
+ "format": "arm-id",
"readOnly": true
},
"bootMethod": {
@@ -11025,6 +12021,7 @@
"clusterId": {
"description": "The resource ID of the cluster the virtual machine is created for.",
"type": "string",
+ "format": "arm-id",
"readOnly": true
},
"cpuCores": {
@@ -11041,9 +12038,14 @@
"description": "The more detailed status of the virtual machine.",
"type": "string",
"enum": [
- "Error",
"Available",
- "Provisioning"
+ "Error",
+ "Provisioning",
+ "Running",
+ "Scheduling",
+ "Stopped",
+ "Terminating",
+ "Unknown"
],
"x-ms-enum": {
"modelAsString": true,
@@ -11120,7 +12122,8 @@
"type": "string",
"enum": [
"On",
- "Off"
+ "Off",
+ "Unknown"
],
"x-ms-enum": {
"modelAsString": true,
@@ -11228,19 +12231,6 @@
}
}
},
- "VirtualMachineVolumeParameters": {
- "type": "object",
- "title": "VirtualMachineVolumeParameters represents the body of the request to handle attachment and detachment of volumes for the virtual machine.",
- "required": [
- "volumeId"
- ],
- "properties": {
- "volumeId": {
- "description": "The resource ID of the volume.",
- "type": "string"
- }
- }
- },
"Volume": {
"type": "object",
"title": "Volume represents storage made available for use by resources running on the cluster.",
@@ -11261,7 +12251,7 @@
},
"allOf": [
{
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
}
],
"x-ms-azure-resource": true
@@ -11365,7 +12355,16 @@
}
},
"parameters": {
- "BareMetalMachineKeySetName": {
+ "AgentPoolNameParameter": {
+ "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-_]{0,28}[a-zA-Z0-9])$",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The name of the Kubernetes cluster agent pool.",
+ "name": "agentPoolName",
+ "in": "path",
+ "required": true
+ },
+ "BareMetalMachineKeySetNameParameter": {
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9-_]{0,28}[a-zA-Z0-9])$",
"type": "string",
"x-ms-parameter-location": "method",
@@ -11383,7 +12382,7 @@
"in": "path",
"required": true
},
- "BmcKeySetName": {
+ "BmcKeySetNameParameter": {
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9-_]{0,28}[a-zA-Z0-9])$",
"type": "string",
"x-ms-parameter-location": "method",
@@ -11428,21 +12427,12 @@
"in": "path",
"required": true
},
- "DefaultCniNetworkNameParameter": {
+ "KubernetesClusterNameParameter": {
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9-_]{0,28}[a-zA-Z0-9])$",
"type": "string",
"x-ms-parameter-location": "method",
- "description": "The name of the default CNI network.",
- "name": "defaultCniNetworkName",
- "in": "path",
- "required": true
- },
- "HybridAksClusterNameParameter": {
- "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-_]{0,61}[a-zA-Z0-9])$",
- "type": "string",
- "x-ms-parameter-location": "method",
- "description": "The name of the Hybrid AKS cluster.",
- "name": "hybridAksClusterName",
+ "description": "The name of the Kubernetes cluster.",
+ "name": "kubernetesClusterName",
"in": "path",
"required": true
},
@@ -11518,7 +12508,7 @@
"required": true
},
"VolumeNameParameter": {
- "pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,28}[a-zA-Z0-9])$",
+ "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-_]{0,62}[a-zA-Z0-9])$",
"type": "string",
"x-ms-parameter-location": "method",
"description": "The name of the volume.",
diff --git a/specification/networkcloud/resource-manager/readme.md b/specification/networkcloud/resource-manager/readme.md
index fe14d6e20930..ac23ad010f49 100644
--- a/specification/networkcloud/resource-manager/readme.md
+++ b/specification/networkcloud/resource-manager/readme.md
@@ -27,18 +27,7 @@ These are the global settings for NetworkCloud.
```yaml
openapi-type: arm
openapi-subtype: providerHub
-tag: package-2023-07-01
-```
-
----
-
-### Tag: package-2022-12-12-preview
-
-These settings apply only when `--tag=package-2022-12-12-preview` is specified on the command line.
-
-```yaml $(tag) == 'package-2022-12-12-preview'
-input-file:
- - Microsoft.NetworkCloud/preview/2022-12-12-preview/networkcloud.json
+tag: package-2023-10-01-preview
```
---
@@ -61,6 +50,15 @@ input-file:
- Microsoft.NetworkCloud/stable/2023-07-01/networkcloud.json
```
+### Tag: package-2023-10-01-preview
+
+These settings apply only when `--tag=package-2023-10-01-preview` is specified on the command line.
+
+```yaml $(tag) == 'package-2023-10-01-preview'
+input-file:
+ - Microsoft.NetworkCloud/preview/2023-10-01-preview/networkcloud.json
+```
+
---
# Code Generation
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/NewRelic.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/NewRelic.json
new file mode 100644
index 000000000000..cd20659352df
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/NewRelic.json
@@ -0,0 +1,3424 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NewRelic.Observability",
+ "version": "2023-11-01-preview",
+ "x-cadl-generated": [
+ {
+ "emitter": "@azure-tools/cadl-autorest"
+ }
+ ]
+ },
+ "schemes": [
+ "https"
+ ],
+ "host": "management.azure.com",
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Microsoft Entra ID OAuth2 Flow.",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "tags": [
+ {
+ "name": "Operations"
+ },
+ {
+ "name": "Monitors"
+ },
+ {
+ "name": "Accounts"
+ },
+ {
+ "name": "Organizations"
+ },
+ {
+ "name": "Plan"
+ },
+ {
+ "name": "TagRules"
+ }
+ ],
+ "paths": {
+ "/providers/NewRelic.Observability/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "operationId": "Operations_List",
+ "description": "List the operations for the provider",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Operations_List_MaximumSet_Gen": {
+ "$ref": "./examples/Operations_List_MaximumSet_Gen.json"
+ },
+ "Operations_List_MinimumSet_Gen": {
+ "$ref": "./examples/Operations_List_MinimumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/NewRelic.Observability/accounts": {
+ "get": {
+ "tags": [
+ "Accounts"
+ ],
+ "operationId": "Accounts_List",
+ "description": "List all the existing accounts",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/UserEmailParameter"
+ },
+ {
+ "$ref": "#/parameters/LocationParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/AccountsListResponse"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Accounts_List_MaximumSet_Gen": {
+ "$ref": "./examples/Accounts_List_MaximumSet_Gen.json"
+ },
+ "Accounts_List_MinimumSet_Gen": {
+ "$ref": "./examples/Accounts_List_MinimumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/NewRelic.Observability/monitors": {
+ "get": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "Monitors_ListBySubscription",
+ "description": "List NewRelicMonitorResource resources by subscription ID",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/NewRelicMonitorResourceListResult"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Monitors_ListBySubscription_MaximumSet_Gen": {
+ "$ref": "./examples/Monitors_ListBySubscription_MaximumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/NewRelic.Observability/organizations": {
+ "get": {
+ "tags": [
+ "Organizations"
+ ],
+ "operationId": "Organizations_List",
+ "description": "List all the existing organizations",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/UserEmailParameter"
+ },
+ {
+ "$ref": "#/parameters/LocationParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/OrganizationsListResponse"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Organizations_List_MaximumSet_Gen": {
+ "$ref": "./examples/Organizations_List_MaximumSet_Gen.json"
+ },
+ "Organizations_List_MinimumSet_Gen": {
+ "$ref": "./examples/Organizations_List_MinimumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/NewRelic.Observability/plans": {
+ "get": {
+ "tags": [
+ "Plan"
+ ],
+ "operationId": "Plans_List",
+ "description": "List plans data",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/AccountIdParameter"
+ },
+ {
+ "$ref": "#/parameters/OrganizationIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/PlanDataListResponse"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Plans_List_MaximumSet_Gen": {
+ "$ref": "./examples/Plans_List_MaximumSet_Gen.json"
+ },
+ "Plans_List_MinimumSet_Gen": {
+ "$ref": "./examples/Plans_List_MinimumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors": {
+ "get": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "Monitors_ListByResourceGroup",
+ "description": "List NewRelicMonitorResource resources by resource group",
+ "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"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/NewRelicMonitorResourceListResult"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Monitors_ListByResourceGroup_MaximumSet_Gen": {
+ "$ref": "./examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}": {
+ "get": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "Monitors_Get",
+ "description": "Get a NewRelicMonitorResource",
+ "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": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/NewRelicMonitorResource"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Monitors_Get_MaximumSet_Gen": {
+ "$ref": "./examples/Monitors_Get_MaximumSet_Gen.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "Monitors_CreateOrUpdate",
+ "description": "Create a NewRelicMonitorResource",
+ "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": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ },
+ {
+ "name": "resource",
+ "in": "body",
+ "required": true,
+ "description": "Resource create parameters.",
+ "schema": {
+ "$ref": "#/definitions/NewRelicMonitorResource"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/NewRelicMonitorResource"
+ }
+ },
+ "201": {
+ "description": "ARM create operation completed successfully.",
+ "headers": {
+ "Retry-After": {
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
+ "type": "integer",
+ "format": "int32"
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/NewRelicMonitorResource"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Monitors_CreateOrUpdate_MaximumSet_Gen": {
+ "$ref": "./examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json"
+ }
+ },
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "Monitors_Update",
+ "description": "Update a NewRelicMonitorResource",
+ "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": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ },
+ {
+ "name": "properties",
+ "in": "body",
+ "required": true,
+ "description": "The resource properties to be updated.",
+ "schema": {
+ "$ref": "#/definitions/NewRelicMonitorResourceUpdate"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/NewRelicMonitorResource"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Monitors_Update_MaximumSet_Gen": {
+ "$ref": "./examples/Monitors_Update_MaximumSet_Gen.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "Monitors_Delete",
+ "description": "Delete a NewRelicMonitorResource",
+ "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/UserEmailParameter"
+ },
+ {
+ "name": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Resource deleted successfully."
+ },
+ "202": {
+ "description": "Resource deletion accepted.",
+ "headers": {
+ "Retry-After": {
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
+ "type": "integer",
+ "format": "int32"
+ }
+ }
+ },
+ "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": {
+ "Monitors_Delete_MaximumSet_Gen": {
+ "$ref": "./examples/Monitors_Delete_MaximumSet_Gen.json"
+ },
+ "Monitors_Delete_MinimumSet_Gen": {
+ "$ref": "./examples/Monitors_Delete_MinimumSet_Gen.json"
+ }
+ },
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getMetricRules": {
+ "post": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "Monitors_GetMetricRules",
+ "description": "Get metric rules",
+ "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": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/MetricsRequestParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/MetricRules"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Monitors_GetMetricRules_MaximumSet_Gen": {
+ "$ref": "./examples/Monitors_GetMetricRules_MaximumSet_Gen.json"
+ },
+ "Monitors_GetMetricRules_MinimumSet_Gen": {
+ "$ref": "./examples/Monitors_GetMetricRules_MinimumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getMetricStatus": {
+ "post": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "Monitors_GetMetricStatus",
+ "description": "Get metric status",
+ "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": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/MetricsStatusRequestParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/MetricsStatusResponse"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Monitors_GetMetricStatus_MaximumSet_Gen": {
+ "$ref": "./examples/Monitors_GetMetricStatus_MaximumSet_Gen.json"
+ },
+ "Monitors_GetMetricStatus_MinimumSet_Gen": {
+ "$ref": "./examples/Monitors_GetMetricStatus_MinimumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listAppServices": {
+ "post": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "Monitors_ListAppServices",
+ "description": "List the app service resources currently being monitored by the NewRelic resource.",
+ "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": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/AppServicesGetParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/AppServicesListResponse"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Monitors_ListAppServices_MaximumSet_Gen": {
+ "$ref": "./examples/Monitors_ListAppServices_MaximumSet_Gen.json"
+ },
+ "Monitors_ListAppServices_MinimumSet_Gen": {
+ "$ref": "./examples/Monitors_ListAppServices_MinimumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/switchBilling": {
+ "post": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "Monitors_SwitchBilling",
+ "description": "Switches the billing for NewRelic monitor resource.",
+ "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": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SwitchBillingParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/NewRelicMonitorResource"
+ }
+ },
+ "202": {
+ "description": "Resource operation accepted.",
+ "headers": {
+ "Retry-After": {
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
+ "type": "integer",
+ "format": "int32"
+ }
+ }
+ },
+ "204": {
+ "description": "There is no content to send for this request, but the headers may be useful. "
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Monitors_SwitchBilling_MaximumSet_Gen": {
+ "$ref": "./examples/Monitors_SwitchBilling_MaximumSet_Gen.json"
+ },
+ "Monitors_SwitchBilling_MinimumSet_Gen": {
+ "$ref": "./examples/Monitors_SwitchBilling_MinimumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listHosts": {
+ "post": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "Monitors_ListHosts",
+ "description": "List the compute vm resources currently being monitored by the NewRelic resource.",
+ "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": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/HostsGetParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/VMHostsListResponse"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Monitors_ListHosts_MaximumSet_Gen": {
+ "$ref": "./examples/Monitors_ListHosts_MaximumSet_Gen.json"
+ },
+ "Monitors_ListHosts_MinimumSet_Gen": {
+ "$ref": "./examples/Monitors_ListHosts_MinimumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredResources": {
+ "post": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "Monitors_ListMonitoredResources",
+ "description": "List the resources currently being monitored by the NewRelic monitor resource.",
+ "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": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/MonitoredResourceListResponse"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Monitors_ListMonitoredResources_MaximumSet_Gen": {
+ "$ref": "./examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json"
+ },
+ "Monitors_ListMonitoredResources_MinimumSet_Gen": {
+ "$ref": "./examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getBillingInfo": {
+ "post": {
+ "tags": [
+ "ConnectedResources"
+ ],
+ "summary": "Get marketplace info mapped to the given monitor.",
+ "operationId": "BillingInfo_Get",
+ "produces": [
+ "application/json"
+ ],
+ "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": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "pattern": "^.*$",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/BillingInfoResponse"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "BillingInfo_Get": {
+ "$ref": "./examples/BillingInfo_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listConnectedPartnerResources": {
+ "post": {
+ "tags": [
+ "ConnectedResources"
+ ],
+ "summary": "List of all active deployments that are associated with the marketplace subscription linked to the given monitor.",
+ "operationId": "ConnectedPartnerResources_List",
+ "produces": [
+ "application/json"
+ ],
+ "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": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "pattern": "^.*$",
+ "type": "string"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Email Id of the user",
+ "schema": {
+ "$ref": "#/definitions/email"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ConnectedPartnerResourcesListResponse"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ConnectedPartnerResources_List": {
+ "$ref": "./examples/ConnectedPartnerResources_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules": {
+ "get": {
+ "tags": [
+ "TagRules"
+ ],
+ "operationId": "TagRules_ListByNewRelicMonitorResource",
+ "description": "List TagRule resources by NewRelicMonitorResource",
+ "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": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/TagRuleListResult"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen": {
+ "$ref": "./examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json"
+ },
+ "TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen": {
+ "$ref": "./examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}": {
+ "get": {
+ "tags": [
+ "TagRules"
+ ],
+ "operationId": "TagRules_Get",
+ "description": "Get a TagRule",
+ "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": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ },
+ {
+ "name": "ruleSetName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the TagRule",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/TagRule"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TagRules_Get_MaximumSet_Gen": {
+ "$ref": "./examples/TagRules_Get_MaximumSet_Gen.json"
+ },
+ "TagRules_Get_MinimumSet_Gen": {
+ "$ref": "./examples/TagRules_Get_MinimumSet_Gen.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "TagRules"
+ ],
+ "operationId": "TagRules_CreateOrUpdate",
+ "description": "Create a TagRule",
+ "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": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ },
+ {
+ "name": "ruleSetName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the TagRule",
+ "type": "string"
+ },
+ {
+ "name": "resource",
+ "in": "body",
+ "required": true,
+ "description": "Resource create parameters.",
+ "schema": {
+ "$ref": "#/definitions/TagRule"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/TagRule"
+ }
+ },
+ "201": {
+ "description": "ARM create operation completed successfully.",
+ "headers": {
+ "Retry-After": {
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
+ "type": "integer",
+ "format": "int32"
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/TagRule"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TagRules_CreateOrUpdate_MaximumSet_Gen": {
+ "$ref": "./examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json"
+ },
+ "TagRules_CreateOrUpdate_MinimumSet_Gen": {
+ "$ref": "./examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json"
+ }
+ },
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "TagRules"
+ ],
+ "operationId": "TagRules_Delete",
+ "description": "Delete a TagRule",
+ "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": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ },
+ {
+ "name": "ruleSetName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the TagRule",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Resource deleted successfully."
+ },
+ "202": {
+ "description": "Resource deletion accepted.",
+ "headers": {
+ "Retry-After": {
+ "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
+ "type": "integer",
+ "format": "int32"
+ }
+ }
+ },
+ "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": {
+ "TagRules_Delete_MaximumSet_Gen": {
+ "$ref": "./examples/TagRules_Delete_MaximumSet_Gen.json"
+ },
+ "TagRules_Delete_MinimumSet_Gen": {
+ "$ref": "./examples/TagRules_Delete_MinimumSet_Gen.json"
+ }
+ },
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "TagRules"
+ ],
+ "operationId": "TagRules_Update",
+ "description": "Update a TagRule",
+ "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": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ },
+ {
+ "name": "ruleSetName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the TagRule",
+ "type": "string"
+ },
+ {
+ "name": "properties",
+ "in": "body",
+ "required": true,
+ "description": "The resource properties to be updated.",
+ "schema": {
+ "$ref": "#/definitions/TagRuleUpdate"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/TagRule"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TagRules_Update_MaximumSet_Gen": {
+ "$ref": "./examples/TagRules_Update_MaximumSet_Gen.json"
+ },
+ "TagRules_Update_MinimumSet_Gen": {
+ "$ref": "./examples/TagRules_Update_MinimumSet_Gen.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions": {
+ "get": {
+ "tags": [
+ "monitoredSubscriptions"
+ ],
+ "summary": "List the subscriptions currently being monitored by the NewRelic monitor resource.",
+ "operationId": "MonitoredSubscriptions_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "monitorName",
+ "in": "path",
+ "required": true,
+ "pattern": "^.*$",
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/MonitoredSubscriptionPropertiesList"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Monitors_GetMonitoredSubscriptions": {
+ "$ref": "./examples/MonitoredSubscriptions_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}": {
+ "get": {
+ "tags": [
+ "monitoredSubscriptions"
+ ],
+ "summary": "List the subscriptions currently being monitored by the NewRelic monitor resource.",
+ "operationId": "MonitoredSubscriptions_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "monitorName",
+ "in": "path",
+ "required": true,
+ "pattern": "^.*$",
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ },
+ {
+ "description": "The configuration name. Only 'default' value is supported.",
+ "in": "path",
+ "name": "configurationName",
+ "pattern": "^.*$",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-enum": {
+ "name": "configurationName",
+ "modelAsString": true
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/MonitoredSubscriptionProperties"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Monitors_GetMonitoredSubscriptions": {
+ "$ref": "./examples/MonitoredSubscriptions_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "monitoredSubscriptions"
+ ],
+ "summary": "Add the subscriptions that should be monitored by the NewRelic monitor resource.",
+ "operationId": "MonitoredSubscriptions_CreateorUpdate",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "pattern": "^.*$",
+ "type": "string"
+ },
+ {
+ "description": "The configuration name. Only 'default' value is supported.",
+ "in": "path",
+ "name": "configurationName",
+ "pattern": "^.*$",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-enum": {
+ "name": "configurationName",
+ "modelAsString": true
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/MonitoredSubscriptionProperties"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/MonitoredSubscriptionProperties"
+ }
+ },
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/MonitoredSubscriptionProperties"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Monitors_AddMonitoredSubscriptions": {
+ "$ref": "./examples/MonitoredSubscriptions_CreateorUpdate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "MonitoredSubscriptions"
+ ],
+ "summary": "Updates the subscriptions that are being monitored by the NewRelic monitor resource",
+ "operationId": "MonitoredSubscriptions_Update",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "pattern": "^.*$",
+ "type": "string"
+ },
+ {
+ "description": "The configuration name. Only 'default' value is supported.",
+ "in": "path",
+ "name": "configurationName",
+ "pattern": "^.*$",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-enum": {
+ "name": "configurationName",
+ "modelAsString": true
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/MonitoredSubscriptionProperties"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/MonitoredSubscriptionProperties"
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ },
+ "description": "Success"
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Monitors_UpdateMonitoredSubscriptions": {
+ "$ref": "./examples/MonitoredSubscriptions_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "MonitoredSubscriptions"
+ ],
+ "summary": "Updates the subscriptions that are being monitored by the NewRelic monitor resource",
+ "operationId": "MonitoredSubscriptions_Delete",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "pattern": "^.*$",
+ "type": "string"
+ },
+ {
+ "description": "The configuration name. Only 'default' value is supported.",
+ "in": "path",
+ "name": "configurationName",
+ "pattern": "^.*$",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-enum": {
+ "name": "configurationName",
+ "modelAsString": true
+ }
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ },
+ "description": "Success"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Monitors_DeleteMonitoredSubscriptions": {
+ "$ref": "./examples/MonitoredSubscriptions_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listLinkedResources": {
+ "post": {
+ "tags": [
+ "LinkedResources"
+ ],
+ "summary": "List all Azure resources associated to the same NewRelic organization and account as the target resource.",
+ "operationId": "Monitors_ListLinkedResources",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "monitorName",
+ "in": "path",
+ "required": true,
+ "pattern": "^.*$",
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/LinkedResourceListResponse"
+ }
+ },
+ "default": {
+ "description": "Default error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Monitors_ListLinkedResources": {
+ "$ref": "./examples/LinkedResources_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/vmHostPayloads": {
+ "post": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "Monitors_VmHostPayload",
+ "description": "Returns the payload that needs to be passed in the request body for installing NewRelic agent on a VM.",
+ "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": "monitorName",
+ "in": "path",
+ "required": true,
+ "description": "Name of the Monitors resource",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "ARM operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/VMExtensionPayload"
+ }
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Monitors_VmHostPayload_MaximumSet_Gen": {
+ "$ref": "./examples/Monitors_VmHostPayload_MaximumSet_Gen.json"
+ },
+ "Monitors_VmHostPayload_MinimumSet_Gen": {
+ "$ref": "./examples/Monitors_VmHostPayload_MinimumSet_Gen.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "AccountCreationSource": {
+ "type": "string",
+ "description": "Source of Account creation",
+ "enum": [
+ "LIFTR",
+ "NEWRELIC"
+ ],
+ "x-ms-enum": {
+ "name": "AccountCreationSource",
+ "modelAsString": true,
+ "values": [
+ {
+ "name": "LIFTR",
+ "value": "LIFTR",
+ "description": "Account is created from LIFTR"
+ },
+ {
+ "name": "NEWRELIC",
+ "value": "NEWRELIC",
+ "description": "Account is created from NEWRELIC"
+ }
+ ]
+ }
+ },
+ "AccountIdParameter": {
+ "type": "object",
+ "properties": {},
+ "description": "Account Id parameter"
+ },
+ "AccountInfo": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "Account id"
+ },
+ "ingestionKey": {
+ "$ref": "#/definitions/SecureString",
+ "description": "ingestion key of account"
+ },
+ "region": {
+ "type": "string",
+ "description": "Region where New Relic account is present"
+ }
+ },
+ "description": "Account Info of the NewRelic account"
+ },
+ "AccountProperties": {
+ "type": "object",
+ "properties": {
+ "organizationId": {
+ "type": "string",
+ "description": "organization id"
+ },
+ "accountId": {
+ "type": "string",
+ "description": "account id"
+ },
+ "accountName": {
+ "type": "string",
+ "description": "account name"
+ },
+ "region": {
+ "type": "string",
+ "description": "Region where New Relic account is present"
+ }
+ },
+ "description": "List of all the New relic accounts for the given user"
+ },
+ "AccountsListResponse": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AccountResource"
+ },
+ "x-cadl-name": "AccountResource[]",
+ "description": "The AccountResource items on this page"
+ },
+ "nextLink": {
+ "type": "string",
+ "format": "uri",
+ "description": "The link to the next page of items",
+ "x-cadl-name": "Rest.ResourceLocation"
+ }
+ },
+ "description": "Response of get all accounts Operation.",
+ "required": [
+ "value"
+ ]
+ },
+ "BillingInfoResponse": {
+ "description": "Marketplace Subscription and Organization details to which resource gets billed into.",
+ "type": "object",
+ "properties": {
+ "marketplaceSaasInfo": {
+ "description": "Marketplace Subscription details",
+ "$ref": "#/definitions/MarketplaceSaaSInfo"
+ },
+ "partnerBillingEntity": {
+ "description": "Partner Billing Entity details: Organization Info",
+ "$ref": "#/definitions/PartnerBillingEntity"
+ }
+ }
+ },
+ "MarketplaceSaaSInfo": {
+ "description": "Marketplace SAAS Info of the resource.",
+ "type": "object",
+ "properties": {
+ "marketplaceSubscriptionId": {
+ "description": "Marketplace Subscription Id. This is a GUID-formatted string.",
+ "type": "string"
+ },
+ "marketplaceSubscriptionName": {
+ "description": "Marketplace Subscription Details: SAAS Name",
+ "type": "string"
+ },
+ "marketplaceResourceId": {
+ "description": "Marketplace Subscription Details: Resource URI",
+ "type": "string"
+ },
+ "marketplaceStatus": {
+ "description": "Marketplace Subscription Details: SaaS Subscription Status",
+ "type": "string"
+ },
+ "billedAzureSubscriptionId": {
+ "description": "The Azure Subscription ID to which the Marketplace Subscription belongs and gets billed into.",
+ "type": "string"
+ }
+ }
+ },
+ "PartnerBillingEntity": {
+ "description": "Partner Billing details associated with the resource.",
+ "type": "object",
+ "properties": {
+ "organizationId": {
+ "description": "The New Relic Organization Id.",
+ "type": "string"
+ },
+ "organizationName": {
+ "description": "The New Relic Organization Name.",
+ "type": "string"
+ }
+ }
+ },
+ "ConnectedPartnerResourceProperties": {
+ "description": "Connected Partner Resource Properties",
+ "type": "object",
+ "properties": {
+ "accountName": {
+ "description": "NewRelic account name",
+ "type": "string"
+ },
+ "accountId": {
+ "description": "NewRelic Account Id",
+ "type": "string"
+ },
+ "azureResourceId": {
+ "description": "The azure resource Id of the deployment.",
+ "type": "string"
+ },
+ "location": {
+ "description": "The location of the deployment.",
+ "type": "string"
+ }
+ }
+ },
+ "ConnectedPartnerResourcesListFormat": {
+ "description": "Connected Partner Resources List Format",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ConnectedPartnerResourceProperties"
+ }
+ }
+ },
+ "ConnectedPartnerResourcesListResponse": {
+ "description": " List of all active newrelic deployments.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of a list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectedPartnerResourcesListFormat"
+ },
+ "x-ms-identifiers": []
+ },
+ "nextLink": {
+ "description": "Link to the next set of results, if any.",
+ "type": "string"
+ }
+ }
+ },
+ "AccountResource": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/AccountProperties",
+ "description": "The resource-specific properties for this resource.",
+ "x-ms-client-flatten": true,
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ },
+ "description": "The details of a account resource.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "AppServiceInfo": {
+ "type": "object",
+ "properties": {
+ "azureResourceId": {
+ "type": "string",
+ "description": "Azure App service resource ID"
+ },
+ "agentVersion": {
+ "type": "string",
+ "description": "Version of the NewRelic agent installed on the App service."
+ },
+ "agentStatus": {
+ "type": "string",
+ "description": "Status of the NewRelic agent installed on the App service."
+ }
+ },
+ "description": "Details of VM Resource having NewRelic OneAgent installed"
+ },
+ "AppServicesGetParameter": {
+ "type": "object",
+ "properties": {
+ "request": {
+ "$ref": "#/definitions/AppServicesGetRequest",
+ "description": "The details of the app services get request."
+ }
+ },
+ "description": "App services Get Parameter specification.",
+ "required": [
+ "request"
+ ]
+ },
+ "SwitchBillingParameter": {
+ "type": "object",
+ "properties": {
+ "request": {
+ "$ref": "#/definitions/SwitchBillingRequest",
+ "description": "The details of the switch billing request."
+ }
+ },
+ "description": "Switch Billing Parameter specification.",
+ "required": [
+ "request"
+ ]
+ },
+ "SwitchBillingRequest": {
+ "type": "object",
+ "properties": {
+ "azureResourceId": {
+ "type": "string",
+ "description": "Azure resource Id"
+ },
+ "organizationId": {
+ "type": "string",
+ "description": "Organization id"
+ },
+ "planData": {
+ "$ref": "#/definitions/PlanData",
+ "description": "Plan details"
+ },
+ "userEmail": {
+ "$ref": "#/definitions/email",
+ "description": "User Email"
+ }
+ },
+ "description": "Request of a switch billing Operation.",
+ "required": [
+ "userEmail"
+ ]
+ },
+ "AppServicesGetRequest": {
+ "type": "object",
+ "properties": {
+ "azureResourceIds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "x-cadl-name": "string[]",
+ "description": "Azure resource IDs"
+ },
+ "userEmail": {
+ "$ref": "#/definitions/email",
+ "description": "User Email"
+ }
+ },
+ "description": "Request of a app services get Operation.",
+ "required": [
+ "userEmail"
+ ]
+ },
+ "AppServicesListResponse": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AppServiceInfo"
+ },
+ "x-ms-identifiers": [
+ "azureResourceId"
+ ],
+ "x-cadl-name": "AppServiceInfo[]",
+ "description": "The AppServiceInfo items on this page"
+ },
+ "nextLink": {
+ "type": "string",
+ "format": "uri",
+ "description": "The link to the next page of items",
+ "x-cadl-name": "Rest.ResourceLocation"
+ }
+ },
+ "description": "Response of a list app services Operation.",
+ "required": [
+ "value"
+ ]
+ },
+ "BillingCycle": {
+ "type": "string",
+ "description": "Different usage type like YEARLY/MONTHLY",
+ "enum": [
+ "YEARLY",
+ "MONTHLY",
+ "WEEKLY"
+ ],
+ "x-ms-enum": {
+ "name": "BillingCycle",
+ "modelAsString": true,
+ "values": [
+ {
+ "name": "YEARLY",
+ "value": "YEARLY",
+ "description": "Billing cycle is YEARLY"
+ },
+ {
+ "name": "MONTHLY",
+ "value": "MONTHLY",
+ "description": "Billing cycle is MONTHLY"
+ },
+ {
+ "name": "WEEKLY",
+ "value": "WEEKLY",
+ "description": "Billing cycle is WEEKLY"
+ }
+ ]
+ }
+ },
+ "BillingSource": {
+ "type": "string",
+ "description": "Billing source",
+ "enum": [
+ "AZURE",
+ "NEWRELIC"
+ ],
+ "x-ms-enum": {
+ "name": "BillingSource",
+ "modelAsString": true,
+ "values": [
+ {
+ "name": "AZURE",
+ "value": "AZURE",
+ "description": "Billing source is Azure"
+ },
+ {
+ "name": "NEWRELIC",
+ "value": "NEWRELIC"
+ }
+ ]
+ }
+ },
+ "FilteringTag": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name (also known as the key) of the tag."
+ },
+ "value": {
+ "type": "string",
+ "description": "The value of the tag."
+ },
+ "action": {
+ "$ref": "#/definitions/TagAction",
+ "description": "Valid actions for a filtering tag. Exclusion takes priority over inclusion."
+ }
+ },
+ "description": "The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored."
+ },
+ "HostsGetParameter": {
+ "type": "object",
+ "properties": {
+ "request": {
+ "$ref": "#/definitions/HostsGetRequest",
+ "description": "The details of the Hosts get request."
+ }
+ },
+ "description": "Host Get Parameter specification.",
+ "required": [
+ "request"
+ ]
+ },
+ "HostsGetRequest": {
+ "type": "object",
+ "properties": {
+ "vmIds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "x-cadl-name": "string[]",
+ "description": "VM resource IDs"
+ },
+ "userEmail": {
+ "$ref": "#/definitions/email",
+ "description": "User Email"
+ }
+ },
+ "description": "Request of a Hosts get Operation.",
+ "required": [
+ "userEmail"
+ ]
+ },
+ "LiftrResourceCategories": {
+ "type": "string",
+ "description": "Liftr Resource category.",
+ "enum": [
+ "Unknown",
+ "MonitorLogs"
+ ],
+ "x-ms-enum": {
+ "name": "LiftrResourceCategories",
+ "modelAsString": true
+ }
+ },
+ "LocationParameter": {
+ "type": "object",
+ "properties": {},
+ "description": "Location for NewRelic resource"
+ },
+ "LogRules": {
+ "type": "object",
+ "properties": {
+ "sendAadLogs": {
+ "$ref": "#/definitions/SendAadLogsStatus",
+ "description": "Flag specifying if AAD logs should be sent for the Monitor resource."
+ },
+ "sendSubscriptionLogs": {
+ "$ref": "#/definitions/SendSubscriptionLogsStatus",
+ "description": "Flag specifying if subscription logs should be sent for the Monitor resource."
+ },
+ "sendActivityLogs": {
+ "$ref": "#/definitions/SendActivityLogsStatus",
+ "description": "Flag specifying if activity logs from Azure resources should be sent for the Monitor resource."
+ },
+ "filteringTags": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FilteringTag"
+ },
+ "x-ms-identifiers": [],
+ "x-cadl-name": "FilteringTag[]",
+ "description": "List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured.\nIf only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags."
+ }
+ },
+ "description": "Set of rules for sending logs for the Monitor resource."
+ },
+ "MarketplaceSubscriptionStatus": {
+ "type": "string",
+ "description": "Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.",
+ "enum": [
+ "Active",
+ "Suspended"
+ ],
+ "x-ms-enum": {
+ "name": "MarketplaceSubscriptionStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "name": "Active",
+ "value": "Active",
+ "description": "monitoring is enabled"
+ },
+ {
+ "name": "Suspended",
+ "value": "Suspended",
+ "description": "monitoring is disabled"
+ }
+ ]
+ }
+ },
+ "MetricRules": {
+ "type": "object",
+ "properties": {
+ "sendMetrics": {
+ "$ref": "#/definitions/SendMetricsStatus",
+ "description": "Flag specifying if metrics should be sent for the Monitor resource."
+ },
+ "filteringTags": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FilteringTag"
+ },
+ "x-ms-identifiers": [],
+ "x-cadl-name": "FilteringTag[]",
+ "description": "List of filtering tags to be used for capturing metrics."
+ },
+ "userEmail": {
+ "$ref": "#/definitions/email",
+ "description": "User Email"
+ }
+ },
+ "description": "Set of rules for sending metrics for the Monitor resource."
+ },
+ "MetricsRequest": {
+ "type": "object",
+ "properties": {
+ "userEmail": {
+ "$ref": "#/definitions/email",
+ "description": "User Email"
+ }
+ },
+ "description": "Request of get metrics Operation.",
+ "required": [
+ "userEmail"
+ ]
+ },
+ "MetricsRequestParameter": {
+ "type": "object",
+ "properties": {
+ "request": {
+ "$ref": "#/definitions/MetricsRequest",
+ "description": "The details of the get metrics status request."
+ }
+ },
+ "description": "Get Metrics Status Parameter specification.",
+ "required": [
+ "request"
+ ]
+ },
+ "MetricsStatusRequest": {
+ "type": "object",
+ "properties": {
+ "azureResourceIds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "x-cadl-name": "string[]",
+ "description": "Azure resource IDs"
+ },
+ "userEmail": {
+ "$ref": "#/definitions/email",
+ "description": "User Email"
+ }
+ },
+ "description": "Request of get metrics status Operation.",
+ "required": [
+ "userEmail"
+ ]
+ },
+ "MetricsStatusRequestParameter": {
+ "type": "object",
+ "properties": {
+ "request": {
+ "$ref": "#/definitions/MetricsStatusRequest",
+ "description": "The details of the get metrics status request."
+ }
+ },
+ "description": "Get Metrics Status Parameter specification.",
+ "required": [
+ "request"
+ ]
+ },
+ "MetricsStatusResponse": {
+ "type": "object",
+ "properties": {
+ "azureResourceIds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "x-cadl-name": "string[]",
+ "description": "Azure resource IDs"
+ }
+ },
+ "description": "Response of get metrics status Operation."
+ },
+ "MonitorProperties": {
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "$ref": "#/definitions/ProvisioningState",
+ "description": "Provisioning State of the resource",
+ "readOnly": true
+ },
+ "monitoringStatus": {
+ "$ref": "#/definitions/MonitoringStatus",
+ "description": "MonitoringStatus of the resource",
+ "readOnly": true
+ },
+ "marketplaceSubscriptionStatus": {
+ "$ref": "#/definitions/MarketplaceSubscriptionStatus",
+ "description": "NewRelic Organization properties of the resource",
+ "readOnly": true
+ },
+ "marketplaceSubscriptionId": {
+ "type": "string",
+ "description": "Marketplace Subscription Id",
+ "readOnly": true
+ },
+ "newRelicAccountProperties": {
+ "$ref": "#/definitions/NewRelicAccountProperties",
+ "description": "MarketplaceSubscriptionStatus of the resource"
+ },
+ "userInfo": {
+ "$ref": "#/definitions/UserInfo",
+ "description": "User Info"
+ },
+ "planData": {
+ "$ref": "#/definitions/PlanData",
+ "description": "Plan details"
+ },
+ "liftrResourceCategory": {
+ "$ref": "#/definitions/LiftrResourceCategories",
+ "description": "Liftr resource category",
+ "readOnly": true
+ },
+ "liftrResourcePreference": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Liftr resource preference. The priority of the resource.",
+ "readOnly": true
+ },
+ "orgCreationSource": {
+ "$ref": "#/definitions/OrgCreationSource",
+ "description": "Source of org creation"
+ },
+ "accountCreationSource": {
+ "$ref": "#/definitions/AccountCreationSource",
+ "description": "Source of account creation"
+ }
+ },
+ "description": "Properties specific to the NewRelic Monitor resource"
+ },
+ "MonitoredResource": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ARM id of the resource."
+ },
+ "sendingMetrics": {
+ "$ref": "#/definitions/SendingMetricsStatus",
+ "description": "Flag indicating if resource is sending metrics to NewRelic."
+ },
+ "reasonForMetricsStatus": {
+ "type": "string",
+ "description": "Reason for why the resource is sending metrics (or why it is not sending)."
+ },
+ "sendingLogs": {
+ "$ref": "#/definitions/SendingLogsStatus",
+ "description": "Flag indicating if resource is sending logs to NewRelic."
+ },
+ "reasonForLogsStatus": {
+ "type": "string",
+ "description": "Reason for why the resource is sending logs (or why it is not sending)."
+ }
+ },
+ "description": "Details of resource being monitored by NewRelic monitor resource"
+ },
+ "MonitoredResourceListResponse": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MonitoredResource"
+ },
+ "x-cadl-name": "MonitoredResource[]",
+ "description": "The MonitoredResource items on this page"
+ },
+ "nextLink": {
+ "type": "string",
+ "format": "uri",
+ "description": "The link to the next page of items",
+ "x-cadl-name": "Rest.ResourceLocation"
+ }
+ },
+ "description": "List of all the resources being monitored by NewRelic monitor resource",
+ "required": [
+ "value"
+ ]
+ },
+ "MonitoringStatus": {
+ "type": "string",
+ "description": "Flag specifying if the resource monitoring is enabled or disabled.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "MonitoringStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "name": "Enabled",
+ "value": "Enabled",
+ "description": "monitoring is enabled"
+ },
+ {
+ "name": "Disabled",
+ "value": "Disabled",
+ "description": "monitoring is disabled"
+ }
+ ]
+ }
+ },
+ "MonitoringTagRulesProperties": {
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "$ref": "#/definitions/ProvisioningState",
+ "description": "Provisioning State of the resource",
+ "readOnly": true
+ },
+ "logRules": {
+ "$ref": "#/definitions/LogRules",
+ "description": "Set of rules for sending logs for the Monitor resource."
+ },
+ "metricRules": {
+ "$ref": "#/definitions/MetricRules",
+ "description": "Set of rules for sending metrics for the Monitor resource."
+ }
+ },
+ "description": "The resource-specific properties for this resource."
+ },
+ "NewRelicAccountProperties": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "User id"
+ },
+ "accountInfo": {
+ "$ref": "#/definitions/AccountInfo",
+ "description": "NewRelic Account Information"
+ },
+ "organizationInfo": {
+ "$ref": "#/definitions/OrganizationInfo",
+ "description": "NewRelic Organization Information"
+ },
+ "singleSignOnProperties": {
+ "$ref": "#/definitions/NewRelicSingleSignOnProperties",
+ "description": "date when plan was applied"
+ }
+ },
+ "description": "Properties of the NewRelic account"
+ },
+ "NewRelicMonitorResource": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/MonitorProperties",
+ "description": "The resource-specific properties for this resource.",
+ "x-ms-client-flatten": true,
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "identity": {
+ "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity",
+ "description": "The managed service identities assigned to this resource."
+ }
+ },
+ "description": "A Monitor Resource by NewRelic",
+ "required": [
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ }
+ ]
+ },
+ "NewRelicMonitorResourceListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NewRelicMonitorResource"
+ },
+ "x-cadl-name": "NewRelicMonitorResource[]",
+ "description": "The NewRelicMonitorResource items on this page"
+ },
+ "nextLink": {
+ "type": "string",
+ "format": "uri",
+ "description": "The link to the next page of items",
+ "x-cadl-name": "Rest.ResourceLocation"
+ }
+ },
+ "description": "The response of a NewRelicMonitorResource list operation.",
+ "required": [
+ "value"
+ ]
+ },
+ "NewRelicMonitorResourceUpdate": {
+ "type": "object",
+ "properties": {
+ "identity": {
+ "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity",
+ "description": "The managed service identities assigned to this resource."
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "x-cadl-name": "Record",
+ "description": "Resource tags."
+ },
+ "properties": {
+ "$ref": "#/definitions/NewRelicMonitorResourceUpdateProperties",
+ "x-ms-client-flatten": true
+ }
+ },
+ "description": "The type used for update operations of the NewRelicMonitorResource."
+ },
+ "NewRelicMonitorResourceUpdateProperties": {
+ "type": "object",
+ "properties": {
+ "newRelicAccountProperties": {
+ "$ref": "#/definitions/NewRelicAccountProperties",
+ "description": "MarketplaceSubscriptionStatus of the resource"
+ },
+ "userInfo": {
+ "$ref": "#/definitions/UserInfo",
+ "description": "User Info"
+ },
+ "planData": {
+ "$ref": "#/definitions/PlanData",
+ "description": "Plan details"
+ },
+ "orgCreationSource": {
+ "$ref": "#/definitions/OrgCreationSource",
+ "description": "Source of org creation"
+ },
+ "accountCreationSource": {
+ "$ref": "#/definitions/AccountCreationSource",
+ "description": "Source of account creation"
+ }
+ },
+ "description": "The updatable properties of the NewRelicMonitorResource."
+ },
+ "NewRelicSingleSignOnProperties": {
+ "type": "object",
+ "properties": {
+ "singleSignOnState": {
+ "$ref": "#/definitions/SingleSignOnStates",
+ "description": "Single sign-on state"
+ },
+ "enterpriseAppId": {
+ "type": "string",
+ "description": "The Id of the Enterprise App used for Single sign-on."
+ },
+ "singleSignOnUrl": {
+ "type": "string",
+ "description": "The login URL specific to this NewRelic Organization"
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/ProvisioningState",
+ "description": "Provisioning state"
+ }
+ },
+ "description": "Single sign on Info of the NewRelic account"
+ },
+ "OrgCreationSource": {
+ "type": "string",
+ "description": "Source of Org creation",
+ "enum": [
+ "LIFTR",
+ "NEWRELIC"
+ ],
+ "x-ms-enum": {
+ "name": "OrgCreationSource",
+ "modelAsString": true,
+ "values": [
+ {
+ "name": "LIFTR",
+ "value": "LIFTR",
+ "description": "Org is created from LIFTR"
+ },
+ {
+ "name": "NEWRELIC",
+ "value": "NEWRELIC",
+ "description": "Org is created from NEWRELIC"
+ }
+ ]
+ }
+ },
+ "OrganizationIdParameter": {
+ "type": "object",
+ "properties": {},
+ "description": "Organization Id parameter"
+ },
+ "OrganizationInfo": {
+ "type": "object",
+ "properties": {
+ "organizationId": {
+ "type": "string",
+ "description": "Organization id"
+ }
+ },
+ "description": "Organization Info of the NewRelic account"
+ },
+ "OrganizationProperties": {
+ "type": "object",
+ "properties": {
+ "organizationId": {
+ "type": "string",
+ "description": "organization id"
+ },
+ "organizationName": {
+ "type": "string",
+ "description": "organization name"
+ },
+ "billingSource": {
+ "$ref": "#/definitions/BillingSource",
+ "description": "Billing source"
+ }
+ },
+ "description": "Details of Organizations"
+ },
+ "OrganizationsListResponse": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OrganizationResource"
+ },
+ "x-cadl-name": "OrganizationResource[]",
+ "description": "The OrganizationResource items on this page"
+ },
+ "nextLink": {
+ "type": "string",
+ "format": "uri",
+ "description": "The link to the next page of items",
+ "x-cadl-name": "Rest.ResourceLocation"
+ }
+ },
+ "description": "Response of get all organizations Operation.",
+ "required": [
+ "value"
+ ]
+ },
+ "OrganizationResource": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/OrganizationProperties",
+ "description": "The resource-specific properties for this resource.",
+ "x-ms-client-flatten": true,
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ },
+ "description": "The details of a Organization resource.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "PlanData": {
+ "type": "object",
+ "properties": {
+ "usageType": {
+ "$ref": "#/definitions/UsageType",
+ "description": "Different usage type like PAYG/COMMITTED. this could be enum"
+ },
+ "billingCycle": {
+ "$ref": "#/definitions/BillingCycle",
+ "description": "Different billing cycles like MONTHLY/WEEKLY. this could be enum"
+ },
+ "planDetails": {
+ "type": "string",
+ "description": "plan id as published by NewRelic"
+ },
+ "effectiveDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "date when plan was applied"
+ }
+ },
+ "description": "Plan data of NewRelic Monitor resource"
+ },
+ "PlanDataResource": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PlanDataProperties",
+ "description": "The resource-specific properties for this resource.",
+ "x-ms-client-flatten": true,
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ },
+ "description": "The details of a PlanData resource.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "PlanDataListResponse": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PlanDataResource"
+ },
+ "x-cadl-name": "PlanDataResource[]",
+ "description": "The PlanDataResource items on this page"
+ },
+ "nextLink": {
+ "type": "string",
+ "format": "uri",
+ "description": "The link to the next page of items",
+ "x-cadl-name": "Rest.ResourceLocation"
+ }
+ },
+ "description": "Response of get all plan data Operation.",
+ "required": [
+ "value"
+ ]
+ },
+ "PlanDataProperties": {
+ "type": "object",
+ "properties": {
+ "planData": {
+ "$ref": "#/definitions/PlanData",
+ "description": "Plan details"
+ },
+ "orgCreationSource": {
+ "$ref": "#/definitions/OrgCreationSource",
+ "description": "Source of org creation"
+ },
+ "accountCreationSource": {
+ "$ref": "#/definitions/AccountCreationSource",
+ "description": "Source of account creation"
+ }
+ },
+ "description": "Plan details"
+ },
+ "MonitoredSubscription": {
+ "description": "The list of subscriptions and it's monitoring status by current NewRelic monitor.",
+ "type": "object",
+ "properties": {
+ "subscriptionId": {
+ "description": "The subscriptionId to be monitored.",
+ "required": [
+ "subscriptionId"
+ ],
+ "type": "string"
+ },
+ "status": {
+ "description": "The state of monitoring.",
+ "enum": [
+ "InProgress",
+ "Active",
+ "Failed",
+ "Deleting"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "Status"
+ },
+ "type": "string"
+ },
+ "error": {
+ "description": "The reason of not monitoring the subscription.",
+ "type": "string"
+ },
+ "tagRules": {
+ "$ref": "#/definitions/MonitoringTagRulesProperties"
+ }
+ }
+ },
+ "SubscriptionList": {
+ "description": "The request to update subscriptions needed to be monitored by the NewRelic monitor resource.",
+ "type": "object",
+ "properties": {
+ "patchOperation": {
+ "description": "The operation for the patch on the resource.",
+ "enum": [
+ "AddBegin",
+ "AddComplete",
+ "DeleteBegin",
+ "DeleteComplete",
+ "Active"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "PatchOperation"
+ },
+ "x-ms-mutability": [
+ "create",
+ "update"
+ ]
+ },
+ "monitoredSubscriptionList": {
+ "description": "List of subscriptions and the state of the monitoring.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MonitoredSubscription"
+ },
+ "x-ms-identifiers": []
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/ProvisioningState",
+ "description": "Provisioning State of the resource",
+ "readOnly": true
+ }
+ }
+ },
+ "MonitoredSubscriptionProperties": {
+ "description": "The request to update subscriptions needed to be monitored by the NewRelic monitor resource.",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "name": {
+ "description": "Name of the monitored subscription resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "id": {
+ "description": "The id of the monitored subscription resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The type of the monitored subscription resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/SubscriptionList"
+ }
+ }
+ },
+ "MonitoredSubscriptionPropertiesList": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MonitoredSubscriptionProperties"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The link to the next page of items"
+ }
+ }
+ },
+ "LinkedResource": {
+ "description": "The definition of a linked resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The ARM id of the linked resource.",
+ "type": "string"
+ }
+ }
+ },
+ "LinkedResourceListResponse": {
+ "description": "Response of a list operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Results of a list operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LinkedResource"
+ }
+ },
+ "nextLink": {
+ "description": "Link to the next set of results, if any.",
+ "type": "string"
+ }
+ }
+ },
+ "ProvisioningState": {
+ "type": "string",
+ "description": "Provisioning State of the Monitor resource",
+ "enum": [
+ "Accepted",
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Deleted",
+ "NotSpecified"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true,
+ "values": [
+ {
+ "name": "Accepted",
+ "value": "Accepted",
+ "description": "Monitor resource creation request accepted"
+ },
+ {
+ "name": "Creating",
+ "value": "Creating",
+ "description": "Monitor resource creation started"
+ },
+ {
+ "name": "Updating",
+ "value": "Updating",
+ "description": "Monitor resource is being updated"
+ },
+ {
+ "name": "Deleting",
+ "value": "Deleting",
+ "description": "Monitor resource deletion started"
+ },
+ {
+ "name": "Succeeded",
+ "value": "Succeeded",
+ "description": "Monitor resource creation successful"
+ },
+ {
+ "name": "Failed",
+ "value": "Failed",
+ "description": "Monitor resource creation failed"
+ },
+ {
+ "name": "Canceled",
+ "value": "Canceled",
+ "description": "Monitor resource creation canceled"
+ },
+ {
+ "name": "Deleted",
+ "value": "Deleted",
+ "description": "Monitor resource is deleted"
+ },
+ {
+ "name": "NotSpecified",
+ "value": "NotSpecified",
+ "description": "Monitor resource state is unknown"
+ }
+ ]
+ }
+ },
+ "SecureString": {
+ "type": "string",
+ "description": "Credential string.",
+ "format": "password",
+ "x-ms-secret": true
+ },
+ "SendAadLogsStatus": {
+ "type": "string",
+ "description": "Indicates whether AAD logs are being sent.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "SendAadLogsStatus",
+ "modelAsString": true
+ }
+ },
+ "SendActivityLogsStatus": {
+ "type": "string",
+ "description": "Indicates whether activity logs are being sent.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "SendActivityLogsStatus",
+ "modelAsString": true
+ }
+ },
+ "SendMetricsStatus": {
+ "type": "string",
+ "description": "Indicates whether metrics are being sent.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "SendMetricsStatus",
+ "modelAsString": true
+ }
+ },
+ "SendSubscriptionLogsStatus": {
+ "type": "string",
+ "description": "Indicates whether subscription logs are being sent.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "SendSubscriptionLogsStatus",
+ "modelAsString": true
+ }
+ },
+ "SendingLogsStatus": {
+ "type": "string",
+ "description": "Indicates whether logs are being sent.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "SendingLogsStatus",
+ "modelAsString": true
+ }
+ },
+ "SendingMetricsStatus": {
+ "type": "string",
+ "description": "Indicates whether metrics are being sent.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "SendingMetricsStatus",
+ "modelAsString": true
+ }
+ },
+ "SingleSignOnStates": {
+ "type": "string",
+ "description": "Various states of the SSO resource",
+ "enum": [
+ "Initial",
+ "Enable",
+ "Disable",
+ "Existing"
+ ],
+ "x-ms-enum": {
+ "name": "SingleSignOnStates",
+ "modelAsString": true
+ }
+ },
+ "TagAction": {
+ "type": "string",
+ "description": "Valid actions for a filtering tag. Exclusion takes priority over inclusion.",
+ "enum": [
+ "Include",
+ "Exclude"
+ ],
+ "x-ms-enum": {
+ "name": "TagAction",
+ "modelAsString": true
+ }
+ },
+ "TagRule": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/MonitoringTagRulesProperties",
+ "description": "The resource-specific properties for this resource.",
+ "x-ms-client-flatten": true,
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ },
+ "description": "A tag rule belonging to NewRelic account",
+ "required": [
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "TagRuleListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TagRule"
+ },
+ "x-cadl-name": "TagRule[]",
+ "description": "The TagRule items on this page"
+ },
+ "nextLink": {
+ "type": "string",
+ "format": "uri",
+ "description": "The link to the next page of items",
+ "x-cadl-name": "Rest.ResourceLocation"
+ }
+ },
+ "description": "The response of a TagRule list operation.",
+ "required": [
+ "value"
+ ]
+ },
+ "TagRuleUpdate": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/TagRuleUpdateProperties",
+ "x-ms-client-flatten": true
+ }
+ },
+ "description": "The type used for update operations of the TagRule."
+ },
+ "TagRuleUpdateProperties": {
+ "type": "object",
+ "properties": {
+ "logRules": {
+ "$ref": "#/definitions/LogRules",
+ "description": "Set of rules for sending logs for the Monitor resource."
+ },
+ "metricRules": {
+ "$ref": "#/definitions/MetricRules",
+ "description": "Set of rules for sending metrics for the Monitor resource."
+ }
+ },
+ "description": "The updatable properties of the TagRule."
+ },
+ "UsageType": {
+ "type": "string",
+ "description": "Different usage type like PAYG/COMMITTED",
+ "enum": [
+ "PAYG",
+ "COMMITTED"
+ ],
+ "x-ms-enum": {
+ "name": "UsageType",
+ "modelAsString": true,
+ "values": [
+ {
+ "name": "PAYG",
+ "value": "PAYG",
+ "description": "Usage type is PAYG"
+ },
+ {
+ "name": "COMMITTED",
+ "value": "COMMITTED",
+ "description": "Usage type is COMMITTED"
+ }
+ ]
+ }
+ },
+ "UserEmailParameter": {
+ "type": "object",
+ "properties": {},
+ "description": "User email specification."
+ },
+ "UserInfo": {
+ "type": "object",
+ "properties": {
+ "firstName": {
+ "type": "string",
+ "description": "First name",
+ "maxLength": 50
+ },
+ "lastName": {
+ "type": "string",
+ "description": "Last name",
+ "maxLength": 50
+ },
+ "emailAddress": {
+ "$ref": "#/definitions/email",
+ "description": "User Email"
+ },
+ "phoneNumber": {
+ "type": "string",
+ "description": "Contact phone number",
+ "maxLength": 40
+ },
+ "country": {
+ "type": "string",
+ "description": "country if user"
+ }
+ },
+ "description": "User Info of NewRelic Monitor resource"
+ },
+ "VMExtensionPayload": {
+ "type": "object",
+ "properties": {
+ "ingestionKey": {
+ "type": "string",
+ "description": "Ingestion key of the account"
+ }
+ },
+ "description": "Response of payload to be passed while installing VM agent."
+ },
+ "VMHostsListResponse": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VMInfo"
+ },
+ "x-ms-identifiers": [],
+ "x-cadl-name": "VMInfo[]",
+ "description": "The VMInfo items on this page"
+ },
+ "nextLink": {
+ "type": "string",
+ "format": "uri",
+ "description": "The link to the next page of items",
+ "x-cadl-name": "Rest.ResourceLocation"
+ }
+ },
+ "description": "Response of a list VM Host Operation.",
+ "required": [
+ "value"
+ ]
+ },
+ "VMInfo": {
+ "type": "object",
+ "properties": {
+ "vmId": {
+ "type": "string",
+ "description": "Azure VM resource ID"
+ },
+ "agentVersion": {
+ "type": "string",
+ "description": "Version of the NewRelic agent installed on the VM."
+ },
+ "agentStatus": {
+ "type": "string",
+ "description": "Status of the NewRelic agent installed on the VM."
+ }
+ },
+ "description": "Details of VM Resource having NewRelic OneAgent installed"
+ },
+ "email": {
+ "type": "string",
+ "description": "Reusable representation of an email address",
+ "pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"
+ }
+ },
+ "parameters": {
+ "AccountIdParameter": {
+ "name": "accountId",
+ "in": "query",
+ "required": false,
+ "description": "Account Id.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "AppServicesGetParameter": {
+ "name": "request",
+ "in": "body",
+ "required": true,
+ "description": "The details of the app services get request.",
+ "schema": {
+ "$ref": "#/definitions/AppServicesGetRequest"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "SwitchBillingParameter": {
+ "name": "request",
+ "in": "body",
+ "required": true,
+ "description": "The details of the switch billing request.",
+ "schema": {
+ "$ref": "#/definitions/SwitchBillingRequest"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "HostsGetParameter": {
+ "name": "request",
+ "in": "body",
+ "required": true,
+ "description": "The details of the Hosts get request.",
+ "schema": {
+ "$ref": "#/definitions/HostsGetRequest"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "LocationParameter": {
+ "name": "location",
+ "in": "query",
+ "required": true,
+ "description": "Location for NewRelic.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "MetricsRequestParameter": {
+ "name": "request",
+ "in": "body",
+ "required": true,
+ "description": "The details of the get metrics status request.",
+ "schema": {
+ "$ref": "#/definitions/MetricsRequest"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "MetricsStatusRequestParameter": {
+ "name": "request",
+ "in": "body",
+ "required": true,
+ "description": "The details of the get metrics status request.",
+ "schema": {
+ "$ref": "#/definitions/MetricsStatusRequest"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "OrganizationIdParameter": {
+ "name": "organizationId",
+ "in": "query",
+ "required": false,
+ "description": "Organization Id.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "UserEmailParameter": {
+ "name": "userEmail",
+ "in": "query",
+ "required": true,
+ "description": "User Email.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Accounts_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Accounts_List_MaximumSet_Gen.json
new file mode 100644
index 000000000000..cb85d5ce72db
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Accounts_List_MaximumSet_Gen.json
@@ -0,0 +1,28 @@
+{
+ "operationId": "Accounts_List",
+ "title": "Accounts_List_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm",
+ "location": "egh"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "properties": {
+ "organizationId": "wvdclwi",
+ "accountId": "igmdjq",
+ "accountName": "accname",
+ "region": "xnsylopqwcggudcln"
+ }
+ }
+ ],
+ "nextLink": "http://testlink.com"
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Accounts_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Accounts_List_MinimumSet_Gen.json
new file mode 100644
index 000000000000..57a7915d3cc3
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Accounts_List_MinimumSet_Gen.json
@@ -0,0 +1,21 @@
+{
+ "operationId": "Accounts_List",
+ "title": "Accounts_List_MinimumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm",
+ "location": "egh"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/BillingInfo_Get.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/BillingInfo_Get.json
new file mode 100644
index 000000000000..0ac9f0b8b58e
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/BillingInfo_Get.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "marketplaceSaasInfo": {
+ "marketplaceSubscriptionId": "12345678-1234-1234-1234-123456789012",
+ "marketplaceSubscriptionName": "AzNewRelic_b1190c8f",
+ "marketplaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.SaaS/resources/AzNewRelic_b1190c8f",
+ "marketplaceStatus": "Active",
+ "billedAzureSubscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "partnerBillingEntity": {
+ "organizationId": "1234567890",
+ "organizationName": "NROrganizationName"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/ConnectedPartnerResources_List.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/ConnectedPartnerResources_List.json
new file mode 100644
index 000000000000..eb37a722d71a
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/ConnectedPartnerResources_List.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "accountName": "accountName",
+ "accountId": "1156243",
+ "azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "location": "West US 2"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/LinkedResources_List.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/LinkedResources_List.json
new file mode 100644
index 000000000000..c9a8cd712c53
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/LinkedResources_List.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/MonitoredSubscriptions_CreateorUpdate.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/MonitoredSubscriptions_CreateorUpdate.json
new file mode 100644
index 000000000000..5e809fecb9b8
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/MonitoredSubscriptions_CreateorUpdate.json
@@ -0,0 +1,214 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "configurationName": "default",
+ "requestBody": {
+ "properties": {
+ "operation": "AddBegin",
+ "monitoredSubscriptionList": [
+ {
+ "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000",
+ "status": "Active",
+ "tagRules": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001",
+ "status": "Failed",
+ "tagRules": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor/monitoredSubscriptions/default",
+ "type": "NewRelic.Observability/monitors/monitoredSubscriptions",
+ "properties": {
+ "monitoredSubscriptionList": [
+ {
+ "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000",
+ "status": "Active",
+ "tagRules": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001",
+ "status": "Failed",
+ "tagRules": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor/monitoredSubscriptions/default",
+ "type": "NewRelic.Observability/monitors/monitoredSubscriptions",
+ "properties": {
+ "monitoredSubscriptionList": [
+ {
+ "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000",
+ "status": "Active",
+ "tagRules": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001",
+ "status": "Failed",
+ "tagRules": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/MonitoredSubscriptions_Delete.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/MonitoredSubscriptions_Delete.json
new file mode 100644
index 000000000000..65005dfb9cb0
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/MonitoredSubscriptions_Delete.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "configurationName": "default"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/NewRelic.Observability/monitors/test?api-version=2022-09-01"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/MonitoredSubscriptions_Get.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/MonitoredSubscriptions_Get.json
new file mode 100644
index 000000000000..a4b53cc05107
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/MonitoredSubscriptions_Get.json
@@ -0,0 +1,80 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "configurationName": "default"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor/monitoredSubscriptions/default",
+ "type": "NewRelic.Observability/monitors/monitoredSubscriptions",
+ "properties": {
+ "monitoredSubscriptionList": [
+ {
+ "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000",
+ "status": "Active",
+ "tagRules": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001",
+ "status": "Failed",
+ "tagRules": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/MonitoredSubscriptions_List.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/MonitoredSubscriptions_List.json
new file mode 100644
index 000000000000..1b78db492649
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/MonitoredSubscriptions_List.json
@@ -0,0 +1,84 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "default",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor/monitoredSubscriptions/default",
+ "type": "NewRelic.Observability/monitors/monitoredSubscriptions",
+ "properties": {
+ "monitoredSubscriptionList": [
+ {
+ "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000",
+ "status": "Active",
+ "tagRules": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001",
+ "status": "Failed",
+ "tagRules": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/MonitoredSubscriptions_Update.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/MonitoredSubscriptions_Update.json
new file mode 100644
index 000000000000..43a2f9e1acd7
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/MonitoredSubscriptions_Update.json
@@ -0,0 +1,150 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "myMonitor",
+ "configurationName": "default",
+ "requestBody": {
+ "properties": {
+ "operation": "AddComplete",
+ "monitoredSubscriptionList": [
+ {
+ "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000",
+ "status": "Active",
+ "tagRules": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001",
+ "status": "Failed",
+ "tagRules": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor/monitoredSubscriptions/default",
+ "type": "NewRelic.Observability/monitors/monitoredSubscriptions",
+ "properties": {
+ "monitoredSubscriptionList": [
+ {
+ "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000",
+ "status": "Active",
+ "tagRules": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001",
+ "status": "Failed",
+ "tagRules": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/NewRelic.Observability/monitors/test?api-version=2022-09-01"
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json
new file mode 100644
index 000000000000..c2a6c6406046
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json
@@ -0,0 +1,203 @@
+{
+ "operationId": "Monitors_CreateOrUpdate",
+ "title": "Monitors_CreateOrUpdate_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgNewRelic",
+ "monitorName": "cdlymktqw",
+ "resource": {
+ "properties": {
+ "provisioningState": "Accepted",
+ "monitoringStatus": "Enabled",
+ "marketplaceSubscriptionStatus": "Active",
+ "newRelicAccountProperties": {
+ "userId": "vcscxlncofcuduadesd",
+ "accountInfo": {
+ "accountId": "xhqmg",
+ "ingestionKey": "wltnimmhqt",
+ "region": "ljcf"
+ },
+ "organizationInfo": {
+ "organizationId": "k"
+ },
+ "singleSignOnProperties": {
+ "singleSignOnState": "Initial",
+ "enterpriseAppId": "kwiwfz",
+ "singleSignOnUrl": "kvseueuljsxmfwpqctz",
+ "provisioningState": "Accepted"
+ }
+ },
+ "userInfo": {
+ "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf",
+ "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc",
+ "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso",
+ "phoneNumber": "krf",
+ "country": "hslqnwdanrconqyekwbnttaetv"
+ },
+ "planData": {
+ "usageType": "PAYG",
+ "billingCycle": "YEARLY",
+ "planDetails": "tbbiaga",
+ "effectiveDate": "2022-12-05T14:11:37.786Z"
+ },
+ "liftrResourceCategory": "Unknown",
+ "orgCreationSource": "LIFTR",
+ "accountCreationSource": "LIFTR"
+ },
+ "identity": {
+ "type": "None",
+ "userAssignedIdentities": {
+ "key8903": {}
+ }
+ },
+ "tags": {
+ "key6976": "oaxfhf"
+ },
+ "location": "k"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Accepted",
+ "monitoringStatus": "Enabled",
+ "marketplaceSubscriptionStatus": "Active",
+ "marketplaceSubscriptionId": "jizcsbgrdjhrfqqvvruhgftqhra",
+ "newRelicAccountProperties": {
+ "userId": "vcscxlncofcuduadesd",
+ "accountInfo": {
+ "accountId": "xhqmg",
+ "region": "ljcf"
+ },
+ "organizationInfo": {
+ "organizationId": "k"
+ },
+ "singleSignOnProperties": {
+ "singleSignOnState": "Initial",
+ "enterpriseAppId": "kwiwfz",
+ "singleSignOnUrl": "kvseueuljsxmfwpqctz",
+ "provisioningState": "Accepted"
+ }
+ },
+ "userInfo": {
+ "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf",
+ "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc",
+ "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso",
+ "phoneNumber": "krf",
+ "country": "hslqnwdanrconqyekwbnttaetv"
+ },
+ "planData": {
+ "usageType": "PAYG",
+ "billingCycle": "YEARLY",
+ "planDetails": "tbbiaga",
+ "effectiveDate": "2022-12-05T14:11:37.786Z"
+ },
+ "liftrResourceCategory": "Unknown",
+ "liftrResourcePreference": 12,
+ "orgCreationSource": "LIFTR",
+ "accountCreationSource": "LIFTR"
+ },
+ "identity": {
+ "principalId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "tenantId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "type": "None",
+ "userAssignedIdentities": {
+ "key8903": {
+ "principalId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "clientId": "cac47a92-2856-11ed-a261-0242ac120002"
+ }
+ }
+ },
+ "tags": {
+ "key6976": "oaxfhf"
+ },
+ "location": "k",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "name": "fteaqmtwspcfgyopqzrepiqu",
+ "type": "hdj",
+ "systemData": {
+ "createdBy": "pcdjzdldbwsdlfi",
+ "createdByType": "User",
+ "createdAt": "2022-12-05T14:11:37.787Z",
+ "lastModifiedBy": "xbsjrxmwwlmpnpvcica",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-12-05T14:11:37.787Z"
+ }
+ }
+ },
+ "201": {
+ "headers": {
+ "Azure-AsyncOperation": "https://contoso.com/operationstatus"
+ },
+ "body": {
+ "properties": {
+ "provisioningState": "Accepted",
+ "monitoringStatus": "Enabled",
+ "marketplaceSubscriptionStatus": "Active",
+ "marketplaceSubscriptionId": "jizcsbgrdjhrfqqvvruhgftqhra",
+ "newRelicAccountProperties": {
+ "userId": "vcscxlncofcuduadesd",
+ "accountInfo": {
+ "accountId": "xhqmg",
+ "region": "ljcf"
+ },
+ "organizationInfo": {
+ "organizationId": "k"
+ },
+ "singleSignOnProperties": {
+ "singleSignOnState": "Initial",
+ "enterpriseAppId": "kwiwfz",
+ "singleSignOnUrl": "kvseueuljsxmfwpqctz",
+ "provisioningState": "Accepted"
+ }
+ },
+ "userInfo": {
+ "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf",
+ "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc",
+ "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso",
+ "phoneNumber": "krf",
+ "country": "hslqnwdanrconqyekwbnttaetv"
+ },
+ "planData": {
+ "usageType": "PAYG",
+ "billingCycle": "YEARLY",
+ "planDetails": "tbbiaga",
+ "effectiveDate": "2022-12-05T14:11:37.786Z"
+ },
+ "liftrResourceCategory": "Unknown",
+ "liftrResourcePreference": 12,
+ "orgCreationSource": "LIFTR",
+ "accountCreationSource": "LIFTR"
+ },
+ "identity": {
+ "principalId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "tenantId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "type": "None",
+ "userAssignedIdentities": {
+ "key8903": {
+ "principalId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "clientId": "cac47a92-2856-11ed-a261-0242ac120002"
+ }
+ }
+ },
+ "tags": {
+ "key6976": "oaxfhf"
+ },
+ "location": "k",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "name": "fteaqmtwspcfgyopqzrepiqu",
+ "type": "hdj",
+ "systemData": {
+ "createdBy": "pcdjzdldbwsdlfi",
+ "createdByType": "User",
+ "createdAt": "2022-12-05T14:11:37.787Z",
+ "lastModifiedBy": "xbsjrxmwwlmpnpvcica",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-12-05T14:11:37.787Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_Delete_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_Delete_MaximumSet_Gen.json
new file mode 100644
index 000000000000..aba9358151e4
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_Delete_MaximumSet_Gen.json
@@ -0,0 +1,20 @@
+{
+ "operationId": "Monitors_Delete",
+ "title": "Monitors_Delete_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron",
+ "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://contoso.com/operationstatus"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_Delete_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_Delete_MinimumSet_Gen.json
new file mode 100644
index 000000000000..2835260d7a44
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_Delete_MinimumSet_Gen.json
@@ -0,0 +1,20 @@
+{
+ "operationId": "Monitors_Delete",
+ "title": "Monitors_Delete_MinimumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron",
+ "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://contoso.com/operationstatus"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_GetMetricRules_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_GetMetricRules_MaximumSet_Gen.json
new file mode 100644
index 000000000000..9074c283c1ce
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_GetMetricRules_MaximumSet_Gen.json
@@ -0,0 +1,28 @@
+{
+ "operationId": "Monitors_GetMetricRules",
+ "title": "Monitors_GetMetricRules_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgNewRelic",
+ "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz",
+ "request": {
+ "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sendMetrics": "Enabled",
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "qnvixg",
+ "value": "ihyabcsjvhkfzckfjvgvtlhdyvmwge",
+ "action": "Include"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_GetMetricRules_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_GetMetricRules_MinimumSet_Gen.json
new file mode 100644
index 000000000000..f972ad63073b
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_GetMetricRules_MinimumSet_Gen.json
@@ -0,0 +1,22 @@
+{
+ "operationId": "Monitors_GetMetricRules",
+ "title": "Monitors_GetMetricRules_MinimumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgNewRelic",
+ "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz",
+ "request": {
+ "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sendMetrics": "Disabled",
+ "filteringTags": [],
+ "userEmail": null
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json
new file mode 100644
index 000000000000..2b688ffcdbb0
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json
@@ -0,0 +1,25 @@
+{
+ "operationId": "Monitors_GetMetricStatus",
+ "title": "Monitors_GetMetricStatus_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgNewRelic",
+ "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz",
+ "request": {
+ "azureResourceIds": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz"
+ ],
+ "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "azureResourceIds": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json
new file mode 100644
index 000000000000..a78966ef8fb0
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json
@@ -0,0 +1,23 @@
+{
+ "operationId": "Monitors_GetMetricStatus",
+ "title": "Monitors_GetMetricStatus_MinimumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgNewRelic",
+ "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz",
+ "request": {
+ "azureResourceIds": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz"
+ ],
+ "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "azureResourceIds": []
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_Get_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_Get_MaximumSet_Gen.json
new file mode 100644
index 000000000000..64dc339e3f3d
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_Get_MaximumSet_Gen.json
@@ -0,0 +1,81 @@
+{
+ "operationId": "Monitors_Get",
+ "title": "Monitors_Get_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgNewRelic",
+ "monitorName": "cdlymktqw"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Accepted",
+ "monitoringStatus": "Enabled",
+ "marketplaceSubscriptionStatus": "Active",
+ "marketplaceSubscriptionId": "jizcsbgrdjhrfqqvvruhgftqhra",
+ "newRelicAccountProperties": {
+ "userId": "vcscxlncofcuduadesd",
+ "accountInfo": {
+ "accountId": "xhqmg",
+ "region": "ljcf"
+ },
+ "organizationInfo": {
+ "organizationId": "k"
+ },
+ "singleSignOnProperties": {
+ "singleSignOnState": "Initial",
+ "enterpriseAppId": "kwiwfz",
+ "singleSignOnUrl": "kvseueuljsxmfwpqctz",
+ "provisioningState": "Accepted"
+ }
+ },
+ "userInfo": {
+ "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf",
+ "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc",
+ "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso",
+ "phoneNumber": "krf",
+ "country": "hslqnwdanrconqyekwbnttaetv"
+ },
+ "planData": {
+ "usageType": "PAYG",
+ "billingCycle": "YEARLY",
+ "planDetails": "tbbiaga",
+ "effectiveDate": "2022-12-05T14:11:37.786Z"
+ },
+ "liftrResourceCategory": "Unknown",
+ "liftrResourcePreference": 12,
+ "orgCreationSource": "LIFTR",
+ "accountCreationSource": "LIFTR"
+ },
+ "identity": {
+ "principalId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "tenantId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "type": "None",
+ "userAssignedIdentities": {
+ "key8903": {
+ "principalId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "clientId": "cac47a92-2856-11ed-a261-0242ac120002"
+ }
+ }
+ },
+ "tags": {
+ "key6976": "oaxfhf"
+ },
+ "location": "k",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "name": "fteaqmtwspcfgyopqzrepiqu",
+ "type": "hdj",
+ "systemData": {
+ "createdBy": "pcdjzdldbwsdlfi",
+ "createdByType": "User",
+ "createdAt": "2022-12-05T14:11:37.787Z",
+ "lastModifiedBy": "xbsjrxmwwlmpnpvcica",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-12-05T14:11:37.787Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListAppServices_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListAppServices_MaximumSet_Gen.json
new file mode 100644
index 000000000000..7a7d17d215c0
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListAppServices_MaximumSet_Gen.json
@@ -0,0 +1,30 @@
+{
+ "operationId": "Monitors_ListAppServices",
+ "title": "Monitors_ListAppServices_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgNewRelic",
+ "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz",
+ "request": {
+ "azureResourceIds": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz"
+ ],
+ "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz",
+ "agentVersion": "owxkssnbp",
+ "agentStatus": "vclwfecbppsfaygdccfu"
+ }
+ ],
+ "nextLink": "http://testlink.com"
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListAppServices_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListAppServices_MinimumSet_Gen.json
new file mode 100644
index 000000000000..9c0ed8bd898d
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListAppServices_MinimumSet_Gen.json
@@ -0,0 +1,24 @@
+{
+ "operationId": "Monitors_ListAppServices",
+ "title": "Monitors_ListAppServices_MinimumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgNewRelic",
+ "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz",
+ "request": {
+ "azureResourceIds": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz"
+ ],
+ "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json
new file mode 100644
index 000000000000..4e47347dac19
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json
@@ -0,0 +1,85 @@
+{
+ "operationId": "Monitors_ListByResourceGroup",
+ "title": "Monitors_ListByResourceGroup_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgNewRelic"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "provisioningState": "Accepted",
+ "monitoringStatus": "Enabled",
+ "marketplaceSubscriptionStatus": "Active",
+ "marketplaceSubscriptionId": "jizcsbgrdjhrfqqvvruhgftqhra",
+ "newRelicAccountProperties": {
+ "userId": "vcscxlncofcuduadesd",
+ "accountInfo": {
+ "accountId": "xhqmg",
+ "region": "ljcf"
+ },
+ "organizationInfo": {
+ "organizationId": "k"
+ },
+ "singleSignOnProperties": {
+ "singleSignOnState": "Initial",
+ "enterpriseAppId": "kwiwfz",
+ "singleSignOnUrl": "kvseueuljsxmfwpqctz",
+ "provisioningState": "Accepted"
+ }
+ },
+ "userInfo": {
+ "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf",
+ "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc",
+ "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso",
+ "phoneNumber": "krf",
+ "country": "hslqnwdanrconqyekwbnttaetv"
+ },
+ "planData": {
+ "usageType": "PAYG",
+ "billingCycle": "YEARLY",
+ "planDetails": "tbbiaga",
+ "effectiveDate": "2022-12-05T14:11:37.786Z"
+ },
+ "liftrResourceCategory": "Unknown",
+ "liftrResourcePreference": 12,
+ "orgCreationSource": "LIFTR",
+ "accountCreationSource": "LIFTR"
+ },
+ "identity": {
+ "principalId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "tenantId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "type": "None",
+ "userAssignedIdentities": {
+ "key8903": {
+ "principalId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "clientId": "cac47a92-2856-11ed-a261-0242ac120002"
+ }
+ }
+ },
+ "tags": {
+ "key6976": "oaxfhf"
+ },
+ "location": "k",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "name": "fteaqmtwspcfgyopqzrepiqu",
+ "type": "hdj",
+ "systemData": {
+ "createdBy": "pcdjzdldbwsdlfi",
+ "createdByType": "User",
+ "createdAt": "2022-12-05T14:11:37.787Z",
+ "lastModifiedBy": "xbsjrxmwwlmpnpvcica",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-12-05T14:11:37.787Z"
+ }
+ }
+ ],
+ "nextLink": "http://testlink.com"
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListBySubscription_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListBySubscription_MaximumSet_Gen.json
new file mode 100644
index 000000000000..4fc2f4c35eab
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListBySubscription_MaximumSet_Gen.json
@@ -0,0 +1,84 @@
+{
+ "operationId": "Monitors_ListBySubscription",
+ "title": "Monitors_ListBySubscription_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "provisioningState": "Accepted",
+ "monitoringStatus": "Enabled",
+ "marketplaceSubscriptionStatus": "Active",
+ "marketplaceSubscriptionId": "jizcsbgrdjhrfqqvvruhgftqhra",
+ "newRelicAccountProperties": {
+ "userId": "vcscxlncofcuduadesd",
+ "accountInfo": {
+ "accountId": "xhqmg",
+ "region": "ljcf"
+ },
+ "organizationInfo": {
+ "organizationId": "k"
+ },
+ "singleSignOnProperties": {
+ "singleSignOnState": "Initial",
+ "enterpriseAppId": "kwiwfz",
+ "singleSignOnUrl": "kvseueuljsxmfwpqctz",
+ "provisioningState": "Accepted"
+ }
+ },
+ "userInfo": {
+ "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf",
+ "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc",
+ "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso",
+ "phoneNumber": "krf",
+ "country": "hslqnwdanrconqyekwbnttaetv"
+ },
+ "planData": {
+ "usageType": "PAYG",
+ "billingCycle": "YEARLY",
+ "planDetails": "tbbiaga",
+ "effectiveDate": "2022-12-05T14:11:37.786Z"
+ },
+ "liftrResourceCategory": "Unknown",
+ "liftrResourcePreference": 12,
+ "orgCreationSource": "LIFTR",
+ "accountCreationSource": "LIFTR"
+ },
+ "identity": {
+ "principalId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "tenantId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "type": "None",
+ "userAssignedIdentities": {
+ "key8903": {
+ "principalId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "clientId": "cac47a92-2856-11ed-a261-0242ac120002"
+ }
+ }
+ },
+ "tags": {
+ "key6976": "oaxfhf"
+ },
+ "location": "k",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "name": "fteaqmtwspcfgyopqzrepiqu",
+ "type": "hdj",
+ "systemData": {
+ "createdBy": "pcdjzdldbwsdlfi",
+ "createdByType": "User",
+ "createdAt": "2022-12-05T14:11:37.787Z",
+ "lastModifiedBy": "xbsjrxmwwlmpnpvcica",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-12-05T14:11:37.787Z"
+ }
+ }
+ ],
+ "nextLink": "http://testlink.com"
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListHosts_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListHosts_MaximumSet_Gen.json
new file mode 100644
index 000000000000..5d76edda4dbd
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListHosts_MaximumSet_Gen.json
@@ -0,0 +1,30 @@
+{
+ "operationId": "Monitors_ListHosts",
+ "title": "Monitors_ListHosts_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron",
+ "request": {
+ "vmIds": [
+ "xzphvxvfmvjrnsgyns"
+ ],
+ "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "vmId": "gwyoa",
+ "agentVersion": "tbinulnoozxnbr",
+ "agentStatus": "psnjslxwuwtviwzzgqhyzynuxvz"
+ }
+ ],
+ "nextLink": "http://testlink.com"
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListHosts_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListHosts_MinimumSet_Gen.json
new file mode 100644
index 000000000000..0f65c1527f56
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListHosts_MinimumSet_Gen.json
@@ -0,0 +1,24 @@
+{
+ "operationId": "Monitors_ListHosts",
+ "title": "Monitors_ListHosts_MinimumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron",
+ "request": {
+ "vmIds": [
+ "xzphvxvfmvjrnsgyns"
+ ],
+ "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json
new file mode 100644
index 000000000000..d94881320c24
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json
@@ -0,0 +1,26 @@
+{
+ "operationId": "Monitors_ListMonitoredResources",
+ "title": "Monitors_ListMonitoredResources_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "sendingMetrics": "Enabled",
+ "reasonForMetricsStatus": "k",
+ "sendingLogs": "Enabled",
+ "reasonForLogsStatus": "agzxviwuxgr"
+ }
+ ],
+ "nextLink": "http://testlink.com"
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json
new file mode 100644
index 000000000000..4a9a6f15509b
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json
@@ -0,0 +1,18 @@
+{
+ "operationId": "Monitors_ListMonitoredResources",
+ "title": "Monitors_ListMonitoredResources_MinimumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_SwitchBilling_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_SwitchBilling_MaximumSet_Gen.json
new file mode 100644
index 000000000000..7571cc153092
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_SwitchBilling_MaximumSet_Gen.json
@@ -0,0 +1,98 @@
+{
+ "operationId": "Monitors_SwitchBilling",
+ "title": "Monitors_SwitchBilling_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgNewRelic",
+ "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz",
+ "request": {
+ "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm",
+ "azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz",
+ "organizationId": "k",
+ "planData": {
+ "usageType": "PAYG",
+ "billingCycle": "YEARLY",
+ "planDetails": "tbbiaga",
+ "effectiveDate": "2022-12-05T14:11:37.786Z"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Accepted",
+ "monitoringStatus": "Enabled",
+ "marketplaceSubscriptionStatus": "Active",
+ "marketplaceSubscriptionId": "jizcsbgrdjhrfqqvvruhgftqhra",
+ "newRelicAccountProperties": {
+ "userId": "vcscxlncofcuduadesd",
+ "accountInfo": {
+ "accountId": "xhqmg",
+ "region": "ljcf"
+ },
+ "organizationInfo": {
+ "organizationId": "k"
+ },
+ "singleSignOnProperties": {
+ "singleSignOnState": "Initial",
+ "enterpriseAppId": "kwiwfz",
+ "singleSignOnUrl": "kvseueuljsxmfwpqctz",
+ "provisioningState": "Accepted"
+ }
+ },
+ "userInfo": {
+ "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf",
+ "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc",
+ "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso",
+ "phoneNumber": "krf",
+ "country": "hslqnwdanrconqyekwbnttaetv"
+ },
+ "planData": {
+ "usageType": "PAYG",
+ "billingCycle": "YEARLY",
+ "planDetails": "tbbiaga",
+ "effectiveDate": "2022-12-05T14:11:37.786Z"
+ },
+ "liftrResourceCategory": "Unknown",
+ "liftrResourcePreference": 12,
+ "orgCreationSource": "LIFTR",
+ "accountCreationSource": "LIFTR"
+ },
+ "identity": {
+ "principalId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "tenantId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "type": "None",
+ "userAssignedIdentities": {
+ "key8903": {
+ "principalId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "clientId": "cac47a92-2856-11ed-a261-0242ac120002"
+ }
+ }
+ },
+ "tags": {
+ "key6976": "oaxfhf"
+ },
+ "location": "k",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "name": "fteaqmtwspcfgyopqzrepiqu",
+ "type": "hdj",
+ "systemData": {
+ "createdBy": "pcdjzdldbwsdlfi",
+ "createdByType": "User",
+ "createdAt": "2022-12-05T14:11:37.787Z",
+ "lastModifiedBy": "xbsjrxmwwlmpnpvcica",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-12-05T14:11:37.787Z"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://contoso.com/operationstatus"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_SwitchBilling_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_SwitchBilling_MinimumSet_Gen.json
new file mode 100644
index 000000000000..f7c8666f136d
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_SwitchBilling_MinimumSet_Gen.json
@@ -0,0 +1,90 @@
+{
+ "operationId": "Monitors_SwitchBilling",
+ "title": "Monitors_SwitchBilling_MinimumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgNewRelic",
+ "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz",
+ "request": {
+ "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Accepted",
+ "monitoringStatus": "Enabled",
+ "marketplaceSubscriptionStatus": "Active",
+ "marketplaceSubscriptionId": "jizcsbgrdjhrfqqvvruhgftqhra",
+ "newRelicAccountProperties": {
+ "userId": "vcscxlncofcuduadesd",
+ "accountInfo": {
+ "accountId": "xhqmg",
+ "region": "ljcf"
+ },
+ "organizationInfo": {
+ "organizationId": "k"
+ },
+ "singleSignOnProperties": {
+ "singleSignOnState": "Initial",
+ "enterpriseAppId": "kwiwfz",
+ "singleSignOnUrl": "kvseueuljsxmfwpqctz",
+ "provisioningState": "Accepted"
+ }
+ },
+ "userInfo": {
+ "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf",
+ "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc",
+ "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso",
+ "phoneNumber": "krf",
+ "country": "hslqnwdanrconqyekwbnttaetv"
+ },
+ "planData": {
+ "usageType": "PAYG",
+ "billingCycle": "YEARLY",
+ "planDetails": "tbbiaga",
+ "effectiveDate": "2022-12-05T14:11:37.786Z"
+ },
+ "liftrResourceCategory": "Unknown",
+ "liftrResourcePreference": 12,
+ "orgCreationSource": "LIFTR",
+ "accountCreationSource": "LIFTR"
+ },
+ "identity": {
+ "principalId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "tenantId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "type": "None",
+ "userAssignedIdentities": {
+ "key8903": {
+ "principalId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "clientId": "cac47a92-2856-11ed-a261-0242ac120002"
+ }
+ }
+ },
+ "tags": {
+ "key6976": "oaxfhf"
+ },
+ "location": "k",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "name": "fteaqmtwspcfgyopqzrepiqu",
+ "type": "hdj",
+ "systemData": {
+ "createdBy": "pcdjzdldbwsdlfi",
+ "createdByType": "User",
+ "createdAt": "2022-12-05T14:11:37.787Z",
+ "lastModifiedBy": "xbsjrxmwwlmpnpvcica",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-12-05T14:11:37.787Z"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://contoso.com/operationstatus"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_Update_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_Update_MaximumSet_Gen.json
new file mode 100644
index 000000000000..150f52dd87d3
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_Update_MaximumSet_Gen.json
@@ -0,0 +1,126 @@
+{
+ "operationId": "Monitors_Update",
+ "title": "Monitors_Update_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgNewRelic",
+ "monitorName": "cdlymktqw",
+ "properties": {
+ "identity": {
+ "type": "None",
+ "userAssignedIdentities": {
+ "key8903": {}
+ }
+ },
+ "tags": {
+ "key164": "jqakdrrmmyzytqu"
+ },
+ "properties": {
+ "newRelicAccountProperties": {
+ "userId": "vcscxlncofcuduadesd",
+ "accountInfo": {
+ "accountId": "xhqmg",
+ "ingestionKey": "wltnimmhqt",
+ "region": "ljcf"
+ },
+ "organizationInfo": {
+ "organizationId": "k"
+ },
+ "singleSignOnProperties": {
+ "singleSignOnState": "Initial",
+ "enterpriseAppId": "kwiwfz",
+ "singleSignOnUrl": "kvseueuljsxmfwpqctz",
+ "provisioningState": "Accepted"
+ }
+ },
+ "userInfo": {
+ "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf",
+ "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc",
+ "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso",
+ "phoneNumber": "krf",
+ "country": "hslqnwdanrconqyekwbnttaetv"
+ },
+ "planData": {
+ "usageType": "PAYG",
+ "billingCycle": "YEARLY",
+ "planDetails": "tbbiaga",
+ "effectiveDate": "2022-12-05T14:11:37.786Z"
+ },
+ "orgCreationSource": "LIFTR",
+ "accountCreationSource": "LIFTR"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Accepted",
+ "monitoringStatus": "Enabled",
+ "marketplaceSubscriptionStatus": "Active",
+ "marketplaceSubscriptionId": "jizcsbgrdjhrfqqvvruhgftqhra",
+ "newRelicAccountProperties": {
+ "userId": "vcscxlncofcuduadesd",
+ "accountInfo": {
+ "accountId": "xhqmg",
+ "region": "ljcf"
+ },
+ "organizationInfo": {
+ "organizationId": "k"
+ },
+ "singleSignOnProperties": {
+ "singleSignOnState": "Initial",
+ "enterpriseAppId": "kwiwfz",
+ "singleSignOnUrl": "kvseueuljsxmfwpqctz",
+ "provisioningState": "Accepted"
+ }
+ },
+ "userInfo": {
+ "firstName": "vdftzcggirefejajwahhwhyibutramdaotvnuf",
+ "lastName": "bcsztgqovdlmzfkjdrngidwzqsevagexzzilnlc",
+ "emailAddress": "%6%@4-g.N1.3F-kI1.Ue-.lJso",
+ "phoneNumber": "krf",
+ "country": "hslqnwdanrconqyekwbnttaetv"
+ },
+ "planData": {
+ "usageType": "PAYG",
+ "billingCycle": "YEARLY",
+ "planDetails": "tbbiaga",
+ "effectiveDate": "2022-12-05T14:11:37.786Z"
+ },
+ "liftrResourceCategory": "Unknown",
+ "liftrResourcePreference": 12,
+ "orgCreationSource": "LIFTR",
+ "accountCreationSource": "LIFTR"
+ },
+ "identity": {
+ "principalId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "tenantId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "type": "None",
+ "userAssignedIdentities": {
+ "key8903": {
+ "principalId": "cac47a92-2856-11ed-a261-0242ac120002",
+ "clientId": "cac47a92-2856-11ed-a261-0242ac120002"
+ }
+ }
+ },
+ "tags": {
+ "key6976": "oaxfhf"
+ },
+ "location": "k",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "name": "fteaqmtwspcfgyopqzrepiqu",
+ "type": "hdj",
+ "systemData": {
+ "createdBy": "pcdjzdldbwsdlfi",
+ "createdByType": "User",
+ "createdAt": "2022-12-05T14:11:37.787Z",
+ "lastModifiedBy": "xbsjrxmwwlmpnpvcica",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-12-05T14:11:37.787Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_VmHostPayload_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_VmHostPayload_MaximumSet_Gen.json
new file mode 100644
index 000000000000..dc1a51f16a66
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_VmHostPayload_MaximumSet_Gen.json
@@ -0,0 +1,17 @@
+{
+ "operationId": "Monitors_VmHostPayload",
+ "title": "Monitors_VmHostPayload_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "ingestionKey": "ltqewhfexphvqgttoevaywrl"
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_VmHostPayload_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_VmHostPayload_MinimumSet_Gen.json
new file mode 100644
index 000000000000..531031a83a9b
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Monitors_VmHostPayload_MinimumSet_Gen.json
@@ -0,0 +1,17 @@
+{
+ "operationId": "Monitors_VmHostPayload",
+ "title": "Monitors_VmHostPayload_MinimumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "ingestionKey": "ltqewhfexphvqgttoevaywrl"
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Operations_List_MaximumSet_Gen.json
new file mode 100644
index 000000000000..4d2df7c9ecac
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Operations_List_MaximumSet_Gen.json
@@ -0,0 +1,28 @@
+{
+ "operationId": "Operations_List",
+ "title": "Operations_List_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "zhlrjcljiysnufaerhpzg",
+ "isDataAction": true,
+ "display": {
+ "provider": "v",
+ "resource": "w",
+ "operation": "ybyzweygkffbydgaowg",
+ "description": "sekhimcuecttketh"
+ },
+ "origin": "user",
+ "actionType": "Internal"
+ }
+ ],
+ "nextLink": "http://testlink.com"
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Operations_List_MinimumSet_Gen.json
new file mode 100644
index 000000000000..1bdb0612b287
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Operations_List_MinimumSet_Gen.json
@@ -0,0 +1,12 @@
+{
+ "operationId": "Operations_List",
+ "title": "Operations_List_MinimumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {}
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Organizations_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Organizations_List_MaximumSet_Gen.json
new file mode 100644
index 000000000000..23413608c2c7
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Organizations_List_MaximumSet_Gen.json
@@ -0,0 +1,27 @@
+{
+ "operationId": "Organizations_List",
+ "title": "Organizations_List_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm",
+ "location": "egh"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "properties": {
+ "organizationId": "tjmcifofzirili",
+ "organizationName": "orgname",
+ "billingSource": "AZURE"
+ }
+ }
+ ],
+ "nextLink": "http://testlink.com"
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Organizations_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Organizations_List_MinimumSet_Gen.json
new file mode 100644
index 000000000000..8711dbea3150
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Organizations_List_MinimumSet_Gen.json
@@ -0,0 +1,17 @@
+{
+ "operationId": "Organizations_List",
+ "title": "Organizations_List_MinimumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm",
+ "location": "egh"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": []
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Plans_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Plans_List_MaximumSet_Gen.json
new file mode 100644
index 000000000000..bb2bebbeed72
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Plans_List_MaximumSet_Gen.json
@@ -0,0 +1,32 @@
+{
+ "operationId": "Plans_List",
+ "title": "Plans_List_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "accountId": "pwuxgvrmkk",
+ "organizationId": "hilawwjz"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "properties": {
+ "planData": {
+ "usageType": "PAYG",
+ "billingCycle": "YEARLY",
+ "planDetails": "tbbiaga",
+ "effectiveDate": "2022-12-05T14:11:37.786Z"
+ },
+ "orgCreationSource": "LIFTR",
+ "accountCreationSource": "LIFTR"
+ }
+ }
+ ],
+ "nextLink": "http://testlink.com"
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Plans_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Plans_List_MinimumSet_Gen.json
new file mode 100644
index 000000000000..6042052d6e68
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/Plans_List_MinimumSet_Gen.json
@@ -0,0 +1,23 @@
+{
+ "operationId": "Plans_List",
+ "title": "Plans_List_MinimumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "organizationId": "hilawwjz"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "properties": {
+ "orgCreationSource": "NEWRELIC"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json
new file mode 100644
index 000000000000..cbc416d81414
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json
@@ -0,0 +1,121 @@
+{
+ "operationId": "TagRules_CreateOrUpdate",
+ "title": "TagRules_CreateOrUpdate_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron",
+ "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb",
+ "resource": {
+ "properties": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "name": "ddoieozflu",
+ "type": "roafonrkfwwuv",
+ "systemData": {
+ "createdBy": "wqrkemruqrvclsoevdftfeof",
+ "createdByType": "User",
+ "createdAt": "2022-09-02T00:39:52.964Z",
+ "lastModifiedBy": "usdyoriebtakpdotcfp",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-09-02T00:39:52.964Z"
+ }
+ }
+ },
+ "201": {
+ "headers": {
+ "Azure-AsyncOperation": "https://contoso.com/operationstatus"
+ },
+ "body": {
+ "properties": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "name": "ddoieozflu",
+ "type": "roafonrkfwwuv",
+ "systemData": {
+ "createdBy": "wqrkemruqrvclsoevdftfeof",
+ "createdByType": "User",
+ "createdAt": "2022-09-02T00:39:52.964Z",
+ "lastModifiedBy": "usdyoriebtakpdotcfp",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-09-02T00:39:52.964Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json
new file mode 100644
index 000000000000..b21b8c4611ce
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json
@@ -0,0 +1,31 @@
+{
+ "operationId": "TagRules_CreateOrUpdate",
+ "title": "TagRules_CreateOrUpdate_MinimumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron",
+ "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb",
+ "resource": {
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {},
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor"
+ }
+ },
+ "201": {
+ "headers": {
+ "Azure-AsyncOperation": "https://contoso.com/operationstatus"
+ },
+ "body": {
+ "properties": {},
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor"
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Delete_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Delete_MaximumSet_Gen.json
new file mode 100644
index 000000000000..a10623330882
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Delete_MaximumSet_Gen.json
@@ -0,0 +1,20 @@
+{
+ "operationId": "TagRules_Delete",
+ "title": "TagRules_Delete_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron",
+ "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://contoso.com/operationstatus"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Delete_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Delete_MinimumSet_Gen.json
new file mode 100644
index 000000000000..0b5c3a8edab9
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Delete_MinimumSet_Gen.json
@@ -0,0 +1,20 @@
+{
+ "operationId": "TagRules_Delete",
+ "title": "TagRules_Delete_MinimumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron",
+ "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://contoso.com/operationstatus"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Get_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Get_MaximumSet_Gen.json
new file mode 100644
index 000000000000..126b73638fe6
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Get_MaximumSet_Gen.json
@@ -0,0 +1,53 @@
+{
+ "operationId": "TagRules_Get",
+ "title": "TagRules_Get_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron",
+ "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "name": "ddoieozflu",
+ "type": "roafonrkfwwuv",
+ "systemData": {
+ "createdBy": "wqrkemruqrvclsoevdftfeof",
+ "createdByType": "User",
+ "createdAt": "2022-09-02T00:39:52.964Z",
+ "lastModifiedBy": "usdyoriebtakpdotcfp",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-09-02T00:39:52.964Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Get_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Get_MinimumSet_Gen.json
new file mode 100644
index 000000000000..2c5e7ceaa1d6
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Get_MinimumSet_Gen.json
@@ -0,0 +1,19 @@
+{
+ "operationId": "TagRules_Get",
+ "title": "TagRules_Get_MinimumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron",
+ "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {},
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor"
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json
new file mode 100644
index 000000000000..bbc695c88095
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json
@@ -0,0 +1,57 @@
+{
+ "operationId": "TagRules_ListByNewRelicMonitorResource",
+ "title": "TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "name": "ddoieozflu",
+ "type": "roafonrkfwwuv",
+ "systemData": {
+ "createdBy": "wqrkemruqrvclsoevdftfeof",
+ "createdByType": "User",
+ "createdAt": "2022-09-02T00:39:52.964Z",
+ "lastModifiedBy": "usdyoriebtakpdotcfp",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-09-02T00:39:52.964Z"
+ }
+ }
+ ],
+ "nextLink": "http://testlink.com"
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json
new file mode 100644
index 000000000000..362cc9b1cc62
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json
@@ -0,0 +1,22 @@
+{
+ "operationId": "TagRules_ListByNewRelicMonitorResource",
+ "title": "TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {},
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Update_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Update_MaximumSet_Gen.json
new file mode 100644
index 000000000000..d3d42d776c2c
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Update_MaximumSet_Gen.json
@@ -0,0 +1,79 @@
+{
+ "operationId": "TagRules_Update",
+ "title": "TagRules_Update_MaximumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron",
+ "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb",
+ "properties": {
+ "properties": {
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Accepted",
+ "logRules": {
+ "sendAadLogs": "Enabled",
+ "sendSubscriptionLogs": "Enabled",
+ "sendActivityLogs": "Enabled",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ },
+ "metricRules": {
+ "userEmail": "test@testing.com",
+ "filteringTags": [
+ {
+ "name": "saokgpjvdlorciqbjmjxazpee",
+ "value": "sarxrqsxouhdjwsrqqicbeirdb",
+ "action": "Include"
+ }
+ ]
+ }
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
+ "name": "ddoieozflu",
+ "type": "roafonrkfwwuv",
+ "systemData": {
+ "createdBy": "wqrkemruqrvclsoevdftfeof",
+ "createdByType": "User",
+ "createdAt": "2022-09-02T00:39:52.964Z",
+ "lastModifiedBy": "usdyoriebtakpdotcfp",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-09-02T00:39:52.964Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Update_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Update_MinimumSet_Gen.json
new file mode 100644
index 000000000000..fe607956b6fe
--- /dev/null
+++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2023-11-01-preview/examples/TagRules_Update_MinimumSet_Gen.json
@@ -0,0 +1,20 @@
+{
+ "operationId": "TagRules_Update",
+ "title": "TagRules_Update_MinimumSet_Gen",
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "rgopenapi",
+ "monitorName": "ipxmlcbonyxtolzejcjshkmlron",
+ "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb",
+ "properties": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {},
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor"
+ }
+ }
+ }
+}
diff --git a/specification/newrelic/resource-manager/readme.md b/specification/newrelic/resource-manager/readme.md
index e0f611827f9c..833caefd7f68 100644
--- a/specification/newrelic/resource-manager/readme.md
+++ b/specification/newrelic/resource-manager/readme.md
@@ -27,7 +27,7 @@ These are the global settings for the newrelic.
```yaml
openapi-type: arm
openapi-subtype: rpaas
-tag: package-2023-10-01-preview
+tag: package-2023-11-01-preview
```
### Tag: package-2022-07-01-preview
@@ -57,6 +57,15 @@ input-file:
- NewRelic.Observability/preview/2023-10-01-preview/NewRelic.json
```
+### Tag: package-2023-11-01-preview
+
+These settings apply only when `--tag=package-2023-11-01-preview` is specified on the command line.
+
+```yaml $(tag) == 'package-2023-11-01-preview'
+input-file:
+ - NewRelic.Observability/preview/2023-11-01-preview/NewRelic.json
+```
+
---
# Code Generation
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NHOperationsList.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NHOperationsList.json
new file mode 100644
index 000000000000..cf041029a00d
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NHOperationsList.json
@@ -0,0 +1,1267 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.NotificationHubs/register/action",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Microsoft Azure Notification Hub",
+ "operation": "Registers the NotificationHubs Provider",
+ "description": "Registers the subscription for the NotifciationHubs resource provider and enables the creation of Namespaces and NotificationHubs"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/unregister/action",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Microsoft Azure Notification Hub",
+ "operation": "Unregisters the NotificationHubs Provider",
+ "description": "Unregisters the subscription for the NotifciationHubs resource provider and enables the creation of Namespaces and NotificationHubs"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/operations/read",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Microsoft Azure Notification Hub",
+ "operation": "Notification Hubs provider operations",
+ "description": "Returns a list of supported operations for Notification Hubs provider"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/operationResults/read",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Microsoft Azure Notification Hub",
+ "operation": "Operation results for Notification Hubs provider",
+ "description": "Returns operation results for Notification Hubs provider"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/namespaces/providers/Microsoft.Insights/diagnosticSettings/read",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Namespace",
+ "operation": "Read diagnostics setting",
+ "description": "Get Namespace diagnostic settings"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/namespaces/providers/Microsoft.Insights/diagnosticSettings/write",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Namespace",
+ "operation": "Write diagnostic settings",
+ "description": "Create or Update Namespace diagnostic settings"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/namespaces/providers/Microsoft.Insights/logDefinitions/read",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "The log definition of Namespace",
+ "operation": "Read Namespace log definitions",
+ "description": "Gets the available logs for Namespace"
+ },
+ "properties": {
+ "serviceSpecification": {
+ "logSpecifications": [
+ {
+ "name": "OperationalLogs",
+ "displayName": "Operational Logs",
+ "blobDuration": "PT1H"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/CheckNamespaceAvailability/action",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Namespace",
+ "operation": "Check Namespace name availability.",
+ "description": "Checks whether or not a given Namespace resource name is available within the NotificationHub service."
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/write",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Namespace",
+ "operation": "Create Or Update Namespace",
+ "description": "Create a Namespace Resource and Update its properties. Tags and Capacity of the Namespace are the properties which can be updated."
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/read",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Namespace",
+ "operation": "Get Namespace Resource",
+ "description": "Get the list of Namespace Resource Description"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/delete",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Namespace",
+ "operation": "Delete Namespace",
+ "description": "Delete Namespace Resource"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/authorizationRules/write",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Namespace Authorization Rule",
+ "operation": "Create or Update Namespace Authorization Rules",
+ "description": "Create a Namespace level Authorization Rules and update its properties. The Authorization Rules Access Rights, the Primary and Secondary Keys can be updated."
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/authorizationRules/action",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Namespace Authorization Rule",
+ "operation": "Get Namespace Authorization Rules",
+ "description": "Get the list of Namespaces Authorization Rules description."
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/authorizationRules/read",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Namespace Authorization Rule",
+ "operation": "Get Namespace Authorization Rules",
+ "description": "Get the list of Namespaces Authorization Rules description."
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/authorizationRules/delete",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Namespace Authorization Rule",
+ "operation": "Delete Namespace Authorization Rule",
+ "description": "Delete Namespace Authorization Rule. The Default Namespace Authorization Rule cannot be deleted."
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/authorizationRules/listkeys/action",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Namespace Authorization Rule",
+ "operation": "Get Namespace Listkeys",
+ "description": "Get the Connection String to the Namespace"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/authorizationRules/regenerateKeys/action",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Namespace Authorization Rule",
+ "operation": "Namespace Authorization Rule Regenerate Keys",
+ "description": "Namespace Authorization Rule Regenerate Primary/SecondaryKey, Specify the Key that needs to be regenerated"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/CheckNotificationHubAvailability/action",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Namespace",
+ "operation": "Check NotificationHub name availability.",
+ "description": "Checks whether or not a given NotificationHub name is available inside a Namespace."
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/NotificationHubs/write",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "NotificationHub",
+ "operation": "Create or Update Notification Hub",
+ "description": "Create a Notification Hub and Update its properties. Its properties mainly include PNS Credentials. Authorization Rules and TTL"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/NotificationHubs/vapidkeys/read",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "NotificationHub",
+ "operation": "Get VAPID keys for a Notification Hub",
+ "description": "Get new pair of VAPID keys for a Notification Hub"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/NotificationHubs/read",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "NotificationHub",
+ "operation": "Get Notification Hub",
+ "description": "Get list of Notification Hub Resource Descriptions"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/NotificationHubs/delete",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "NotificationHub",
+ "operation": "Delete Notification Hub",
+ "description": "Delete Notification Hub Resource"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/NotificationHubs/authorizationRules/write",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "NotificationHub Authorization Rule",
+ "operation": "Create or Update Notification hub Authorization Rule",
+ "description": "Create Notification Hub Authorization Rules and Update its properties. The Authorization Rules Access Rights, the Primary and Secondary Keys can be updated."
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/NotificationHubs/authorizationRules/action",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "NotificationHub Authorization Rule",
+ "operation": "Get Notification Hub Authorization Rules",
+ "description": "Get the list of Notification Hub Authorization Rules"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/NotificationHubs/authorizationRules/read",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "NotificationHub Authorization Rule",
+ "operation": "Get Notification Hub Authorization Rules",
+ "description": "Get the list of Notification Hub Authorization Rules"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/NotificationHubs/authorizationRules/delete",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "NotificationHub Authorization Rule",
+ "operation": "Delete Notification Hub Authorization Rules",
+ "description": "Delete Notification Hub Authorization Rules"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/NotificationHubs/authorizationRules/listkeys/action",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "NotificationHub Authorization Rule",
+ "operation": "Get Notification Hub Listkeys",
+ "description": "Get the Connection String to the Notification Hub"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/NotificationHubs/authorizationRules/regenerateKeys/action",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "NotificationHub Authorization Rule",
+ "operation": "Notification Hub Authorization Rule Regenerate Keys",
+ "description": "Notification Hub Authorization Rule Regenerate Primary/SecondaryKey, Specify the Key that needs to be regenerated"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/NotificationHubs/pnsCredentials/action",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "NotificationHub PnsCredential",
+ "operation": "Get Notification Hub PNS Credentials",
+ "description": "Get All Notification Hub PNS Credentials. This includes, WNS, MPNS, APNS, GCM, Baidu and FcmV1 credentials"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/NotificationHubs/debugSend/action",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "NotificationHub",
+ "operation": "Send a test push notification.",
+ "description": "Send a test push notification to 10 matched devices."
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/Namespaces/NotificationHubs/metricDefinitions/read",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Namespace metrics",
+ "operation": "Get Namespace metrics",
+ "description": "Get list of Namespace metrics Resource Descriptions"
+ },
+ "properties": {
+ "serviceSpecification": {
+ "metricSpecifications": [
+ {
+ "name": "registration.all",
+ "displayName": "Registration Operations",
+ "displayDescription": "The count of all successful registration operations (creations updates queries and deletions). ",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "registration.create",
+ "displayName": "Registration Create Operations",
+ "displayDescription": "The count of all successful registration creations.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "registration.update",
+ "displayName": "Registration Update Operations",
+ "displayDescription": "The count of all successful registration updates.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "registration.get",
+ "displayName": "Registration Read Operations",
+ "displayDescription": "The count of all successful registration queries.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "registration.delete",
+ "displayName": "Registration Delete Operations",
+ "displayDescription": "The count of all successful registration deletions.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "incoming",
+ "displayName": "Incoming Messages",
+ "displayDescription": "The count of all successful send API calls. ",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "incoming.scheduled",
+ "displayName": "Scheduled Push Notifications Sent",
+ "displayDescription": "Scheduled Push Notifications Sent",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "incoming.scheduled.cancel",
+ "displayName": "Scheduled Push Notifications Cancelled",
+ "displayDescription": "Scheduled Push Notifications Cancelled",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "scheduled.pending",
+ "displayName": "Pending Scheduled Notifications",
+ "displayDescription": "Pending Scheduled Notifications",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "installation.all",
+ "displayName": "Installation Management Operations",
+ "displayDescription": "Installation Management Operations",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "installation.get",
+ "displayName": "Get Installation Operations",
+ "displayDescription": "Get Installation Operations",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "installation.upsert",
+ "displayName": "Create or Update Installation Operations",
+ "displayDescription": "Create or Update Installation Operations",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "installation.patch",
+ "displayName": "Patch Installation Operations",
+ "displayDescription": "Patch Installation Operations",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "installation.delete",
+ "displayName": "Delete Installation Operations",
+ "displayDescription": "Delete Installation Operations",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.allpns.success",
+ "displayName": "Successful notifications",
+ "displayDescription": "The count of all successful notifications.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.allpns.invalidpayload",
+ "displayName": "Payload Errors",
+ "displayDescription": "The count of pushes that failed because the PNS returned a bad payload error.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.allpns.pnserror",
+ "displayName": "External Notification System Errors",
+ "displayDescription": "The count of pushes that failed because there was a problem communicating with the PNS (excludes authentication problems).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.allpns.channelerror",
+ "displayName": "Channel Errors",
+ "displayDescription": "The count of pushes that failed because the channel was invalid not associated with the correct app throttled or expired.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.allpns.badorexpiredchannel",
+ "displayName": "Bad or Expired Channel Errors",
+ "displayDescription": "The count of pushes that failed because the channel/token/registrationId in the registration was expired or invalid.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.wns.success",
+ "displayName": "WNS Successful Notifications",
+ "displayDescription": "The count of all successful notifications.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.wns.invalidcredentials",
+ "displayName": "WNS Authorization Errors (Invalid Credentials)",
+ "displayDescription": "The count of pushes that failed because the PNS did not accept the provided credentials or the credentials are blocked. (Windows Live does not recognize the credentials).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.wns.badchannel",
+ "displayName": "WNS Bad Channel Error",
+ "displayDescription": "The count of pushes that failed because the ChannelURI in the registration was not recognized (WNS status: 404 not found).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.wns.expiredchannel",
+ "displayName": "WNS Expired Channel Error",
+ "displayDescription": "The count of pushes that failed because the ChannelURI is expired (WNS status: 410 Gone).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.wns.throttled",
+ "displayName": "WNS Throttled Notifications",
+ "displayDescription": "The count of pushes that failed because WNS is throttling this app (WNS status: 406 Not Acceptable).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.wns.tokenproviderunreachable",
+ "displayName": "WNS Authorization Errors (Unreachable)",
+ "displayDescription": "Windows Live is not reachable.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.wns.invalidtoken",
+ "displayName": "WNS Authorization Errors (Invalid Token)",
+ "displayDescription": "The token provided to WNS is not valid (WNS status: 401 Unauthorized).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.wns.wrongtoken",
+ "displayName": "WNS Authorization Errors (Wrong Token)",
+ "displayDescription": "The token provided to WNS is valid but for another application (WNS status: 403 Forbidden). This can happen if the ChannelURI in the registration is associated with another app. Check that the client app is associated with the same app whose credentials are in the notification hub.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.wns.invalidnotificationformat",
+ "displayName": "WNS Invalid Notification Format",
+ "displayDescription": "The format of the notification is invalid (WNS status: 400). Note that WNS does not reject all invalid payloads.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.wns.invalidnotificationsize",
+ "displayName": "WNS Invalid Notification Size Error",
+ "displayDescription": "The notification payload is too large (WNS status: 413).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.wns.channelthrottled",
+ "displayName": "WNS Channel Throttled",
+ "displayDescription": "The notification was dropped because the ChannelURI in the registration is throttled (WNS response header: X-WNS-NotificationStatus:channelThrottled).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.wns.channeldisconnected",
+ "displayName": "WNS Channel Disconnected",
+ "displayDescription": "The notification was dropped because the ChannelURI in the registration is throttled (WNS response header: X-WNS-DeviceConnectionStatus: disconnected).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.wns.dropped",
+ "displayName": "WNS Dropped Notifications",
+ "displayDescription": "The notification was dropped because the ChannelURI in the registration is throttled (X-WNS-NotificationStatus: dropped but not X-WNS-DeviceConnectionStatus: disconnected).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.wns.pnserror",
+ "displayName": "WNS Errors",
+ "displayDescription": "Notification not delivered because of errors communicating with WNS.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.wns.authenticationerror",
+ "displayName": "WNS Authentication Errors",
+ "displayDescription": "Notification not delivered because of errors communicating with Windows Live invalid credentials or wrong token.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.apns.success",
+ "displayName": "APNS Successful Notifications",
+ "displayDescription": "The count of all successful notifications.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.apns.invalidcredentials",
+ "displayName": "APNS Authorization Errors",
+ "displayDescription": "The count of pushes that failed because the PNS did not accept the provided credentials or the credentials are blocked.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.apns.badchannel",
+ "displayName": "APNS Bad Channel Error",
+ "displayDescription": "The count of pushes that failed because the token is invalid (APNS status code: 8).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.apns.expiredchannel",
+ "displayName": "APNS Expired Channel Error",
+ "displayDescription": "The count of token that were invalidated by the APNS feedback channel.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.apns.invalidnotificationsize",
+ "displayName": "APNS Invalid Notification Size Error",
+ "displayDescription": "The count of pushes that failed because the payload was too large (APNS status code: 7).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.apns.pnserror",
+ "displayName": "APNS Errors",
+ "displayDescription": "The count of pushes that failed because of errors communicating with APNS.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.gcm.success",
+ "displayName": "GCM Successful Notifications",
+ "displayDescription": "The count of all successful notifications.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.gcm.invalidcredentials",
+ "displayName": "GCM Authorization Errors (Invalid Credentials)",
+ "displayDescription": "The count of pushes that failed because the PNS did not accept the provided credentials or the credentials are blocked.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.gcm.badchannel",
+ "displayName": "GCM Bad Channel Error",
+ "displayDescription": "The count of pushes that failed because the registrationId in the registration was not recognized (GCM result: Invalid Registration).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.gcm.expiredchannel",
+ "displayName": "GCM Expired Channel Error",
+ "displayDescription": "The count of pushes that failed because the registrationId in the registration was expired (GCM result: NotRegistered).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.gcm.throttled",
+ "displayName": "GCM Throttled Notifications",
+ "displayDescription": "The count of pushes that failed because GCM throttled this app (GCM status code: 501-599 or result:Unavailable).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.gcm.invalidnotificationformat",
+ "displayName": "GCM Invalid Notification Format",
+ "displayDescription": "The count of pushes that failed because the payload was not formatted correctly (GCM result: InvalidDataKey or InvalidTtl).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.gcm.invalidnotificationsize",
+ "displayName": "GCM Invalid Notification Size Error",
+ "displayDescription": "The count of pushes that failed because the payload was too large (GCM result: MessageTooBig).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.gcm.wrongchannel",
+ "displayName": "GCM Wrong Channel Error",
+ "displayDescription": "The count of pushes that failed because the registrationId in the registration is not associated to the current app (GCM result: InvalidPackageName).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.gcm.pnserror",
+ "displayName": "GCM Errors",
+ "displayDescription": "The count of pushes that failed because of errors communicating with GCM.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.gcm.authenticationerror",
+ "displayName": "GCM Authentication Errors",
+ "displayDescription": "The count of pushes that failed because the PNS did not accept the provided credentials the credentials are blocked or the SenderId is not correctly configured in the app (GCM result: MismatchedSenderId).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.mpns.success",
+ "displayName": "MPNS Successful Notifications",
+ "displayDescription": "The count of all successful notifications.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.mpns.invalidcredentials",
+ "displayName": "MPNS Invalid Credentials",
+ "displayDescription": "The count of pushes that failed because the PNS did not accept the provided credentials or the credentials are blocked.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.mpns.badchannel",
+ "displayName": "MPNS Bad Channel Error",
+ "displayDescription": "The count of pushes that failed because the ChannelURI in the registration was not recognized (MPNS status: 404 not found).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.mpns.throttled",
+ "displayName": "MPNS Throttled Notifications",
+ "displayDescription": "The count of pushes that failed because MPNS is throttling this app (WNS MPNS: 406 Not Acceptable).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.mpns.invalidnotificationformat",
+ "displayName": "MPNS Invalid Notification Format",
+ "displayDescription": "The count of pushes that failed because the payload of the notification was too large.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.mpns.channeldisconnected",
+ "displayName": "MPNS Channel Disconnected",
+ "displayDescription": "The count of pushes that failed because the ChannelURI in the registration was disconnected (MPNS status: 412 not found).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.mpns.dropped",
+ "displayName": "MPNS Dropped Notifications",
+ "displayDescription": "The count of pushes that were dropped by MPNS (MPNS response header: X-NotificationStatus: QueueFull or Suppressed).",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.mpns.pnserror",
+ "displayName": "MPNS Errors",
+ "displayDescription": "The count of pushes that failed because of errors communicating with MPNS.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "outgoing.mpns.authenticationerror",
+ "displayName": "MPNS Authentication Errors",
+ "displayDescription": "The count of pushes that failed because the PNS did not accept the provided credentials or the credentials are blocked.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "notificationhub.pushes",
+ "displayName": "All Outgoing Notifications",
+ "displayDescription": "All outgoing notifications of the notification hub",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "incoming.all.requests",
+ "displayName": "All Incoming Requests",
+ "displayDescription": "Total incoming requests for a notification hub",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "incoming.all.failedrequests",
+ "displayName": "All Incoming Failed Requests",
+ "displayDescription": "Total incoming failed requests for a notification hub",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "P30D"
+ }
+ ],
+ "fillGapWithZero": true
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/namespaces/privateEndpointConnectionsApproval/action",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Namespace",
+ "operation": "Approve Private Endpoint Connection",
+ "description": "Approve Private Endpoint Connection"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/namespaces/privateEndpointConnectionProxies/validate/action",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Private Endpoint Connection Proxy",
+ "operation": "Validate Private Endpoint Connection Proxy",
+ "description": "Validate Private Endpoint Connection Proxy"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/namespaces/privateEndpointConnectionProxies/read",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Private Endpoint Connection Proxy",
+ "operation": "Get Private Endpoint Connection Proxy",
+ "description": "Get Private Endpoint Connection Proxy"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/namespaces/privateEndpointConnectionProxies/write",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Private Endpoint Connection Proxy",
+ "operation": "Create Private Endpoint Connection Proxy",
+ "description": "Create Private Endpoint Connection Proxy"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/namespaces/privateEndpointConnectionProxies/delete",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Private Endpoint Connection Proxy",
+ "operation": "Delete Private Endpoint Connection Proxy",
+ "description": "Delete Private Endpoint Connection Proxy"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/namespaces/privateEndpointConnectionProxies/operationstatus/read",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Private Endpoint Connection Proxy",
+ "operation": "Private endpoint operation status",
+ "description": "Get the status of an asynchronous private endpoint operation"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/namespaces/privateEndpointConnections/read",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Private Endpoint Connection",
+ "operation": "Get Private Endpoint Connection",
+ "description": "Get Private Endpoint Connection"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/namespaces/privateEndpointConnections/write",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Private Endpoint Connection",
+ "operation": "Create or Update Private Endpoint Connection",
+ "description": "Create or Update Private Endpoint Connection"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/namespaces/privateEndpointConnections/delete",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Private Endpoint Connection",
+ "operation": "Removes Private Endpoint Connection",
+ "description": "Removes Private Endpoint Connection"
+ }
+ },
+ {
+ "name": "Microsoft.NotificationHubs/namespaces/privateEndpointConnections/operationstatus/read",
+ "display": {
+ "provider": "Microsoft Azure Notification Hub",
+ "resource": "Private Endpoint Connection",
+ "operation": "Removes Private Endpoint Connection",
+ "description": "Removes Private Endpoint Connection"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleCreateOrUpdate.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleCreateOrUpdate.json
new file mode 100644
index 000000000000..8725dfdd5af8
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleCreateOrUpdate.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "authorizationRuleName": "sdk-AuthRules-1788",
+ "resourceGroupName": "5ktrial",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "location": "West Europe",
+ "parameters": {
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ],
+ "modifiedTime": "2023-04-26T10:09:19.9675121+00:00",
+ "createdTime": "2023-04-26T10:09:19.9675121+00:00"
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/authorizationRules/NewAuthorizationRule",
+ "name": "NewAuthorizationRule",
+ "type": "Microsoft.NotificationHubs/namespaces/authorizationRules"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ],
+ "modifiedTime": "2023-04-26T10:09:19.9675121+00:00",
+ "createdTime": "2023-04-26T10:09:19.9675121+00:00"
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/authorizationRules/NewAuthorizationRule",
+ "name": "NewAuthorizationRule",
+ "type": "Microsoft.NotificationHubs/namespaces/authorizationRules"
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleDelete.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleDelete.json
new file mode 100644
index 000000000000..14bc415c4a0d
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "authorizationRuleName": "RootManageSharedAccessKey",
+ "resourceGroupName": "5ktrial",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleGet.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleGet.json
new file mode 100644
index 000000000000..ccdd755a75b4
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleGet.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "authorizationRuleName": "RootManageSharedAccessKey",
+ "resourceGroupName": "5ktrial",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "rights": [
+ "Manage",
+ "Listen",
+ "Send"
+ ],
+ "modifiedTime": "2023-04-26T10:19:36.3315279+00:00",
+ "createdTime": "2023-04-26T10:19:36.3315279+00:00"
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/authorizationRules/RootManageSharedAccessKey",
+ "name": "RootManageSharedAccessKey",
+ "type": "Microsoft.NotificationHubs/namespaces/authorizationRules"
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleList.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleList.json
new file mode 100644
index 000000000000..4aef36d53853
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleList.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "resourceGroupName": "5ktrial",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "rights": [
+ "Manage",
+ "Listen",
+ "Send"
+ ],
+ "modifiedTime": "2023-04-26T06:10:44.0407987+00:00",
+ "createdTime": "2023-04-26T06:10:44.0407982+00:00"
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/authorizationRules/RootManageSharedAccessKey",
+ "name": "RootManageSharedAccessKey",
+ "type": "Microsoft.NotificationHubs/namespaces/authorizationRules"
+ },
+ {
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ],
+ "modifiedTime": "2023-04-26T10:09:19.9675121+00:00",
+ "createdTime": "2023-04-26T10:09:19.9675121+00:00"
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/authorizationRules/NewAuthorizationRule",
+ "name": "NewAuthorizationRule",
+ "type": "Microsoft.NotificationHubs/namespaces/authorizationRules"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleListKeys.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleListKeys.json
new file mode 100644
index 000000000000..54077074157f
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleListKeys.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "authorizationRuleName": "RootManageSharedAccessKey",
+ "resourceGroupName": "5ktrial",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "primaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################",
+ "secondaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################",
+ "primaryKey": "############################################",
+ "secondaryKey": "############################################",
+ "keyName": "RootManageSharedAccessKey"
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleRegenerateKey.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleRegenerateKey.json
new file mode 100644
index 000000000000..fa327b2ad97a
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleRegenerateKey.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "authorizationRuleName": "RootManageSharedAccessKey",
+ "resourceGroupName": "5ktrial",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "parameters": {
+ "policyKey": "PrimaryKey"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "primaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=########################################",
+ "secondaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=########################################",
+ "primaryKey": "########################################",
+ "secondaryKey": "########################################",
+ "keyName": "RootManageSharedAccessKey"
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/CheckAvailability.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/CheckAvailability.json
new file mode 100644
index 000000000000..363716efd3b3
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/CheckAvailability.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "parameters": {
+ "name": "sdk-Namespace-2924"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isAvailiable": true,
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/providers/Microsoft.NotificationHubs/namespaces/sdk-Namespace-2924",
+ "name": "sdk-Namespace-2924",
+ "type": "Microsoft.NotificationHubs/namespaces/checkNamespaceAvailability"
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/CreateOrUpdate.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/CreateOrUpdate.json
new file mode 100644
index 000000000000..1994e380fe58
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/CreateOrUpdate.json
@@ -0,0 +1,125 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "resourceGroupName": "5ktrial",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "parameters": {
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard"
+ },
+ "location": "South Central US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "zoneRedundancy": "Enabled",
+ "networkAcls": {
+ "ipRules": [
+ {
+ "ipMask": "185.48.100.00/24",
+ "rights": [
+ "Manage",
+ "Send",
+ "Listen"
+ ]
+ }
+ ],
+ "publicNetworkRule": {
+ "rights": [
+ "Listen"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "East US",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "name": "nh-sdk-ns",
+ "provisioningState": "Succeeded",
+ "status": "Created",
+ "enabled": true,
+ "critical": false,
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "createdAt": "2023-04-26T06:10:44.01+00:00",
+ "updatedAt": "2023-04-26T06:16:17.697+00:00",
+ "namespaceType": "NotificationHub",
+ "publicNetworkAccess": "Enabled",
+ "zoneRedundancy": "Enabled",
+ "networkAcls": {
+ "ipRules": [
+ {
+ "ipMask": "185.48.100.00/24",
+ "rights": [
+ "Manage",
+ "Send",
+ "Listen"
+ ]
+ }
+ ],
+ "publicNetworkRule": {
+ "rights": [
+ "Listen"
+ ]
+ }
+ },
+ "serviceBusEndpoint": "https://nh-sdk-ns.servicebus.windows.net:443/",
+ "privateEndpointConnections": []
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns",
+ "name": "nh-sdk-ns",
+ "type": "Microsoft.NotificationHubs/namespaces",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "location": "East US",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "provisioningState": "InProgress",
+ "publicNetworkAccess": "Enabled",
+ "zoneRedundancy": "Enabled",
+ "networkAcls": {
+ "ipRules": [
+ {
+ "ipMask": "185.48.100.00/24",
+ "rights": [
+ "Manage",
+ "Send",
+ "Listen"
+ ]
+ }
+ ],
+ "publicNetworkRule": {
+ "rights": [
+ "Listen"
+ ]
+ }
+ }
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns",
+ "name": "nh-sdk-ns",
+ "type": "Microsoft.NotificationHubs/namespaces",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/Delete.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/Delete.json
new file mode 100644
index 000000000000..bb09c5fa1001
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "resourceGroupName": "5ktrial",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/Get.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/Get.json
new file mode 100644
index 000000000000..8725c9cd0280
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/Get.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "resourceGroupName": "5ktrial",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "East US",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "name": "nh-sdk-ns",
+ "provisioningState": "Succeeded",
+ "status": "Created",
+ "enabled": true,
+ "critical": false,
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "createdAt": "2023-04-26T06:10:44.01+00:00",
+ "updatedAt": "2023-04-26T06:10:44.03+00:00",
+ "namespaceType": "NotificationHub",
+ "publicNetworkAccess": "Enabled",
+ "networkAcls": {
+ "ipRules": [
+ {
+ "ipMask": "185.48.100.00/24",
+ "rights": [
+ "Manage",
+ "Send",
+ "Listen"
+ ]
+ }
+ ],
+ "publicNetworkRule": {
+ "rights": [
+ "Listen"
+ ]
+ }
+ },
+ "serviceBusEndpoint": "https://nh-sdk-ns.servicebus.windows.net:443/",
+ "privateEndpointConnections": []
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns",
+ "name": "nh-sdk-ns",
+ "type": "Microsoft.NotificationHubs/namespaces",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/ListByResourceGroup.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/ListByResourceGroup.json
new file mode 100644
index 000000000000..92a6479d5efb
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/ListByResourceGroup.json
@@ -0,0 +1,94 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "resourceGroupName": "5ktrial"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "location": "East US",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "name": "namespace-1",
+ "provisioningState": "Succeeded",
+ "status": "Created",
+ "enabled": true,
+ "critical": false,
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "createdAt": "2023-04-26T06:10:44.01+00:00",
+ "updatedAt": "2023-04-26T06:10:44.03+00:00",
+ "namespaceType": "NotificationHub",
+ "publicNetworkAccess": "Enabled",
+ "networkAcls": {
+ "ipRules": [
+ {
+ "ipMask": "185.48.100.00/24",
+ "rights": [
+ "Manage",
+ "Send",
+ "Listen"
+ ]
+ }
+ ],
+ "publicNetworkRule": {
+ "rights": [
+ "Listen"
+ ]
+ }
+ },
+ "serviceBusEndpoint": "https://namespace-1.servicebus.windows.net:443/",
+ "privateEndpointConnections": []
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/namespace-1",
+ "name": "namespace-2",
+ "type": "Microsoft.NotificationHubs/namespaces",
+ "tags": {}
+ },
+ {
+ "location": "East US",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "name": "namespace-2",
+ "provisioningState": "Succeeded",
+ "status": "Created",
+ "enabled": true,
+ "critical": false,
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "createdAt": "2023-04-26T06:10:44.01+00:00",
+ "updatedAt": "2023-04-26T06:10:44.03+00:00",
+ "namespaceType": "NotificationHub",
+ "publicNetworkAccess": "Enabled",
+ "networkAcls": {
+ "ipRules": [],
+ "publicNetworkRule": {
+ "rights": [
+ "Manage",
+ "Listen",
+ "Send"
+ ]
+ }
+ },
+ "serviceBusEndpoint": "https://namespace-2.servicebus.windows.net:443/",
+ "privateEndpointConnections": []
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/namespace-2",
+ "name": "namespace-2",
+ "type": "Microsoft.NotificationHubs/namespaces",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/providers/Microsoft.NotificationHubs/namespaces?api-version=2023-10-01-preview&$count=2&$skipToken=##################"
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/ListBySubscription.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/ListBySubscription.json
new file mode 100644
index 000000000000..da07e8ee5cf9
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/ListBySubscription.json
@@ -0,0 +1,93 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "location": "East US",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "name": "namespace-1",
+ "provisioningState": "Succeeded",
+ "status": "Created",
+ "enabled": true,
+ "critical": false,
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "createdAt": "2023-04-26T06:10:44.01+00:00",
+ "updatedAt": "2023-04-26T06:10:44.03+00:00",
+ "namespaceType": "NotificationHub",
+ "publicNetworkAccess": "Enabled",
+ "networkAcls": {
+ "ipRules": [
+ {
+ "ipMask": "185.48.100.00/24",
+ "rights": [
+ "Manage",
+ "Send",
+ "Listen"
+ ]
+ }
+ ],
+ "publicNetworkRule": {
+ "rights": [
+ "Listen"
+ ]
+ }
+ },
+ "serviceBusEndpoint": "https://namespace-1.servicebus.windows.net:443/",
+ "privateEndpointConnections": []
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/namespace-1",
+ "name": "namespace-2",
+ "type": "Microsoft.NotificationHubs/namespaces",
+ "tags": {}
+ },
+ {
+ "location": "East US",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "name": "namespace-2",
+ "provisioningState": "Succeeded",
+ "status": "Created",
+ "enabled": true,
+ "critical": false,
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "createdAt": "2023-04-26T06:10:44.01+00:00",
+ "updatedAt": "2023-04-26T06:10:44.03+00:00",
+ "namespaceType": "NotificationHub",
+ "publicNetworkAccess": "Enabled",
+ "networkAcls": {
+ "ipRules": [],
+ "publicNetworkRule": {
+ "rights": [
+ "Manage",
+ "Listen",
+ "Send"
+ ]
+ }
+ },
+ "serviceBusEndpoint": "https://namespace-2.servicebus.windows.net:443/",
+ "privateEndpointConnections": []
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/namespace-2",
+ "name": "namespace-2",
+ "type": "Microsoft.NotificationHubs/namespaces",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/providers/Microsoft.NotificationHubs/namespaces?api-version=2023-10-01-preview&$count=2&$skipToken=##################"
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PnsCredentialsGet.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PnsCredentialsGet.json
new file mode 100644
index 000000000000..89994b651bea
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PnsCredentialsGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "resourceGroupName": "5ktrial",
+ "namespaceName": "nh-sdk-ns",
+ "notificationHubName": "nh-sdk-hub",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns",
+ "name": "nh-sdk-hub",
+ "type": "Microsoft.NotificationHubs/namespaces/pnsCredentials",
+ "properties": {
+ "mpnsCredential": {
+ "properties": {
+ "thumbprint": "#################################"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionDelete.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionDelete.json
new file mode 100644
index 000000000000..851ef04cf70c
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionDelete.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "resourceGroupName": "5ktrial",
+ "namespaceName": "nh-sdk-ns",
+ "privateEndpointConnectionName": "nh-sdk-ns.1fa229cd-bf3f-47f0-8c49-afb36723997e"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://nh-sdk-ns.servicebus.windows.net/operationXYZ"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionGet.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionGet.json
new file mode 100644
index 000000000000..f0f757601b68
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionGet.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "resourceGroupName": "5ktrial",
+ "namespaceName": "nh-sdk-ns",
+ "privateEndpointConnectionName": "nh-sdk-ns.1fa229cd-bf3f-47f0-8c49-afb36723997e"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.Network/privateEndpoints/demo-private-endpoint"
+ },
+ "groupIds": [
+ "namespace"
+ ],
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-Approved"
+ }
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/privateEndpointConnections/nh-sdk-ns.4fdb3a25-664d-42f1-bde2-f8c2f8e0b3a1",
+ "name": "nh-sdk-ns.4fdb3a25-664d-42f1-bde2-f8c2f8e0b3a1",
+ "type": "Microsoft.NotificationHubs/Namespaces/PrivateEndpointConnections"
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionList.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionList.json
new file mode 100644
index 000000000000..eaa1089566e8
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionList.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "resourceGroupName": "5ktrial",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.Network/privateEndpoints/demo-private-endpoint"
+ },
+ "groupIds": [
+ "namespace"
+ ],
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-Approved"
+ }
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/privateEndpointConnections/nh-sdk-ns.4fdb3a25-664d-42f1-bde2-f8c2f8e0b3a1",
+ "name": "nh-sdk-ns.4fdb3a25-664d-42f1-bde2-f8c2f8e0b3a1",
+ "type": "Microsoft.NotificationHubs/Namespaces/PrivateEndpointConnections"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionUpdate.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionUpdate.json
new file mode 100644
index 000000000000..8f515d7fd81e
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionUpdate.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "resourceGroupName": "5ktrial",
+ "namespaceName": "nh-sdk-ns",
+ "privateEndpointConnectionName": "nh-sdk-ns.1fa229cd-bf3f-47f0-8c49-afb36723997e",
+ "parameters": {
+ "properties": {
+ "privateEndpoint": {},
+ "privateLinkServiceConnectionState": {
+ "status": "Approved"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourcegroups/5ktrial/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
+ },
+ "groupIds": [
+ "namespace"
+ ],
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "actionsRequired": "None"
+ }
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourcegroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/privateEndpointConnections/nh-sdk-ns.1fa229cd-bf3f-47f0-8c49-afb36723997e",
+ "name": "nh-sdk-ns.1fa229cd-bf3f-47f0-8c49-afb36723997e",
+ "type": "Microsoft.NotificationHubs/namespaces/privateEndpointConnections"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourcegroups/5ktrial/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
+ },
+ "groupIds": [
+ "namespace"
+ ],
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "actionsRequired": "None"
+ }
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourcegroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/privateEndpointConnections/nh-sdk-ns.1fa229cd-bf3f-47f0-8c49-afb36723997e",
+ "name": "nh-sdk-ns.1fa229cd-bf3f-47f0-8c49-afb36723997e",
+ "type": "Microsoft.NotificationHubs/namespaces/privateEndpointConnections"
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateLinkResourceGet.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateLinkResourceGet.json
new file mode 100644
index 000000000000..f2f1afe7dfe0
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateLinkResourceGet.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "resourceGroupName": "5ktrial",
+ "api-version": "2023-10-01-preview",
+ "subResourceName": "namespace",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "groupId": "namespace",
+ "requiredMembers": [
+ "namespace"
+ ],
+ "requiredZoneNames": [
+ "privatelink.servicebus.windows.net",
+ "privatelink.notificationhub.windows.net"
+ ]
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/privateLinkResources/namespace",
+ "name": "namespace",
+ "type": "Microsoft.NotificationHubs/namespaces/privateLinkResources"
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateLinkResourceList.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateLinkResourceList.json
new file mode 100644
index 000000000000..823a3a762d36
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateLinkResourceList.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "resourceGroupName": "5ktrial",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "groupId": "namespace",
+ "requiredMembers": [
+ "namespace"
+ ],
+ "requiredZoneNames": [
+ "privatelink.servicebus.windows.net",
+ "privatelink.notificationhub.windows.net"
+ ]
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/privateLinkResources/namespace",
+ "name": "namespace",
+ "type": "Microsoft.NotificationHubs/namespaces/privateLinkResources"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/Update.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/Update.json
new file mode 100644
index 000000000000..c467e7415cac
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/Update.json
@@ -0,0 +1,73 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "resourceGroupName": "5ktrial",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "parameters": {
+ "sku": {
+ "name": "Free"
+ },
+ "tags": {
+ "tag1": "value3"
+ },
+ "properties": {
+ "pnsCredentials": {
+ "gcmCredential": {
+ "properties": {
+ "gcmEndpoint": "https://fcm.googleapis.com/fcm/send",
+ "googleApiKey": "#############################"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "East US",
+ "sku": {
+ "name": "Free"
+ },
+ "properties": {
+ "name": "nh-sdk-ns",
+ "provisioningState": "Succeeded",
+ "status": "Created",
+ "enabled": true,
+ "critical": false,
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "createdAt": "2023-04-26T06:10:44.01+00:00",
+ "updatedAt": "2023-04-26T06:10:44.03+00:00",
+ "namespaceType": "NotificationHub",
+ "publicNetworkAccess": "Enabled",
+ "networkAcls": {
+ "ipRules": [
+ {
+ "ipMask": "185.48.100.00/24",
+ "rights": [
+ "Manage",
+ "Send",
+ "Listen"
+ ]
+ }
+ ],
+ "publicNetworkRule": {
+ "rights": [
+ "Listen"
+ ]
+ }
+ },
+ "serviceBusEndpoint": "https://nh-sdk-ns.servicebus.windows.net:443/",
+ "privateEndpointConnections": []
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns",
+ "name": "nh-sdk-ns",
+ "type": "Microsoft.NotificationHubs/namespaces",
+ "tags": {
+ "tag1": "value3"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleCreateOrUpdate.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleCreateOrUpdate.json
new file mode 100644
index 000000000000..cc4b121add2d
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleCreateOrUpdate.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "resourceGroupName": "5ktrial",
+ "namespaceName": "nh-sdk-ns",
+ "notificationHubName": "nh-sdk-hub",
+ "authorizationRuleName": "MyManageSharedAccessKey",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "parameters": {
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ],
+ "modifiedTime": "2023-04-26T12:24:40.5863818+00:00",
+ "createdTime": "2023-04-26T12:24:40.5863818+00:00"
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/test/authorizationRules/MyManageSharedAccessKey",
+ "name": "MyManageSharedAccessKey",
+ "type": "Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ],
+ "modifiedTime": "2023-04-26T12:24:40.5863818+00:00",
+ "createdTime": "2023-04-26T12:24:40.5863818+00:00"
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/test/authorizationRules/MyManageSharedAccessKey",
+ "name": "MyManageSharedAccessKey",
+ "type": "Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules"
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleDelete.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleDelete.json
new file mode 100644
index 000000000000..b1fe51cad116
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "resourceGroupName": "5ktrial",
+ "namespaceName": "nh-sdk-ns",
+ "notificationHubName": "nh-sdk-hub",
+ "authorizationRuleName": "DefaultListenSharedAccessSignature",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleGet.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleGet.json
new file mode 100644
index 000000000000..346b10db3b35
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleGet.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "resourceGroupName": "5ktrial",
+ "namespaceName": "nh-sdk-ns",
+ "notificationHubName": "nh-sdk-hub",
+ "authorizationRuleName": "DefaultListenSharedAccessSignature",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ],
+ "modifiedTime": "2023-04-26T12:24:40.5863818+00:00",
+ "createdTime": "2023-04-26T12:24:40.5863818+00:00"
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/test/authorizationRules/DefaultListenSharedAccessSignature",
+ "name": "DefaultListenSharedAccessSignature",
+ "type": "Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules"
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleList.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleList.json
new file mode 100644
index 000000000000..1c3d0227ea7b
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleList.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "resourceGroupName": "5ktrial",
+ "namespaceName": "nh-sdk-ns",
+ "notificationHubName": "nh-sdk-hub",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "rights": [
+ "Listen"
+ ],
+ "modifiedTime": "2023-04-26T10:43:00.5320368+00:00",
+ "createdTime": "2023-04-26T10:43:00.5320365+00:00"
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/test/authorizationRules/DefaultListenSharedAccessSignature",
+ "name": "DefaultListenSharedAccessSignature",
+ "type": "Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules"
+ },
+ {
+ "properties": {
+ "rights": [
+ "Manage",
+ "Listen",
+ "Send"
+ ],
+ "modifiedTime": "2023-04-26T10:43:00.5320387+00:00",
+ "createdTime": "2023-04-26T10:43:00.5320386+00:00"
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/test/authorizationRules/DefaultFullSharedAccessSignature",
+ "name": "DefaultFullSharedAccessSignature",
+ "type": "Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleListKeys.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleListKeys.json
new file mode 100644
index 000000000000..945ee73c6717
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleListKeys.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "resourceGroupName": "5ktrial",
+ "namespaceName": "nh-sdk-ns",
+ "notificationHubName": "nh-sdk-hub",
+ "authorizationRuleName": "sdk-AuthRules-5800",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "primaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-5800;SharedAccessKey=############################################;EntityPath=sdk-notificationHubs-2317",
+ "secondaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-5800;SharedAccessKey=############################################;EntityPath=sdk-notificationHubs-2317",
+ "primaryKey": "############################################",
+ "secondaryKey": "############################################",
+ "keyName": "sdk-AuthRules-5800"
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleRegenerateKey.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleRegenerateKey.json
new file mode 100644
index 000000000000..59c2254620d9
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleRegenerateKey.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "resourceGroupName": "5ktrial",
+ "namespaceName": "nh-sdk-ns",
+ "notificationHubName": "nh-sdk-hub",
+ "authorizationRuleName": "DefaultListenSharedAccessSignature",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "parameters": {
+ "policyKey": "PrimaryKey"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "primaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-5800;SharedAccessKey=############################################;EntityPath=sdk-notificationHubs-2317",
+ "secondaryConnectionString": "Endpoint=sb://nh-sdk-ns.servicebus.windows-int.net/;SharedAccessKeyName=sdk-AuthRules-5800;SharedAccessKey=############################################;EntityPath=sdk-notificationHubs-2317",
+ "primaryKey": "############################################",
+ "secondaryKey": "############################################",
+ "keyName": "DefaultListenSharedAccessSignature"
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/CheckAvailability.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/CheckAvailability.json
new file mode 100644
index 000000000000..267065b318cc
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/CheckAvailability.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "namespaceName": "locp-newns",
+ "resourceGroupName": "5ktrial",
+ "parameters": {
+ "name": "sdktest",
+ "location": "West Europe"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isAvailiable": true,
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/sdktest",
+ "name": "sdktest",
+ "type": "Microsoft.NotificationHubs/namespaces/checkNamespaceAvailability"
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/CreateOrUpdate.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/CreateOrUpdate.json
new file mode 100644
index 000000000000..3e777ea51f5b
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/CreateOrUpdate.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "resourceGroupName": "5ktrial",
+ "notificationHubName": "nh-sdk-hub",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "parameters": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "East US",
+ "properties": {
+ "name": "test",
+ "registrationTtl": "10675199.02:48:05.4775807",
+ "dailyMaxActiveDevices": 0
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/test",
+ "name": "test",
+ "type": "Microsoft.NotificationHubs/namespaces/notificationHubs",
+ "tags": {
+ "hubTag1": "hubTagValue1",
+ "hubTag2": "hubTagValue2"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "location": "East US",
+ "properties": {
+ "name": "test",
+ "registrationTtl": "10675199.02:48:05.4775807",
+ "dailyMaxActiveDevices": 0
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/test",
+ "name": "test",
+ "type": "Microsoft.NotificationHubs/namespaces/notificationHubs",
+ "tags": {
+ "hubTag1": "hubTagValue1",
+ "hubTag2": "hubTagValue2"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/DebugSend.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/DebugSend.json
new file mode 100644
index 000000000000..28245c7c9379
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/DebugSend.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "resourceGroupName": "5ktrial",
+ "notificationHubName": "nh-sdk-hub",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "parameters": {
+ "data": {
+ "message": "Hello"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "success": 0,
+ "failure": 0,
+ "results": []
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/test",
+ "name": "test",
+ "type": "Microsoft.NotificationHubs/namespaces/notificationHubs/debugSend"
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/Delete.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/Delete.json
new file mode 100644
index 000000000000..b7342a54b921
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "resourceGroupName": "5ktrial",
+ "notificationHubName": "nh-sdk-hub",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/Get.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/Get.json
new file mode 100644
index 000000000000..8fa02c061ee3
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/Get.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "resourceGroupName": "5ktrial",
+ "notificationHubName": "nh-sdk-hub",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "East US",
+ "properties": {
+ "name": "test",
+ "registrationTtl": "10675199.02:48:05.4775807",
+ "dailyMaxActiveDevices": 0
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/test",
+ "name": "test",
+ "type": "Microsoft.NotificationHubs/namespaces/notificationHubs",
+ "tags": {
+ "hubTag1": "hubTagValue1",
+ "hubTag2": "hubTagValue2"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/List.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/List.json
new file mode 100644
index 000000000000..2cd95321da48
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/List.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "resourceGroupName": "5ktrial",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "location": "East US",
+ "properties": {
+ "name": "test",
+ "registrationTtl": "10675199.02:48:05.4775807",
+ "dailyMaxActiveDevices": 0
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/test",
+ "name": "test",
+ "type": "Microsoft.NotificationHubs/namespaces/notificationHubs",
+ "tags": {
+ "hubTag1": "hubTagValue1",
+ "hubTag2": "hubTagValue2"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/PnsCredentialsGet.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/PnsCredentialsGet.json
new file mode 100644
index 000000000000..004dc01c435a
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/PnsCredentialsGet.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "resourceGroupName": "5ktrial",
+ "namespaceName": "nh-sdk-ns",
+ "notificationHubName": "nh-sdk-hub",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "gcmCredential": {
+ "properties": {
+ "gcmEndpoint": "https://fcm.googleapis.com/fcm/send",
+ "googleApiKey": "###################################"
+ }
+ }
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/test",
+ "name": "test",
+ "type": "Microsoft.NotificationHubs/namespaces/notificationHubs/pnsCredentials"
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/Update.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/Update.json
new file mode 100644
index 000000000000..804299805c7b
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/Update.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "namespaceName": "nh-sdk-ns",
+ "resourceGroupName": "sdkresourceGroup",
+ "notificationHubName": "sdk-notificationHubs-8708",
+ "api-version": "2023-10-01-preview",
+ "subscriptionId": "29cfa613-cbbc-4512-b1d6-1b3a92c7fa40",
+ "parameters": {
+ "properties": {
+ "registrationTtl": "10675199.02:48:05.4775807",
+ "gcmCredential": {
+ "properties": {
+ "gcmEndpoint": "https://fcm.googleapis.com/fcm/send",
+ "googleApiKey": "###################################"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "East US",
+ "properties": {
+ "name": "test",
+ "registrationTtl": "10675199.02:48:05.4775807",
+ "dailyMaxActiveDevices": 0
+ },
+ "id": "/subscriptions/29cfa613-cbbc-4512-b1d6-1b3a92c7fa40/resourceGroups/5ktrial/providers/Microsoft.NotificationHubs/namespaces/nh-sdk-ns/notificationHubs/test",
+ "name": "test",
+ "type": "Microsoft.NotificationHubs/namespaces/notificationHubs",
+ "tags": {
+ "hubTag1": "hubTagValue1",
+ "hubTag2": "hubTagValue2"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/notificationhubs.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/notificationhubs.json
new file mode 100644
index 000000000000..7dc9dc85bca7
--- /dev/null
+++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/notificationhubs.json
@@ -0,0 +1,3665 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NotificationHubs RP Client",
+ "description": "Microsoft Notification Hubs Resource Provider REST API.",
+ "version": "2023-10-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/checkNotificationHubAvailability": {
+ "post": {
+ "tags": [
+ "Hubs"
+ ],
+ "summary": "Checks the availability of the given notificationHub in a namespace.",
+ "operationId": "NotificationHubs_CheckNotificationHubAvailability",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "parameters",
+ "description": "Request content.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CheckAvailabilityParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/CheckAvailabilityResult"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NotificationHubs_CheckNotificationHubAvailability": {
+ "$ref": "./examples/NotificationHubs/CheckAvailability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}": {
+ "get": {
+ "tags": [
+ "Hubs"
+ ],
+ "summary": "Gets the notification hub.",
+ "operationId": "NotificationHubs_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/HubName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/NotificationHubResource"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NotificationHubs_Get": {
+ "$ref": "./examples/NotificationHubs/Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Hubs"
+ ],
+ "summary": "Creates/Update a NotificationHub in a namespace.",
+ "operationId": "NotificationHubs_CreateOrUpdate",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/HubName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "parameters",
+ "description": "Request content.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/NotificationHubResource"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Updated",
+ "schema": {
+ "$ref": "#/definitions/NotificationHubResource"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/NotificationHubResource"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NotificationHubs_CreateOrUpdate": {
+ "$ref": "./examples/NotificationHubs/CreateOrUpdate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Hubs"
+ ],
+ "summary": "Patch a NotificationHub in a namespace.",
+ "operationId": "NotificationHubs_Update",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/HubName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "parameters",
+ "description": "Request content.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/NotificationHubPatchParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/NotificationHubResource"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NotificationHubs_Update": {
+ "$ref": "./examples/NotificationHubs/Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Hubs"
+ ],
+ "summary": "Deletes a notification hub associated with a namespace.",
+ "operationId": "NotificationHubs_Delete",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/HubName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NotificationHubs_Delete": {
+ "$ref": "./examples/NotificationHubs/Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs": {
+ "get": {
+ "tags": [
+ "Hubs"
+ ],
+ "summary": "Lists the notification hubs associated with a namespace.",
+ "operationId": "NotificationHubs_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "in": "query",
+ "name": "$skipToken",
+ "description": "Continuation token.",
+ "type": "string"
+ },
+ {
+ "in": "query",
+ "name": "$top",
+ "description": "Page size.",
+ "type": "integer",
+ "format": "int32",
+ "default": 100
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/NotificationHubListResult"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "itemName": "value",
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "NotificationHubs_List": {
+ "$ref": "./examples/NotificationHubs/List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/debugsend": {
+ "post": {
+ "tags": [
+ "Hubs"
+ ],
+ "summary": "Test send a push notification.",
+ "operationId": "NotificationHubs_DebugSend",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/HubName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DebugSendResponse"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NotificationHubs_DebugSend": {
+ "$ref": "./examples/NotificationHubs/DebugSend.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}": {
+ "put": {
+ "tags": [
+ "Hubs"
+ ],
+ "summary": "Creates/Updates an authorization rule for a NotificationHub",
+ "operationId": "NotificationHubs_CreateOrUpdateAuthorizationRule",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/HubName"
+ },
+ {
+ "$ref": "#/parameters/AuthorizationRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "parameters",
+ "description": "Request content.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SharedAccessAuthorizationRuleResource"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Updated",
+ "schema": {
+ "$ref": "#/definitions/SharedAccessAuthorizationRuleResource"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/SharedAccessAuthorizationRuleResource"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NotificationHubs_CreateOrUpdateAuthorizationRule": {
+ "$ref": "./examples/NotificationHubs/AuthorizationRuleCreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Hubs"
+ ],
+ "summary": "Deletes a notificationHub authorization rule",
+ "operationId": "NotificationHubs_DeleteAuthorizationRule",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/HubName"
+ },
+ {
+ "$ref": "#/parameters/AuthorizationRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NotificationHubs_DeleteAuthorizationRule": {
+ "$ref": "./examples/NotificationHubs/AuthorizationRuleDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Hubs"
+ ],
+ "summary": "Gets an authorization rule for a NotificationHub by name.",
+ "operationId": "NotificationHubs_GetAuthorizationRule",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/HubName"
+ },
+ {
+ "$ref": "#/parameters/AuthorizationRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SharedAccessAuthorizationRuleResource"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NotificationHubs_GetAuthorizationRule": {
+ "$ref": "./examples/NotificationHubs/AuthorizationRuleGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules": {
+ "get": {
+ "tags": [
+ "Hubs"
+ ],
+ "summary": "Gets the authorization rules for a NotificationHub.",
+ "operationId": "NotificationHubs_ListAuthorizationRules",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/HubName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SharedAccessAuthorizationRuleListResult"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "itemName": "value",
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "NotificationHubs_ListAuthorizationRules": {
+ "$ref": "./examples/NotificationHubs/AuthorizationRuleList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}/listKeys": {
+ "post": {
+ "tags": [
+ "Hubs"
+ ],
+ "summary": "Gets the Primary and Secondary ConnectionStrings to the NotificationHub",
+ "operationId": "NotificationHubs_ListKeys",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/HubName"
+ },
+ {
+ "$ref": "#/parameters/AuthorizationRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ResourceListKeys"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NotificationHubs_ListKeys": {
+ "$ref": "./examples/NotificationHubs/AuthorizationRuleListKeys.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/authorizationRules/{authorizationRuleName}/regenerateKeys": {
+ "post": {
+ "tags": [
+ "Hubs"
+ ],
+ "summary": "Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule",
+ "operationId": "NotificationHubs_RegenerateKeys",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/HubName"
+ },
+ {
+ "$ref": "#/parameters/AuthorizationRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "parameters",
+ "description": "Request content.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PolicyKeyResource"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ResourceListKeys"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NotificationHubs_RegenerateKeys": {
+ "$ref": "./examples/NotificationHubs/AuthorizationRuleRegenerateKey.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/pnsCredentials": {
+ "post": {
+ "tags": [
+ "Hubs"
+ ],
+ "summary": "Lists the PNS Credentials associated with a notification hub.",
+ "operationId": "NotificationHubs_GetPnsCredentials",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/HubName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/PnsCredentialsResource"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NotificationHubs_GetPnsCredentials": {
+ "$ref": "./examples/NotificationHubs/PnsCredentialsGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NotificationHubs/checkNamespaceAvailability": {
+ "post": {
+ "tags": [
+ "Namespaces"
+ ],
+ "summary": "Checks the availability of the given service namespace across all Azure subscriptions. This is useful because the domain name is created based on the service namespace name.",
+ "operationId": "Namespaces_CheckAvailability",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "parameters",
+ "description": "Request content.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CheckAvailabilityParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/CheckAvailabilityResult"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Namespaces_CheckAvailability": {
+ "$ref": "./examples/Namespaces/CheckAvailability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}": {
+ "get": {
+ "tags": [
+ "Namespaces"
+ ],
+ "summary": "Returns the given namespace.",
+ "operationId": "Namespaces_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/NamespaceResource"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Namespaces_Get": {
+ "$ref": "./examples/Namespaces/Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Namespaces"
+ ],
+ "summary": "Creates / Updates a Notification Hub namespace. This operation is idempotent.",
+ "operationId": "Namespaces_CreateOrUpdate",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "parameters",
+ "description": "Request content.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/NamespaceResource"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Updated",
+ "schema": {
+ "$ref": "#/definitions/NamespaceResource"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/NamespaceResource"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Namespaces_CreateOrUpdate": {
+ "$ref": "./examples/Namespaces/CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "Namespaces"
+ ],
+ "summary": "Patches the existing namespace.",
+ "operationId": "Namespaces_Update",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "parameters",
+ "description": "Request content.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/NamespacePatchParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/NamespaceResource"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Namespaces_Update": {
+ "$ref": "./examples/Namespaces/Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Namespaces"
+ ],
+ "summary": "Deletes an existing namespace. This operation also removes all associated notificationHubs under the namespace.",
+ "operationId": "Namespaces_Delete",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Namespaces_Delete": {
+ "$ref": "./examples/Namespaces/Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NotificationHubs/namespaces": {
+ "get": {
+ "tags": [
+ "Namespaces"
+ ],
+ "summary": "Lists all the available namespaces within the subscription.",
+ "operationId": "Namespaces_ListAll",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "in": "query",
+ "name": "$skipToken",
+ "description": "Skip token for subsequent requests.",
+ "type": "string"
+ },
+ {
+ "in": "query",
+ "name": "$top",
+ "description": "Maximum number of results to return.",
+ "type": "integer",
+ "format": "int32",
+ "default": 100
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/NamespaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "itemName": "value",
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Namespaces_ListAll": {
+ "$ref": "./examples/Namespaces/ListBySubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces": {
+ "get": {
+ "tags": [
+ "Namespaces"
+ ],
+ "summary": "Lists the available namespaces within a resource group.",
+ "operationId": "Namespaces_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "in": "query",
+ "name": "$skipToken",
+ "description": "Skip token for subsequent requests.",
+ "type": "string"
+ },
+ {
+ "in": "query",
+ "name": "$top",
+ "description": "Maximum number of results to return.",
+ "type": "integer",
+ "format": "int32",
+ "default": 100
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/NamespaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "itemName": "value",
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Namespaces_List": {
+ "$ref": "./examples/Namespaces/ListByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}": {
+ "put": {
+ "tags": [
+ "Namespaces"
+ ],
+ "summary": "Creates an authorization rule for a namespace",
+ "operationId": "Namespaces_CreateOrUpdateAuthorizationRule",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/AuthorizationRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "parameters",
+ "description": "Request content.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SharedAccessAuthorizationRuleResource"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Updated",
+ "schema": {
+ "$ref": "#/definitions/SharedAccessAuthorizationRuleResource"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/SharedAccessAuthorizationRuleResource"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Namespaces_CreateOrUpdateAuthorizationRule": {
+ "$ref": "./examples/Namespaces/AuthorizationRuleCreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Namespaces"
+ ],
+ "summary": "Deletes a namespace authorization rule",
+ "operationId": "Namespaces_DeleteAuthorizationRule",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/AuthorizationRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Namespaces_DeleteAuthorizationRule": {
+ "$ref": "./examples/Namespaces/AuthorizationRuleDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Namespaces"
+ ],
+ "summary": "Gets an authorization rule for a namespace by name.",
+ "operationId": "Namespaces_GetAuthorizationRule",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/AuthorizationRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SharedAccessAuthorizationRuleResource"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Namespaces_GetAuthorizationRule": {
+ "$ref": "./examples/Namespaces/AuthorizationRuleGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/authorizationRules": {
+ "get": {
+ "tags": [
+ "Namespaces"
+ ],
+ "summary": "Gets the authorization rules for a namespace.",
+ "operationId": "Namespaces_ListAuthorizationRules",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SharedAccessAuthorizationRuleListResult"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "itemName": "value",
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Namespaces_ListAuthorizationRules": {
+ "$ref": "./examples/Namespaces/AuthorizationRuleList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/listKeys": {
+ "post": {
+ "tags": [
+ "Namespaces"
+ ],
+ "summary": "Gets the Primary and Secondary ConnectionStrings to the namespace.",
+ "operationId": "Namespaces_ListKeys",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/AuthorizationRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ResourceListKeys"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Namespaces_ListKeys": {
+ "$ref": "./examples/Namespaces/AuthorizationRuleListKeys.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/regenerateKeys": {
+ "post": {
+ "tags": [
+ "Namespaces"
+ ],
+ "summary": "Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule",
+ "operationId": "Namespaces_RegenerateKeys",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/AuthorizationRuleName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "parameters",
+ "description": "Request content.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PolicyKeyResource"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ResourceListKeys"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Namespaces_RegenerateKeys": {
+ "$ref": "./examples/Namespaces/AuthorizationRuleRegenerateKey.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/pnsCredentials": {
+ "post": {
+ "tags": [
+ "Namespaces"
+ ],
+ "summary": "Lists the PNS credentials associated with a namespace.",
+ "operationId": "Namespaces_GetPnsCredentials",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/PnsCredentialsResource"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Namespaces_GetPnsCredentials": {
+ "$ref": "./examples/Namespaces/PnsCredentialsGet.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.NotificationHubs/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "summary": "Lists all available Notification Hubs operations.",
+ "operationId": "Operations_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "itemName": "value",
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Operations_List": {
+ "$ref": "./examples/NHOperationsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}": {
+ "put": {
+ "tags": [
+ "PrivateLink"
+ ],
+ "summary": "Approves or rejects Private Endpoint Connection.\r\nThis is a public API that can be called directly by Notification Hubs users.",
+ "operationId": "PrivateEndpointConnections_Update",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/PrivateEndpointConnectionName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "parameters",
+ "description": "Description of the Private Endpoint Connection resource.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnectionResource"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Updated",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnectionResource"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnectionResource"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "PrivateEndpointConnections_Update": {
+ "$ref": "./examples/Namespaces/PrivateEndpointConnectionUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "delete": {
+ "tags": [
+ "PrivateLink"
+ ],
+ "summary": "Deletes the Private Endpoint Connection.\r\nThis is a public API that can be called directly by Notification Hubs users.",
+ "operationId": "PrivateEndpointConnections_Delete",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/PrivateEndpointConnectionName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "PrivateEndpointConnections_Delete": {
+ "$ref": "./examples/Namespaces/PrivateEndpointConnectionDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "PrivateLink"
+ ],
+ "summary": "Returns a Private Endpoint Connection with a given name. \r\nThis is a public API that can be called directly by Notification Hubs users.",
+ "operationId": "PrivateEndpointConnections_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "#/parameters/PrivateEndpointConnectionName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnectionResource"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "PrivateEndpointConnections_Get": {
+ "$ref": "./examples/Namespaces/PrivateEndpointConnectionGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections": {
+ "get": {
+ "tags": [
+ "PrivateLink"
+ ],
+ "summary": "Returns all Private Endpoint Connections that belong to the given Notification Hubs namespace.\r\nThis is a public API that can be called directly by Notification Hubs users.",
+ "operationId": "PrivateEndpointConnections_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnectionResourceListResult"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "itemName": "value",
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "PrivateEndpointConnections_List": {
+ "$ref": "./examples/Namespaces/PrivateEndpointConnectionList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateLinkResources/{subResourceName}": {
+ "get": {
+ "tags": [
+ "PrivateLink"
+ ],
+ "summary": "Returns Group Id response. \r\nThis is a public API required by the Networking RP contract. It can be used directly by Notification Hubs users.",
+ "description": "Even though this namespace requires subscription id, resource group and namespace name, it returns a constant payload (for a given namespacE) every time it's called.\r\nThat's why we don't send it to the sibling RP, but process it directly in the scale unit that received the request.",
+ "operationId": "PrivateEndpointConnections_GetGroupId",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "in": "path",
+ "name": "subResourceName",
+ "description": "Name of the Private Link sub-resource. The only supported sub-resource is \"namespace\"",
+ "required": true,
+ "type": "string",
+ "pattern": "^namespace$"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkResource"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "PrivateEndpointConnections_GetGroupId": {
+ "$ref": "./examples/Namespaces/PrivateLinkResourceGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateLinkResources": {
+ "get": {
+ "tags": [
+ "PrivateLink"
+ ],
+ "summary": "Returns all Group Ids supported by the Notification Hubs RP.\r\nThis is a public API required by the Networking RP contract. It can be used directly by Notification Hubs users.",
+ "description": "Even though this namespace requires subscription id, resource group and namespace name, it returns a constant payload (for a given namespacE) every time it's called.\r\nThat's why we don't send it to the sibling RP, but process it directly in the scale unit that received the request.",
+ "operationId": "PrivateEndpointConnections_ListGroupIds",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/NamespaceName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkResourceListResult"
+ }
+ },
+ "default": {
+ "description": "Error code with reason.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "itemName": "value",
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "PrivateEndpointConnections_ListGroupIds": {
+ "$ref": "./examples/Namespaces/PrivateLinkResourceList.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "AccessRights": {
+ "description": "Defines values for AccessRights.",
+ "enum": [
+ "Manage",
+ "Send",
+ "Listen"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "AccessRights",
+ "modelAsString": true
+ }
+ },
+ "AdmCredential": {
+ "description": "Description of a NotificationHub AdmCredential.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/AdmCredentialProperties"
+ }
+ },
+ "x-ms-secret": true
+ },
+ "AdmCredentialProperties": {
+ "description": "Description of a NotificationHub AdmCredential.",
+ "required": [
+ "authTokenUrl",
+ "clientId",
+ "clientSecret"
+ ],
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "description": "Gets or sets the client identifier.",
+ "minLength": 1,
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "clientSecret": {
+ "description": "Gets or sets the credential secret access key.",
+ "minLength": 1,
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "authTokenUrl": {
+ "description": "Gets or sets the URL of the authorization token.",
+ "minLength": 1,
+ "type": "string",
+ "x-ms-secret": true
+ }
+ }
+ },
+ "ApnsCredential": {
+ "description": "Description of a NotificationHub ApnsCredential.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ApnsCredentialProperties"
+ }
+ },
+ "x-ms-secret": true
+ },
+ "ApnsCredentialProperties": {
+ "description": "Description of a NotificationHub ApnsCredential.",
+ "required": [
+ "endpoint"
+ ],
+ "type": "object",
+ "properties": {
+ "apnsCertificate": {
+ "description": "Gets or sets the APNS certificate.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "certificateKey": {
+ "description": "Gets or sets the certificate key.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "endpoint": {
+ "description": "Gets or sets the endpoint of this credential.",
+ "minLength": 1,
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "thumbprint": {
+ "description": "Gets or sets the APNS certificate Thumbprint",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "keyId": {
+ "description": "Gets or sets a 10-character key identifier (kid) key, obtained from\r\nyour developer account",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "appName": {
+ "description": "Gets or sets the name of the application",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "appId": {
+ "description": "Gets or sets the issuer (iss) registered claim key, whose value is\r\nyour 10-character Team ID, obtained from your developer account",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "token": {
+ "description": "Gets or sets provider Authentication Token, obtained through your\r\ndeveloper account",
+ "type": "string",
+ "x-ms-secret": true
+ }
+ }
+ },
+ "Availability": {
+ "description": "Represents metric availability (part of RP operation descriptions).",
+ "type": "object",
+ "properties": {
+ "timeGrain": {
+ "description": "Time grain of the availability.",
+ "type": "string",
+ "readOnly": true
+ },
+ "blobDuration": {
+ "description": "Duration of the availability blob.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "BaiduCredential": {
+ "description": "Description of a NotificationHub BaiduCredential.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/BaiduCredentialProperties"
+ }
+ },
+ "x-ms-secret": true
+ },
+ "BaiduCredentialProperties": {
+ "description": "Description of a NotificationHub BaiduCredential.",
+ "required": [
+ "baiduApiKey",
+ "baiduEndPoint",
+ "baiduSecretKey"
+ ],
+ "type": "object",
+ "properties": {
+ "baiduApiKey": {
+ "description": "Gets or sets baidu Api Key.",
+ "minLength": 1,
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "baiduEndPoint": {
+ "description": "Gets or sets baidu Endpoint.",
+ "minLength": 1,
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "baiduSecretKey": {
+ "description": "Gets or sets baidu Secret Key",
+ "minLength": 1,
+ "type": "string",
+ "x-ms-secret": true
+ }
+ }
+ },
+ "BrowserCredential": {
+ "description": "Description of a NotificationHub BrowserCredential.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/BrowserCredentialProperties"
+ }
+ },
+ "x-ms-secret": true
+ },
+ "BrowserCredentialProperties": {
+ "description": "Description of a NotificationHub BrowserCredential.",
+ "required": [
+ "subject",
+ "vapidPrivateKey",
+ "vapidPublicKey"
+ ],
+ "type": "object",
+ "properties": {
+ "subject": {
+ "description": "Gets or sets web push subject.",
+ "minLength": 1,
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "vapidPrivateKey": {
+ "description": "Gets or sets VAPID private key.",
+ "minLength": 1,
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "vapidPublicKey": {
+ "description": "Gets or sets VAPID public key.",
+ "minLength": 1,
+ "type": "string",
+ "x-ms-secret": true
+ }
+ }
+ },
+ "CheckAvailabilityParameters": {
+ "description": "Parameters supplied to the Check Name Availability for Namespace and\r\nNotificationHubs.",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Gets resource Id",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Gets or sets resource name",
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "description": "Gets resource type",
+ "type": "string",
+ "readOnly": true
+ },
+ "location": {
+ "description": "Gets or sets resource location",
+ "type": "string"
+ },
+ "tags": {
+ "description": "Gets or sets resource tags",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "isAvailiable": {
+ "description": "Not used and deprecated since API version 2023-01-01-preview",
+ "type": "boolean"
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku"
+ }
+ }
+ },
+ "CheckAvailabilityResult": {
+ "description": "Description of a CheckAvailability resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "isAvailiable": {
+ "description": "Gets or sets true if the name is available and can be used to\r\ncreate new Namespace/NotificationHub. Otherwise false.",
+ "type": "boolean"
+ },
+ "location": {
+ "description": "Deprecated - only for compatibility.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "description": "Deprecated - only for compatibility.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku"
+ }
+ }
+ },
+ "ConnectionDetails": {
+ "description": "Part of Private Endpoint description that stores information about a connection between Private Endpoint and Notification Hubs namespace.\r\nThis is internal class, not visible to customers, and we use it only to discover the link identifier.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "A unique ID of the connection. This is not the ARM id, but rather an internal identifier set by the Networking RP. Notification Hubs code\r\ndoes not analyze it.",
+ "type": "string",
+ "readOnly": true
+ },
+ "privateIpAddress": {
+ "description": "IP address of the Private Endpoint. This is not used by Notification Hubs.",
+ "type": "string",
+ "readOnly": true
+ },
+ "linkIdentifier": {
+ "description": "Link identifier. This is a string representation of an integer that is also encoded in every IPv6 frame received by Front Door,\r\nand we use it to create implicit authorization rule that allows connection from the associated Private Endpoint.",
+ "type": "string",
+ "readOnly": true
+ },
+ "groupId": {
+ "description": "Group name. Always \"namespace\" for Notification Hubs.",
+ "type": "string",
+ "readOnly": true
+ },
+ "memberName": {
+ "description": "Member name. Always \"namespace\" for Notification Hubs.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "DebugSendResponse": {
+ "description": "Description of a NotificationHub Resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/DebugSendResult"
+ },
+ "location": {
+ "description": "Deprecated - only for compatibility.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "description": "Deprecated - only for compatibility.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "DebugSendResult": {
+ "description": "Result of DebugSend operations.",
+ "type": "object",
+ "properties": {
+ "success": {
+ "format": "int64",
+ "description": "Gets or sets successful send",
+ "type": "integer",
+ "readOnly": true
+ },
+ "failure": {
+ "format": "int64",
+ "description": "Gets or sets send failure",
+ "type": "integer",
+ "readOnly": true
+ },
+ "results": {
+ "description": "Gets or sets actual failure description",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RegistrationResult"
+ },
+ "readOnly": true,
+ "x-ms-identifiers": []
+ }
+ }
+ },
+ "FcmV1Credential": {
+ "description": "Description of a NotificationHub FcmV1Credential.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/FcmV1CredentialProperties"
+ }
+ },
+ "x-ms-secret": true
+ },
+ "FcmV1CredentialProperties": {
+ "description": "Description of a NotificationHub FcmV1Credential.",
+ "required": [
+ "clientEmail",
+ "privateKey",
+ "projectId"
+ ],
+ "type": "object",
+ "properties": {
+ "clientEmail": {
+ "description": "Gets or sets client email.",
+ "minLength": 1,
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "privateKey": {
+ "description": "Gets or sets private key.",
+ "minLength": 1,
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "projectId": {
+ "description": "Gets or sets project id.",
+ "minLength": 1,
+ "type": "string",
+ "x-ms-secret": true
+ }
+ }
+ },
+ "GcmCredential": {
+ "description": "Description of a NotificationHub GcmCredential.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/GcmCredentialProperties"
+ }
+ },
+ "x-ms-secret": true
+ },
+ "GcmCredentialProperties": {
+ "description": "Description of a NotificationHub GcmCredential.",
+ "required": [
+ "googleApiKey"
+ ],
+ "type": "object",
+ "properties": {
+ "gcmEndpoint": {
+ "description": "Gets or sets the GCM endpoint.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "googleApiKey": {
+ "description": "Gets or sets the Google API key.",
+ "minLength": 1,
+ "type": "string",
+ "x-ms-secret": true
+ }
+ }
+ },
+ "GroupConnectivityInformation": {
+ "description": "Represents a connectivity information to Notification Hubs namespace. This is part of PrivateLinkService proxy that tell\r\nthe Networking RP how to connect to the Notification Hubs namespace.",
+ "type": "object",
+ "properties": {
+ "groupId": {
+ "description": "Group id. Always set to \"namespace\".",
+ "type": "string",
+ "readOnly": true
+ },
+ "memberName": {
+ "description": "Member name. Always set to \"namespace\".",
+ "type": "string",
+ "readOnly": true
+ },
+ "customerVisibleFqdns": {
+ "description": "List of customer-visible domain names that point to a Notification Hubs namespace.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "internalFqdn": {
+ "description": "One of the domain name from the customer-visible names; this is used internally by Private Link service to make connection to Notification Hubs\r\nnamespace.",
+ "type": "string",
+ "readOnly": true
+ },
+ "redirectMapId": {
+ "description": "Not used by Notification Hubs.",
+ "type": "string",
+ "readOnly": true
+ },
+ "privateLinkServiceArmRegion": {
+ "description": "ARM region for Private Link Service. We use the region that contains the connected Notification Hubs namespace.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IpRule": {
+ "description": "A network authorization rule that filters traffic based on IP address.",
+ "required": [
+ "ipMask",
+ "rights"
+ ],
+ "type": "object",
+ "properties": {
+ "ipMask": {
+ "description": "IP mask.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "rights": {
+ "description": "List of access rights.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AccessRights"
+ }
+ }
+ }
+ },
+ "LogSpecification": {
+ "description": "A single log category specification.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the log category.",
+ "type": "string",
+ "readOnly": true
+ },
+ "displayName": {
+ "description": "Display name of the log category.",
+ "type": "string",
+ "readOnly": true
+ },
+ "blobDuration": {
+ "description": "Duration of data written to a single blob.",
+ "type": "string",
+ "readOnly": true
+ },
+ "categoryGroups": {
+ "description": "Category group for the log specification.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "MetricSpecification": {
+ "description": "A metric specification.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Metric name / id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "displayName": {
+ "description": "User-visible metric name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "displayDescription": {
+ "description": "Description of the metric.",
+ "type": "string",
+ "readOnly": true
+ },
+ "unit": {
+ "description": "Metric unit.",
+ "type": "string",
+ "readOnly": true
+ },
+ "aggregationType": {
+ "description": "Type of the aggregation (Average, Minimum, Maximum, Total or Count).",
+ "type": "string",
+ "readOnly": true
+ },
+ "availabilities": {
+ "description": "List of availabilities.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Availability"
+ },
+ "readOnly": true,
+ "x-ms-identifiers": []
+ },
+ "supportedTimeGrainTypes": {
+ "description": "List of supported time grain types.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true,
+ "x-ms-identifiers": []
+ },
+ "metricFilterPattern": {
+ "description": "The matching regex pattern to be applied to the field pointed by the \"metricsFilterPathSelector\" flag in the ARM manifest.",
+ "type": "string",
+ "readOnly": true
+ },
+ "fillGapWithZero": {
+ "description": "Optional property. If set to true, then zero will be returned for time duration where no metric is emitted / published.",
+ "type": "boolean",
+ "readOnly": true
+ }
+ }
+ },
+ "MpnsCredential": {
+ "description": "Description of a NotificationHub MpnsCredential.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/MpnsCredentialProperties"
+ }
+ },
+ "x-ms-secret": true
+ },
+ "MpnsCredentialProperties": {
+ "description": "Description of a NotificationHub MpnsCredential.",
+ "required": [
+ "certificateKey",
+ "mpnsCertificate",
+ "thumbprint"
+ ],
+ "type": "object",
+ "properties": {
+ "mpnsCertificate": {
+ "description": "Gets or sets the MPNS certificate.",
+ "minLength": 1,
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "certificateKey": {
+ "description": "Gets or sets the certificate key for this credential.",
+ "minLength": 1,
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "thumbprint": {
+ "description": "Gets or sets the MPNS certificate Thumbprint",
+ "minLength": 1,
+ "type": "string",
+ "x-ms-secret": true
+ }
+ }
+ },
+ "NamespaceListResult": {
+ "description": "The response of the List Namespace operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets or sets result of the List AuthorizationRules operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NamespaceResource"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Gets or sets link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "NamespacePatchParameters": {
+ "description": "Patch parameter for NamespaceResource.",
+ "type": "object",
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/Sku"
+ },
+ "properties": {
+ "$ref": "#/definitions/NamespaceProperties"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "NamespaceProperties": {
+ "description": "Represents namespace properties.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the Notification Hubs namespace. This is immutable property, set automatically \r\nby the service when the namespace is created.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/OperationProvisioningState"
+ },
+ "status": {
+ "$ref": "#/definitions/NamespaceStatus"
+ },
+ "enabled": {
+ "description": "Gets or sets whether or not the namespace is currently enabled.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "critical": {
+ "description": "Gets or sets whether or not the namespace is set as Critical.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "subscriptionId": {
+ "description": "Namespace subscription id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "region": {
+ "description": "Region. The value is always set to the same value as Namespace.Location, so we are deprecating\r\nthis property.",
+ "type": "string",
+ "readOnly": true
+ },
+ "metricId": {
+ "description": "Azure Insights Metrics id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdAt": {
+ "format": "date-time",
+ "description": "Time when the namespace was created.",
+ "type": "string",
+ "readOnly": true
+ },
+ "updatedAt": {
+ "format": "date-time",
+ "description": "Time when the namespace was updated.",
+ "type": "string",
+ "readOnly": true
+ },
+ "namespaceType": {
+ "$ref": "#/definitions/NamespaceType"
+ },
+ "replicationRegion": {
+ "$ref": "#/definitions/ReplicationRegion"
+ },
+ "zoneRedundancy": {
+ "$ref": "#/definitions/ZoneRedundancyPreference"
+ },
+ "networkAcls": {
+ "$ref": "#/definitions/NetworkAcls"
+ },
+ "pnsCredentials": {
+ "$ref": "#/definitions/PnsCredentials"
+ },
+ "serviceBusEndpoint": {
+ "description": "Gets or sets endpoint you can use to perform NotificationHub\r\noperations.",
+ "type": "string",
+ "readOnly": true
+ },
+ "privateEndpointConnections": {
+ "description": "Private Endpoint Connections for namespace",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateEndpointConnectionResource"
+ },
+ "readOnly": true
+ },
+ "scaleUnit": {
+ "description": "Gets or sets scaleUnit where the namespace gets created",
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "dataCenter": {
+ "description": "Deprecated.",
+ "type": "string"
+ },
+ "publicNetworkAccess": {
+ "$ref": "#/definitions/PublicNetworkAccess"
+ }
+ }
+ },
+ "NamespaceResource": {
+ "description": "Notification Hubs Namespace Resource.",
+ "required": [
+ "location",
+ "sku"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/Sku"
+ },
+ "properties": {
+ "$ref": "#/definitions/NamespaceProperties"
+ }
+ }
+ },
+ "NamespaceStatus": {
+ "description": "Namespace status.",
+ "enum": [
+ "Created",
+ "Creating",
+ "Suspended",
+ "Deleting"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "NamespaceStatus",
+ "modelAsString": true
+ }
+ },
+ "NamespaceType": {
+ "description": "Defines values for NamespaceType.",
+ "enum": [
+ "Messaging",
+ "NotificationHub"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "NamespaceType",
+ "modelAsString": true
+ }
+ },
+ "NetworkAcls": {
+ "description": "A collection of network authorization rules.",
+ "type": "object",
+ "properties": {
+ "ipRules": {
+ "description": "List of IP rules.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IpRule"
+ },
+ "x-ms-identifiers": []
+ },
+ "publicNetworkRule": {
+ "$ref": "#/definitions/PublicInternetAuthorizationRule"
+ }
+ }
+ },
+ "NotificationHubListResult": {
+ "description": "The response of the List NotificationHub operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets or sets result of the List AuthorizationRules operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NotificationHubResource"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Gets or sets link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "NotificationHubPatchParameters": {
+ "description": "Patch parameter for NamespaceResource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/NotificationHubProperties"
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "NotificationHubProperties": {
+ "description": "NotificationHub properties.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Gets or sets the NotificationHub name.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "registrationTtl": {
+ "description": "Gets or sets the RegistrationTtl of the created NotificationHub",
+ "type": "string"
+ },
+ "authorizationRules": {
+ "description": "Gets or sets the AuthorizationRules of the created NotificationHub",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SharedAccessAuthorizationRuleProperties"
+ },
+ "readOnly": true,
+ "x-ms-secret": true,
+ "x-ms-identifiers": [
+ "keyName"
+ ]
+ },
+ "apnsCredential": {
+ "$ref": "#/definitions/ApnsCredential"
+ },
+ "wnsCredential": {
+ "$ref": "#/definitions/WnsCredential"
+ },
+ "gcmCredential": {
+ "$ref": "#/definitions/GcmCredential"
+ },
+ "mpnsCredential": {
+ "$ref": "#/definitions/MpnsCredential"
+ },
+ "admCredential": {
+ "$ref": "#/definitions/AdmCredential"
+ },
+ "baiduCredential": {
+ "$ref": "#/definitions/BaiduCredential"
+ },
+ "browserCredential": {
+ "$ref": "#/definitions/BrowserCredential"
+ },
+ "xiaomiCredential": {
+ "$ref": "#/definitions/XiaomiCredential"
+ },
+ "fcmV1Credential": {
+ "$ref": "#/definitions/FcmV1Credential"
+ },
+ "dailyMaxActiveDevices": {
+ "format": "int64",
+ "type": "integer",
+ "readOnly": true
+ }
+ }
+ },
+ "NotificationHubResource": {
+ "description": "Notification Hub Resource.",
+ "required": [
+ "location"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/NotificationHubProperties"
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku"
+ }
+ }
+ },
+ "Operation": {
+ "description": "A NotificationHubs REST API operation",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Gets operation name: {provider}/{resource}/{operation}",
+ "type": "string",
+ "readOnly": true
+ },
+ "display": {
+ "$ref": "#/definitions/OperationDisplay"
+ },
+ "properties": {
+ "$ref": "#/definitions/OperationProperties"
+ },
+ "isDataAction": {
+ "description": "Gets or sets IsDataAction property. It is used to differentiate management and data plane operations.",
+ "type": "boolean",
+ "readOnly": true
+ }
+ }
+ },
+ "OperationDisplay": {
+ "description": "The object that represents the operation.",
+ "type": "object",
+ "properties": {
+ "provider": {
+ "description": "Gets service provider: Microsoft.NotificationHubs",
+ "type": "string",
+ "readOnly": true
+ },
+ "resource": {
+ "description": "Gets resource on which the operation is performed: Invoice, etc.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operation": {
+ "description": "Gets operation type: Read, write, delete, etc.",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "Human-friendly operation description.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "Result of the request to list NotificationHubs operations. It contains\r\na list of operations and a URL link to get the next set of results.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets list of NotificationHubs operations supported by the\r\nMicrosoft.NotificationHubs resource provider.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "readOnly": true,
+ "x-ms-identifiers": [
+ "name"
+ ]
+ },
+ "nextLink": {
+ "description": "Gets URL to get the next set of operation list results if there are\r\nany.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "OperationProperties": {
+ "description": "Optional operation properties.",
+ "type": "object",
+ "properties": {
+ "serviceSpecification": {
+ "$ref": "#/definitions/ServiceSpecification"
+ }
+ }
+ },
+ "OperationProvisioningState": {
+ "description": "Defines values for OperationProvisioningState.",
+ "enum": [
+ "Unknown",
+ "InProgress",
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Pending",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "OperationProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "PnsCredentials": {
+ "description": "Collection of Notification Hub or Notification Hub Namespace PNS credentials.",
+ "type": "object",
+ "properties": {
+ "admCredential": {
+ "$ref": "#/definitions/AdmCredential"
+ },
+ "apnsCredential": {
+ "$ref": "#/definitions/ApnsCredential"
+ },
+ "baiduCredential": {
+ "$ref": "#/definitions/BaiduCredential"
+ },
+ "browserCredential": {
+ "$ref": "#/definitions/BrowserCredential"
+ },
+ "gcmCredential": {
+ "$ref": "#/definitions/GcmCredential"
+ },
+ "mpnsCredential": {
+ "$ref": "#/definitions/MpnsCredential"
+ },
+ "wnsCredential": {
+ "$ref": "#/definitions/WnsCredential"
+ },
+ "xiaomiCredential": {
+ "$ref": "#/definitions/XiaomiCredential"
+ },
+ "fcmV1Credential": {
+ "$ref": "#/definitions/FcmV1Credential"
+ }
+ },
+ "x-ms-secret": true
+ },
+ "PnsCredentialsResource": {
+ "description": "Description of a NotificationHub PNS Credentials. This is a response of the POST requests that return namespace or hubs\r\nPNS credentials.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PnsCredentials"
+ },
+ "location": {
+ "description": "Deprecated - only for compatibility.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "description": "Deprecated - only for compatibility.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "PolicyKeyResource": {
+ "description": "Namespace / NotificationHub Regenerate Keys request.",
+ "required": [
+ "policyKey"
+ ],
+ "type": "object",
+ "properties": {
+ "policyKey": {
+ "$ref": "#/definitions/PolicyKeyType"
+ }
+ }
+ },
+ "PolicyKeyType": {
+ "description": "Type of Shared Access Policy Key (primary or secondary).",
+ "enum": [
+ "PrimaryKey",
+ "SecondaryKey"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PolicyKeyType",
+ "modelAsString": true
+ }
+ },
+ "PrivateEndpointConnectionProperties": {
+ "description": "Private Endpoint Connection properties.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState"
+ },
+ "privateEndpoint": {
+ "$ref": "#/definitions/RemotePrivateEndpointConnection"
+ },
+ "groupIds": {
+ "description": "List of group ids. For Notification Hubs, it always contains a single \"namespace\" element.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "privateLinkServiceConnectionState": {
+ "$ref": "#/definitions/RemotePrivateLinkServiceConnectionState"
+ }
+ }
+ },
+ "PrivateEndpointConnectionProvisioningState": {
+ "description": "State of Private Endpoint Connection.",
+ "enum": [
+ "Unknown",
+ "Succeeded",
+ "Creating",
+ "Updating",
+ "UpdatingByProxy",
+ "Deleting",
+ "DeletingByProxy",
+ "Deleted"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PrivateEndpointConnectionProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "PrivateEndpointConnectionResource": {
+ "description": "Represents a Private Endpoint Connection ARM resource - a sub-resource of Notification Hubs namespace.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PrivateEndpointConnectionProperties"
+ }
+ }
+ },
+ "PrivateEndpointConnectionResourceListResult": {
+ "description": "The response of the List Private Endpoint Connections operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets or sets result of the List AuthorizationRules operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateEndpointConnectionResource"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Gets or sets link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "PrivateLinkConnectionStatus": {
+ "description": "State of Private Link Connection.",
+ "enum": [
+ "Disconnected",
+ "Pending",
+ "Approved",
+ "Rejected"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PrivateLinkConnectionStatus",
+ "modelAsString": true
+ }
+ },
+ "PrivateLinkResource": {
+ "description": "A Private Link Arm Resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PrivateLinkResourceProperties"
+ }
+ }
+ },
+ "PrivateLinkResourceListResult": {
+ "description": "The response of the List Private Link Resources operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets or sets result of the List AuthorizationRules operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateLinkResource"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Gets or sets link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "PrivateLinkResourceProperties": {
+ "description": "Represents properties of Private Link Resource.",
+ "type": "object",
+ "properties": {
+ "groupId": {
+ "description": "A Group Id for Private Link. For Notification Hubs, it is always set to \"namespace\".",
+ "type": "string",
+ "readOnly": true
+ },
+ "requiredMembers": {
+ "description": "Required members. For Notification Hubs, it's always a collection with a single \"namespace\" item.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "requiredZoneNames": {
+ "description": "Required DNS zone names. For Notification Hubs, it contains two CNames for Service Bus and Notification Hubs zones.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "PrivateLinkServiceConnection": {
+ "description": "A customer-visible sub-resource of Private Endpoint, which describe the connection between Private Endpoint and Notification Hubs namespace.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the Private Link Service connection.",
+ "type": "string"
+ },
+ "groupIds": {
+ "description": "List of group ids. Always contains a single element - \"namespace\" - for Notification Hub Namespace.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "requestMessage": {
+ "description": "Request message provided by the user that created the connection. This is usually used when the connection requires manual approval.",
+ "type": "string"
+ }
+ }
+ },
+ "PublicInternetAuthorizationRule": {
+ "description": "A default (public Internet) network authorization rule, which contains rights if no other network rule matches.",
+ "required": [
+ "rights"
+ ],
+ "type": "object",
+ "properties": {
+ "rights": {
+ "description": "List of access rights.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AccessRights"
+ }
+ }
+ }
+ },
+ "PublicNetworkAccess": {
+ "description": "Type of public network access.",
+ "default": "Enabled",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PublicNetworkAccess",
+ "modelAsString": true
+ }
+ },
+ "RegistrationResult": {
+ "description": "Notification result for a single registration.",
+ "type": "object",
+ "properties": {
+ "applicationPlatform": {
+ "description": "PNS type.",
+ "type": "string",
+ "readOnly": true
+ },
+ "pnsHandle": {
+ "description": "PNS handle.",
+ "type": "string",
+ "readOnly": true
+ },
+ "registrationId": {
+ "description": "Registration id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "outcome": {
+ "description": "Notification outcome.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "RemotePrivateEndpointConnection": {
+ "description": "Represents a Private Endpoint that is connected to Notification Hubs namespace using Private Endpoint Connection.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "ARM resource ID of the Private Endpoint. This may belong to different subscription and resource group than a Notification Hubs namespace.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "RemotePrivateLinkServiceConnectionState": {
+ "description": "State of the Private Link Service connection.",
+ "type": "object",
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/PrivateLinkConnectionStatus"
+ },
+ "description": {
+ "description": "Human-friendly description.",
+ "type": "string",
+ "readOnly": true
+ },
+ "actionsRequired": {
+ "description": "Human-friendly description of required actions.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ReplicationRegion": {
+ "description": "Allowed replication region",
+ "enum": [
+ "Default",
+ "WestUs2",
+ "NorthEurope",
+ "AustraliaEast",
+ "BrazilSouth",
+ "SouthEastAsia",
+ "SouthAfricaNorth",
+ "None"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ReplicationRegion",
+ "modelAsString": true
+ }
+ },
+ "ResourceListKeys": {
+ "description": "Response for the POST request that returns Namespace or NotificationHub access keys (connection strings).",
+ "type": "object",
+ "properties": {
+ "primaryConnectionString": {
+ "description": "Gets or sets primaryConnectionString of the AuthorizationRule.",
+ "type": "string",
+ "readOnly": true,
+ "x-ms-secret": true
+ },
+ "secondaryConnectionString": {
+ "description": "Gets or sets secondaryConnectionString of the created\r\nAuthorizationRule",
+ "type": "string",
+ "readOnly": true,
+ "x-ms-secret": true
+ },
+ "primaryKey": {
+ "description": "Gets or sets primaryKey of the created AuthorizationRule.",
+ "type": "string",
+ "readOnly": true,
+ "x-ms-secret": true
+ },
+ "secondaryKey": {
+ "description": "Gets or sets secondaryKey of the created AuthorizationRule",
+ "type": "string",
+ "readOnly": true,
+ "x-ms-secret": true
+ },
+ "keyName": {
+ "description": "Gets or sets keyName of the created AuthorizationRule",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ServiceSpecification": {
+ "description": "Optional service specification used in Operations API.",
+ "type": "object",
+ "properties": {
+ "logSpecifications": {
+ "description": "Log specifications.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LogSpecification"
+ },
+ "readOnly": true,
+ "x-ms-identifiers": [
+ "name"
+ ]
+ },
+ "metricSpecifications": {
+ "description": "Metric specification.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricSpecification"
+ },
+ "readOnly": true,
+ "x-ms-identifiers": [
+ "name",
+ "unit"
+ ]
+ }
+ }
+ },
+ "SharedAccessAuthorizationRuleListResult": {
+ "description": "The response of the List Namespace operation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets or sets result of the List AuthorizationRules operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SharedAccessAuthorizationRuleResource"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Gets or sets link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "SharedAccessAuthorizationRuleProperties": {
+ "description": "SharedAccessAuthorizationRule properties.",
+ "required": [
+ "rights"
+ ],
+ "type": "object",
+ "properties": {
+ "rights": {
+ "description": "Gets or sets the rights associated with the rule.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AccessRights"
+ }
+ },
+ "primaryKey": {
+ "description": "Gets a base64-encoded 256-bit primary key for signing and\r\nvalidating the SAS token.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "secondaryKey": {
+ "description": "Gets a base64-encoded 256-bit primary key for signing and\r\nvalidating the SAS token.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "keyName": {
+ "description": "Gets a string that describes the authorization rule.",
+ "type": "string",
+ "readOnly": true
+ },
+ "modifiedTime": {
+ "format": "date-time",
+ "description": "Gets the last modified time for this rule",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdTime": {
+ "format": "date-time",
+ "description": "Gets the created time for this rule",
+ "type": "string",
+ "readOnly": true
+ },
+ "claimType": {
+ "description": "Gets a string that describes the claim type",
+ "type": "string",
+ "readOnly": true
+ },
+ "claimValue": {
+ "description": "Gets a string that describes the claim value",
+ "type": "string",
+ "readOnly": true
+ },
+ "revision": {
+ "format": "int32",
+ "description": "Gets the revision number for the rule",
+ "type": "integer",
+ "readOnly": true
+ }
+ }
+ },
+ "SharedAccessAuthorizationRuleResource": {
+ "description": "Response for POST requests that return single SharedAccessAuthorizationRule.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/SharedAccessAuthorizationRuleProperties"
+ },
+ "location": {
+ "description": "Deprecated - only for compatibility.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "description": "Deprecated - only for compatibility.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "Sku": {
+ "description": "The Sku description for a namespace",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "$ref": "#/definitions/SkuName"
+ },
+ "tier": {
+ "description": "Gets or sets the tier of particular sku",
+ "type": "string"
+ },
+ "size": {
+ "description": "Gets or sets the Sku size",
+ "type": "string"
+ },
+ "family": {
+ "description": "Gets or sets the Sku Family",
+ "type": "string"
+ },
+ "capacity": {
+ "format": "int32",
+ "description": "Gets or sets the capacity of the resource",
+ "type": "integer"
+ }
+ }
+ },
+ "SkuName": {
+ "description": "Namespace SKU name.",
+ "enum": [
+ "Free",
+ "Basic",
+ "Standard"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SkuName",
+ "modelAsString": true
+ }
+ },
+ "WnsCredential": {
+ "description": "Description of a NotificationHub WnsCredential.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/WnsCredentialProperties"
+ }
+ },
+ "x-ms-secret": true
+ },
+ "WnsCredentialProperties": {
+ "description": "Description of a NotificationHub WnsCredential.",
+ "type": "object",
+ "properties": {
+ "packageSid": {
+ "description": "Gets or sets the package ID for this credential.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "secretKey": {
+ "description": "Gets or sets the secret key.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "windowsLiveEndpoint": {
+ "description": "Gets or sets the Windows Live endpoint.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "certificateKey": {
+ "description": "Ges or sets the WNS Certificate Key.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "wnsCertificate": {
+ "description": "Gets or sets the WNS Certificate.",
+ "type": "string",
+ "x-ms-secret": true
+ }
+ }
+ },
+ "XiaomiCredential": {
+ "description": "Description of a NotificationHub XiaomiCredential.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/XiaomiCredentialProperties"
+ }
+ },
+ "x-ms-secret": true
+ },
+ "XiaomiCredentialProperties": {
+ "description": "Description of a NotificationHub XiaomiCredentialProperties.",
+ "type": "object",
+ "properties": {
+ "appSecret": {
+ "description": "Gets or sets app secret.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "endpoint": {
+ "description": "Gets or sets xiaomi service endpoint.",
+ "type": "string",
+ "x-ms-secret": true
+ }
+ }
+ },
+ "ZoneRedundancyPreference": {
+ "description": "Namespace SKU name.",
+ "default": "Disabled",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ZoneRedundancyPreference",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ }
+ },
+ "parameters": {
+ "NamespaceName": {
+ "in": "path",
+ "name": "namespaceName",
+ "description": "Namespace name",
+ "required": true,
+ "maxLength": 50,
+ "minLength": 1,
+ "pattern": "^[a-zA-Z][a-zA-Z0-9-]*$",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "HubName": {
+ "in": "path",
+ "name": "notificationHubName",
+ "description": "Notification Hub name",
+ "required": true,
+ "maxLength": 265,
+ "minLength": 1,
+ "pattern": "^[a-zA-Z][a-zA-Z0-9-./_]*$",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "AuthorizationRuleName": {
+ "in": "path",
+ "name": "authorizationRuleName",
+ "description": "Authorization Rule Name",
+ "required": true,
+ "maxLength": 256,
+ "minLength": 1,
+ "pattern": "^[a-zA-Z0-9!()*-._]+$",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "PrivateEndpointConnectionName": {
+ "in": "path",
+ "name": "privateEndpointConnectionName",
+ "description": "Private Endpoint Connection Name",
+ "required": true,
+ "maxLength": 87,
+ "minLength": 1,
+ "pattern": "^[a-zA-Z][a-zA-Z0-9-]*\\.[a-fA-F0-9\\-]+$",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ },
+ "description": "Azure Active Directory OAuth2 Flow"
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/notificationhubs/resource-manager/readme.md b/specification/notificationhubs/resource-manager/readme.md
index 4519aa007016..dde81671012f 100644
--- a/specification/notificationhubs/resource-manager/readme.md
+++ b/specification/notificationhubs/resource-manager/readme.md
@@ -42,7 +42,7 @@ suppress:
``` yaml
openapi-type: arm
-tag: package-2023-09
+tag: package-preview-2023-10
directive:
- where:
- $.definitions.NamespaceCreateOrUpdateParameters
@@ -52,14 +52,23 @@ directive:
```
+### Tag: package-preview-2023-10
+
+These settings apply only when `--tag=package-preview-2023-10` is specified on the command line.
+
+```yaml $(tag) == 'package-preview-2023-10'
+input-file:
+ - Microsoft.NotificationHubs/preview/2023-10-01-preview/notificationhubs.json
+```
### Tag: package-2023-09
These settings apply only when `--tag=package-2023-09` is specified on the command line.
-```yaml $(tag) == 'package-2023-09'
+``` yaml $(tag) == 'package-2023-09'
input-file:
- Microsoft.NotificationHubs/stable/2023-09-01/notificationhubs.json
```
+
### Tag: package-preview-2023-01
These settings apply only when `--tag=package-preview-2023-01` is specified on the command line.
diff --git a/specification/paloaltonetworks/resource-manager/readme.go.md b/specification/paloaltonetworks/resource-manager/readme.go.md
index bcd98267126f..52f559885df7 100644
--- a/specification/paloaltonetworks/resource-manager/readme.go.md
+++ b/specification/paloaltonetworks/resource-manager/readme.go.md
@@ -8,4 +8,11 @@ module-name: sdk/resourcemanager/paloaltonetworksngfw/armpanngfw
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
+directive:
+ - where-operation: LocalRulestacks_listAppIds
+ transform: delete $['x-ms-pageable'];
+ - where-operation: LocalRulestacks_listCountries
+ transform: delete $['x-ms-pageable'];
+ - where-operation: LocalRulestacks_listPredefinedUrlCategories
+ transform: delete $['x-ms-pageable'];
```
diff --git a/specification/paloaltonetworks/resource-manager/readme.typescript.md b/specification/paloaltonetworks/resource-manager/readme.typescript.md
index 4b540d5c4d93..4e688652fe47 100644
--- a/specification/paloaltonetworks/resource-manager/readme.typescript.md
+++ b/specification/paloaltonetworks/resource-manager/readme.typescript.md
@@ -10,4 +10,18 @@ typescript:
output-folder: "$(typescript-sdks-folder)/sdk/paloaltonetworksngfw/arm-paloaltonetworksngfw"
payload-flattening-threshold: 1
generate-metadata: true
+
+directive:
+ - from: PaloAltoNetworks.Cloudngfw.json
+ where: $.paths
+ transform: >
+ for (const pathKey in $) {
+ const path = $[pathKey];
+ for (const methodKey in path) {
+ const method = path[methodKey];
+ if (method['x-ms-pageable'] && (method['x-ms-pageable']['operationName'] === 'LocalRulestacks_listAppIds' || method['x-ms-pageable']['operationName'] === 'LocalRulestacks_listCountries' || method['x-ms-pageable']['operationName'] === 'LocalRulestacks_listPredefinedUrlCategories')) {
+ delete method['x-ms-pageable'];
+ }
+ }
+ }
```
diff --git a/specification/playwrighttesting/resource-manager/readme.java.md b/specification/playwrighttesting/resource-manager/readme.java.md
index 0de1e63db4c5..6b5903a1b8dc 100644
--- a/specification/playwrighttesting/resource-manager/readme.java.md
+++ b/specification/playwrighttesting/resource-manager/readme.java.md
@@ -5,4 +5,5 @@ These settings apply only when `--java` is specified on the command line.
```yaml $(java)
title: PlaywrightTestingMgmtClient
service-name: Playwright Testing
+client-flattened-annotation-target: disabled
```
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-06-01-preview/ThreatProtection.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-06-01-preview/ThreatProtection.json
index 14d6408e7d39..439622eb9ea7 100644
--- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-06-01-preview/ThreatProtection.json
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-06-01-preview/ThreatProtection.json
@@ -173,6 +173,14 @@
"schema": {
"$ref": "#/definitions/ServerThreatProtectionSettingsModel"
}
+ },
+ "202": {
+ "description": "Accepted",
+ "headers": {
+ "Location": {
+ "type": "string"
+ }
+ }
}
},
"x-ms-long-running-operation": true,
@@ -181,7 +189,7 @@
},
"x-ms-examples": {
"Update a server's Threat Protection settings": {
- "$ref": "./examples/ServerThreatProtectionSettingsCreate.json"
+ "$ref": "./examples/ServerThreatProtectionSettingsCreateOrUpdate.json"
}
}
}
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-06-01-preview/examples/ServerThreatProtectionSettingsCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-06-01-preview/examples/ServerThreatProtectionSettingsCreate.json
deleted file mode 100644
index 3af19675c7a9..000000000000
--- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-06-01-preview/examples/ServerThreatProtectionSettingsCreate.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "threatprotection-4799",
- "serverName": "threatprotection-6440",
- "threatProtectionName": "Default",
- "api-version": "2023-06-01-preview",
- "parameters": {
- "properties": {
- "state": "Enabled"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforPostgreSQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default",
- "name": "Default",
- "type": "Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings",
- "properties": {
- "state": "Enabled",
- "creationTime": "2023-09-03T04:41:33.937Z"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforPostgreSQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default",
- "name": "Default",
- "type": "Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings",
- "properties": {
- "state": "Enabled",
- "creationTime": "2023-09-03T04:41:33.937Z"
- }
- }
- }
- }
-}
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-06-01-preview/examples/ServerThreatProtectionSettingsCreateOrUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-06-01-preview/examples/ServerThreatProtectionSettingsCreateOrUpdate.json
new file mode 100644
index 000000000000..082fd33892e1
--- /dev/null
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2023-06-01-preview/examples/ServerThreatProtectionSettingsCreateOrUpdate.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "threatprotection-4799",
+ "serverName": "threatprotection-6440",
+ "threatProtectionName": "Default",
+ "api-version": "2023-06-01-preview",
+ "parameters": {
+ "properties": {
+ "state": "Enabled"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforPostgreSQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default",
+ "name": "Default",
+ "type": "Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings",
+ "properties": {
+ "state": "Enabled",
+ "creationTime": "2023-09-03T04:41:33.937Z"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.DBforPostgreSQL/flexibleServers/threatprotection-6440/advancedThreatProtectionSettings/Default",
+ "name": "Default",
+ "type": "Microsoft.DBforPostgreSQL/flexibleServers/advancedThreatProtectionSettings",
+ "properties": {
+ "state": "Enabled",
+ "creationTime": "2023-09-03T04:41:33.937Z"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md
index 610b6d9f9c7b..f2fd4fe4d987 100644
--- a/specification/postgresql/resource-manager/readme.md
+++ b/specification/postgresql/resource-manager/readme.md
@@ -74,6 +74,9 @@ suppressions:
- code: ProvisioningStateSpecifiedForLROPut
from: ThreatProtection.json
reason: FlexibleServers namespace is already returning 202 as response for PUT. These APIs are under same namespace and hence keeping it as-is.
+ - code: PutResponseCodes
+ from: ThreatProtection.json
+ reason: FlexibleServers namespace is already returning 202 as response for PUT. These APIs are under same namespace and hence keeping it as-is.
- code: ProvisioningStateSpecifiedForLROPut
from: VirtualEndpoints.json
reason: FlexibleServers namespace is already returning 202 as response for PUT. These APIs are under same namespace and hence keeping it as-is.
diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/bms.json
index 76a55d9ad50e..85289e910d5e 100644
--- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/bms.json
+++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/bms.json
@@ -9663,17 +9663,34 @@
}
}
},
+ "UserAssignedIdentityProperties": {
+ "type": "object",
+ "description": "User assigned managed identity properties",
+ "properties": {
+ "clientId": {
+ "description": "The client ID of the assigned identity.",
+ "type": "string"
+ },
+ "principalId": {
+ "description": "The principal ID of the assigned identity.",
+ "type": "string"
+ }
+ }
+ },
"UserAssignedManagedIdentityDetails": {
"type": "object",
+ "description": "User assigned managed identity details",
"properties": {
"identityArmId": {
- "type": "string"
+ "type": "string",
+ "description": "The ARM id of the assigned identity."
},
"identityName": {
- "type": "string"
+ "type": "string",
+ "description": "The name of the assigned identity."
},
"userAssignedIdentityProperties": {
- "$ref": "../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/UserAssignedIdentity"
+ "$ref": "#/definitions/UserAssignedIdentityProperties"
}
}
},
diff --git a/specification/riskiq/Easm/client.tsp b/specification/riskiq/Easm/client.tsp
new file mode 100644
index 000000000000..04c7df029fc0
--- /dev/null
+++ b/specification/riskiq/Easm/client.tsp
@@ -0,0 +1,55 @@
+import "@azure-tools/typespec-client-generator-core";
+import "./main.tsp";
+
+using Azure.ClientGenerator.Core;
+
+@TypeSpec.Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2)
+@TypeSpec.Versioning.useDependency(Easm.Versions.v2023_03_01_preview)
+namespace Customizations;
+
+@client({
+ name: "EasmClient",
+ service: Easm,
+})
+interface EasmClient {
+ listAssetResource is Easm.Assets.listAssetResource;
+ #suppress "@azure-tools/typespec-azure-core/use-standard-operations"
+ updateAssets is Easm.Assets.updateAssets;
+ getAssetResource is Easm.Assets.getAssetResource;
+
+ listDataConnection is Easm.DataConnections.listDataConnection;
+ validateDataConnection is Easm.DataConnections.validateDataConnection;
+ getDataConnection is Easm.DataConnections.getDataConnection;
+ #suppress "@azure-tools/typespec-azure-core/use-standard-operations"
+ createOrReplaceDataConnection is Easm.DataConnections.createOrReplaceDataConnection;
+ deleteDataConnection is Easm.DataConnections.deleteDataConnection;
+
+ listDiscoGroup is Easm.DiscoveryGroups.listDiscoGroup;
+ validateDiscoGroup is Easm.DiscoveryGroups.validateDiscoGroup;
+ getDiscoGroup is Easm.DiscoveryGroups.getDiscoGroup;
+ #suppress "@azure-tools/typespec-azure-core/use-standard-operations"
+ createOrReplaceDiscoGroup is Easm.DiscoveryGroups.createOrReplaceDiscoGroup;
+ runDiscoGroup is Easm.DiscoveryGroups.runDiscoGroup;
+ #suppress "@azure-tools/typespec-azure-core/use-standard-operations"
+ listRuns is Easm.DiscoveryGroups.listRuns;
+
+ listDiscoTemplate is Easm.DiscoveryTemplates.listDiscoTemplate;
+ getDiscoTemplate is Easm.DiscoveryTemplates.getDiscoTemplate;
+
+ #suppress "@azure-tools/typespec-azure-core/use-standard-operations"
+ getBillable is Easm.Reports.getBillable;
+ #suppress "@azure-tools/typespec-azure-core/use-standard-operations"
+ getSnapshot is Easm.Reports.getSnapshot;
+ #suppress "@azure-tools/typespec-azure-core/use-standard-operations"
+ getSummary is Easm.Reports.getSummary;
+
+ listSavedFilter is Easm.SavedFilters.listSavedFilter;
+ getSavedFilter is Easm.SavedFilters.getSavedFilter;
+ #suppress "@azure-tools/typespec-azure-core/use-standard-operations"
+ createOrReplaceSavedFilter is Easm.SavedFilters.createOrReplaceSavedFilter;
+ deleteSavedFilter is Easm.SavedFilters.deleteSavedFilter;
+
+ listTask is Easm.Tasks.listTask;
+ getTask is Easm.Tasks.getTask;
+ cancelTask is Easm.Tasks.cancelTask;
+}
diff --git a/specification/security/resource-manager/readme.go.md b/specification/security/resource-manager/readme.go.md
index 401f81fedcf5..a3ac67dcee4f 100644
--- a/specification/security/resource-manager/readme.go.md
+++ b/specification/security/resource-manager/readme.go.md
@@ -25,6 +25,47 @@ directive:
- rename-model:
from: SecurityOperator
to: OperatorResource
+- from: externalSecuritySolutions.json
+ where: $.definitions['ExternalSecuritySolutionKind']
+ transform: >
+ $ = {
+ "type": "string",
+ "description": "The kind of the external solution",
+ "enum": [
+ "CEF",
+ "ATA",
+ "AAD"
+ ],
+ "x-ms-enum": {
+ "name": "ExternalSecuritySolutionKind",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "CEF"
+ },
+ {
+ "value": "ATA"
+ },
+ {
+ "value": "AAD"
+ }
+ ]
+ }
+ };
+- from: externalSecuritySolutions.json
+ where: $.definitions['ExternalSecuritySolution']
+ transform: >
+ $.properties['kind'] = {
+ "$ref": "#/definitions/ExternalSecuritySolutionKind"
+ };
+ $.allOf = [
+ {
+ "$ref": "../../../common/v1/types.json#/definitions/Resource"
+ },
+ {
+ "$ref": "../../../common/v1/types.json#/definitions/Location"
+ }
+ ]
```
### Common Go settings
diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md
index f5a80130ad09..3f97a605f246 100644
--- a/specification/security/resource-manager/readme.md
+++ b/specification/security/resource-manager/readme.md
@@ -152,6 +152,15 @@ input-file:
- Microsoft.Security/preview/2023-01-01-preview/securityOperators.json
```
+### Tag: package-preview-2023-02-15-only
+
+These settings apply only when `--tag=package-preview-2023-02-15-only` is specified on the command line.
+
+``` yaml $(tag) == 'package-preview-2023-02-15-only'
+input-file:
+ - Microsoft.Security/preview/2023-02-15-preview/sensitivitySettings.json
+```
+
### Tag: package-preview-2023-02-only
These settings apply only when `--tag=package-preview-2023-02-only` is specified on the command line.
@@ -627,6 +636,7 @@ These settings apply only when `--tag=package-2020-01-preview-python-only` is sp
``` yaml $(tag) == 'package-2020-01-preview-python-only'
input-file:
- Microsoft.Security/preview/2020-01-01-preview/connectors.json
+- Microsoft.Security/preview/2020-01-01-preview/securityContacts.json
# Needed when there is more than one input file
override-info:
diff --git a/specification/security/resource-manager/readme.python.md b/specification/security/resource-manager/readme.python.md
index c6440dc024d6..222fc9002ac4 100644
--- a/specification/security/resource-manager/readme.python.md
+++ b/specification/security/resource-manager/readme.python.md
@@ -39,10 +39,17 @@ clear-output-folder: true
default-api-version: "2023-01-01"
multiapi: true
batch:
+ - tag: package-2023-11-15
+ - tag: package-preview-2023-10
+ - tag: package-preview-2023-09
+ - tag: package-2023-05
+ - tag: package-preview-2023-05
- tag: package-preview-2023-03-only
+ - tag: package-preview-2023-02-15-only
- tag: package-preview-2023-02-only
- tag: package-preview-2023-01-only
- tag: package-2023-01
+ - tag: package-preview-2022-12
- tag: package-preview-2022-08
- tag: package-preview-2022-07
- tag: package-2022-05
@@ -57,7 +64,6 @@ batch:
- tag: package-2021-06-only
- tag: package-2021-05-preview-only
- tag: package-2021-01-only
- - tag: package-2021-01-preview-only
- tag: package-2020-07-preview-only
- tag: package-2020-01-python-only
- tag: package-2020-01-preview-python-only
@@ -74,6 +80,57 @@ batch:
``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/
perform-load: false
+clear-output-folder: false
+```
+
+### Tag: package-2023-11-15 and python
+
+These settings apply only when `--tag=package-2023-11-15 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2023-11-15' && $(python)
+namespace: azure.mgmt.security.v2023_11_15
+output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2023_11_15
+```
+
+### Tag: package-preview-2023-10 and python
+
+These settings apply only when `--tag=package-preview-2023-10 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-preview-2023-10' && $(python)
+namespace: azure.mgmt.security.v2023_10_01_preview
+output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2023_10_01_preview
+```
+
+### Tag: package-preview-2023-09 and python
+
+These settings apply only when `--tag=package-preview-2023-09 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-preview-2023-09' && $(python)
+namespace: azure.mgmt.security.v2023_09_01_preview
+output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2023_09_01_preview
+```
+
+### Tag: package-2023-05 and python
+
+These settings apply only when `--tag=package-2023-05 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2023-05' && $(python)
+namespace: azure.mgmt.security.v2023_05_01
+output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2023_05_01
+```
+
+### Tag: package-preview-2023-05 and python
+
+These settings apply only when `--tag=package-preview-2023-05 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-preview-2023-05' && $(python)
+namespace: azure.mgmt.security.v2023_05_01_preview
+output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2023_05_01_preview
```
### Tag: package-preview-2023-03-only and python
@@ -86,6 +143,16 @@ namespace: azure.mgmt.security.v2023_03_01_preview
output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2023_03_01_preview
```
+### Tag: package-preview-2023-02-15-only and python
+
+These settings apply only when `--tag=package-preview-2023-02-15-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-preview-2023-02-15-only' && $(python)
+namespace: azure.mgmt.security.v2023_02_15_preview
+output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2023_02_15_preview
+```
+
### Tag: package-preview-2023-02-only and python
These settings apply only when `--tag=package-preview-2023-02-only --python` is specified on the command line.
@@ -106,6 +173,16 @@ namespace: azure.mgmt.security.v2023_01_01_preview
output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2023_01_01_preview
```
+### Tag: package-preview-2022-12 and python
+
+These settings apply only when `--tag=package-preview-2022-12 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-preview-2022-12' && $(python)
+namespace: azure.mgmt.security.v2022_12_01_preview
+output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2022_12_01_preview
+```
+
### Tag: package-preview-2022-08 and python
These settings apply only when `--tag=package-preview-2022-08 --python` is specified on the command line.
@@ -256,16 +333,6 @@ namespace: azure.mgmt.security.v2021_01_01
output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2021_01_01
```
-### Tag: package-2021-01-preview-only and python
-
-These settings apply only when `--tag=package-2021-01-preview-only --python` is specified on the command line.
-Please also specify `--python-sdks-folder=`.
-
-``` yaml $(tag) == 'package-2021-01-preview-only' && $(python)
-namespace: azure.mgmt.security.v2021_01_15_preview
-output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2021_01_15_preview
-```
-
### Tag: package-2020-07-preview-only and python
These settings apply only when `--tag=package-2020-07-preview-only --python` is specified on the command line.
diff --git a/specification/servicenetworking/resource-manager/readme.java.md b/specification/servicenetworking/resource-manager/readme.java.md
new file mode 100644
index 000000000000..01cdabebe9ad
--- /dev/null
+++ b/specification/servicenetworking/resource-manager/readme.java.md
@@ -0,0 +1,7 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+
+``` yaml $(java)
+client-flattened-annotation-target: disabled
+```
diff --git a/specification/sphere/resource-manager/readme.java.md b/specification/sphere/resource-manager/readme.java.md
index db639eef5007..01cdabebe9ad 100644
--- a/specification/sphere/resource-manager/readme.java.md
+++ b/specification/sphere/resource-manager/readme.java.md
@@ -1,33 +1,7 @@
## Java
These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
``` yaml $(java)
-azure-arm: true
-fluent: true
-namespace: com.microsoft.azure.management.azuresphere
-license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
-output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-azuresphere
+client-flattened-annotation-target: disabled
```
-
-### Java multi-api
-
-``` yaml $(java) && $(multiapi)
-batch:
- - tag: package-2022-09-01-preview
-```
-
-### Tag: package-2022-09-01-preview and java
-
-These settings apply only when `--tag=package-2022-09-01-preview --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2022-09-01-preview' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.azuresphere.v2022-09-01-preview
- output-folder: $(azure-libraries-for-java-folder)/sdk/azuresphere/mgmt-v2022-09-01-preview
-regenerate-manager: true
-generate-interface: true
-```
\ No newline at end of file
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/amlfilesystem.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/amlfilesystem.json
new file mode 100644
index 000000000000..c0e33cec2898
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/amlfilesystem.json
@@ -0,0 +1,1191 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "description": "Azure Managed Lustre provides a fully managed Lustre® file system, integrated with Blob storage, for use on demand. These operations create and manage Azure Managed Lustre file systems.",
+ "title": "Managed Lustre client",
+ "version": "2023-11-01-preview"
+ },
+ "host": "management.azure.com",
+ "basePath": "/",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/amlFilesystems": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A list of AML file systems. Note that entity references might replace complete file system objects, as described in http://docs.oasis-open.org/odata/odata-json-format/v4.01/cs01/odata-json-format-v4.01-cs01.html#sec_EntityReference",
+ "schema": {
+ "$ref": "#/definitions/AmlFilesystemsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "storagecache.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "amlFilesystems_List": {
+ "$ref": "./examples/amlFilesystems_List.json"
+ }
+ },
+ "tags": [
+ "amlFilesystems"
+ ],
+ "description": "Returns all AML file systems the user has access to under a subscription.",
+ "operationId": "amlFilesystems_List"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A list of AmlFilesystem objects. Note that entity references might replace complete AmlFilesystem objects, as described in http://docs.oasis-open.org/odata/odata-json-format/v4.01/cs01/odata-json-format-v4.01-cs01.html#sec_EntityReference",
+ "schema": {
+ "$ref": "#/definitions/AmlFilesystemsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "storagecache.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "amlFilesystems_ListByResourceGroup": {
+ "$ref": "./examples/amlFilesystems_ListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "tags": [
+ "amlFilesystems"
+ ],
+ "description": "Returns all AML file systems the user has access to under a resource group.",
+ "operationId": "amlFilesystems_ListByResourceGroup"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AmlFilesystemNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "AML file system deleted."
+ },
+ "202": {
+ "description": "Started the AML file system's transition to Deleted state. Poll the AML file system to monitor.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "AML file system deleted."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "storagecache.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "amlFilesystems_Delete": {
+ "$ref": "./examples/amlFilesystems_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "tags": [
+ "amlFilesystems"
+ ],
+ "description": "Schedules an AML file system for deletion.",
+ "operationId": "amlFilesystems_Delete"
+ },
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AmlFilesystemNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Returns the AML file system object corresponding to amlFilesystemName.",
+ "schema": {
+ "$ref": "#/definitions/AmlFilesystem"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "storagecache.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "amlFilesystems_Get": {
+ "$ref": "./examples/amlFilesystems_Get.json"
+ }
+ },
+ "tags": [
+ "amlFilesystems"
+ ],
+ "description": "Returns an AML file system.",
+ "operationId": "amlFilesystems_Get"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/AmlFilesystemNameParameter"
+ },
+ {
+ "description": "Object containing the user-selectable properties of the AML file system. If read-only properties are included, they must match the existing values of those properties.",
+ "in": "body",
+ "name": "amlFilesystem",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AmlFilesystem"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The AML file system has been created or updated.",
+ "schema": {
+ "$ref": "#/definitions/AmlFilesystem"
+ }
+ },
+ "201": {
+ "description": "AML file system creation has been initiated. Poll the AML file system's provisioningState property to monitor creation progress.",
+ "headers": {
+ "azure-async-operation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/AmlFilesystem"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "storagecache.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "amlFilesystems_CreateOrUpdate": {
+ "$ref": "./examples/amlFilesystems_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "amlFilesystems"
+ ],
+ "description": "Create or update an AML file system.",
+ "operationId": "amlFilesystems_CreateOrUpdate"
+ },
+ "patch": {
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/AmlFilesystemNameParameter"
+ },
+ {
+ "description": "Object containing the user-selectable properties of the AML file system. If read-only properties are included, they must match the existing values of those properties.",
+ "in": "body",
+ "name": "amlFilesystem",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AmlFilesystemUpdate"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Updated the AML file system.",
+ "schema": {
+ "$ref": "#/definitions/AmlFilesystem"
+ }
+ },
+ "202": {
+ "description": "AML file system update has been initiated. Poll the AML file system's provisioningState property to monitor update progress.",
+ "headers": {
+ "Location": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ },
+ "azure-async-operation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "storagecache.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "amlFilesystems_Update": {
+ "$ref": "./examples/amlFilesystems_Update.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "amlFilesystems"
+ ],
+ "description": "Update an AML file system instance.",
+ "operationId": "amlFilesystems_Update"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/archive": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/AmlFilesystemNameParameter"
+ },
+ {
+ "name": "archiveInfo",
+ "in": "body",
+ "description": "Information about the archive operation",
+ "schema": {
+ "$ref": "#/definitions/AmlFilesystemArchiveInfo"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "AML file system has started the archive operation. Poll the AML file system's hsm.archiveStatus field to monitor the progress."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "storagecache.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "amlFilesystems_Archive": {
+ "$ref": "./examples/amlFilesystems_Archive.json"
+ }
+ },
+ "tags": [
+ "amlFilesystems"
+ ],
+ "description": "Archive data from the AML file system.",
+ "operationId": "amlFilesystems_Archive"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/cancelArchive": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/AmlFilesystemNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "AML file system has started the cancellation of the archive operation. Poll the AML file system's hsm.archiveStatus field to monitor the progress."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "storagecache.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "amlFilesystems_cancelArchive": {
+ "$ref": "./examples/amlFilesystems_CancelArchive.json"
+ }
+ },
+ "tags": [
+ "amlFilesystems"
+ ],
+ "description": "Cancel archiving data from the AML file system.",
+ "operationId": "amlFilesystems_CancelArchive"
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/checkAmlFSSubnets": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "amlFilesystemSubnetInfo",
+ "in": "body",
+ "description": "Information about the subnets to validate.",
+ "schema": {
+ "$ref": "#/definitions/AmlFilesystemSubnetInfo"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The subnets provided meet the requirements for AML file system create."
+ },
+ "400": {
+ "description": "The subnets provided do not meet the requirements for AML file system create.",
+ "schema": {
+ "$ref": "#/definitions/AmlFilesystemCheckSubnetError"
+ },
+ "x-ms-error-response": true
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "storagecache.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "checkAmlFSSubnets": {
+ "$ref": "./examples/checkAmlFSSubnets.json"
+ }
+ },
+ "tags": [
+ "amlFilesystems"
+ ],
+ "description": "Check that subnets will be valid for AML file system create calls.",
+ "operationId": "checkAmlFSSubnets"
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/getRequiredAmlFSSubnetsSize": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "requiredAMLFilesystemSubnetsSizeInfo",
+ "in": "body",
+ "description": "Information to determine the number of available IPs a subnet will need to host the AML file system.",
+ "schema": {
+ "$ref": "#/definitions/RequiredAmlFilesystemSubnetsSizeInfo"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The number of available IP addresses a subnet will need for an AML file system.",
+ "schema": {
+ "$ref": "#/definitions/RequiredAmlFilesystemSubnetsSize"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "storagecache.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "getRequiredAmlFilesystemSubnetsSize": {
+ "$ref": "./examples/getRequiredAmlFSSubnetsSize.json"
+ }
+ },
+ "tags": [
+ "amlFilesystems"
+ ],
+ "description": "Get the number of available IP addresses needed for the AML file system information provided.",
+ "operationId": "getRequiredAmlFSSubnetsSize"
+ }
+ }
+ },
+ "definitions": {
+ "AmlFilesystemIdentity": {
+ "type": "object",
+ "description": "Managed Identity properties.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal ID for the user-assigned identity of the resource."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant ID associated with the resource."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of identity used for the resource.",
+ "enum": [
+ "UserAssigned",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "AmlFilesystemIdentityType",
+ "modelAsString": false
+ }
+ },
+ "userAssignedIdentities": {
+ "description": "A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary.",
+ "$ref": "#/definitions/UserAssignedIdentities"
+ }
+ }
+ },
+ "AmlFilesystem": {
+ "description": "An AML file system instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md",
+ "x-ms-azure-resource": true,
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "identity": {
+ "$ref": "#/definitions/AmlFilesystemIdentity",
+ "description": "The managed identity used by the AML file system, if configured."
+ },
+ "sku": {
+ "description": "SKU for the resource.",
+ "$ref": "#/definitions/SkuName"
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Availability zones for resources. This field should only contain a single element in the array.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties of the AML file system.",
+ "properties": {
+ "storageCapacityTiB": {
+ "description": "The size of the AML file system, in TiB. This might be rounded up.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "type": "number",
+ "format": "float"
+ },
+ "health": {
+ "description": "Health of the AML file system.",
+ "readOnly": true,
+ "$ref": "#/definitions/AmlFilesystemHealth"
+ },
+ "provisioningState": {
+ "description": "ARM provisioning state.",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "Creating",
+ "Deleting",
+ "Updating",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "AmlFilesystemProvisioningStateType",
+ "modelAsString": true
+ },
+ "type": "string",
+ "readOnly": true
+ },
+ "filesystemSubnet": {
+ "description": "Subnet used for managing the AML file system and for client-facing operations. This subnet should have at least a /24 subnet mask within the VNET's address space.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "$ref": "storagecache.json#/definitions/URLString"
+ },
+ "clientInfo": {
+ "$ref": "#/definitions/AmlFilesystemClientInfo",
+ "description": "Client information for the AML file system."
+ },
+ "throughputProvisionedMBps": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Throughput provisioned in MB per sec, calculated as storageCapacityTiB * per-unit storage throughput",
+ "readOnly": true
+ },
+ "encryptionSettings": {
+ "$ref": "#/definitions/AmlFilesystemEncryptionSettings",
+ "description": "Specifies encryption settings of the AML file system."
+ },
+ "maintenanceWindow": {
+ "description": "Start time of a 30-minute weekly maintenance window.",
+ "type": "object",
+ "properties": {
+ "dayOfWeek": {
+ "type": "string",
+ "enum": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "x-ms-enum": {
+ "name": "MaintenanceDayOfWeekType",
+ "modelAsString": false
+ },
+ "description": "Day of the week on which the maintenance window will occur."
+ },
+ "timeOfDayUTC": {
+ "type": "string",
+ "pattern": "^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$",
+ "description": "The time of day (in UTC) to start the maintenance window."
+ }
+ }
+ },
+ "hsm": {
+ "type": "object",
+ "description": "Hydration and archive settings and status",
+ "properties": {
+ "settings": {
+ "$ref": "#/definitions/AmlFilesystemHsmSettings",
+ "description": "Specifies HSM settings of the AML file system."
+ },
+ "archiveStatus": {
+ "type": "array",
+ "readOnly": true,
+ "description": "Archive status",
+ "items": {
+ "$ref": "#/definitions/AmlFilesystemArchive"
+ },
+ "x-ms-identifiers": [
+ "filesystemPath"
+ ]
+ }
+ }
+ },
+ "rootSquashSettings": {
+ "$ref": "#/definitions/AmlFilesystemRootSquashSettings",
+ "description": "Specifies root squash settings of the AML file system."
+ }
+ },
+ "type": "object",
+ "required": [
+ "filesystemSubnet",
+ "storageCapacityTiB",
+ "maintenanceWindow"
+ ]
+ }
+ }
+ },
+ "AmlFilesystemUpdate": {
+ "description": "An AML file system update instance.",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ },
+ "properties": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "description": "Properties of the AML file system.",
+ "properties": {
+ "encryptionSettings": {
+ "$ref": "#/definitions/AmlFilesystemEncryptionSettings",
+ "description": "Specifies encryption settings of the AML file system."
+ },
+ "maintenanceWindow": {
+ "description": "Start time of a 30-minute weekly maintenance window.",
+ "type": "object",
+ "properties": {
+ "dayOfWeek": {
+ "type": "string",
+ "enum": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "x-ms-enum": {
+ "name": "MaintenanceDayOfWeekType",
+ "modelAsString": false
+ },
+ "description": "Day of the week on which the maintenance window will occur."
+ },
+ "timeOfDayUTC": {
+ "type": "string",
+ "pattern": "^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$",
+ "description": "The time of day (in UTC) to start the maintenance window."
+ }
+ }
+ },
+ "rootSquashSettings": {
+ "$ref": "#/definitions/AmlFilesystemRootSquashSettings",
+ "description": "Specifies root squash settings of the AML file system."
+ }
+ }
+ }
+ }
+ },
+ "AmlFilesystemName": {
+ "readOnly": true,
+ "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.",
+ "type": "string",
+ "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$",
+ "minLength": 2,
+ "maxLength": 80
+ },
+ "AmlFilesystemsListResult": {
+ "description": "Result of the request to list AML file systems. It contains a list of AML file systems and a URL link to get the next set of results.",
+ "properties": {
+ "nextLink": {
+ "description": "URL to get the next set of AML file system list results, if there are any.",
+ "type": "string"
+ },
+ "value": {
+ "description": "List of AML file systems.",
+ "items": {
+ "$ref": "#/definitions/AmlFilesystem"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "AmlFilesystemHealth": {
+ "description": "An indication of AML file system health. Gives more information about health than just that related to provisioning.",
+ "readOnly": true,
+ "properties": {
+ "state": {
+ "description": "List of AML file system health states.",
+ "enum": [
+ "Unavailable",
+ "Available",
+ "Degraded",
+ "Transitioning",
+ "Maintenance"
+ ],
+ "x-ms-enum": {
+ "name": "AmlFilesystemHealthStateType",
+ "modelAsString": true
+ },
+ "type": "string"
+ },
+ "statusCode": {
+ "description": "Server-defined error code for the AML file system health",
+ "type": "string"
+ },
+ "statusDescription": {
+ "description": "Describes the health state.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AmlFilesystemEncryptionSettings": {
+ "description": "AML file system encryption settings.",
+ "properties": {
+ "keyEncryptionKey": {
+ "$ref": "storagecache.json#/definitions/KeyVaultKeyReference",
+ "description": "Specifies the location of the encryption key in Key Vault."
+ }
+ },
+ "type": "object"
+ },
+ "AmlFilesystemHsmSettings": {
+ "description": "AML file system HSM settings.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "type": "object",
+ "properties": {
+ "container": {
+ "description": "Resource ID of storage container used for hydrating the namespace and archiving from the namespace. The resource provider must have permission to create SAS tokens on the storage account.",
+ "$ref": "storagecache.json#/definitions/URLString"
+ },
+ "loggingContainer": {
+ "description": "Resource ID of storage container used for logging events and errors. Must be a separate container in the same storage account as the hydration and archive container. The resource provider must have permission to create SAS tokens on the storage account.",
+ "$ref": "storagecache.json#/definitions/URLString"
+ },
+ "importPrefix": {
+ "description": "Only blobs in the non-logging container that start with this path/prefix get hydrated into the cluster namespace.",
+ "type": "string",
+ "default": "/"
+ }
+ },
+ "required": [
+ "container",
+ "loggingContainer"
+ ]
+ },
+ "AmlFilesystemRootSquashSettings": {
+ "description": "AML file system squash settings.",
+ "properties": {
+ "mode": {
+ "type": "string",
+ "description": "Squash mode of the AML file system. 'All': User and Group IDs on files will be squashed to the provided values for all users on non-trusted systems. 'RootOnly': User and Group IDs on files will be squashed to provided values for solely the root user on non-trusted systems. 'None': No squashing of User and Group IDs is performed for any users on any systems.",
+ "enum": [
+ "None",
+ "RootOnly",
+ "All"
+ ],
+ "x-ms-enum": {
+ "name": "AmlFilesystemSquashMode",
+ "modelAsString": true
+ }
+ },
+ "noSquashNidLists": {
+ "description": "Semicolon separated NID IP Address list(s) to be added to the TrustedSystems.",
+ "type": "string"
+ },
+ "squashUID": {
+ "type": "integer",
+ "description": "User ID to squash to.",
+ "format": "int64"
+ },
+ "squashGID": {
+ "type": "integer",
+ "description": "Group ID to squash to.",
+ "format": "int64"
+ },
+ "status": {
+ "readOnly": true,
+ "type": "string",
+ "description": "AML file system squash status."
+ }
+ },
+ "type": "object"
+ },
+ "AmlFilesystemClientInfo": {
+ "type": "object",
+ "description": "AML file system client information",
+ "readOnly": true,
+ "properties": {
+ "mgsAddress": {
+ "description": "The IPv4 address used by clients to mount the AML file system's Lustre Management Service (MGS).",
+ "readOnly": true,
+ "type": "string"
+ },
+ "mountCommand": {
+ "description": "Recommended command to mount the AML file system",
+ "readOnly": true,
+ "type": "string"
+ },
+ "lustreVersion": {
+ "type": "string",
+ "description": "The version of Lustre running in the AML file system",
+ "readOnly": true
+ },
+ "containerStorageInterface": {
+ "$ref": "#/definitions/AmlFilesystemContainerStorageInterface",
+ "description": "Container Storage Interface information for the AML file system."
+ }
+ }
+ },
+ "AmlFilesystemContainerStorageInterface": {
+ "type": "object",
+ "description": "AML file system container storage interface information",
+ "readOnly": true,
+ "properties": {
+ "persistentVolumeClaim": {
+ "description": "Recommended AKS Persistent Volume Claim for the CSI driver, in Base64 encoded YAML",
+ "readOnly": true,
+ "type": "string"
+ },
+ "persistentVolume": {
+ "description": "Recommended AKS Persistent Volume for the CSI driver, in Base64 encoded YAML",
+ "readOnly": true,
+ "type": "string"
+ },
+ "storageClass": {
+ "description": "Recommended AKS Storage Class for the CSI driver, in Base64 encoded YAML",
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ },
+ "AmlFilesystemArchiveInfo": {
+ "type": "object",
+ "description": "Information required to execute the archive operation",
+ "properties": {
+ "filesystemPath": {
+ "type": "string",
+ "description": "Lustre file system path to archive relative to the file system root. Specify '/' to archive all modified data.",
+ "default": "/"
+ }
+ }
+ },
+ "AmlFilesystemArchive": {
+ "description": "Information about the AML file system archive",
+ "type": "object",
+ "readOnly": true,
+ "properties": {
+ "filesystemPath": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Lustre file system path to archive relative to the file system root. Specify '/' to archive all modified data."
+ },
+ "status": {
+ "description": "The status of the archive",
+ "type": "object",
+ "readOnly": true,
+ "properties": {
+ "state": {
+ "readOnly": true,
+ "description": "The state of the archive operation",
+ "type": "string",
+ "enum": [
+ "NotConfigured",
+ "Idle",
+ "InProgress",
+ "Canceled",
+ "Completed",
+ "Failed",
+ "Cancelling",
+ "FSScanInProgress"
+ ],
+ "x-ms-enum": {
+ "name": "ArchiveStatusType",
+ "modelAsString": true
+ }
+ },
+ "lastCompletionTime": {
+ "readOnly": true,
+ "description": "The time of the last completed archive operation",
+ "type": "string",
+ "format": "date-time"
+ },
+ "lastStartedTime": {
+ "readOnly": true,
+ "description": "The time the latest archive operation started",
+ "type": "string",
+ "format": "date-time"
+ },
+ "percentComplete": {
+ "readOnly": true,
+ "description": "The completion percentage of the archive operation",
+ "type": "integer",
+ "format": "int32"
+ },
+ "errorCode": {
+ "readOnly": true,
+ "description": "Server-defined error code for the archive operation",
+ "type": "string"
+ },
+ "errorMessage": {
+ "readOnly": true,
+ "description": "Server-defined error message for the archive operation",
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "RequiredAmlFilesystemSubnetsSizeInfo": {
+ "type": "object",
+ "description": "Information required to get the number of available IP addresses a subnet should have that will be used in AML file system create",
+ "properties": {
+ "storageCapacityTiB": {
+ "description": "The size of the AML file system, in TiB.",
+ "type": "number",
+ "format": "float"
+ },
+ "sku": {
+ "description": "SKU for the resource.",
+ "$ref": "#/definitions/SkuName"
+ }
+ }
+ },
+ "RequiredAmlFilesystemSubnetsSize": {
+ "type": "object",
+ "description": "Information about the number of available IP addresses that are required for the AML file system.",
+ "properties": {
+ "filesystemSubnetSize": {
+ "description": "The number of available IP addresses that are required for the AML file system.",
+ "type": "integer",
+ "format": "int32"
+ }
+ }
+ },
+ "AmlFilesystemSubnetInfo": {
+ "type": "object",
+ "description": "Information required to validate the subnet that will be used in AML file system create",
+ "properties": {
+ "filesystemSubnet": {
+ "description": "Subnet used for managing the AML file system and for client-facing operations. This subnet should have at least a /24 subnet mask within the VNET's address space.",
+ "$ref": "storagecache.json#/definitions/URLString"
+ },
+ "storageCapacityTiB": {
+ "description": "The size of the AML file system, in TiB.",
+ "type": "number",
+ "format": "float"
+ },
+ "sku": {
+ "description": "SKU for the resource.",
+ "$ref": "#/definitions/SkuName"
+ },
+ "location": {
+ "description": "Region that the AML file system will be created in.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ }
+ }
+ },
+ "AmlFilesystemCheckSubnetError": {
+ "type": "object",
+ "description": "The error details provided when the checkAmlFSSubnets call fails.",
+ "readOnly": true,
+ "properties": {
+ "filesystemSubnet": {
+ "type": "object",
+ "description": "The error details for the AML file system's subnet.",
+ "properties": {
+ "status": {
+ "type": "string",
+ "enum": [
+ "Ok",
+ "Invalid"
+ ],
+ "x-ms-enum": {
+ "name": "FilesystemSubnetStatusType",
+ "modelAsString": true
+ },
+ "description": "The status of the AML file system subnet check."
+ },
+ "message": {
+ "type": "string",
+ "description": "The details of the AML file system subnet check."
+ }
+ }
+ }
+ }
+ },
+ "UserAssignedIdentities": {
+ "type": "object",
+ "description": "A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary.",
+ "additionalProperties": {
+ "type": "object",
+ "x-ms-client-name": "userAssignedIdentitiesValue",
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal ID of the user-assigned identity."
+ },
+ "clientId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The client ID of the user-assigned identity."
+ }
+ }
+ }
+ },
+ "SkuName": {
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "description": "SKU for the resource.",
+ "properties": {
+ "name": {
+ "description": "SKU name for this resource.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "parameters": {
+ "AmlFilesystemNameParameter": {
+ "description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.",
+ "in": "path",
+ "name": "amlFilesystemName",
+ "pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$",
+ "required": true,
+ "type": "string",
+ "minLength": 2,
+ "maxLength": 80,
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/AscOperations_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/AscOperations_Get.json
new file mode 100644
index 000000000000..163fd23d18d8
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/AscOperations_Get.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "location": "westus",
+ "operationId": "testoperationid",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/id/locations/westus/ascOperations/testoperationid",
+ "name": "testoperationid",
+ "startTime": "2023-01-01T13:13:13.933Z",
+ "endTime": "2023-01-01T16:13:13.933Z",
+ "status": "Succeeded"
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/AscResourceUsages_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/AscResourceUsages_Get.json
new file mode 100644
index 000000000000..c61eb64e3bd0
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/AscResourceUsages_Get.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "location": "eastus",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "limit": 4,
+ "unit": "Count",
+ "currentValue": 1,
+ "name": {
+ "value": "Cache",
+ "localizedValue": "Cache"
+ }
+ },
+ {
+ "limit": 4,
+ "unit": "Count",
+ "currentValue": 0,
+ "name": {
+ "value": "AmlFilesystem",
+ "localizedValue": "AmlFilesystem"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_CreateOrUpdate.json
new file mode 100644
index 000000000000..1a107113cbee
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_CreateOrUpdate.json
@@ -0,0 +1,324 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "cache": {
+ "tags": {
+ "Dept": "Contoso"
+ },
+ "location": "westus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}
+ }
+ },
+ "properties": {
+ "cacheSizeGB": 3072,
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2047/test",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "directoryServicesSettings": {
+ "activeDirectory": {
+ "primaryDnsIpAddress": "192.0.2.10",
+ "secondaryDnsIpAddress": "192.0.2.11",
+ "cacheNetBiosName": "contosoSmb",
+ "domainName": "contosoAd.contoso.local",
+ "domainNetBiosName": "contosoAd",
+ "credentials": {
+ "username": "consotoAdmin",
+ "password": ""
+ }
+ },
+ "usernameDownload": {
+ "extendedGroups": true,
+ "usernameSource": "LDAP",
+ "ldapServer": "192.0.2.12",
+ "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local",
+ "credentials": {
+ "bindDn": "cn=ldapadmin,dc=contosoad,dc=contoso,dc=local",
+ "bindPassword": ""
+ }
+ }
+ },
+ "securitySettings": {
+ "accessPolicies": [
+ {
+ "name": "default",
+ "accessRules": [
+ {
+ "scope": "default",
+ "access": "rw",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": false
+ }
+ ]
+ }
+ ]
+ },
+ "upgradeSettings": {
+ "upgradeScheduleEnabled": true,
+ "scheduledTime": "2022-04-26T18:25:43.511Z"
+ }
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ },
+ "responses": {
+ "202": {},
+ "201": {
+ "body": {
+ "tags": {
+ "Dept": "Contoso"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1",
+ "location": "westus",
+ "name": "sc1",
+ "type": "Microsoft.StorageCache/Cache",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created.",
+ "conditions": [
+ {
+ "timestamp": "2021-04-21T18:25:43.511Z",
+ "message": "Cannot contact DNS server"
+ }
+ ]
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Succeeded",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "5.3.23",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "5.3.24"
+ },
+ "networkSettings": {
+ "mtu": 1500,
+ "dnsServers": [
+ "10.1.22.33",
+ "10.1.12.33"
+ ],
+ "dnsSearchDomain": "contoso.com",
+ "ntpServer": "time.contoso.com"
+ },
+ "securitySettings": {
+ "accessPolicies": [
+ {
+ "name": "default",
+ "accessRules": [
+ {
+ "scope": "default",
+ "access": "rw",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": false
+ }
+ ]
+ }
+ ]
+ },
+ "upgradeSettings": {
+ "upgradeScheduleEnabled": true,
+ "scheduledTime": "2022-04-26T18:25:43.511Z"
+ },
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "directoryServicesSettings": {
+ "activeDirectory": {
+ "primaryDnsIpAddress": "192.0.2.10",
+ "secondaryDnsIpAddress": "192.0.2.11",
+ "domainName": "contosoAd.contoso.local",
+ "domainNetBiosName": "contosoAd",
+ "cacheNetBiosName": "contosoSmb",
+ "domainJoined": "No"
+ },
+ "usernameDownload": {
+ "extendedGroups": true,
+ "usernameSource": "LDAP",
+ "groupFileURI": "http://contoso.net/group.file",
+ "userFileURI": "http://contoso.net/passwd.file",
+ "ldapServer": "192.0.2.12",
+ "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local",
+ "encryptLdapConnection": false,
+ "requireValidCertificate": false,
+ "autoDownloadCertificate": false,
+ "caCertificateURI": "http://contoso.net/cacert.pem",
+ "usernameDownloaded": "No"
+ }
+ },
+ "primingJobs": [],
+ "spaceAllocation": [],
+ "zones": [
+ "1"
+ ]
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "tags": {
+ "Dept": "Contoso"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1",
+ "location": "westus",
+ "name": "sc1",
+ "type": "Microsoft.StorageCache/Cache",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created.",
+ "conditions": [
+ {
+ "timestamp": "2021-04-21T18:25:43.511Z",
+ "message": "Cannot contact DNS server"
+ }
+ ]
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Updating",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "2022.08.1",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "2022.08.1"
+ },
+ "networkSettings": {
+ "mtu": 1500,
+ "dnsServers": [
+ "10.1.22.33",
+ "10.1.12.33"
+ ],
+ "dnsSearchDomain": "contoso.com",
+ "ntpServer": "time.contoso.com"
+ },
+ "securitySettings": {
+ "accessPolicies": [
+ {
+ "name": "default",
+ "accessRules": [
+ {
+ "scope": "default",
+ "access": "rw",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": false
+ }
+ ]
+ }
+ ]
+ },
+ "upgradeSettings": {
+ "upgradeScheduleEnabled": true,
+ "scheduledTime": "2022-04-26T18:25:43.511Z"
+ },
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "directoryServicesSettings": {
+ "activeDirectory": {
+ "primaryDnsIpAddress": "192.0.2.10",
+ "secondaryDnsIpAddress": "192.0.2.11",
+ "domainName": "contosoAd.contoso.local",
+ "domainNetBiosName": "contosoAd",
+ "cacheNetBiosName": "contosoSmb",
+ "domainJoined": "Yes"
+ },
+ "usernameDownload": {
+ "extendedGroups": true,
+ "usernameSource": "LDAP",
+ "groupFileURI": "http://contoso.net/group.file",
+ "userFileURI": "http://contoso.net/passwd.file",
+ "ldapServer": "192.0.2.12",
+ "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local",
+ "encryptLdapConnection": false,
+ "requireValidCertificate": false,
+ "autoDownloadCertificate": false,
+ "caCertificateURI": "http://contoso.net/cacert.pem",
+ "usernameDownloaded": "Yes"
+ }
+ },
+ "primingJobs": [
+ {
+ "primingJobName": "contosoJob1",
+ "primingJobId": "00000000000_0000000000",
+ "primingJobState": "Complete",
+ "primingJobStatus": "success",
+ "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0",
+ "primingJobPercentComplete": 100.0
+ },
+ {
+ "primingJobName": "contosoJob2",
+ "primingJobId": "11111111111_1111111111",
+ "primingJobState": "Queued",
+ "primingJobStatus": "",
+ "primingJobDetails": "",
+ "primingJobPercentComplete": 0.0
+ }
+ ],
+ "spaceAllocation": [],
+ "zones": [
+ "1"
+ ]
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_CreateOrUpdate_ldap_only.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_CreateOrUpdate_ldap_only.json
new file mode 100644
index 000000000000..573c4c96b8c3
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_CreateOrUpdate_ldap_only.json
@@ -0,0 +1,291 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "cache": {
+ "tags": {
+ "Dept": "Contoso"
+ },
+ "location": "westus",
+ "properties": {
+ "cacheSizeGB": 3072,
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "directoryServicesSettings": {
+ "usernameDownload": {
+ "extendedGroups": true,
+ "usernameSource": "LDAP",
+ "ldapServer": "192.0.2.12",
+ "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local",
+ "credentials": {
+ "bindDn": "cn=ldapadmin,dc=contosoad,dc=contoso,dc=local",
+ "bindPassword": ""
+ }
+ }
+ },
+ "securitySettings": {
+ "accessPolicies": [
+ {
+ "name": "default",
+ "accessRules": [
+ {
+ "scope": "default",
+ "access": "rw",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": false
+ }
+ ]
+ }
+ ]
+ },
+ "upgradeSettings": {
+ "upgradeScheduleEnabled": true,
+ "scheduledTime": "2022-04-26T18:25:43.511Z"
+ }
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ },
+ "responses": {
+ "202": {},
+ "201": {
+ "body": {
+ "tags": {
+ "Dept": "Contoso"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1",
+ "location": "westus",
+ "name": "sc1",
+ "type": "Microsoft.StorageCache/Cache",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created.",
+ "conditions": [
+ {
+ "timestamp": "2021-04-21T18:25:43.511Z",
+ "message": "Cannot contact DNS server"
+ }
+ ]
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Succeeded",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "5.3.23",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "5.3.24"
+ },
+ "networkSettings": {
+ "mtu": 1500,
+ "dnsServers": [
+ "10.1.22.33",
+ "10.1.12.33"
+ ],
+ "dnsSearchDomain": "contoso.com",
+ "ntpServer": "time.contoso.com"
+ },
+ "securitySettings": {
+ "accessPolicies": [
+ {
+ "name": "default",
+ "accessRules": [
+ {
+ "scope": "default",
+ "access": "rw",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": false
+ }
+ ]
+ }
+ ]
+ },
+ "upgradeSettings": {
+ "upgradeScheduleEnabled": true,
+ "scheduledTime": "2022-04-26T18:25:43.511Z"
+ },
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "directoryServicesSettings": {
+ "usernameDownload": {
+ "extendedGroups": true,
+ "usernameSource": "LDAP",
+ "groupFileURI": "http://contoso.net/group.file",
+ "userFileURI": "http://contoso.net/passwd.file",
+ "ldapServer": "192.0.2.12",
+ "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local",
+ "encryptLdapConnection": false,
+ "requireValidCertificate": false,
+ "autoDownloadCertificate": false,
+ "caCertificateURI": "http://contoso.net/cacert.pem",
+ "usernameDownloaded": "No"
+ }
+ },
+ "primingJobs": [],
+ "spaceAllocation": [],
+ "zones": [
+ "1"
+ ]
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "tags": {
+ "Dept": "Contoso"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1",
+ "location": "westus",
+ "name": "sc1",
+ "type": "Microsoft.StorageCache/Cache",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created.",
+ "conditions": [
+ {
+ "timestamp": "2021-04-21T18:25:43.511Z",
+ "message": "Cannot contact DNS server"
+ }
+ ]
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Updating",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "2022.08.1",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "2022.08.1"
+ },
+ "networkSettings": {
+ "mtu": 1500,
+ "dnsServers": [
+ "10.1.22.33",
+ "10.1.12.33"
+ ],
+ "dnsSearchDomain": "contoso.com",
+ "ntpServer": "time.contoso.com"
+ },
+ "securitySettings": {
+ "accessPolicies": [
+ {
+ "name": "default",
+ "accessRules": [
+ {
+ "scope": "default",
+ "access": "rw",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": false
+ }
+ ]
+ }
+ ]
+ },
+ "upgradeSettings": {
+ "upgradeScheduleEnabled": true,
+ "scheduledTime": "2022-04-26T18:25:43.511Z"
+ },
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "directoryServicesSettings": {
+ "usernameDownload": {
+ "extendedGroups": true,
+ "usernameSource": "LDAP",
+ "groupFileURI": "http://contoso.net/group.file",
+ "userFileURI": "http://contoso.net/passwd.file",
+ "ldapServer": "192.0.2.12",
+ "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local",
+ "encryptLdapConnection": false,
+ "requireValidCertificate": false,
+ "autoDownloadCertificate": false,
+ "caCertificateURI": "http://contoso.net/cacert.pem",
+ "usernameDownloaded": "Yes"
+ }
+ },
+ "primingJobs": [
+ {
+ "primingJobName": "contosoJob1",
+ "primingJobId": "00000000000_0000000000",
+ "primingJobState": "Complete",
+ "primingJobStatus": "success",
+ "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0",
+ "primingJobPercentComplete": 100.0
+ },
+ {
+ "primingJobName": "contosoJob2",
+ "primingJobId": "11111111111_1111111111",
+ "primingJobState": "Queued",
+ "primingJobStatus": "",
+ "primingJobDetails": "",
+ "primingJobPercentComplete": 0.0
+ }
+ ],
+ "spaceAllocation": [],
+ "zones": [
+ "1"
+ ]
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_DebugInfo.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_DebugInfo.json
new file mode 100644
index 000000000000..b09def3a2492
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_DebugInfo.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Delete.json
new file mode 100644
index 000000000000..b09def3a2492
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Delete.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Flush.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Flush.json
new file mode 100644
index 000000000000..b09def3a2492
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Flush.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Get.json
new file mode 100644
index 000000000000..1f429bb03dd5
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Get.json
@@ -0,0 +1,153 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "Dept": "Contoso"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1",
+ "location": "westus",
+ "name": "sc1",
+ "type": "Microsoft.StorageCache/Cache",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created.",
+ "conditions": [
+ {
+ "timestamp": "2021-04-21T18:25:43.511Z",
+ "message": "Cannot contact DNS server"
+ }
+ ]
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Succeeded",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "2022.08.1",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "2022.08.1"
+ },
+ "networkSettings": {
+ "mtu": 1500,
+ "dnsServers": [
+ "10.1.22.33",
+ "10.1.12.33"
+ ],
+ "dnsSearchDomain": "contoso.com",
+ "ntpServer": "time.contoso.com"
+ },
+ "securitySettings": {
+ "accessPolicies": [
+ {
+ "name": "default",
+ "accessRules": [
+ {
+ "scope": "default",
+ "access": "rw",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": false
+ }
+ ]
+ }
+ ]
+ },
+ "upgradeSettings": {
+ "upgradeScheduleEnabled": true,
+ "scheduledTime": "2022-04-26T18:25:43.511Z"
+ },
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "directoryServicesSettings": {
+ "activeDirectory": {
+ "primaryDnsIpAddress": "192.0.2.10",
+ "secondaryDnsIpAddress": "192.0.2.11",
+ "domainName": "contosoAd.contoso.local",
+ "domainNetBiosName": "contosoAd",
+ "cacheNetBiosName": "contosoSmb",
+ "domainJoined": "Yes"
+ },
+ "usernameDownload": {
+ "extendedGroups": true,
+ "usernameSource": "LDAP",
+ "groupFileURI": "http://contoso.net/group.file",
+ "userFileURI": "http://contoso.net/passwd.file",
+ "ldapServer": "192.0.2.12",
+ "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local",
+ "encryptLdapConnection": false,
+ "requireValidCertificate": false,
+ "autoDownloadCertificate": false,
+ "caCertificateURI": "http://contoso.net/cacert.pem",
+ "usernameDownloaded": "Yes"
+ }
+ },
+ "primingJobs": [
+ {
+ "primingJobName": "contosoJob1",
+ "primingJobId": "00000000000_0000000000",
+ "primingJobState": "Complete",
+ "primingJobStatus": "success",
+ "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0",
+ "primingJobPercentComplete": 100.0
+ },
+ {
+ "primingJobName": "contosoJob2",
+ "primingJobId": "11111111111_1111111111",
+ "primingJobState": "Queued",
+ "primingJobStatus": "",
+ "primingJobDetails": "",
+ "primingJobPercentComplete": 0.0
+ }
+ ],
+ "spaceAllocation": [
+ {
+ "name": "st1",
+ "allocationPercentage": 25
+ },
+ {
+ "name": "st2",
+ "allocationPercentage": 50
+ },
+ {
+ "name": "st3",
+ "allocationPercentage": 25
+ }
+ ],
+ "zones": [
+ "1"
+ ]
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_List.json
new file mode 100644
index 000000000000..a806ebbaf852
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_List.json
@@ -0,0 +1,263 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "tags": {
+ "Dept": "Contoso"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1",
+ "location": "westus",
+ "name": "sc1",
+ "type": "Microsoft.StorageCache/Cache",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created.",
+ "conditions": [
+ {
+ "timestamp": "2021-04-21T18:25:43.511Z",
+ "message": "Cannot contact DNS server"
+ }
+ ]
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Succeeded",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "2022.08.1",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "2022.08.1"
+ },
+ "networkSettings": {
+ "mtu": 1500,
+ "dnsServers": [
+ "10.1.22.33",
+ "10.1.12.33"
+ ],
+ "dnsSearchDomain": "contoso.com",
+ "ntpServer": "time.contoso.com"
+ },
+ "securitySettings": {
+ "accessPolicies": [
+ {
+ "name": "default",
+ "accessRules": [
+ {
+ "scope": "default",
+ "access": "rw",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": false
+ }
+ ]
+ }
+ ]
+ },
+ "upgradeSettings": {
+ "upgradeScheduleEnabled": true,
+ "scheduledTime": "2022-04-26T18:25:43.511Z"
+ },
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "directoryServicesSettings": {
+ "activeDirectory": {
+ "primaryDnsIpAddress": "192.0.2.10",
+ "secondaryDnsIpAddress": "192.0.2.11",
+ "domainName": "contosoAd.contoso.local",
+ "domainNetBiosName": "contosoAd",
+ "cacheNetBiosName": "contosoSmb",
+ "domainJoined": "Yes"
+ },
+ "usernameDownload": {
+ "extendedGroups": true,
+ "usernameSource": "LDAP",
+ "groupFileURI": "http://contoso.net/group.file",
+ "userFileURI": "http://contoso.net/passwd.file",
+ "ldapServer": "192.0.2.12",
+ "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local",
+ "encryptLdapConnection": false,
+ "requireValidCertificate": false,
+ "autoDownloadCertificate": false,
+ "caCertificateURI": "http://contoso.net/cacert.pem",
+ "usernameDownloaded": "Yes"
+ }
+ },
+ "primingJobs": [],
+ "spaceAllocation": [
+ {
+ "name": "st1",
+ "allocationPercentage": 25
+ },
+ {
+ "name": "st2",
+ "allocationPercentage": 50
+ },
+ {
+ "name": "st3",
+ "allocationPercentage": 25
+ }
+ ]
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ },
+ {
+ "tags": {
+ "Dept": "Contoso"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc2",
+ "location": "westus",
+ "name": "sc2",
+ "type": "Microsoft.StorageCache/Cache",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created.",
+ "conditions": [
+ {
+ "timestamp": "2021-04-21T18:25:43.511Z",
+ "message": "Cannot contact DNS server"
+ }
+ ]
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Updating",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub2",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "2022.08.1",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "2022.08.1"
+ },
+ "networkSettings": {
+ "mtu": 1500,
+ "dnsServers": [
+ "10.1.22.33",
+ "10.1.12.33"
+ ],
+ "dnsSearchDomain": "contoso.com",
+ "ntpServer": "time.contoso.com"
+ },
+ "securitySettings": {
+ "accessPolicies": [
+ {
+ "name": "default",
+ "accessRules": [
+ {
+ "scope": "default",
+ "access": "rw",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": false
+ }
+ ]
+ }
+ ]
+ },
+ "upgradeSettings": {
+ "upgradeScheduleEnabled": true,
+ "scheduledTime": "2022-04-26T18:25:43.511Z"
+ },
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "directoryServicesSettings": {
+ "activeDirectory": {
+ "primaryDnsIpAddress": "192.0.2.10",
+ "secondaryDnsIpAddress": "192.0.2.11",
+ "domainName": "contosoAd.contoso.local",
+ "domainNetBiosName": "contosoAd",
+ "cacheNetBiosName": "contosoSmb",
+ "domainJoined": "Yes"
+ },
+ "usernameDownload": {
+ "extendedGroups": true,
+ "usernameSource": "AD",
+ "groupFileURI": "http://contoso.net/group.file",
+ "userFileURI": "http://contoso.net/passwd.file",
+ "ldapServer": "",
+ "ldapBaseDN": "",
+ "encryptLdapConnection": false,
+ "requireValidCertificate": false,
+ "autoDownloadCertificate": false,
+ "caCertificateURI": "http://contoso.net/cacert.pem",
+ "usernameDownloaded": "Yes"
+ }
+ },
+ "primingJobs": [
+ {
+ "primingJobName": "contosoJob1",
+ "primingJobId": "00000000000_0000000000",
+ "primingJobState": "Complete",
+ "primingJobStatus": "success",
+ "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0",
+ "primingJobPercentComplete": 100.0
+ },
+ {
+ "primingJobName": "contosoJob2",
+ "primingJobId": "11111111111_1111111111",
+ "primingJobState": "Queued",
+ "primingJobStatus": "",
+ "primingJobDetails": "",
+ "primingJobPercentComplete": 0.0
+ }
+ ],
+ "spaceAllocation": [],
+ "zones": [
+ "1"
+ ]
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_ListByResourceGroup.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_ListByResourceGroup.json
new file mode 100644
index 000000000000..c4f30684d47d
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_ListByResourceGroup.json
@@ -0,0 +1,267 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "tags": {
+ "Dept": "Contoso"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1",
+ "location": "westus",
+ "name": "sc1",
+ "type": "Microsoft.StorageCache/Cache",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created.",
+ "conditions": [
+ {
+ "timestamp": "2021-04-21T18:25:43.511Z",
+ "message": "Cannot contact DNS server"
+ }
+ ]
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Succeeded",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "2022.08.1",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "2022.08.1"
+ },
+ "networkSettings": {
+ "mtu": 1500,
+ "dnsServers": [
+ "10.1.22.33",
+ "10.1.12.33"
+ ],
+ "dnsSearchDomain": "contoso.com",
+ "ntpServer": "time.contoso.com"
+ },
+ "securitySettings": {
+ "accessPolicies": [
+ {
+ "name": "default",
+ "accessRules": [
+ {
+ "scope": "default",
+ "access": "rw",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": false
+ }
+ ]
+ }
+ ]
+ },
+ "upgradeSettings": {
+ "upgradeScheduleEnabled": true,
+ "scheduledTime": "2022-04-26T18:25:43.511Z"
+ },
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "directoryServicesSettings": {
+ "activeDirectory": {
+ "primaryDnsIpAddress": "192.0.2.10",
+ "secondaryDnsIpAddress": "192.0.2.11",
+ "domainName": "contosoAd.contoso.local",
+ "domainNetBiosName": "contosoAd",
+ "cacheNetBiosName": "contosoSmb",
+ "domainJoined": "Yes"
+ },
+ "usernameDownload": {
+ "extendedGroups": true,
+ "usernameSource": "LDAP",
+ "groupFileURI": "http://contoso.net/group.file",
+ "userFileURI": "http://contoso.net/passwd.file",
+ "ldapServer": "192.0.2.12",
+ "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local",
+ "encryptLdapConnection": false,
+ "requireValidCertificate": false,
+ "autoDownloadCertificate": false,
+ "caCertificateURI": "http://contoso.net/cacert.pem",
+ "usernameDownloaded": "Yes"
+ }
+ },
+ "primingJobs": [],
+ "spaceAllocation": [
+ {
+ "name": "st1",
+ "allocationPercentage": 25
+ },
+ {
+ "name": "st2",
+ "allocationPercentage": 50
+ },
+ {
+ "name": "st3",
+ "allocationPercentage": 25
+ }
+ ],
+ "zones": [
+ "1"
+ ]
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ },
+ {
+ "tags": {
+ "Dept": "Contoso"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc2",
+ "location": "westus",
+ "name": "sc2",
+ "type": "Microsoft.StorageCache/Cache",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created.",
+ "conditions": [
+ {
+ "timestamp": "2021-04-21T18:25:43.511Z",
+ "message": "Cannot contact DNS server"
+ }
+ ]
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Updating",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub2",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "2022.08.1",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "2022.08.1"
+ },
+ "networkSettings": {
+ "mtu": 1500,
+ "dnsServers": [
+ "10.1.22.33",
+ "10.1.12.33"
+ ],
+ "dnsSearchDomain": "contoso.com",
+ "ntpServer": "time.contoso.com"
+ },
+ "securitySettings": {
+ "accessPolicies": [
+ {
+ "name": "default",
+ "accessRules": [
+ {
+ "scope": "default",
+ "access": "rw",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": false
+ }
+ ]
+ }
+ ]
+ },
+ "upgradeSettings": {
+ "upgradeScheduleEnabled": true,
+ "scheduledTime": "2022-04-26T18:25:43.511Z"
+ },
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "directoryServicesSettings": {
+ "activeDirectory": {
+ "primaryDnsIpAddress": "192.0.2.10",
+ "secondaryDnsIpAddress": "192.0.2.11",
+ "domainName": "contosoAd.contoso.local",
+ "domainNetBiosName": "contosoAd",
+ "cacheNetBiosName": "contosoSmb",
+ "domainJoined": "Yes"
+ },
+ "usernameDownload": {
+ "extendedGroups": true,
+ "usernameSource": "AD",
+ "groupFileURI": "http://contoso.net/group.file",
+ "userFileURI": "http://contoso.net/passwd.file",
+ "ldapServer": "",
+ "ldapBaseDN": "",
+ "encryptLdapConnection": false,
+ "requireValidCertificate": false,
+ "autoDownloadCertificate": false,
+ "caCertificateURI": "http://contoso.net/cacert.pem",
+ "usernameDownloaded": "Yes"
+ }
+ },
+ "primingJobs": [
+ {
+ "primingJobName": "contosoJob1",
+ "primingJobId": "00000000000_0000000000",
+ "primingJobState": "Complete",
+ "primingJobStatus": "success",
+ "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0",
+ "primingJobPercentComplete": 100.0
+ },
+ {
+ "primingJobName": "contosoJob2",
+ "primingJobId": "11111111111_1111111111",
+ "primingJobState": "Queued",
+ "primingJobStatus": "",
+ "primingJobDetails": "",
+ "primingJobPercentComplete": 0.0
+ }
+ ],
+ "spaceAllocation": [],
+ "zones": [
+ "2"
+ ]
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Start.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Start.json
new file mode 100644
index 000000000000..b09def3a2492
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Start.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Stop.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Stop.json
new file mode 100644
index 000000000000..b09def3a2492
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Stop.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Update.json
new file mode 100644
index 000000000000..6fc01b00b4a9
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Update.json
@@ -0,0 +1,263 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "cache": {
+ "tags": {
+ "Dept": "Contoso"
+ },
+ "location": "westus",
+ "properties": {
+ "cacheSizeGB": 3072,
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "networkSettings": {
+ "mtu": 1500,
+ "dnsServers": [
+ "10.1.22.33",
+ "10.1.12.33"
+ ],
+ "dnsSearchDomain": "contoso.com",
+ "ntpServer": "time.contoso.com"
+ },
+ "securitySettings": {
+ "accessPolicies": [
+ {
+ "name": "default",
+ "accessRules": [
+ {
+ "scope": "default",
+ "access": "rw",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": false
+ }
+ ]
+ },
+ {
+ "name": "restrictive",
+ "accessRules": [
+ {
+ "scope": "host",
+ "filter": "10.99.3.145",
+ "access": "rw",
+ "suid": true,
+ "submountAccess": true,
+ "rootSquash": false
+ },
+ {
+ "scope": "network",
+ "filter": "10.99.1.0/24",
+ "access": "rw",
+ "suid": true,
+ "submountAccess": true,
+ "rootSquash": false
+ },
+ {
+ "scope": "default",
+ "access": "no",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": true,
+ "anonymousUID": "65534",
+ "anonymousGID": "65534"
+ }
+ ]
+ }
+ ]
+ },
+ "upgradeSettings": {
+ "upgradeScheduleEnabled": true,
+ "scheduledTime": "2022-04-26T18:25:43.511Z"
+ },
+ "directoryServicesSettings": {
+ "activeDirectory": {
+ "primaryDnsIpAddress": "192.0.2.10",
+ "secondaryDnsIpAddress": "192.0.2.11",
+ "cacheNetBiosName": "contosoSmb",
+ "domainName": "contosoAd.contoso.local",
+ "domainNetBiosName": "contosoAd"
+ },
+ "usernameDownload": {
+ "extendedGroups": true,
+ "usernameSource": "AD"
+ }
+ }
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview"
+ }
+ },
+ "200": {
+ "body": {
+ "tags": {
+ "Dept": "Contoso"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1",
+ "location": "westus",
+ "name": "sc1",
+ "type": "Microsoft.StorageCache/Cache",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created.",
+ "conditions": [
+ {
+ "timestamp": "2021-04-21T18:25:43.511Z",
+ "message": "Cannot contact DNS server"
+ }
+ ]
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Updating",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "2022.08.1",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "2022.08.1"
+ },
+ "networkSettings": {
+ "mtu": 1500,
+ "dnsServers": [
+ "10.1.22.33",
+ "10.1.12.33"
+ ],
+ "dnsSearchDomain": "contoso.com",
+ "ntpServer": "time.contoso.com"
+ },
+ "securitySettings": {
+ "accessPolicies": [
+ {
+ "name": "default",
+ "accessRules": [
+ {
+ "scope": "default",
+ "access": "rw",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": false
+ }
+ ]
+ },
+ {
+ "name": "restrictive",
+ "accessRules": [
+ {
+ "scope": "host",
+ "filter": "10.99.3.145",
+ "access": "rw",
+ "suid": true,
+ "submountAccess": true,
+ "rootSquash": false
+ },
+ {
+ "scope": "network",
+ "filter": "10.99.1.0/24",
+ "access": "rw",
+ "suid": true,
+ "submountAccess": true,
+ "rootSquash": false
+ },
+ {
+ "scope": "default",
+ "access": "no",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": true,
+ "anonymousUID": "65534",
+ "anonymousGID": "65534"
+ }
+ ]
+ }
+ ]
+ },
+ "upgradeSettings": {
+ "upgradeScheduleEnabled": true,
+ "scheduledTime": "2022-04-26T18:25:43.511Z"
+ },
+ "directoryServicesSettings": {
+ "activeDirectory": {
+ "primaryDnsIpAddress": "192.0.2.10",
+ "secondaryDnsIpAddress": "192.0.2.11",
+ "domainName": "contosoAd.contoso.local",
+ "domainNetBiosName": "contosoAd",
+ "cacheNetBiosName": "contosoSmb",
+ "domainJoined": "Yes"
+ },
+ "usernameDownload": {
+ "extendedGroups": true,
+ "usernameSource": "AD",
+ "groupFileURI": "http://contoso.net/group.file",
+ "userFileURI": "http://contoso.net/passwd.file",
+ "ldapServer": "",
+ "ldapBaseDN": "",
+ "encryptLdapConnection": false,
+ "requireValidCertificate": false,
+ "autoDownloadCertificate": false,
+ "caCertificateURI": "http://contoso.net/cacert.pem",
+ "usernameDownloaded": "Yes"
+ }
+ },
+ "primingJobs": [
+ {
+ "primingJobName": "contosoJob1",
+ "primingJobId": "00000000000_0000000000",
+ "primingJobState": "Complete",
+ "primingJobStatus": "success",
+ "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0",
+ "primingJobPercentComplete": 100.0
+ },
+ {
+ "primingJobName": "contosoJob2",
+ "primingJobId": "11111111111_1111111111",
+ "primingJobState": "Queued",
+ "primingJobStatus": "",
+ "primingJobDetails": "",
+ "primingJobPercentComplete": 0.0
+ }
+ ],
+ "spaceAllocation": [
+ {
+ "name": "st1",
+ "allocationPercentage": 25
+ },
+ {
+ "name": "st2",
+ "allocationPercentage": 50
+ },
+ {
+ "name": "st3",
+ "allocationPercentage": 25
+ }
+ ]
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Update_ldap_only.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Update_ldap_only.json
new file mode 100644
index 000000000000..8aabb5214d54
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_Update_ldap_only.json
@@ -0,0 +1,241 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "cache": {
+ "tags": {
+ "Dept": "Contoso"
+ },
+ "location": "westus",
+ "properties": {
+ "cacheSizeGB": 3072,
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "networkSettings": {
+ "mtu": 1500,
+ "dnsServers": [
+ "10.1.22.33",
+ "10.1.12.33"
+ ],
+ "dnsSearchDomain": "contoso.com",
+ "ntpServer": "time.contoso.com"
+ },
+ "securitySettings": {
+ "accessPolicies": [
+ {
+ "name": "default",
+ "accessRules": [
+ {
+ "scope": "default",
+ "access": "rw",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": false
+ }
+ ]
+ },
+ {
+ "name": "restrictive",
+ "accessRules": [
+ {
+ "scope": "host",
+ "filter": "10.99.3.145",
+ "access": "rw",
+ "suid": true,
+ "submountAccess": true,
+ "rootSquash": false
+ },
+ {
+ "scope": "network",
+ "filter": "10.99.1.0/24",
+ "access": "rw",
+ "suid": true,
+ "submountAccess": true,
+ "rootSquash": false
+ },
+ {
+ "scope": "default",
+ "access": "no",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": true,
+ "anonymousUID": "65534",
+ "anonymousGID": "65534"
+ }
+ ]
+ }
+ ]
+ },
+ "upgradeSettings": {
+ "upgradeScheduleEnabled": true,
+ "scheduledTime": "2022-04-26T18:25:43.511Z"
+ },
+ "directoryServicesSettings": {
+ "usernameDownload": {
+ "extendedGroups": true,
+ "usernameSource": "LDAP",
+ "ldapServer": "192.0.2.12",
+ "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local",
+ "credentials": {
+ "bindDn": "cn=ldapadmin,dc=contosoad,dc=contoso,dc=local",
+ "bindPassword": ""
+ }
+ }
+ }
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview"
+ }
+ },
+ "200": {
+ "body": {
+ "tags": {
+ "Dept": "Contoso"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1",
+ "location": "westus",
+ "name": "sc1",
+ "type": "Microsoft.StorageCache/Cache",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created.",
+ "conditions": [
+ {
+ "timestamp": "2021-04-21T18:25:43.511Z",
+ "message": "Cannot contact DNS server"
+ }
+ ]
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Updating",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "2022.08.1",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "2022.08.1"
+ },
+ "networkSettings": {
+ "mtu": 1500,
+ "dnsServers": [
+ "10.1.22.33",
+ "10.1.12.33"
+ ],
+ "dnsSearchDomain": "contoso.com",
+ "ntpServer": "time.contoso.com"
+ },
+ "securitySettings": {
+ "accessPolicies": [
+ {
+ "name": "default",
+ "accessRules": [
+ {
+ "scope": "default",
+ "access": "rw",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": false
+ }
+ ]
+ },
+ {
+ "name": "restrictive",
+ "accessRules": [
+ {
+ "scope": "host",
+ "filter": "10.99.3.145",
+ "access": "rw",
+ "suid": true,
+ "submountAccess": true,
+ "rootSquash": false
+ },
+ {
+ "scope": "network",
+ "filter": "10.99.1.0/24",
+ "access": "rw",
+ "suid": true,
+ "submountAccess": true,
+ "rootSquash": false
+ },
+ {
+ "scope": "default",
+ "access": "no",
+ "suid": false,
+ "submountAccess": true,
+ "rootSquash": true,
+ "anonymousUID": "65534",
+ "anonymousGID": "65534"
+ }
+ ]
+ }
+ ]
+ },
+ "upgradeSettings": {
+ "upgradeScheduleEnabled": true,
+ "scheduledTime": "2022-04-26T18:25:43.511Z"
+ },
+ "directoryServicesSettings": {
+ "usernameDownload": {
+ "extendedGroups": true,
+ "usernameSource": "LDAP",
+ "groupFileURI": "http://contoso.net/group.file",
+ "userFileURI": "http://contoso.net/passwd.file",
+ "ldapServer": "192.0.2.12",
+ "ldapBaseDN": "dc=contosoad,dc=contoso,dc=local",
+ "encryptLdapConnection": false,
+ "requireValidCertificate": false,
+ "autoDownloadCertificate": false,
+ "caCertificateURI": "http://contoso.net/cacert.pem",
+ "usernameDownloaded": "No"
+ }
+ },
+ "primingJobs": [
+ {
+ "primingJobName": "contosoJob1",
+ "primingJobId": "00000000000_0000000000",
+ "primingJobState": "Complete",
+ "primingJobStatus": "success",
+ "primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0",
+ "primingJobPercentComplete": 100.0
+ },
+ {
+ "primingJobName": "contosoJob2",
+ "primingJobId": "11111111111_1111111111",
+ "primingJobState": "Queued",
+ "primingJobStatus": "",
+ "primingJobDetails": "",
+ "primingJobPercentComplete": 0.0
+ }
+ ],
+ "spaceAllocation": []
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_UpgradeFirmware.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_UpgradeFirmware.json
new file mode 100644
index 000000000000..40c8c289fb1a
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Caches_UpgradeFirmware.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "201": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Operations_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Operations_List.json
new file mode 100644
index 000000000000..eb9e60717122
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Operations_List.json
@@ -0,0 +1,78 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview",
+ "x-ms-client-request-id": [
+ "7e655b68-e491-4cb6-90c3-6a5b10b7bd17"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.StorageCache/caches/write",
+ "display": {
+ "operation": "Create or Update Cache",
+ "provider": "Azure Storage Cache",
+ "resource": "Caches"
+ }
+ },
+ {
+ "name": "Microsoft.StorageCache/caches/delete",
+ "display": {
+ "operation": "Delete Cache",
+ "provider": "Azure Storage Cache",
+ "resource": "Caches"
+ }
+ },
+ {
+ "origin": "system",
+ "name": "Microsoft.StorageCache/caches/providers/Microsoft.Insights/metricDefinitions/read",
+ "isDataAction": false,
+ "display": {
+ "operation": "Get Cache Metric Definitions",
+ "provider": "Microsoft Azure HPC Cache",
+ "resource": "StorageCache Metric Definitions",
+ "description": "Reads Cache Metric Definitions."
+ },
+ "properties": {
+ "serviceSpecification": {
+ "metricSpecifications": [
+ {
+ "name": "ClientIOPS",
+ "displayName": "Total Client IOPS",
+ "displayDescription": "The rate of client file operations processed by the Cache.",
+ "unit": "Count",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Minimum",
+ "Maximum",
+ "Average"
+ ],
+ "metricClass": "Transactions"
+ },
+ {
+ "name": "ClientLatency",
+ "displayName": "Average Client Latency",
+ "displayDescription": "Average latency of client file operations to the Cache.",
+ "unit": "Milliseconds",
+ "aggregationType": "Average",
+ "supportedAggregationTypes": [
+ "Minimum",
+ "Maximum",
+ "Average"
+ ],
+ "metricClass": "Latency"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/PausePrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/PausePrimingJob.json
new file mode 100644
index 000000000000..4c23ac9d4398
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/PausePrimingJob.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "cacheName": "sc1",
+ "primingJobId": {
+ "primingJobId": "00000000000_0000000000"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/44444444-4444-4444-4444-444444444444?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/44444444-4444-4444-4444-444444444444?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/ResumePrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/ResumePrimingJob.json
new file mode 100644
index 000000000000..89add0ff8778
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/ResumePrimingJob.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "cacheName": "sc1",
+ "primingJobId": {
+ "primingJobId": "00000000000_0000000000"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/55555555-5555-5555-5555-555555555555?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/55555555-5555-5555-5555-555555555555?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Skus_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Skus_List.json
new file mode 100644
index 000000000000..cfdbbafc208e
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/Skus_List.json
@@ -0,0 +1,86 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "resourceType": "caches",
+ "name": "Standard_2G",
+ "locations": [
+ "eastus"
+ ],
+ "locationInfo": [
+ {
+ "location": "eastus",
+ "zones": []
+ }
+ ],
+ "capabilities": [
+ {
+ "name": "throughput GB/s",
+ "value": "2"
+ },
+ {
+ "name": "cache sizes(GB)",
+ "value": "3072,6144,12288"
+ }
+ ],
+ "restrictions": []
+ },
+ {
+ "resourceType": "caches",
+ "name": "Standard_4G",
+ "locations": [
+ "eastus"
+ ],
+ "locationInfo": [
+ {
+ "location": "eastus",
+ "zones": []
+ }
+ ],
+ "capabilities": [
+ {
+ "name": "throughput GB/s",
+ "value": "4"
+ },
+ {
+ "name": "cache sizes(GB)",
+ "value": "6144,12288,24576"
+ }
+ ],
+ "restrictions": []
+ },
+ {
+ "resourceType": "caches",
+ "name": "Standard_8G",
+ "locations": [
+ "eastus"
+ ],
+ "locationInfo": [
+ {
+ "location": "eastus",
+ "zones": []
+ }
+ ],
+ "capabilities": [
+ {
+ "name": "throughput GB/s",
+ "value": "8"
+ },
+ {
+ "name": "cache sizes(GB)",
+ "value": "12288,24576,49152"
+ }
+ ],
+ "restrictions": []
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/SpaceAllocation_Post.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/SpaceAllocation_Post.json
new file mode 100644
index 000000000000..7963efb3da72
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/SpaceAllocation_Post.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "cacheName": "sc1",
+ "spaceAllocation": [
+ {
+ "name": "st1",
+ "allocationPercentage": 25
+ },
+ {
+ "name": "st2",
+ "allocationPercentage": 50
+ },
+ {
+ "name": "st3",
+ "allocationPercentage": 25
+ }
+ ]
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/11111111-1111-1111-1111-111111111111?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/11111111-1111-1111-1111-111111111111?api-version=2023-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StartPrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StartPrimingJob.json
new file mode 100644
index 000000000000..c5afc2132636
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StartPrimingJob.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "cacheName": "sc1",
+ "primingjob": {
+ "primingJobName": "contosoJob",
+ "primingManifestUrl": "https://contosostorage.blob.core.windows.net/contosoblob/00000000_00000000000000000000000000000000.00000000000.FFFFFFFF.00000000?sp=r&st=2021-08-11T19:33:35Z&se=2021-08-12T03:33:35Z&spr=https&sv=2020-08-04&sr=b&sig="
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/22222222-2222-2222-2222-222222222222?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/22222222-2222-2222-2222-222222222222?api-version=2023-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StopPrimingJob.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StopPrimingJob.json
new file mode 100644
index 000000000000..270a345c6ac5
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StopPrimingJob.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "cacheName": "sc1",
+ "primingJobId": {
+ "primingJobId": "00000000000_0000000000"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/33333333-3333-3333-3333-333333333333?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/ascOperations/33333333-3333-3333-3333-333333333333?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_CreateOrUpdate.json
new file mode 100644
index 000000000000..a610fbc901b5
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_CreateOrUpdate.json
@@ -0,0 +1,112 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "cacheName": "sc1",
+ "storageTargetName": "st1",
+ "storagetarget": {
+ "properties": {
+ "junctions": [
+ {
+ "namespacePath": "/path/on/cache",
+ "targetPath": "/path/on/exp1",
+ "nfsExport": "exp1",
+ "nfsAccessPolicy": "default"
+ },
+ {
+ "namespacePath": "/path2/on/cache",
+ "targetPath": "/path2/on/exp2",
+ "nfsExport": "exp2",
+ "nfsAccessPolicy": "rootSquash"
+ }
+ ],
+ "targetType": "nfs3",
+ "nfs3": {
+ "target": "10.0.44.44",
+ "usageModel": "READ_ONLY",
+ "verificationTimer": 30
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "st1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1",
+ "type": "Microsoft.StorageCache/Cache/StorageTarget",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "junctions": [
+ {
+ "namespacePath": "/path/on/cache",
+ "targetPath": "/path/on/exp1",
+ "nfsExport": "exp1",
+ "nfsAccessPolicy": "default"
+ },
+ {
+ "namespacePath": "/path2/on/cache",
+ "targetPath": "/path2/on/exp2",
+ "nfsExport": "exp2",
+ "nfsAccessPolicy": "rootSquash"
+ }
+ ],
+ "state": "Ready",
+ "targetType": "nfs3",
+ "nfs3": {
+ "target": "10.0.44.44",
+ "usageModel": "READ_ONLY",
+ "verificationTimer": 30
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "st1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1",
+ "type": "Microsoft.StorageCache/Cache/StorageTarget",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "junctions": [
+ {
+ "namespacePath": "/path/on/cache",
+ "targetPath": "/path/on/exp1",
+ "nfsExport": "exp1",
+ "nfsAccessPolicy": "default"
+ },
+ {
+ "namespacePath": "/path2/on/cache",
+ "targetPath": "/path2/on/exp2",
+ "nfsExport": "exp2",
+ "nfsAccessPolicy": "rootSquash"
+ }
+ ],
+ "state": "Ready",
+ "targetType": "nfs3",
+ "nfs3": {
+ "target": "10.0.44.44",
+ "usageModel": "READ_ONLY",
+ "verificationTimer": 30
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_CreateOrUpdate_BlobNfs.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_CreateOrUpdate_BlobNfs.json
new file mode 100644
index 000000000000..830f5331c070
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_CreateOrUpdate_BlobNfs.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "cacheName": "sc1",
+ "storageTargetName": "st1",
+ "storagetarget": {
+ "properties": {
+ "targetType": "blobNfs",
+ "junctions": [
+ {
+ "namespacePath": "/blobnfs"
+ }
+ ],
+ "blobNfs": {
+ "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/blofnfs/blobServices/default/containers/blobnfs",
+ "usageModel": "READ_WRITE",
+ "verificationTimer": 28800,
+ "writeBackTimer": 3600
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "st1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1",
+ "type": "Microsoft.StorageCache/Cache/StorageTarget",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "targetType": "blobNfs",
+ "junctions": [
+ {
+ "namespacePath": "/blobnfs"
+ }
+ ],
+ "state": "Ready",
+ "blobNfs": {
+ "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/blofnfs/blobServices/default/containers/blobnfs",
+ "usageModel": "READ_WRITE",
+ "verificationTimer": 28800,
+ "writeBackTimer": 3600
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "st1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1",
+ "type": "Microsoft.StorageCache/Cache/StorageTarget",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "targetType": "blobNfs",
+ "junctions": [
+ {
+ "namespacePath": "/blobnfs"
+ }
+ ],
+ "state": "Ready",
+ "blobNfs": {
+ "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/blofnfs/blobServices/default/containers/blobnfs",
+ "usageModel": "READ_WRITE",
+ "verificationTimer": 28800,
+ "writeBackTimer": 3600
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_CreateOrUpdate_NoJunctions.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_CreateOrUpdate_NoJunctions.json
new file mode 100644
index 000000000000..3c6c78ca214a
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_CreateOrUpdate_NoJunctions.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "cacheName": "sc1",
+ "storageTargetName": "st1",
+ "storagetarget": {
+ "properties": {
+ "targetType": "nfs3",
+ "nfs3": {
+ "target": "10.0.44.44",
+ "usageModel": "READ_ONLY",
+ "verificationTimer": 30
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "st1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1",
+ "type": "Microsoft.StorageCache/Cache/StorageTarget",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "targetType": "nfs3",
+ "state": "Ready",
+ "nfs3": {
+ "target": "10.0.44.44",
+ "usageModel": "READ_ONLY",
+ "verificationTimer": 30
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "st1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1",
+ "type": "Microsoft.StorageCache/Cache/StorageTarget",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "targetType": "nfs3",
+ "state": "Ready",
+ "nfs3": {
+ "target": "10.0.44.44",
+ "usageModel": "READ_ONLY",
+ "verificationTimer": 30
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Delete.json
new file mode 100644
index 000000000000..ba07c1a5d2bd
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Delete.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "cacheName": "sc1",
+ "storageTargetName": "st1"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_DnsRefresh.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_DnsRefresh.json
new file mode 100644
index 000000000000..d6e20d4a8e38
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_DnsRefresh.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "storageTargetName": "st1"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Flush.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Flush.json
new file mode 100644
index 000000000000..e65a7e51283e
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Flush.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "storageTargetName": "st1"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Get.json
new file mode 100644
index 000000000000..c4f6592a446d
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Get.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "cacheName": "sc1",
+ "storageTargetName": "st1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "st1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1",
+ "type": "Microsoft.StorageCache/Cache/StorageTarget",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "junctions": [
+ {
+ "namespacePath": "/path/on/cache",
+ "targetPath": "/path/on/exp1",
+ "nfsExport": "exp1",
+ "nfsAccessPolicy": "default"
+ },
+ {
+ "namespacePath": "/path2/on/cache",
+ "targetPath": "/path2/on/exp2",
+ "nfsExport": "exp2",
+ "nfsAccessPolicy": "default"
+ }
+ ],
+ "state": "Ready",
+ "targetType": "nfs3",
+ "nfs3": {
+ "target": "10.0.44.44",
+ "usageModel": "READ_HEAVY_FREQ"
+ },
+ "allocationPercentage": 25
+ }
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Invalidate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Invalidate.json
new file mode 100644
index 000000000000..e65a7e51283e
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Invalidate.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "storageTargetName": "st1"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_ListByCache.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_ListByCache.json
new file mode 100644
index 000000000000..50b8a22508bd
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_ListByCache.json
@@ -0,0 +1,112 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "cacheName": "sc1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "st1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1",
+ "type": "Microsoft.StorageCache/Cache/StorageTarget",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "junctions": [
+ {
+ "namespacePath": "/path/on/cache",
+ "targetPath": "/path/on/exp1",
+ "nfsExport": "exp1",
+ "nfsAccessPolicy": "default"
+ },
+ {
+ "namespacePath": "/path2/on/cache",
+ "targetPath": "/path2/on/exp2",
+ "nfsExport": "exp2",
+ "nfsAccessPolicy": "default"
+ }
+ ],
+ "state": "Ready",
+ "targetType": "nfs3",
+ "nfs3": {
+ "target": "10.0.44.44",
+ "usageModel": "READ_ONLY"
+ },
+ "allocationPercentage": 25
+ }
+ },
+ {
+ "name": "st2",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st2",
+ "type": "Microsoft.StorageCache/Cache/StorageTarget",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "junctions": [
+ {
+ "namespacePath": "/some/arbitrary/place/on/cache",
+ "targetPath": "/",
+ "nfsAccessPolicy": "default"
+ }
+ ],
+ "state": "Ready",
+ "targetType": "clfs",
+ "clfs": {
+ "target": "https://contoso123.blob.core.windows.net/contoso123"
+ },
+ "allocationPercentage": 50
+ }
+ },
+ {
+ "name": "st3",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st3",
+ "type": "Microsoft.StorageCache/Cache/StorageTarget",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "junctions": [
+ {
+ "namespacePath": "/some/crazier/place/on/cache",
+ "targetPath": "/",
+ "nfsExport": "",
+ "nfsAccessPolicy": "default"
+ }
+ ],
+ "state": "Ready",
+ "targetType": "unknown",
+ "unknown": {
+ "attributes": {
+ "foo": "bar",
+ "foo2": "test"
+ }
+ },
+ "allocationPercentage": 25
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_RestoreDefaults.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_RestoreDefaults.json
new file mode 100644
index 000000000000..d6e20d4a8e38
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_RestoreDefaults.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "storageTargetName": "st1"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Resume.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Resume.json
new file mode 100644
index 000000000000..e65a7e51283e
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Resume.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "storageTargetName": "st1"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Suspend.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Suspend.json
new file mode 100644
index 000000000000..e65a7e51283e
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/StorageTargets_Suspend.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "storageTargetName": "st1"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/UsageModels_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/UsageModels_List.json
new file mode 100644
index 000000000000..7538e8dc5f03
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/UsageModels_List.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "modelName": "READ_ONLY",
+ "targetType": "nfs3",
+ "display": {
+ "description": "Read only, with a default verification timer of 30 seconds. Verification timer has a minimum value of 1 and maximum value of 31536000. Write-back timer must have value of 0 or be null."
+ }
+ },
+ {
+ "modelName": "READ_WRITE",
+ "targetType": "nfs3",
+ "display": {
+ "description": "Read-write, with a default verification timer of 8 hours and default write-back timer of 1 hour. Verification timer and write-back timer have a minimum value of 1 and maximum value of 31536000."
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_Archive.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_Archive.json
new file mode 100644
index 000000000000..30eb0ae2e735
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_Archive.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "amlFilesystemName": "sc",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "archiveInfo": {
+ "filesystemPath": "/"
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_CancelArchive.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_CancelArchive.json
new file mode 100644
index 000000000000..67ed8886a2ee
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_CancelArchive.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "amlFilesystemName": "sc",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_CreateOrUpdate.json
new file mode 100644
index 000000000000..49f903a6f168
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_CreateOrUpdate.json
@@ -0,0 +1,201 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "amlFilesystemName": "fs1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "amlFilesystem": {
+ "tags": {
+ "Dept": "ContosoAds"
+ },
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}
+ }
+ },
+ "location": "eastus",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "storageCapacityTiB": 16,
+ "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub",
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "maintenanceWindow": {
+ "dayOfWeek": "Friday",
+ "timeOfDayUTC": "22:00"
+ },
+ "hsm": {
+ "settings": {
+ "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername",
+ "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername",
+ "importPrefix": "/"
+ }
+ },
+ "rootSquashSettings": {
+ "mode": "All",
+ "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp",
+ "squashUID": 99,
+ "squashGID": 99
+ }
+ },
+ "sku": {
+ "name": "AMLFS-Durable-Premium-250"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2023-11-01-preview"
+ },
+ "body": {
+ "tags": {
+ "Dept": "ContosoAds"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1",
+ "location": "eastus",
+ "zones": [
+ "1"
+ ],
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}
+ }
+ },
+ "name": "fs1",
+ "type": "Microsoft.StorageCache/amlFilesystem",
+ "properties": {
+ "storageCapacityTiB": 16,
+ "throughputProvisionedMBps": 500,
+ "health": {
+ "state": "Available",
+ "statusDescription": "amlFilesystem is ok."
+ },
+ "provisioningState": "Succeeded",
+ "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub",
+ "clientInfo": {
+ "mgsAddress": "10.0.0.4",
+ "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs",
+ "lustreVersion": "2.15.0",
+ "containerStorageInterface": {
+ "persistentVolumeClaim": "",
+ "persistentVolume": "",
+ "storageClass": ""
+ }
+ },
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "maintenanceWindow": {
+ "dayOfWeek": "Friday",
+ "timeOfDayUTC": "22:00"
+ },
+ "hsm": {
+ "settings": {
+ "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername",
+ "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername",
+ "importPrefix": "/"
+ }
+ },
+ "rootSquashSettings": {
+ "mode": "All",
+ "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp",
+ "squashUID": 99,
+ "squashGID": 99,
+ "status": "nodemap.active=1"
+ }
+ },
+ "sku": {
+ "name": "AMLFS-Durable-Premium-250"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "tags": {
+ "Dept": "ContosoAds"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1",
+ "location": "eastus",
+ "zones": [
+ "1"
+ ],
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}
+ }
+ },
+ "name": "fs1",
+ "type": "Microsoft.StorageCache/amlFilesystem",
+ "properties": {
+ "storageCapacityTiB": 16,
+ "throughputProvisionedMBps": 500,
+ "health": {
+ "state": "Available",
+ "statusDescription": "amlFilesystem is ok."
+ },
+ "provisioningState": "Succeeded",
+ "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub",
+ "clientInfo": {
+ "mgsAddress": "10.0.0.4",
+ "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs",
+ "lustreVersion": "2.15.0",
+ "containerStorageInterface": {
+ "persistentVolumeClaim": "",
+ "persistentVolume": "",
+ "storageClass": ""
+ }
+ },
+ "maintenanceWindow": {
+ "dayOfWeek": "Friday",
+ "timeOfDayUTC": "22:00"
+ },
+ "hsm": {
+ "settings": {
+ "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername",
+ "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername",
+ "importPrefix": "/"
+ },
+ "archiveStatus": [
+ {
+ "filesystemPath": "/",
+ "status": {
+ "state": "Completed",
+ "lastCompletionTime": "2019-04-21T18:25:43.511Z",
+ "lastStartedTime": "2019-04-21T17:25:43.511Z"
+ }
+ }
+ ]
+ },
+ "rootSquashSettings": {
+ "mode": "All",
+ "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp",
+ "squashUID": 99,
+ "squashGID": 99,
+ "status": "nodemap.active=1"
+ }
+ },
+ "sku": {
+ "name": "AMLFS-Durable-Premium-250"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_Delete.json
new file mode 100644
index 000000000000..4db94a43a9e9
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_Delete.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "amlFilesystemName": "fs1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/westus/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_Get.json
new file mode 100644
index 000000000000..25338af52dae
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_Get.json
@@ -0,0 +1,89 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "amlFilesystemName": "fs1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "Dept": "ContosoAds"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1",
+ "location": "eastus",
+ "zones": [
+ "1"
+ ],
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}
+ }
+ },
+ "name": "fs1",
+ "type": "Microsoft.StorageCache/amlFilesystem",
+ "properties": {
+ "storageCapacityTiB": 16,
+ "throughputProvisionedMBps": 500,
+ "health": {
+ "state": "Available",
+ "statusDescription": "amlFilesystem is ok."
+ },
+ "provisioningState": "Succeeded",
+ "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub",
+ "clientInfo": {
+ "mgsAddress": "10.0.0.4",
+ "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs",
+ "lustreVersion": "2.15.0",
+ "containerStorageInterface": {
+ "persistentVolumeClaim": "",
+ "persistentVolume": "",
+ "storageClass": ""
+ }
+ },
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "maintenanceWindow": {
+ "dayOfWeek": "Friday",
+ "timeOfDayUTC": "22:00"
+ },
+ "hsm": {
+ "settings": {
+ "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername",
+ "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername",
+ "importPrefix": "/"
+ },
+ "archiveStatus": [
+ {
+ "filesystemPath": "/",
+ "status": {
+ "state": "Completed",
+ "lastCompletionTime": "2019-04-21T18:25:43.511Z",
+ "lastStartedTime": "2019-04-21T17:25:43.511Z"
+ }
+ }
+ ]
+ },
+ "rootSquashSettings": {
+ "mode": "All",
+ "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp",
+ "squashUID": 99,
+ "squashGID": 99,
+ "status": "nodemap.active=1"
+ }
+ },
+ "sku": {
+ "name": "AMLFS-Durable-Premium-250"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_List.json
new file mode 100644
index 000000000000..893e06d24b9e
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_List.json
@@ -0,0 +1,168 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "tags": {
+ "Dept": "ContosoAds"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1",
+ "location": "eastus",
+ "zones": [
+ "1"
+ ],
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}
+ }
+ },
+ "name": "fs1",
+ "type": "Microsoft.StorageCache/amlFilesystem",
+ "properties": {
+ "storageCapacityTiB": 16,
+ "throughputProvisionedMBps": 500,
+ "health": {
+ "state": "Available",
+ "statusDescription": "amlFilesystem is ok."
+ },
+ "provisioningState": "Succeeded",
+ "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub1",
+ "clientInfo": {
+ "mgsAddress": "10.0.0.4",
+ "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs",
+ "lustreVersion": "2.15.0",
+ "containerStorageInterface": {
+ "persistentVolumeClaim": "",
+ "persistentVolume": "",
+ "storageClass": ""
+ }
+ },
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "maintenanceWindow": {
+ "dayOfWeek": "Friday",
+ "timeOfDayUTC": "22:00"
+ },
+ "hsm": {
+ "settings": {
+ "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername",
+ "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername",
+ "importPrefix": "/"
+ },
+ "archiveStatus": [
+ {
+ "filesystemPath": "/",
+ "status": {
+ "state": "Completed",
+ "lastCompletionTime": "2019-04-21T18:25:43.511Z",
+ "lastStartedTime": "2019-04-21T17:25:43.511Z"
+ }
+ }
+ ]
+ },
+ "rootSquashSettings": {
+ "mode": "All",
+ "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp",
+ "squashUID": 99,
+ "squashGID": 99,
+ "status": "nodemap.active=1"
+ }
+ },
+ "sku": {
+ "name": "AMLFS-Durable-Premium-250"
+ }
+ },
+ {
+ "tags": {
+ "Dept": "ContosoAds"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs2",
+ "location": "eastus",
+ "zones": [
+ "1"
+ ],
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}
+ }
+ },
+ "name": "fs2",
+ "type": "Microsoft.StorageCache/amlFilesystem",
+ "properties": {
+ "storageCapacityTiB": 16,
+ "throughputProvisionedMBps": 500,
+ "health": {
+ "state": "Available",
+ "statusDescription": "amlFilesystem is ok."
+ },
+ "provisioningState": "Succeeded",
+ "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub2",
+ "clientInfo": {
+ "mgsAddress": "10.0.0.4",
+ "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs",
+ "lustreVersion": "2.15.0",
+ "containerStorageInterface": {
+ "persistentVolumeClaim": "",
+ "persistentVolume": "",
+ "storageClass": ""
+ }
+ },
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "maintenanceWindow": {
+ "dayOfWeek": "Friday",
+ "timeOfDayUTC": "22:00"
+ },
+ "hsm": {
+ "settings": {
+ "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername",
+ "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername",
+ "importPrefix": "/"
+ },
+ "archiveStatus": [
+ {
+ "filesystemPath": "/",
+ "status": {
+ "state": "Completed",
+ "lastCompletionTime": "2019-04-21T18:25:43.511Z",
+ "lastStartedTime": "2019-04-21T17:25:43.511Z"
+ }
+ }
+ ]
+ },
+ "rootSquashSettings": {
+ "mode": "All",
+ "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp",
+ "squashUID": 99,
+ "squashGID": 99,
+ "status": "nodemap.active=1"
+ }
+ },
+ "sku": {
+ "name": "AMLFS-Durable-Premium-250"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_ListByResourceGroup.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_ListByResourceGroup.json
new file mode 100644
index 000000000000..29bf8f062b89
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_ListByResourceGroup.json
@@ -0,0 +1,169 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "tags": {
+ "Dept": "ContosoAds"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1",
+ "location": "eastus",
+ "zones": [
+ "1"
+ ],
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}
+ }
+ },
+ "name": "fs1",
+ "type": "Microsoft.StorageCache/amlFilesystem",
+ "properties": {
+ "storageCapacityTiB": 16,
+ "throughputProvisionedMBps": 500,
+ "health": {
+ "state": "Available",
+ "statusDescription": "amlFilesystem is ok."
+ },
+ "provisioningState": "Succeeded",
+ "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub1",
+ "clientInfo": {
+ "mgsAddress": "10.0.0.4",
+ "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs",
+ "lustreVersion": "2.15.0",
+ "containerStorageInterface": {
+ "persistentVolumeClaim": "",
+ "persistentVolume": "",
+ "storageClass": ""
+ }
+ },
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "maintenanceWindow": {
+ "dayOfWeek": "Friday",
+ "timeOfDayUTC": "22:00"
+ },
+ "hsm": {
+ "settings": {
+ "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername",
+ "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername",
+ "importPrefix": "/"
+ },
+ "archiveStatus": [
+ {
+ "filesystemPath": "/",
+ "status": {
+ "state": "Completed",
+ "lastCompletionTime": "2019-04-21T18:25:43.511Z",
+ "lastStartedTime": "2019-04-21T17:25:43.511Z"
+ }
+ }
+ ]
+ },
+ "rootSquashSettings": {
+ "mode": "All",
+ "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp",
+ "squashUID": 99,
+ "squashGID": 99,
+ "status": "nodemap.active=1"
+ }
+ },
+ "sku": {
+ "name": "AMLFS-Durable-Premium-250"
+ }
+ },
+ {
+ "tags": {
+ "Dept": "ContosoAds"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs2",
+ "location": "eastus",
+ "zones": [
+ "1"
+ ],
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}
+ }
+ },
+ "name": "fs2",
+ "type": "Microsoft.StorageCache/amlFilesystem",
+ "properties": {
+ "storageCapacityTiB": 16,
+ "throughputProvisionedMBps": 500,
+ "health": {
+ "state": "Available",
+ "statusDescription": "amlFilesystem is ok."
+ },
+ "provisioningState": "Succeeded",
+ "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub2",
+ "clientInfo": {
+ "mgsAddress": "10.0.0.4",
+ "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs",
+ "lustreVersion": "2.15.0",
+ "containerStorageInterface": {
+ "persistentVolumeClaim": "",
+ "persistentVolume": "",
+ "storageClass": ""
+ }
+ },
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "maintenanceWindow": {
+ "dayOfWeek": "Friday",
+ "timeOfDayUTC": "22:00"
+ },
+ "hsm": {
+ "settings": {
+ "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername",
+ "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername",
+ "importPrefix": "/"
+ },
+ "archiveStatus": [
+ {
+ "filesystemPath": "/",
+ "status": {
+ "state": "Completed",
+ "lastCompletionTime": "2019-04-21T18:25:43.511Z",
+ "lastStartedTime": "2019-04-21T17:25:43.511Z"
+ }
+ }
+ ]
+ },
+ "rootSquashSettings": {
+ "mode": "All",
+ "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp",
+ "squashUID": 99,
+ "squashGID": 99,
+ "status": "nodemap.active=1"
+ }
+ },
+ "sku": {
+ "name": "AMLFS-Durable-Premium-250"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_Update.json
new file mode 100644
index 000000000000..ad128598a495
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/amlFilesystems_Update.json
@@ -0,0 +1,120 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "amlFilesystemName": "fs1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "amlFilesystem": {
+ "tags": {
+ "Dept": "ContosoAds"
+ },
+ "properties": {
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "maintenanceWindow": {
+ "dayOfWeek": "Friday",
+ "timeOfDayUTC": "22:00"
+ },
+ "rootSquashSettings": {
+ "mode": "All",
+ "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp",
+ "squashUID": 99,
+ "squashGID": 99
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2023-11-01-preview",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01-preview"
+ }
+ },
+ "200": {
+ "body": {
+ "tags": {
+ "Dept": "ContosoAds"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlFilesystems/fs1",
+ "location": "eastus",
+ "zones": [
+ "1"
+ ],
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}
+ }
+ },
+ "name": "fs1",
+ "type": "Microsoft.StorageCache/amlFilesystem",
+ "properties": {
+ "storageCapacityTiB": 16,
+ "throughputProvisionedMBps": 500,
+ "health": {
+ "state": "Available",
+ "statusDescription": "amlFilesystem is ok."
+ },
+ "provisioningState": "Succeeded",
+ "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub",
+ "clientInfo": {
+ "mgsAddress": "10.0.0.4",
+ "mountCommand": "mount -t lustre 10.0.0.4@tcp:/lustrefs /lustre/lustrefs",
+ "lustreVersion": "2.15.0",
+ "containerStorageInterface": {
+ "persistentVolumeClaim": "",
+ "persistentVolume": "",
+ "storageClass": ""
+ }
+ },
+ "maintenanceWindow": {
+ "dayOfWeek": "Friday",
+ "timeOfDayUTC": "22:00"
+ },
+ "encryptionSettings": {
+ "keyEncryptionKey": {
+ "keyUrl": "https://examplekv.vault.azure.net/keys/kvk/3540a47df75541378d3518c6a4bdf5af",
+ "sourceVault": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk"
+ }
+ }
+ },
+ "hsm": {
+ "settings": {
+ "container": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/containername",
+ "loggingContainer": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/storageaccountname/blobServices/default/containers/loggingcontainername",
+ "importPrefix": "/"
+ },
+ "archiveStatus": [
+ {
+ "filesystemPath": "/",
+ "status": {
+ "state": "Completed",
+ "lastCompletionTime": "2019-04-21T18:25:43.511Z",
+ "lastStartedTime": "2019-04-21T17:25:43.511Z"
+ }
+ }
+ ]
+ },
+ "rootSquashSettings": {
+ "mode": "All",
+ "noSquashNidLists": "10.0.0.[5-6]@tcp;10.0.1.2@tcp",
+ "squashUID": 99,
+ "squashGID": 99,
+ "status": "nodemap.active=1"
+ }
+ },
+ "sku": {
+ "name": "AMLFS-Durable-Premium-250"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/checkAmlFSSubnets.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/checkAmlFSSubnets.json
new file mode 100644
index 000000000000..d9d17f45ea9b
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/checkAmlFSSubnets.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "amlFilesystemSubnetInfo": {
+ "filesystemSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/fsSub",
+ "storageCapacityTiB": 16,
+ "sku": {
+ "name": "AMLFS-Durable-Premium-125"
+ }
+ }
+ },
+ "responses": {
+ "200": {},
+ "400": {
+ "body": {
+ "filesystemSubnet": {
+ "status": "Invalid",
+ "message": "A subnet with a minimum size of /24 is required."
+ }
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/getRequiredAmlFSSubnetsSize.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/getRequiredAmlFSSubnetsSize.json
new file mode 100644
index 000000000000..597236a81add
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/examples/getRequiredAmlFSSubnetsSize.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview",
+ "amlFilesystemSubnetInfo": {
+ "storageCapacityTiB": 16,
+ "sku": {
+ "name": "AMLFS-Durable-Premium-125"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "filesystemSubnetSize": 24
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/storagecache.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/storagecache.json
new file mode 100644
index 000000000000..6657dea41e32
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-11-01-preview/storagecache.json
@@ -0,0 +1,3495 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "description": "A Storage Cache provides scalable caching service for NAS clients, serving data from either NFSv3 or Blob at-rest storage (referred to as \"Storage Targets\"). These operations allow you to manage Caches.",
+ "title": "Storage Cache Mgmt Client",
+ "version": "2023-11-01-preview"
+ },
+ "host": "management.azure.com",
+ "basePath": "/",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.StorageCache/operations": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The list of available Resource Provider operations.",
+ "schema": {
+ "$ref": "#/definitions/ApiOperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "tags": [
+ "Operations"
+ ],
+ "description": "Lists all of the available Resource Provider operations.",
+ "x-ms-examples": {
+ "Operations_List": {
+ "$ref": "./examples/Operations_List.json"
+ }
+ },
+ "operationId": "Operations_List",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/skus": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A list of SKU descriptors.",
+ "schema": {
+ "$ref": "#/definitions/ResourceSkusResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Skus_List": {
+ "$ref": "./examples/Skus_List.json"
+ }
+ },
+ "tags": [
+ "SKUs"
+ ],
+ "description": "Get the list of StorageCache.Cache SKUs available to this subscription.",
+ "operationId": "Skus_List"
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/usageModels": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A list of UsageModel descriptors.",
+ "schema": {
+ "$ref": "#/definitions/UsageModelsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "UsageModels_List": {
+ "$ref": "./examples/UsageModels_List.json"
+ }
+ },
+ "tags": [
+ "UsageModels"
+ ],
+ "description": "Get the list of cache usage models available to this subscription.",
+ "operationId": "UsageModels_List"
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/ascOperations/{operationId}": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "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/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/OperationIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The asynchronous operation was returned.",
+ "schema": {
+ "$ref": "#/definitions/AscOperation"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "AscOperations_Get": {
+ "$ref": "./examples/AscOperations_Get.json"
+ }
+ },
+ "tags": [
+ "AscOperations"
+ ],
+ "description": "Gets the status of an asynchronous operation for the Azure HPC Cache",
+ "operationId": "AscOperations_Get"
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/usages": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the region to query for usage information."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The usage information was returned.",
+ "schema": {
+ "$ref": "#/definitions/ResourceUsagesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "AscUsages_List": {
+ "$ref": "./examples/AscResourceUsages_Get.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "tags": [
+ "AscUsages"
+ ],
+ "description": "Gets the quantity used and quota limit for resources",
+ "operationId": "AscUsages_List"
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/caches": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A list of cache objects. Note that entity references might replace complete cache objects, as described in http://docs.oasis-open.org/odata/odata-json-format/v4.01/cs01/odata-json-format-v4.01-cs01.html#sec_EntityReference",
+ "schema": {
+ "$ref": "#/definitions/CachesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Caches_List": {
+ "$ref": "./examples/Caches_List.json"
+ }
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Returns all caches the user has access to under a subscription.",
+ "operationId": "Caches_List"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A list of cache objects. Note that entity references might replace complete cache objects, as described in http://docs.oasis-open.org/odata/odata-json-format/v4.01/cs01/odata-json-format-v4.01-cs01.html#sec_EntityReference",
+ "schema": {
+ "$ref": "#/definitions/CachesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_ListByResourceGroup": {
+ "$ref": "./examples/Caches_ListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Returns all caches the user has access to under a resource group.",
+ "operationId": "Caches_ListByResourceGroup"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Cache deleted."
+ },
+ "202": {
+ "description": "Started the cache's transition to Deleted state. Poll the cache to monitor.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "Cache deleted."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_Delete": {
+ "$ref": "./examples/Caches_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "tags": [
+ "Caches"
+ ],
+ "description": "Schedules a cache for deletion.",
+ "operationId": "Caches_Delete"
+ },
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Returns the cache object corresponding to cache name.",
+ "schema": {
+ "$ref": "#/definitions/Cache"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_Get": {
+ "$ref": "./examples/Caches_Get.json"
+ }
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Returns a cache.",
+ "operationId": "Caches_Get"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "description": "Object containing the user-selectable properties of the new cache. If read-only properties are included, they must match the existing values of those properties.",
+ "in": "body",
+ "name": "cache",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Cache"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Cache created or updated.",
+ "schema": {
+ "$ref": "#/definitions/Cache"
+ }
+ },
+ "201": {
+ "description": "Cache creation or update has been initiated. Poll the cache's provisioningState property to monitor creation/update progress.",
+ "schema": {
+ "$ref": "#/definitions/Cache"
+ }
+ },
+ "202": {
+ "description": "Cache creation or update has been initiated. Poll the cache's provisioningState property to monitor creation/update progress."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_CreateOrUpdate": {
+ "$ref": "./examples/Caches_CreateOrUpdate.json"
+ },
+ "Caches_CreateOrUpdate_ldap_only": {
+ "$ref": "./examples/Caches_CreateOrUpdate_ldap_only.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "tags": [
+ "Caches"
+ ],
+ "description": "Create or update a cache.",
+ "operationId": "Caches_CreateOrUpdate"
+ },
+ "patch": {
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "description": "Object containing the user-selectable properties of the cache. If read-only properties are included, they must match the existing values of those properties.",
+ "in": "body",
+ "name": "cache",
+ "schema": {
+ "$ref": "#/definitions/Cache"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Updated the cache.",
+ "schema": {
+ "$ref": "#/definitions/Cache"
+ }
+ },
+ "202": {
+ "description": "Cache update has been initiated. Poll the cache's provisioningState property to monitor update progress.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_Update": {
+ "$ref": "./examples/Caches_Update.json"
+ },
+ "Caches_Update_ldap_only": {
+ "$ref": "./examples/Caches_Update_ldap_only.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Update a cache instance.",
+ "operationId": "Caches_Update"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/dnsRefresh": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "$ref": "#/parameters/StorageTargetParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Cache has refreshed the storage target's DNS information."
+ },
+ "202": {
+ "description": "Cache has started refreshing storage target DNS information.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_DnsRefresh": {
+ "$ref": "./examples/StorageTargets_DnsRefresh.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "StorageTargets"
+ ],
+ "description": "Tells a storage target to refresh its DNS information.",
+ "operationId": "StorageTargets_DnsRefresh"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/debugInfo": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Cache has started generating debug info."
+ },
+ "202": {
+ "description": "Cache has started generating debug info.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "Cache has started generating debug info."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_DebugInfo": {
+ "$ref": "./examples/Caches_DebugInfo.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Tells a cache to write generate debug info for support to process.",
+ "operationId": "Caches_DebugInfo"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/flush": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "All cached data has been flushed to the Storage Target(s)."
+ },
+ "202": {
+ "description": "Cache has started flushing to its Storage Target(s). Poll the cache's state field to monitor.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "Cache flush already in progress or has completed."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_Flush": {
+ "$ref": "./examples/Caches_Flush.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Tells a cache to write all dirty data to the Storage Target(s). During the flush, clients will see errors returned until the flush is complete.",
+ "operationId": "Caches_Flush"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/start": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Cache is Active."
+ },
+ "202": {
+ "description": "Cache has started the transition to Active. Poll the cache's state field to monitor.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "Restarted VMs associated with the cache."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_Start": {
+ "$ref": "./examples/Caches_Start.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Tells a Stopped state cache to transition to Active state.",
+ "operationId": "Caches_Start"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/stop": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Cache is stopped."
+ },
+ "202": {
+ "description": "Cache has started the transition to Stopped. Poll the cache's state field to monitor.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "Stopped VMs associated with the cache."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_Stop": {
+ "$ref": "./examples/Caches_Stop.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Tells an Active cache to transition to Stopped state.",
+ "operationId": "Caches_Stop"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Returns the list of Storage Targets defined by cache name.",
+ "schema": {
+ "$ref": "#/definitions/StorageTargetsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StorageTargets_List": {
+ "$ref": "./examples/StorageTargets_ListByCache.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "tags": [
+ "StorageTargets"
+ ],
+ "description": "Returns a list of Storage Targets for the specified cache.",
+ "operationId": "StorageTargets_ListByCache"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "$ref": "#/parameters/StorageTargetParameter"
+ },
+ {
+ "name": "force",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Boolean value requesting the force delete operation for a storage target. Force delete discards unwritten-data in the cache instead of flushing it to back-end storage."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Storage Target deleted."
+ },
+ "202": {
+ "description": "Started the Storage Target's deletion. Poll the cache's Storage Targets to monitor.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "Storage Target deleted."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StorageTargets_Delete": {
+ "$ref": "./examples/StorageTargets_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "tags": [
+ "StorageTargets"
+ ],
+ "description": "Removes a Storage Target from a cache. This operation is allowed at any time, but if the cache is down or unhealthy, the actual removal of the Storage Target may be delayed until the cache is healthy again. Note that if the cache has data to flush to the Storage Target, the data will be flushed before the Storage Target will be deleted.",
+ "operationId": "StorageTargets_Delete"
+ },
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "$ref": "#/parameters/StorageTargetParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Returns the Storage Target object corresponding to storageTargetName.",
+ "schema": {
+ "$ref": "#/definitions/StorageTarget"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StorageTargets_Get": {
+ "$ref": "./examples/StorageTargets_Get.json"
+ }
+ },
+ "tags": [
+ "StorageTargets"
+ ],
+ "description": "Returns a Storage Target from a cache.",
+ "operationId": "StorageTargets_Get"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "$ref": "#/parameters/StorageTargetParameter"
+ },
+ {
+ "description": "Object containing the definition of a Storage Target.",
+ "in": "body",
+ "name": "storagetarget",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/StorageTarget"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Storage Target has been created or updated.",
+ "schema": {
+ "$ref": "#/definitions/StorageTarget"
+ }
+ },
+ "201": {
+ "description": "Storage Target creation or update has been initiated. Poll the Storage Target's provisioningState property to monitor creation/update progress.",
+ "schema": {
+ "$ref": "#/definitions/StorageTarget"
+ }
+ },
+ "202": {
+ "description": "Storage Target creation or update has been initiated. Poll the Storage Target's provisioningState property to monitor creation/update progress."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StorageTargets_CreateOrUpdate": {
+ "$ref": "./examples/StorageTargets_CreateOrUpdate.json"
+ },
+ "StorageTargets_CreateOrUpdate_NoJunctions": {
+ "$ref": "./examples/StorageTargets_CreateOrUpdate_NoJunctions.json"
+ },
+ "StorageTargets_CreateOrUpdate_BlobNfs": {
+ "$ref": "./examples/StorageTargets_CreateOrUpdate_BlobNfs.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "tags": [
+ "StorageTargets"
+ ],
+ "description": "Create or update a Storage Target. This operation is allowed at any time, but if the cache is down or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache is healthy again.",
+ "operationId": "StorageTargets_CreateOrUpdate"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/flush": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "$ref": "#/parameters/StorageTargetParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "All data has been flushed to the storage target."
+ },
+ "202": {
+ "description": "Cache has started flushing to the storage target. Poll the storage target's state field to monitor.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "Flush already in progress or has completed."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StorageTargets_Flush": {
+ "$ref": "./examples/StorageTargets_Flush.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "StorageTargets"
+ ],
+ "description": "Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to this storage target's namespace will return errors until the flush operation completes.",
+ "operationId": "StorageTarget_Flush"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/suspend": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "$ref": "#/parameters/StorageTargetParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Client access to the storage target has been suspended."
+ },
+ "202": {
+ "description": "Storage target suspend has started. Poll the storage target's state field to monitor.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "The storage target is already suspended or suspend is in progress."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StorageTargets_Suspend": {
+ "$ref": "./examples/StorageTargets_Suspend.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "StorageTargets"
+ ],
+ "description": "Suspends client access to a storage target.",
+ "operationId": "StorageTarget_Suspend"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/resume": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "$ref": "#/parameters/StorageTargetParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Client access to the storage target has been resumed."
+ },
+ "202": {
+ "description": "Storage target resume has started. Poll the storage target's state field to monitor.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "The storage target has already resumed or resume is in progress."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StorageTargets_Resume": {
+ "$ref": "./examples/StorageTargets_Resume.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "StorageTargets"
+ ],
+ "description": "Resumes client access to a previously suspended storage target.",
+ "operationId": "StorageTarget_Resume"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/invalidate": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "$ref": "#/parameters/StorageTargetParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "All cached data for the storage target was invalidated"
+ },
+ "202": {
+ "description": "Storage target invalidation has started. Poll the storage target's state field to monitor progress.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "The storage target already has been invalidated, or invalidate is in progress."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StorageTargets_Invalidate": {
+ "$ref": "./examples/StorageTargets_Invalidate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "StorageTargets"
+ ],
+ "description": "Invalidate all cached data for a storage target. Cached files are discarded and fetched from the back end on the next request.",
+ "operationId": "StorageTarget_Invalidate"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/startPrimingJob": {
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "description": "Object containing the definition of a priming job.",
+ "in": "body",
+ "name": "primingjob",
+ "schema": {
+ "$ref": "#/definitions/PrimingJob"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The priming job is being created and will complete asynchronously.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StartPrimingJob": {
+ "$ref": "./examples/StartPrimingJob.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Create a priming job. This operation is only allowed when the cache is healthy.",
+ "operationId": "Caches_StartPrimingJob"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/stopPrimingJob": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "description": "Object containing the priming job ID.",
+ "in": "body",
+ "name": "primingJobId",
+ "schema": {
+ "$ref": "#/definitions/PrimingJobIdParameter"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Started priming job deletion.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "The priming job is being deleted."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StopPrimingJob": {
+ "$ref": "./examples/StopPrimingJob.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Schedule a priming job for deletion.",
+ "operationId": "Caches_StopPrimingJob"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/pausePrimingJob": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "description": "Object containing the priming job ID.",
+ "in": "body",
+ "name": "primingJobId",
+ "schema": {
+ "$ref": "#/definitions/PrimingJobIdParameter"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Priming job is being paused.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "The priming job is paused."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "PausePrimingJob": {
+ "$ref": "./examples/PausePrimingJob.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Schedule a priming job to be paused.",
+ "operationId": "Caches_PausePrimingJob"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/resumePrimingJob": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "description": "Object containing the priming job ID.",
+ "in": "body",
+ "name": "primingJobId",
+ "schema": {
+ "$ref": "#/definitions/PrimingJobIdParameter"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Priming job is being resumed.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "The priming job is running."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ResumePrimingJob": {
+ "$ref": "./examples/ResumePrimingJob.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Resumes a paused priming job.",
+ "operationId": "Caches_ResumePrimingJob"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/upgrade": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Cache firmware is up to date."
+ },
+ "202": {
+ "description": "Cache has started the upgrade. Poll the cache's state field to monitor.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "Cache firmware is up to date."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_UpgradeFirmware": {
+ "$ref": "./examples/Caches_UpgradeFirmware.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Upgrade a cache's firmware if a new version is available. Otherwise, this operation has no effect.",
+ "operationId": "Caches_UpgradeFirmware"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/spaceAllocation": {
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "description": "List containing storage target cache space percentage allocations.",
+ "in": "body",
+ "name": "spaceAllocation",
+ "schema": {
+ "$ref": "#/definitions/SpaceAllocationParameter"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Error response describing why the operation failed.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SpaceAllocation_Post": {
+ "$ref": "./examples/SpaceAllocation_Post.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Update cache space allocation.",
+ "operationId": "Caches_SpaceAllocation"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/restoreDefaults": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheNameParameter"
+ },
+ {
+ "$ref": "#/parameters/StorageTargetParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Cache has restored the storage target's settings to their default values."
+ },
+ "202": {
+ "description": "Cache has started restoring the storage target's settings to their default values.",
+ "headers": {
+ "Location": {
+ "description": "Location URI to poll for result",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for the operation status",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StorageTargets_RestoreDefaults": {
+ "$ref": "./examples/StorageTargets_RestoreDefaults.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "tags": [
+ "StorageTargets"
+ ],
+ "description": "Tells a storage target to restore its settings to their default values.",
+ "operationId": "StorageTargets_RestoreDefaults"
+ }
+ }
+ },
+ "definitions": {
+ "ApiOperation": {
+ "description": "REST API operation description: see https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/openapi-authoring-automated-guidelines.md#r3023-operationsapiimplementation",
+ "properties": {
+ "display": {
+ "type": "object",
+ "description": "The object that represents the operation.",
+ "properties": {
+ "operation": {
+ "description": "Operation type: Read, write, delete, etc.",
+ "type": "string"
+ },
+ "provider": {
+ "description": "Service provider: Microsoft.StorageCache",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed: Cache, etc.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The description of the operation",
+ "type": "string"
+ }
+ }
+ },
+ "origin": {
+ "description": "Origin of the operation.",
+ "type": "string"
+ },
+ "isDataAction": {
+ "description": "The flag that indicates whether the operation applies to data plane.",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Additional details about an operation.",
+ "type": "object",
+ "properties": {
+ "serviceSpecification": {
+ "type": "object",
+ "description": "Specification of the all the metrics provided for a resource type.",
+ "properties": {
+ "metricSpecifications": {
+ "description": "Details about operations related to metrics.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricSpecification"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
+ },
+ "logSpecifications": {
+ "description": "Details about operations related to logs.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LogSpecification"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "type": "object"
+ },
+ "ApiOperationListResult": {
+ "description": "Result of the request to list Resource Provider operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "nextLink": {
+ "description": "URL to get the next set of operation list results if there are any.",
+ "type": "string"
+ },
+ "value": {
+ "description": "List of Resource Provider operations supported by the Microsoft.StorageCache resource provider.",
+ "items": {
+ "$ref": "#/definitions/ApiOperation"
+ },
+ "type": "array",
+ "x-ms-identifiers": []
+ }
+ },
+ "type": "object"
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "description": "An error response.",
+ "properties": {
+ "error": {
+ "description": "The body of the error.",
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "type": "object"
+ },
+ "CloudErrorBody": {
+ "description": "An error response.",
+ "properties": {
+ "code": {
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically.",
+ "type": "string"
+ },
+ "details": {
+ "description": "A list of additional details about the error.",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "type": "array",
+ "x-ms-identifiers": []
+ },
+ "message": {
+ "description": "A message describing the error, intended to be suitable for display in a user interface.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The target of the particular error. For example, the name of the property in error.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AscOperation": {
+ "description": "The status of operation.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The operation Id."
+ },
+ "name": {
+ "type": "string",
+ "description": "The operation name."
+ },
+ "startTime": {
+ "type": "string",
+ "description": "The start time of the operation."
+ },
+ "endTime": {
+ "type": "string",
+ "description": "The end time of the operation."
+ },
+ "status": {
+ "type": "string",
+ "description": "The status of the operation."
+ },
+ "error": {
+ "type": "object",
+ "description": "The error detail of the operation if any.",
+ "$ref": "#/definitions/ErrorResponse"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Additional operation-specific properties",
+ "$ref": "#/definitions/AscOperationProperties"
+ }
+ }
+ },
+ "AscOperationProperties": {
+ "type": "object",
+ "description": "Additional operation-specific output.",
+ "properties": {
+ "output": {
+ "type": "object",
+ "description": "Additional operation-specific output.",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "Cache": {
+ "description": "A cache instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ },
+ "id": {
+ "description": "Resource ID of the cache.",
+ "readOnly": true,
+ "$ref": "#/definitions/URLString"
+ },
+ "location": {
+ "description": "Region name string.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "name": {
+ "description": "Name of cache.",
+ "readOnly": true,
+ "$ref": "#/definitions/ResourceName"
+ },
+ "type": {
+ "description": "Type of the cache; Microsoft.StorageCache/Cache",
+ "readOnly": true,
+ "type": "string"
+ },
+ "identity": {
+ "$ref": "#/definitions/CacheIdentity",
+ "description": "The identity of the cache, if configured."
+ },
+ "systemData": {
+ "readOnly": true,
+ "description": "The system meta data relating to this resource.",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties of the cache.",
+ "properties": {
+ "cacheSizeGB": {
+ "description": "The size of this Cache, in GB.",
+ "type": "integer",
+ "format": "int32",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "health": {
+ "description": "Health of the cache.",
+ "readOnly": true,
+ "$ref": "#/definitions/CacheHealth"
+ },
+ "mountAddresses": {
+ "description": "Array of IPv4 addresses that can be used by clients mounting this cache.",
+ "readOnly": true,
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "provisioningState": {
+ "description": "ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Creating",
+ "Deleting",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStateType",
+ "modelAsString": true
+ },
+ "type": "string",
+ "readOnly": true
+ },
+ "subnet": {
+ "description": "Subnet used for the cache.",
+ "$ref": "#/definitions/URLString",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "upgradeStatus": {
+ "description": "Upgrade status of the cache.",
+ "$ref": "#/definitions/CacheUpgradeStatus",
+ "readOnly": true
+ },
+ "upgradeSettings": {
+ "description": "Upgrade settings of the cache.",
+ "$ref": "#/definitions/CacheUpgradeSettings"
+ },
+ "networkSettings": {
+ "$ref": "#/definitions/CacheNetworkSettings",
+ "description": "Specifies network settings of the cache."
+ },
+ "encryptionSettings": {
+ "$ref": "#/definitions/CacheEncryptionSettings",
+ "description": "Specifies encryption settings of the cache."
+ },
+ "securitySettings": {
+ "$ref": "#/definitions/CacheSecuritySettings",
+ "description": "Specifies security settings of the cache."
+ },
+ "directoryServicesSettings": {
+ "$ref": "#/definitions/CacheDirectorySettings",
+ "description": "Specifies Directory Services settings of the cache."
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Availability zones for resources. This field should only contain a single element in the array.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "primingJobs": {
+ "$ref": "#/definitions/PrimingJobList",
+ "description": "Specifies the priming jobs defined in the cache."
+ },
+ "spaceAllocation": {
+ "$ref": "#/definitions/SpaceAllocationList",
+ "description": "Specifies the space allocation percentage for each storage target in the cache."
+ }
+ },
+ "type": "object"
+ },
+ "sku": {
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "description": "SKU for the cache.",
+ "properties": {
+ "name": {
+ "description": "SKU name for this cache.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "x-ms-azure-resource": true,
+ "type": "object"
+ },
+ "CacheIdentity": {
+ "type": "object",
+ "description": "Cache identity properties.",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal ID for the system-assigned identity of the cache."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant ID associated with the cache."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of identity used for the cache",
+ "enum": [
+ "SystemAssigned",
+ "UserAssigned",
+ "SystemAssigned, UserAssigned",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "CacheIdentityType",
+ "modelAsString": false
+ }
+ },
+ "userAssignedIdentities": {
+ "type": "object",
+ "description": "A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary.",
+ "additionalProperties": {
+ "type": "object",
+ "x-ms-client-name": "userAssignedIdentitiesValue",
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal ID of the user-assigned identity."
+ },
+ "clientId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The client ID of the user-assigned identity."
+ }
+ }
+ }
+ }
+ }
+ },
+ "CacheNetworkSettings": {
+ "type": "object",
+ "description": "Cache network settings.",
+ "properties": {
+ "mtu": {
+ "description": "The IPv4 maximum transmission unit configured for the subnet.",
+ "type": "integer",
+ "format": "int32",
+ "minimum": 576,
+ "maximum": 1500,
+ "default": 1500
+ },
+ "utilityAddresses": {
+ "description": "Array of additional IP addresses used by this cache.",
+ "readOnly": true,
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "dnsServers": {
+ "description": "DNS servers for the cache to use. It will be set from the network configuration if no value is provided.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "dnsSearchDomain": {
+ "description": "DNS search domain",
+ "type": "string"
+ },
+ "ntpServer": {
+ "description": "NTP server IP Address or FQDN for the cache to use. The default is time.windows.com.",
+ "type": "string",
+ "default": "time.windows.com"
+ }
+ }
+ },
+ "CacheEncryptionSettings": {
+ "type": "object",
+ "description": "Cache encryption settings.",
+ "properties": {
+ "keyEncryptionKey": {
+ "x-ms-secret": true,
+ "$ref": "#/definitions/KeyVaultKeyReference",
+ "description": "Specifies the location of the key encryption key in key vault."
+ },
+ "rotationToLatestKeyVersionEnabled": {
+ "type": "boolean",
+ "description": "Specifies whether the service will automatically rotate to the newest version of the key in the key vault."
+ }
+ }
+ },
+ "CacheSecuritySettings": {
+ "type": "object",
+ "description": "Cache security settings.",
+ "properties": {
+ "accessPolicies": {
+ "description": "NFS access policies defined for this cache.",
+ "items": {
+ "$ref": "#/definitions/NfsAccessPolicy"
+ },
+ "type": "array",
+ "x-ms-identifiers": [
+ "name"
+ ]
+ }
+ }
+ },
+ "CacheDirectorySettings": {
+ "description": "Cache Directory Services settings.",
+ "type": "object",
+ "properties": {
+ "activeDirectory": {
+ "$ref": "#/definitions/CacheActiveDirectorySettings",
+ "description": "Specifies settings for joining the HPC Cache to an Active Directory domain."
+ },
+ "usernameDownload": {
+ "$ref": "#/definitions/CacheUsernameDownloadSettings",
+ "description": "Specifies settings for Extended Groups. Extended Groups allows users to be members of more than 16 groups."
+ }
+ }
+ },
+ "CacheActiveDirectorySettings": {
+ "description": "Active Directory settings used to join a cache to a domain.",
+ "properties": {
+ "primaryDnsIpAddress": {
+ "description": "Primary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name.",
+ "type": "string"
+ },
+ "secondaryDnsIpAddress": {
+ "description": "Secondary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name.",
+ "type": "string"
+ },
+ "domainName": {
+ "description": "The fully qualified domain name of the Active Directory domain controller.",
+ "type": "string"
+ },
+ "domainNetBiosName": {
+ "description": "The Active Directory domain's NetBIOS name.",
+ "type": "string"
+ },
+ "cacheNetBiosName": {
+ "description": "The NetBIOS name to assign to the HPC Cache when it joins the Active Directory domain as a server. Length must 1-15 characters from the class [-0-9a-zA-Z].",
+ "pattern": "^[-0-9a-zA-Z]{1,15}$",
+ "type": "string"
+ },
+ "domainJoined": {
+ "description": "True if the HPC Cache is joined to the Active Directory domain.",
+ "type": "string",
+ "readOnly": true,
+ "enum": [
+ "Yes",
+ "No",
+ "Error"
+ ],
+ "x-ms-enum": {
+ "name": "DomainJoinedType",
+ "modelAsString": true
+ }
+ },
+ "credentials": {
+ "type": "object",
+ "description": "Active Directory admin credentials used to join the HPC Cache to a domain.",
+ "properties": {
+ "username": {
+ "description": "Username of the Active Directory domain administrator. This value is stored encrypted and not returned on response.",
+ "type": "string"
+ },
+ "password": {
+ "description": "Plain text password of the Active Directory domain administrator. This value is stored encrypted and not returned on response.",
+ "x-ms-secret": true,
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ]
+ }
+ },
+ "required": [
+ "username"
+ ]
+ }
+ },
+ "type": "object",
+ "required": [
+ "primaryDnsIpAddress",
+ "domainNetBiosName",
+ "domainName",
+ "cacheNetBiosName"
+ ]
+ },
+ "CacheUsernameDownloadSettings": {
+ "description": "Settings for Extended Groups username and group download.",
+ "type": "object",
+ "properties": {
+ "extendedGroups": {
+ "type": "boolean",
+ "description": "Whether or not Extended Groups is enabled."
+ },
+ "usernameSource": {
+ "description": "This setting determines how the cache gets username and group names for clients.",
+ "enum": [
+ "AD",
+ "LDAP",
+ "File",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "UsernameSource",
+ "modelAsString": true
+ },
+ "type": "string",
+ "default": "None"
+ },
+ "groupFileURI": {
+ "type": "string",
+ "description": "The URI of the file containing group information (in /etc/group file format). This field must be populated when 'usernameSource' is set to 'File'."
+ },
+ "userFileURI": {
+ "type": "string",
+ "description": "The URI of the file containing user information (in /etc/passwd file format). This field must be populated when 'usernameSource' is set to 'File'."
+ },
+ "ldapServer": {
+ "type": "string",
+ "description": "The fully qualified domain name or IP address of the LDAP server to use."
+ },
+ "ldapBaseDN": {
+ "type": "string",
+ "description": "The base distinguished name for the LDAP domain."
+ },
+ "encryptLdapConnection": {
+ "type": "boolean",
+ "description": "Whether or not the LDAP connection should be encrypted.",
+ "default": false
+ },
+ "requireValidCertificate": {
+ "type": "boolean",
+ "description": "Determines if the certificates must be validated by a certificate authority. When true, caCertificateURI must be provided.",
+ "default": false
+ },
+ "autoDownloadCertificate": {
+ "type": "boolean",
+ "description": "Determines if the certificate should be automatically downloaded. This applies to 'caCertificateURI' only if 'requireValidCertificate' is true.",
+ "default": false
+ },
+ "caCertificateURI": {
+ "type": "string",
+ "description": "The URI of the CA certificate to validate the LDAP secure connection. This field must be populated when 'requireValidCertificate' is set to true."
+ },
+ "usernameDownloaded": {
+ "description": "Indicates whether or not the HPC Cache has performed the username download successfully.",
+ "type": "string",
+ "readOnly": true,
+ "enum": [
+ "Yes",
+ "No",
+ "Error"
+ ],
+ "x-ms-enum": {
+ "name": "UsernameDownloadedType",
+ "modelAsString": true
+ }
+ },
+ "credentials": {
+ "type": "object",
+ "description": "When present, these are the credentials for the secure LDAP connection.",
+ "properties": {
+ "bindDn": {
+ "type": "string",
+ "description": "The Bind Distinguished Name identity to be used in the secure LDAP connection. This value is stored encrypted and not returned on response.",
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ]
+ },
+ "bindPassword": {
+ "type": "string",
+ "x-ms-secret": true,
+ "description": "The Bind password to be used in the secure LDAP connection. This value is stored encrypted and not returned on response."
+ }
+ }
+ }
+ }
+ },
+ "NfsAccessPolicy": {
+ "type": "object",
+ "description": "A set of rules describing access policies applied to NFSv3 clients of the cache.",
+ "properties": {
+ "name": {
+ "description": "Name identifying this policy. Access Policy names are not case sensitive.",
+ "type": "string"
+ },
+ "accessRules": {
+ "description": "The set of rules describing client accesses allowed under this policy.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NfsAccessRule"
+ },
+ "x-ms-identifiers": []
+ }
+ },
+ "required": [
+ "name",
+ "accessRules"
+ ]
+ },
+ "NfsAccessRule": {
+ "type": "object",
+ "description": "Rule to place restrictions on portions of the cache namespace being presented to clients.",
+ "properties": {
+ "scope": {
+ "description": "Scope for this rule. The scope and filter determine which clients match the rule.",
+ "type": "string",
+ "enum": [
+ "default",
+ "network",
+ "host"
+ ],
+ "x-ms-enum": {
+ "name": "NfsAccessRuleScope",
+ "modelAsString": true
+ }
+ },
+ "filter": {
+ "description": "Filter applied to the scope for this rule. The filter's format depends on its scope. 'default' scope matches all clients and has no filter value. 'network' scope takes a filter in CIDR format (for example, 10.99.1.0/24). 'host' takes an IP address or fully qualified domain name as filter. If a client does not match any filter rule and there is no default rule, access is denied.",
+ "type": "string"
+ },
+ "access": {
+ "description": "Access allowed by this rule.",
+ "type": "string",
+ "enum": [
+ "no",
+ "ro",
+ "rw"
+ ],
+ "x-ms-enum": {
+ "name": "NfsAccessRuleAccess",
+ "modelAsString": true
+ }
+ },
+ "suid": {
+ "description": "Allow SUID semantics.",
+ "type": "boolean"
+ },
+ "submountAccess": {
+ "description": "For the default policy, allow access to subdirectories under the root export. If this is set to no, clients can only mount the path '/'. If set to yes, clients can mount a deeper path, like '/a/b'.",
+ "type": "boolean"
+ },
+ "rootSquash": {
+ "description": "Map root accesses to anonymousUID and anonymousGID.",
+ "type": "boolean"
+ },
+ "anonymousUID": {
+ "description": "UID value that replaces 0 when rootSquash is true. 65534 will be used if not provided.",
+ "type": "string"
+ },
+ "anonymousGID": {
+ "description": "GID value that replaces 0 when rootSquash is true. This will use the value of anonymousUID if not provided.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "scope",
+ "access"
+ ]
+ },
+ "KeyVaultKeyReference": {
+ "type": "object",
+ "description": "Describes a reference to key vault key.",
+ "properties": {
+ "keyUrl": {
+ "type": "string",
+ "description": "The URL referencing a key encryption key in key vault."
+ },
+ "sourceVault": {
+ "type": "object",
+ "description": "Describes a resource Id to source key vault.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource Id."
+ }
+ }
+ }
+ },
+ "required": [
+ "keyUrl",
+ "sourceVault"
+ ]
+ },
+ "CachesListResult": {
+ "description": "Result of the request to list caches. It contains a list of caches and a URL link to get the next set of results.",
+ "properties": {
+ "nextLink": {
+ "description": "URL to get the next set of cache list results, if there are any.",
+ "type": "string"
+ },
+ "value": {
+ "description": "List of Caches.",
+ "items": {
+ "$ref": "#/definitions/Cache"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "CacheHealth": {
+ "type": "object",
+ "description": "An indication of cache health. Gives more information about health than just that related to provisioning.",
+ "properties": {
+ "state": {
+ "description": "List of cache health states. Down is when the cluster is not responding. Degraded is when its functioning but has some alerts. Transitioning when it is creating or deleting. Unknown will be returned in old api versions when a new value is added in future versions. WaitingForKey is when the create is waiting for the system assigned identity to be given access to the encryption key in the encryption settings.",
+ "enum": [
+ "Unknown",
+ "Healthy",
+ "Degraded",
+ "Down",
+ "Transitioning",
+ "Stopping",
+ "Stopped",
+ "Upgrading",
+ "Flushing",
+ "WaitingForKey",
+ "StartFailed",
+ "UpgradeFailed"
+ ],
+ "x-ms-enum": {
+ "name": "HealthStateType",
+ "modelAsString": true
+ },
+ "type": "string"
+ },
+ "statusDescription": {
+ "description": "Describes explanation of state.",
+ "type": "string"
+ },
+ "conditions": {
+ "description": "Outstanding conditions that need to be investigated and resolved.",
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Condition"
+ },
+ "x-ms-identifiers": []
+ }
+ }
+ },
+ "Condition": {
+ "type": "object",
+ "description": "Outstanding conditions that will need to be resolved.",
+ "properties": {
+ "timestamp": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when the condition was raised."
+ },
+ "message": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The issue requiring attention."
+ }
+ }
+ },
+ "CacheUpgradeStatus": {
+ "description": "Properties describing the software upgrade state of the cache.",
+ "properties": {
+ "currentFirmwareVersion": {
+ "description": "Version string of the firmware currently installed on this cache.",
+ "type": "string",
+ "readOnly": true
+ },
+ "firmwareUpdateStatus": {
+ "description": "True if there is a firmware update ready to install on this cache. The firmware will automatically be installed after firmwareUpdateDeadline if not triggered earlier via the upgrade operation.",
+ "enum": [
+ "available",
+ "unavailable"
+ ],
+ "x-ms-enum": {
+ "name": "FirmwareStatusType",
+ "modelAsString": true
+ },
+ "readOnly": true,
+ "type": "string"
+ },
+ "firmwareUpdateDeadline": {
+ "description": "Time at which the pending firmware update will automatically be installed on the cache.",
+ "format": "date-time",
+ "type": "string",
+ "readOnly": true
+ },
+ "lastFirmwareUpdate": {
+ "description": "Time of the last successful firmware update.",
+ "format": "date-time",
+ "type": "string",
+ "readOnly": true
+ },
+ "pendingFirmwareVersion": {
+ "description": "When firmwareUpdateAvailable is true, this field holds the version string for the update.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "type": "object"
+ },
+ "CacheUpgradeSettings": {
+ "description": "Cache Upgrade Settings.",
+ "properties": {
+ "upgradeScheduleEnabled": {
+ "description": "True if the user chooses to select an installation time between now and firmwareUpdateDeadline. Else the firmware will automatically be installed after firmwareUpdateDeadline if not triggered earlier via the upgrade operation.",
+ "type": "boolean"
+ },
+ "scheduledTime": {
+ "description": "When upgradeScheduleEnabled is true, this field holds the user-chosen upgrade time. At the user-chosen time, the firmware update will automatically be installed on the cache.",
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "UnknownProperties": {
+ "description": "Properties of an unknown type of Storage Target.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "StorageTarget": {
+ "type": "object",
+ "description": "Type of the Storage Target.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/StorageTargetResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "StorageTarget properties",
+ "$ref": "#/definitions/StorageTargetProperties"
+ }
+ }
+ },
+ "StorageTargetResource": {
+ "type": "object",
+ "description": "Resource used by a cache.",
+ "properties": {
+ "name": {
+ "description": "Name of the Storage Target.",
+ "readOnly": true,
+ "$ref": "#/definitions/ResourceName"
+ },
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource ID of the Storage Target."
+ },
+ "type": {
+ "description": "Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget",
+ "readOnly": true,
+ "type": "string"
+ },
+ "location": {
+ "description": "Region name string.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "systemData": {
+ "readOnly": true,
+ "description": "The system meta data relating to this resource.",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "StorageTargetProperties": {
+ "type": "object",
+ "description": "Properties of the Storage Target.",
+ "required": [
+ "targetType"
+ ],
+ "properties": {
+ "junctions": {
+ "description": "List of cache namespace junctions to target for namespace associations.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NamespaceJunction"
+ },
+ "x-ms-identifiers": []
+ },
+ "targetType": {
+ "description": "Type of the Storage Target.",
+ "enum": [
+ "nfs3",
+ "clfs",
+ "unknown",
+ "blobNfs"
+ ],
+ "x-ms-enum": {
+ "name": "StorageTargetType",
+ "modelAsString": true
+ },
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "provisioningState": {
+ "description": "ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Creating",
+ "Deleting",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStateType",
+ "modelAsString": true
+ },
+ "type": "string",
+ "readOnly": true
+ },
+ "state": {
+ "description": "Storage target operational state.",
+ "enum": [
+ "Ready",
+ "Busy",
+ "Suspended",
+ "Flushing"
+ ],
+ "x-ms-enum": {
+ "name": "OperationalStateType",
+ "modelAsString": true
+ },
+ "type": "string"
+ },
+ "nfs3": {
+ "description": "Properties when targetType is nfs3.",
+ "$ref": "#/definitions/Nfs3Target"
+ },
+ "clfs": {
+ "description": "Properties when targetType is clfs.",
+ "$ref": "#/definitions/ClfsTarget"
+ },
+ "unknown": {
+ "description": "Properties when targetType is unknown.",
+ "$ref": "#/definitions/UnknownTarget"
+ },
+ "blobNfs": {
+ "description": "Properties when targetType is blobNfs.",
+ "$ref": "#/definitions/BlobNfsTarget"
+ },
+ "allocationPercentage": {
+ "description": "The percentage of cache space allocated for this storage target",
+ "type": "integer",
+ "format": "int32",
+ "minimum": 1,
+ "maximum": 100,
+ "readOnly": true
+ }
+ }
+ },
+ "Nfs3Target": {
+ "type": "object",
+ "description": "Properties pertaining to the Nfs3Target",
+ "properties": {
+ "target": {
+ "description": "IP address or host name of an NFSv3 host (e.g., 10.0.44.44).",
+ "pattern": "^[-.,0-9a-zA-Z]+$",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "usageModel": {
+ "description": "Identifies the StorageCache usage model to be used for this storage target.",
+ "type": "string"
+ },
+ "verificationTimer": {
+ "description": "Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.",
+ "type": "integer",
+ "format": "int32"
+ },
+ "writeBackTimer": {
+ "description": "Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.",
+ "type": "integer",
+ "format": "int32"
+ }
+ }
+ },
+ "ClfsTarget": {
+ "type": "object",
+ "description": "Properties pertaining to the ClfsTarget",
+ "properties": {
+ "target": {
+ "description": "Resource ID of storage container.",
+ "$ref": "#/definitions/URLString",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ }
+ }
+ },
+ "UnknownTarget": {
+ "type": "object",
+ "description": "Properties pertaining to the UnknownTarget",
+ "properties": {
+ "attributes": {
+ "description": "Dictionary of string->string pairs containing information about the Storage Target.",
+ "$ref": "#/definitions/UnknownProperties"
+ }
+ }
+ },
+ "BlobNfsTarget": {
+ "type": "object",
+ "description": "Properties pertaining to the BlobNfsTarget.",
+ "properties": {
+ "target": {
+ "description": "Resource ID of the storage container.",
+ "$ref": "#/definitions/URLString",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "usageModel": {
+ "description": "Identifies the StorageCache usage model to be used for this storage target.",
+ "type": "string"
+ },
+ "verificationTimer": {
+ "description": "Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.",
+ "type": "integer",
+ "format": "int32"
+ },
+ "writeBackTimer": {
+ "description": "Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.",
+ "type": "integer",
+ "format": "int32"
+ }
+ }
+ },
+ "ResourceName": {
+ "description": "Schema for the name of resources served by this provider. Note that objects will contain an odata @id annotation as appropriate. This will contain the complete resource id of the object. These names are case-preserving, but not case sensitive.",
+ "pattern": "^[-0-9a-zA-Z_]{1,80}$",
+ "type": "string"
+ },
+ "ResourceSku": {
+ "description": "A resource SKU.",
+ "properties": {
+ "resourceType": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The type of resource the SKU applies to."
+ },
+ "capabilities": {
+ "description": "A list of capabilities of this SKU, such as throughput or ops/sec.",
+ "items": {
+ "$ref": "#/definitions/ResourceSkuCapabilities"
+ },
+ "type": "array",
+ "x-ms-identifiers": [
+ "name"
+ ]
+ },
+ "locations": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The set of locations where the SKU is available. This is the supported and registered Azure Geo Regions (e.g., West US, East US, Southeast Asia, etc.)."
+ },
+ "locationInfo": {
+ "description": "The set of locations where the SKU is available.",
+ "items": {
+ "$ref": "#/definitions/ResourceSkuLocationInfo"
+ },
+ "type": "array",
+ "x-ms-identifiers": []
+ },
+ "name": {
+ "description": "The name of this SKU.",
+ "type": "string"
+ },
+ "restrictions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Restriction"
+ },
+ "description": "The restrictions preventing this SKU from being used. This is empty if there are no restrictions.",
+ "x-ms-identifiers": []
+ }
+ },
+ "type": "object"
+ },
+ "Restriction": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The type of restrictions. In this version, the only possible value for this is location."
+ },
+ "values": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The value of restrictions. If the restriction type is set to location, then this would be the different locations where the SKU is restricted."
+ },
+ "reasonCode": {
+ "type": "string",
+ "enum": [
+ "QuotaId",
+ "NotAvailableForSubscription"
+ ],
+ "x-ms-enum": {
+ "name": "ReasonCode",
+ "modelAsString": true
+ },
+ "description": "The reason for the restriction. As of now this can be \"QuotaId\" or \"NotAvailableForSubscription\". \"QuotaId\" is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. \"NotAvailableForSubscription\" is related to capacity at the datacenter."
+ }
+ },
+ "description": "The restrictions preventing this SKU from being used."
+ },
+ "ResourceSkuCapabilities": {
+ "description": "A resource SKU capability.",
+ "properties": {
+ "name": {
+ "description": "Name of a capability, such as ops/sec.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Quantity, if the capability is measured by quantity.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ResourceSkuLocationInfo": {
+ "description": "Resource SKU location information.",
+ "properties": {
+ "location": {
+ "description": "Location where this SKU is available.",
+ "type": "string"
+ },
+ "zones": {
+ "description": "Zones if any.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "type": "object"
+ },
+ "ResourceSkusResult": {
+ "type": "object",
+ "description": "The response from the List Cache SKUs operation.",
+ "properties": {
+ "nextLink": {
+ "description": "The URI to fetch the next page of cache SKUs.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The list of SKUs available for the subscription.",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ResourceSku"
+ },
+ "type": "array",
+ "x-ms-identifiers": []
+ }
+ }
+ },
+ "NamespaceJunction": {
+ "description": "A namespace junction.",
+ "type": "object",
+ "properties": {
+ "namespacePath": {
+ "description": "Namespace path on a cache for a Storage Target.",
+ "type": "string"
+ },
+ "targetPath": {
+ "description": "Path in Storage Target to which namespacePath points.",
+ "type": "string"
+ },
+ "nfsExport": {
+ "description": "NFS export where targetPath exists.",
+ "type": "string"
+ },
+ "nfsAccessPolicy": {
+ "description": "Name of the access policy applied to this junction.",
+ "type": "string",
+ "default": "default"
+ }
+ }
+ },
+ "StorageTargetsResult": {
+ "description": "A list of Storage Targets.",
+ "properties": {
+ "nextLink": {
+ "description": "The URI to fetch the next page of Storage Targets.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The list of Storage Targets defined for the cache.",
+ "items": {
+ "$ref": "#/definitions/StorageTarget"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "URLString": {
+ "description": "A fully qualified URL.",
+ "type": "string"
+ },
+ "UsageModel": {
+ "description": "A usage model.",
+ "properties": {
+ "display": {
+ "description": "Localized information describing this usage model.",
+ "type": "object",
+ "properties": {
+ "description": {
+ "description": "String to display for this usage model.",
+ "type": "string"
+ }
+ }
+ },
+ "modelName": {
+ "description": "Non-localized keyword name for this usage model.",
+ "type": "string"
+ },
+ "targetType": {
+ "description": "The type of Storage Target to which this model is applicable (only nfs3 as of this version).",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "UsageModelsResult": {
+ "description": "A list of cache usage models.",
+ "properties": {
+ "nextLink": {
+ "description": "The URI to fetch the next page of cache usage models.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The list of usage models available for the subscription.",
+ "items": {
+ "$ref": "#/definitions/UsageModel"
+ },
+ "type": "array",
+ "x-ms-identifiers": [
+ "modelName"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "ResourceUsagesListResult": {
+ "description": "Result of the request to list resource usages. It contains a list of resource usages & limits and a URL link to get the next set of results.",
+ "properties": {
+ "nextLink": {
+ "description": "URL to get the next set of resource usage list results if there are any.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "value": {
+ "description": "List of usages and limits for resources controlled by the Microsoft.StorageCache resource provider.",
+ "items": {
+ "$ref": "#/definitions/ResourceUsage"
+ },
+ "readOnly": true,
+ "type": "array",
+ "x-ms-identifiers": [
+ "name"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "ResourceUsage": {
+ "description": "The usage and limit (quota) for a resource.",
+ "properties": {
+ "limit": {
+ "description": "The limit (quota) for this resource.",
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0
+ },
+ "unit": {
+ "description": "Unit that the limit and usages are expressed in, such as 'Count'.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "currentValue": {
+ "description": "The current usage of this resource.",
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0
+ },
+ "name": {
+ "description": "Naming information for this resource type.",
+ "readOnly": true,
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Canonical name for this resource type.",
+ "type": "string"
+ },
+ "localizedValue": {
+ "description": "Localized name for this resource type.",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "type": "object"
+ },
+ "MetricSpecification": {
+ "type": "object",
+ "description": "Details about operation related to metrics.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the metric."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Localized display name of the metric."
+ },
+ "displayDescription": {
+ "type": "string",
+ "description": "The description of the metric."
+ },
+ "unit": {
+ "type": "string",
+ "description": "The unit that the metric is measured in."
+ },
+ "aggregationType": {
+ "type": "string",
+ "description": "The type of metric aggregation."
+ },
+ "supportedAggregationTypes": {
+ "description": "Support metric aggregation type.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "NotSpecified",
+ "None",
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Count"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "MetricAggregationType",
+ "modelAsString": true
+ }
+ }
+ },
+ "metricClass": {
+ "description": "Type of metrics.",
+ "type": "string"
+ },
+ "dimensions": {
+ "description": "Dimensions of the metric",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricDimension"
+ },
+ "x-ms-identifiers": []
+ }
+ }
+ },
+ "LogSpecification": {
+ "type": "object",
+ "description": "Details about operation related to logs.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the log."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Localized display name of the log."
+ }
+ }
+ },
+ "MetricDimension": {
+ "type": "object",
+ "description": "Specifications of the Dimension of metrics.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the dimension"
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Localized friendly display name of the dimension"
+ },
+ "internalName": {
+ "type": "string",
+ "description": "Internal name of the dimension."
+ },
+ "toBeExportedForShoebox": {
+ "description": "To be exported to shoe box.",
+ "type": "boolean"
+ }
+ }
+ },
+ "PrimingJob": {
+ "description": "A priming job instance.",
+ "properties": {
+ "primingJobName": {
+ "description": "The priming job name.",
+ "$ref": "#/definitions/ResourceName",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "primingManifestUrl": {
+ "description": "The URL for the priming manifest file to download. This file must be readable from the HPC Cache. When the file is in Azure blob storage the URL should include a Shared Access Signature (SAS) granting read permissions on the blob.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ],
+ "x-ms-secret": true
+ },
+ "primingJobId": {
+ "description": "The unique identifier of the priming job.",
+ "pattern": "^[-0-9a-zA-Z_]{1,80}$",
+ "readOnly": true,
+ "type": "string"
+ },
+ "primingJobState": {
+ "description": "The state of the priming operation.",
+ "enum": [
+ "Queued",
+ "Running",
+ "Paused",
+ "Complete"
+ ],
+ "readOnly": true,
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PrimingJobState",
+ "modelAsString": true
+ }
+ },
+ "primingJobStatus": {
+ "description": "The status code of the priming job.",
+ "type": "string",
+ "readOnly": true
+ },
+ "primingJobDetails": {
+ "description": "The job details or error information if any.",
+ "type": "string",
+ "readOnly": true
+ },
+ "primingJobPercentComplete": {
+ "description": "The current progress of the priming job, as a percentage.",
+ "type": "number",
+ "format": "double",
+ "maximum": 100,
+ "minimum": 0,
+ "readOnly": true
+ }
+ },
+ "required": [
+ "primingJobName",
+ "primingManifestUrl"
+ ],
+ "type": "object"
+ },
+ "PrimingJobList": {
+ "description": "The list of priming jobs defined for the cache.",
+ "items": {
+ "$ref": "#/definitions/PrimingJob"
+ },
+ "type": "array",
+ "x-ms-identifiers": [
+ "primingJobId"
+ ],
+ "readOnly": true
+ },
+ "PrimingJobIdParameter": {
+ "description": "Object containing the priming job ID.",
+ "properties": {
+ "primingJobId": {
+ "description": "The unique identifier of the priming job.",
+ "pattern": "^[-0-9a-zA-Z_]{1,80}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "primingJobId"
+ ],
+ "type": "object"
+ },
+ "SpaceAllocationList": {
+ "description": "List of storage target space allocations.",
+ "items": {
+ "$ref": "#/definitions/StorageTargetSpaceAllocation"
+ },
+ "type": "array",
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "readOnly": true
+ },
+ "SpaceAllocationParameter": {
+ "description": "List of storage target space allocations.",
+ "items": {
+ "$ref": "#/definitions/StorageTargetSpaceAllocation"
+ },
+ "type": "array",
+ "x-ms-identifiers": [
+ "name"
+ ]
+ },
+ "StorageTargetSpaceAllocation": {
+ "description": "Storage Target space allocation properties.",
+ "properties": {
+ "name": {
+ "description": "Name of the storage target.",
+ "$ref": "#/definitions/ResourceName"
+ },
+ "allocationPercentage": {
+ "description": "The percentage of cache space allocated for this storage target",
+ "type": "integer",
+ "format": "int32",
+ "minimum": 1,
+ "maximum": 100
+ }
+ },
+ "type": "object"
+ }
+ },
+ "parameters": {
+ "CacheNameParameter": {
+ "description": "Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.",
+ "in": "path",
+ "name": "cacheName",
+ "pattern": "^[-0-9a-zA-Z_]{1,80}$",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "StorageTargetParameter": {
+ "description": "Name of Storage Target.",
+ "in": "path",
+ "name": "storageTargetName",
+ "pattern": "^[-0-9a-zA-Z_]{1,80}$",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/readme.md b/specification/storagecache/resource-manager/readme.md
index b4c0a99229c7..d3f51a2b3fd0 100644
--- a/specification/storagecache/resource-manager/readme.md
+++ b/specification/storagecache/resource-manager/readme.md
@@ -26,21 +26,31 @@ These are the global settings for the StorageCache API.
``` yaml
openapi-type: arm
-tag: package-2023-05
+tag: package-preview-2023-11
add-credentials: true
title: StorageCacheManagementClient
```
+### Tag: package-preview-2023-11
+
+These settings apply only when `--tag=package-preview-2023-11` is specified on the command line.
+
+```yaml $(tag) == 'package-preview-2023-11'
+input-file:
+ - Microsoft.StorageCache/preview/2023-11-01-preview/amlfilesystem.json
+ - Microsoft.StorageCache/preview/2023-11-01-preview/storagecache.json
+```
### Tag: package-2023-05
These settings apply only when `--tag=package-2023-05` is specified on the command line.
-```yaml $(tag) == 'package-2023-05'
+``` yaml $(tag) == 'package-2023-05'
input-file:
- Microsoft.StorageCache/stable/2023-05-01/amlfilesystem.json
- Microsoft.StorageCache/stable/2023-05-01/storagecache.json
```
+
### Tag: package-preview-2023-03
These settings apply only when `--tag=package-preview-2023-03` is specified on the command line.
diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/bigDataPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/bigDataPool.json
index b518534e8a1d..b4f12e4f491b 100644
--- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/bigDataPool.json
+++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/bigDataPool.json
@@ -433,8 +433,7 @@
"cacheSize": {
"type": "integer",
"format": "int32",
- "description": "The cache size",
- "readOnly": true
+ "description": "The cache size"
},
"dynamicExecutorAllocation": {
"$ref": "#/definitions/DynamicExecutorAllocation",
diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/bigDataPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/bigDataPool.json
index 4a67d7cacfdd..92367b18a593 100644
--- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/bigDataPool.json
+++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/bigDataPool.json
@@ -433,8 +433,7 @@
"cacheSize": {
"type": "integer",
"format": "int32",
- "description": "The cache size",
- "readOnly": true
+ "description": "The cache size"
},
"dynamicExecutorAllocation": {
"$ref": "#/definitions/DynamicExecutorAllocation",
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/actionrequest.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/actionrequest.json
new file mode 100644
index 000000000000..1c928122ab80
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/actionrequest.json
@@ -0,0 +1,375 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Test Base",
+ "description": "Restful APIs for Test Base Action Requests.",
+ "version": "2023-11-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/actionRequests/{actionRequestName}": {
+ "get": {
+ "tags": [
+ "Test Base Action Requests"
+ ],
+ "operationId": "ActionRequests_Get",
+ "description": "Get the action request under the specified test base account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionRequestName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Succeeded to get the action request under the specified test base account.",
+ "schema": {
+ "$ref": "#/definitions/ActionRequest"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ActionRequestGet": {
+ "$ref": "./examples/ActionRequestGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Test Base Action Requests"
+ ],
+ "operationId": "ActionRequests_Put",
+ "description": "Create (submit) an action request.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionRequestName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "actionRequest",
+ "schema": {
+ "$ref": "#/definitions/ActionRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Succeeded to update an action request.",
+ "schema": {
+ "$ref": "#/definitions/ActionRequest"
+ }
+ },
+ "201": {
+ "description": "Succeeded to create (submit) an action request.",
+ "schema": {
+ "$ref": "#/definitions/ActionRequest"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ActionRequestPut": {
+ "$ref": "./examples/ActionRequestPut.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Test Base Action Requests"
+ ],
+ "operationId": "ActionRequests_Delete",
+ "description": "Delete (revoke) an action request. Only requests in review can be deleted.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionRequestName"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Succeeded to delete the specified action request."
+ },
+ "204": {
+ "description": "Succeeded to delete the specified action request."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ActionRequestDelete": {
+ "$ref": "./examples/ActionRequestDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/actionRequests": {
+ "get": {
+ "tags": [
+ "Test Base Action Requests"
+ ],
+ "operationId": "ActionRequests_List",
+ "description": "List all action requests under the specified test base account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/RequestTypeFilter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TopFilter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Succeeded to list all action requests under the specified test base account.",
+ "schema": {
+ "$ref": "#/definitions/ActionRequests"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ActionRequestList": {
+ "$ref": "./examples/ActionRequestList.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ActionRequests": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRequest"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "ActionRequest": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ActionRequestProperties",
+ "x-ms-client-flatten": true,
+ "description": "Test Base Draft Package properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "ActionRequestProperties": {
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "$ref": "./testbase.json#/definitions/ProvisioningState"
+ },
+ "requestType": {
+ "$ref": "#/definitions/RequestTypes"
+ },
+ "preReleaseAccessRequestSpec": {
+ "$ref": "#/definitions/PreReleaseAccessRequestSpec"
+ },
+ "creationDate": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "status": {
+ "type": "string",
+ "enum": [
+ "InReview",
+ "Approved",
+ "Declined"
+ ],
+ "x-ms-enum": {
+ "name": "requestStatus",
+ "modelAsString": true
+ },
+ "readOnly": true
+ }
+ },
+ "required": [
+ "requestType"
+ ]
+ },
+ "RequestTypes": {
+ "type": "string",
+ "enum": [
+ "PreReleaseAccess"
+ ],
+ "x-ms-enum": {
+ "name": "requestTypes",
+ "modelAsString": true
+ }
+ },
+ "PreReleaseAccessRequestSpec": {
+ "type": "object",
+ "properties": {
+ "organizationName": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ },
+ "engagements": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "MVI",
+ "MVP",
+ "SUVP",
+ "MAPP",
+ "Other"
+ ],
+ "x-ms-enum": {
+ "name": "engagements",
+ "modelAsString": true
+ }
+ }
+ },
+ "streetAddress": {
+ "type": "string"
+ },
+ "city": {
+ "type": "string"
+ },
+ "stateOrProvince": {
+ "type": "string"
+ },
+ "zipCode": {
+ "type": "string"
+ },
+ "countryAndRegion": {
+ "type": "string"
+ },
+ "companyWebsite": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ActionRequestName": {
+ "name": "actionRequestName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "pattern": "^[A-Za-z0-9]([A-Za-z0-9_]|([-. ][A-Za-z0-9]))+$"
+ },
+ "RequestTypeFilter": {
+ "name": "requestType",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/chat.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/chat.json
new file mode 100644
index 000000000000..dcfe6aebd3e0
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/chat.json
@@ -0,0 +1,350 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Test Base",
+ "description": "Test Base",
+ "version": "2023-11-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/chatSessions": {
+ "get": {
+ "tags": [
+ "Chat"
+ ],
+ "operationId": "ChatSessions_List",
+ "description": "List all chat sessions",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The chat session was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/ChatSessionResourceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ChatSessionList": {
+ "$ref": "./examples/ChatSessionList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/chatSessions/{chatSessionName}": {
+ "get": {
+ "tags": [
+ "Chat"
+ ],
+ "operationId": "ChatSessions_Get",
+ "description": "Get a chat session",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ChatSessionNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The chat session.",
+ "schema": {
+ "$ref": "#/definitions/ChatSessionResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ChatSessionGet": {
+ "$ref": "./examples/ChatSessionGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/chatSessions/{chatSessionName}/chat": {
+ "post": {
+ "tags": [
+ "Chat"
+ ],
+ "operationId": "ChatSession_Chat",
+ "description": "Start a new chat turn. Ask a question and see the answer in response.",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ChatSessionNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ChatRequest"
+ },
+ "description": "Payload to ask a question."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The question was answered.",
+ "schema": {
+ "$ref": "#/definitions/ChatResponse"
+ }
+ },
+ "202": {
+ "description": "The chat operation was successfully enqueued. Waiting for the answer.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ChatSessionChat": {
+ "$ref": "./examples/ChatSessionChat.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ChatSessionResourceListResult": {
+ "description": "A list of chat session.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChatSessionResource"
+ },
+ "description": "The list of chat session."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "ChatSessionResource": {
+ "type": "object",
+ "description": "The chat session resource.",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ChatSessionProperties",
+ "description": "The properties of chat session."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "ChatSessionProperties": {
+ "type": "object",
+ "description": "The chat session properties.",
+ "properties": {
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "$ref": "./testbase.json#/definitions/ProvisioningState"
+ }
+ }
+ },
+ "ChatRequest": {
+ "type": "object",
+ "description": "The chat request payload.",
+ "properties": {
+ "question": {
+ "type": "string",
+ "description": "The question of the chat turn"
+ }
+ },
+ "required": [
+ "question"
+ ]
+ },
+ "ChatResponse": {
+ "type": "object",
+ "description": "The chat response payload.",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ChatResponseProperties",
+ "description": "The properties of chat response."
+ }
+ },
+ "required": [
+ "properties"
+ ]
+ },
+ "ChatResponseProperties": {
+ "type": "object",
+ "description": "The chat response properties.",
+ "properties": {
+ "question": {
+ "type": "string",
+ "description": "The question from the request"
+ },
+ "answer": {
+ "type": "string",
+ "description": "The answer from the system"
+ },
+ "citations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AnswerCitation"
+ },
+ "x-ms-identifiers": []
+ },
+ "usage": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The usage of questions within the chat session",
+ "readOnly": true
+ },
+ "limit": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The limit of questions within the chat session",
+ "readOnly": true
+ }
+ },
+ "required": [
+ "question",
+ "answer",
+ "usage",
+ "limit"
+ ]
+ },
+ "AnswerCitation": {
+ "type": "object",
+ "description": "The answer citation.",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "The title of the citation."
+ },
+ "url": {
+ "type": "string",
+ "description": "The url of the citation."
+ },
+ "chunkIndex": {
+ "type": "integer",
+ "description": "The chunk index of the content.",
+ "format": "int32"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ChatSessionNameParameter": {
+ "name": "chatSessionName",
+ "pattern": "^[A-Za-z0-9]([A-Za-z0-9_]|([-. ][A-Za-z0-9]))+$",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The chat session name."
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/credential.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/credential.json
new file mode 100644
index 000000000000..da70e6396116
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/credential.json
@@ -0,0 +1,380 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Test Base",
+ "description": "Use these REST APIs for Test Base Credential controls.",
+ "version": "2023-11-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/credentials": {
+ "get": {
+ "tags": [
+ "Test Base Credential"
+ ],
+ "operationId": "Credential_ListByTestBaseAccount",
+ "description": "Lists all the Credentials under a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/CredentialListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "CustomImagesList": {
+ "$ref": "./examples/CredentialsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/credentials/{credentialName}": {
+ "put": {
+ "tags": [
+ "Test Base Credential"
+ ],
+ "operationId": "Credentials_Create",
+ "description": "Creates or replaces a Test Base Credential.",
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CredentialResource"
+ },
+ "description": "Parameters supplied to create a Test Base Credential."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CredentialNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The test base credential was successfully created or updated.",
+ "schema": {
+ "$ref": "#/definitions/CredentialResource"
+ }
+ },
+ "201": {
+ "description": "Create a test base credential Resource.",
+ "schema": {
+ "$ref": "#/definitions/CredentialResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ImageDefinitionCreate": {
+ "$ref": "./examples/CredentialCreate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Test Base Credential"
+ ],
+ "operationId": "Credentials_Update",
+ "description": "Updates an existing test base credential.",
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CredentialResource"
+ },
+ "description": "Parameters supplied to create a test base credential."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CredentialNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get the test base credential.",
+ "schema": {
+ "$ref": "#/definitions/CredentialResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CredentialUpdate": {
+ "$ref": "./examples/CredentialUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Test Base Credential"
+ ],
+ "operationId": "Credentials_Delete",
+ "description": "Deletes an existing test base credential.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CredentialNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The test base credential was deleted successfully."
+ },
+ "204": {
+ "description": "The test base credential was deleted successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DraftPackageDelete": {
+ "$ref": "./examples/CredentialDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Test Base Credential"
+ ],
+ "operationId": "Credential_Get",
+ "description": "Gets a test base credential Resource",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CredentialNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get the test base Credential.",
+ "schema": {
+ "$ref": "#/definitions/CredentialResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CredentialGet": {
+ "$ref": "./examples/CredentialGet.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "CredentialListResult": {
+ "description": "A list of credential resources.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CredentialResource"
+ },
+ "description": "The list of credential resources."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "CredentialResource": {
+ "description": "The test base credential resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/CredentialProperties",
+ "x-ms-client-flatten": true,
+ "description": "The test base credential properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "CredentialProperties": {
+ "description": "The properties of test base credential",
+ "discriminator": "credentialType",
+ "type": "object",
+ "properties": {
+ "credentialType": {
+ "type": "string",
+ "description": "Credential type.",
+ "enum": [
+ "IntuneAccount"
+ ],
+ "x-ms-enum": {
+ "name": "CredentialType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "IntuneAccount",
+ "description": "Username password credential for intune enrollment."
+ }
+ ]
+ }
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Credential display name."
+ }
+ },
+ "required": [
+ "credentialType",
+ "displayName"
+ ]
+ },
+ "IntuneSingletonResourceProperties": {
+ "description": "The properties of intune credential.",
+ "type": "object",
+ "x-ms-discriminator-value": "IntuneAccount",
+ "properties": {
+ "userNameKeyVaultSecretPath": {
+ "type": "string",
+ "description": "The key vault secret path of user name."
+ },
+ "passwordKeyVaultSecretPath": {
+ "type": "string",
+ "description": "The key vault secret path of password."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/CredentialProperties"
+ }
+ ]
+ }
+ },
+ "parameters": {
+ "CredentialNameParameter": {
+ "name": "credentialName",
+ "pattern": "^[A-Za-z0-9]([A-Za-z0-9_]|([-. ][A-Za-z0-9]))+$",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The credential resource name."
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/customimage.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/customimage.json
new file mode 100644
index 000000000000..3cb001d89f1a
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/customimage.json
@@ -0,0 +1,1131 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Test Base",
+ "description": "Use these REST APIs for Test Base Custom Image controls.",
+ "version": "2023-11-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/customImages": {
+ "get": {
+ "tags": [
+ "Test Base Custom Image"
+ ],
+ "operationId": "CustomImages_ListByTestBaseAccount",
+ "description": "Lists all the custom images under a test base account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/CustomImageListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "CustomImagesList": {
+ "$ref": "./examples/CustomImagesList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/customImages/{customImageName}": {
+ "put": {
+ "tags": [
+ "Test Base Custom Image"
+ ],
+ "operationId": "CustomImages_Create",
+ "description": "Creates a test base custom image.",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CustomImageResource"
+ },
+ "description": "Parameters supplied to create a test base custom image."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CustomImageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The test base custom image was successfully created or updated.",
+ "schema": {
+ "$ref": "#/definitions/CustomImageResource"
+ }
+ },
+ "201": {
+ "description": "The test base custom image 'create' operation was successfully enqueued. Check provisioningState to track execution status.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/CustomImageResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CustomImageCreate": {
+ "$ref": "./examples/CustomImageCreate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Test Base Custom Image"
+ ],
+ "operationId": "CustomImages_Delete",
+ "description": "Deletes a test base custom image.",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CustomImageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The test base custom image 'delete' operation was successfully enqueued. Follow the Location header to poll for final outcome.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "The test base custom image was deleted successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CustomImageDelete": {
+ "$ref": "./examples/CustomImageDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Test Base Custom Image"
+ ],
+ "operationId": "CustomImages_Get",
+ "description": "Gets a test base custom image.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CustomImageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The test base custom image was successfully found.",
+ "schema": {
+ "$ref": "#/definitions/CustomImageResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CustomImageGet": {
+ "$ref": "./examples/CustomImageGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/checkImageNameAvailability": {
+ "post": {
+ "tags": [
+ "Test Base Custom Image"
+ ],
+ "operationId": "CustomImages_CheckImageNameAvailability",
+ "description": "Checks that the test vase custom image generated from VHD resource has valid and unique definition and version, return architecture and OS state of potential existing image definition.",
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ImageNameCheckAvailabilityParameters"
+ },
+ "description": "Parameters supplied to the test base custom image CheckAvailability operation."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Image definition and version is available.",
+ "schema": {
+ "$ref": "#/definitions/CheckImageAvailabilityResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CheckImageAvailability": {
+ "$ref": "./examples/CheckImageNameAvailability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/imageDefinitions": {
+ "get": {
+ "tags": [
+ "Test Base Image Definition // Reminder: Need renaming."
+ ],
+ "operationId": "ImageDefinitions_ListByTestBaseAccount",
+ "description": "List all image definition properties created by test base custom images which are derived from 'VHD' source.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get image definition existence and get detailed properties if applicable.",
+ "schema": {
+ "$ref": "#/definitions/ImageDefinitionsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ListImageDefinitions": {
+ "$ref": "./examples/ImageDefinitionsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/imageDefinitions/{imageDefinitionName}": {
+ "put": {
+ "tags": [
+ "Test Base Image Definition"
+ ],
+ "operationId": "ImageDefinitions_Create",
+ "description": "Create image definition for test base custom images which are derived from 'VHD' source.",
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ImageDefinitionResource"
+ },
+ "description": "Parameters supplied to create a test base image definition."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ImageDefinitionNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The test base image definition Resource has been successfully created or updated.",
+ "schema": {
+ "$ref": "#/definitions/ImageDefinitionResource"
+ }
+ },
+ "201": {
+ "description": "Create a test base image definition resource.",
+ "schema": {
+ "$ref": "#/definitions/ImageDefinitionResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ImageDefinitionCreate": {
+ "$ref": "./examples/ImageDefinitionCreate.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Test Base ImageDefinition"
+ ],
+ "operationId": "ImageDefinitions_Get",
+ "description": "Get image properties under the image definition name created by test base custom image which derived from 'VHD' source.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ImageDefinitionNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get the detailed properties of the image definition if applicable.",
+ "schema": {
+ "$ref": "#/definitions/ImageDefinitionResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ImageDefinitionGet": {
+ "$ref": "./examples/ImageDefinitionGet.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Test Base Image Definition"
+ ],
+ "operationId": "ImageDefinitions_Delete",
+ "description": "Delete a test base image definition resource.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ImageDefinitionNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The test base image definition was deleted successfully."
+ },
+ "204": {
+ "description": "The test base image definition was deleted successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ImageDefinitionDelete": {
+ "$ref": "./examples/ImageDefinitionDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/vhds": {
+ "get": {
+ "tags": [
+ "Test Base VHD"
+ ],
+ "operationId": "VHDs_ListByTestBaseAccount",
+ "description": "Lists all the VHDs under a test base account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/VHDListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "VHDsList": {
+ "$ref": "./examples/VHDsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/vhds/{vhdName}": {
+ "delete": {
+ "tags": [
+ "Test Base VHD"
+ ],
+ "operationId": "VHDs_Delete",
+ "description": "Deletes a Test Base VHD.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/VhdNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The test base VHD was deleted successfully."
+ },
+ "204": {
+ "description": "The test base VHD was deleted successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VHDDelete": {
+ "$ref": "./examples/VHDDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Test Base VHD"
+ ],
+ "operationId": "VHDs_Get",
+ "description": "Gets a Test Base VHD.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/VhdNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Test Base VHD was successfully found.",
+ "schema": {
+ "$ref": "#/definitions/VHDResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VHDGet": {
+ "$ref": "./examples/VHDGet.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "CustomImageListResult": {
+ "description": "A list of Test Base custom images.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CustomImageResource"
+ },
+ "description": "The list of Test Base custom images."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "CustomImageResource": {
+ "description": "The test base custom image resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/CustomImageProperties",
+ "x-ms-client-flatten": true,
+ "description": "Test Base custom image properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "CustomImageProperties": {
+ "description": "The properties of the test base custom image.",
+ "type": "object",
+ "properties": {
+ "vhdId": {
+ "type": "string",
+ "description": "The Id of the associated VHD resource."
+ },
+ "definitionName": {
+ "type": "string",
+ "description": "Image definition name."
+ },
+ "versionName": {
+ "type": "string",
+ "description": "Image version name."
+ },
+ "source": {
+ "type": "string",
+ "description": "Custom image source type.",
+ "default": "VHD",
+ "enum": [
+ "Unknown",
+ "VHD"
+ ],
+ "x-ms-enum": {
+ "name": "ImageSource",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Unknown image source type."
+ },
+ {
+ "value": "VHD",
+ "description": "Specify image onboarding through VHD."
+ }
+ ]
+ }
+ },
+ "product": {
+ "type": "string",
+ "description": "Product of the custom image.",
+ "readOnly": true
+ },
+ "release": {
+ "type": "string",
+ "description": "Release of the custom image OS.",
+ "readOnly": true
+ },
+ "status": {
+ "type": "string",
+ "description": "Status of the custom image.",
+ "readOnly": true,
+ "enum": [
+ "Unknown",
+ "Ready",
+ "Failed",
+ "Validating"
+ ],
+ "x-ms-enum": {
+ "name": "ImageStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Unknown image status."
+ },
+ {
+ "value": "Ready",
+ "description": "Completed validation and is ready for use."
+ },
+ {
+ "value": "Failed",
+ "description": "Failed to onboard or pass validation."
+ },
+ {
+ "value": "Validating",
+ "description": "Succeed to onboard but is in validation process."
+ }
+ ]
+ }
+ },
+ "creationTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The UTC timestamp when the custom image was published.",
+ "readOnly": true
+ },
+ "validationResults": {
+ "$ref": "#/definitions/ImageValidationResults",
+ "description": "The validation result of the custom image.",
+ "readOnly": true
+ },
+ "osDiskImageSizeInGB": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "This property indicates the size of the VHD to be created."
+ },
+ "releaseVersionDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The release version date of the release of the custom image OS.",
+ "readOnly": true
+ },
+ "vhdFileName": {
+ "type": "string",
+ "description": "The file name of the associated VHD resource.",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "$ref": "./testbase.json#/definitions/ProvisioningState"
+ }
+ },
+ "required": [
+ "definitionName",
+ "versionName",
+ "source"
+ ]
+ },
+ "ImageDefinitionListResult": {
+ "description": "A list of test base image definitions.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ImageDefinitionResource"
+ },
+ "description": "The list of test base image definitions."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "ImageDefinitionResource": {
+ "description": "The test base image definition resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ImageDefinitionProperties",
+ "x-ms-client-flatten": true,
+ "description": "Test Base custom image properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "ImageDefinitionProperties": {
+ "description": "The image properties under the image definition name.",
+ "type": "object",
+ "properties": {
+ "architecture": {
+ "description": "Custom image architecture.",
+ "type": "string",
+ "enum": [
+ "x64"
+ ],
+ "x-ms-enum": {
+ "name": "ImageArchitecture",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "x64",
+ "description": "64-bit architecture."
+ }
+ ]
+ }
+ },
+ "osState": {
+ "description": "Custom image OS state.",
+ "type": "string",
+ "enum": [
+ "Generalized",
+ "Specialized"
+ ],
+ "x-ms-enum": {
+ "name": "ImageOSState",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Generalized",
+ "description": "Sysprep generalization processed."
+ },
+ {
+ "value": "Specialized",
+ "description": "Fully kept with user specified settings."
+ }
+ ]
+ }
+ },
+ "securityType": {
+ "description": "Custom image security type.",
+ "type": "string",
+ "enum": [
+ "Standard",
+ "TrustedLaunch"
+ ],
+ "x-ms-enum": {
+ "name": "ImageSecurityType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard",
+ "description": "Standard security type."
+ },
+ {
+ "value": "TrustedLaunch",
+ "description": "Specify higher security level compared to Standard."
+ }
+ ]
+ }
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "required": [
+ "architecture",
+ "osState",
+ "securityType"
+ ]
+ },
+ "ImageValidationResults": {
+ "description": "The image validation result.",
+ "type": "object",
+ "properties": {
+ "results": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VerificationResult"
+ },
+ "x-ms-identifiers": [],
+ "description": "The validation results of the image."
+ }
+ }
+ },
+ "VerificationResult": {
+ "description": "The detailed result of a validation or rule checking.",
+ "type": "object",
+ "properties": {
+ "verificationName": {
+ "type": "string",
+ "description": "The name of the verification rule."
+ },
+ "result": {
+ "type": "string",
+ "enum": [
+ "Passed",
+ "Failed"
+ ],
+ "description": "Indicates if the validation or rule checking is passed.",
+ "x-ms-enum": {
+ "name": "VerificationStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Passed",
+ "description": "Validation or rule checking passed."
+ },
+ {
+ "value": "Failed",
+ "description": "Validation or rule checking failed."
+ }
+ ]
+ }
+ },
+ "message": {
+ "type": "string",
+ "description": "Message for clarification."
+ }
+ },
+ "required": [
+ "result"
+ ]
+ },
+ "ImageNameCheckAvailabilityParameters": {
+ "description": "Parameter body to request test base custom image availability.",
+ "type": "object",
+ "properties": {
+ "definitionName": {
+ "type": "string",
+ "description": "Image definition name."
+ },
+ "versionName": {
+ "type": "string",
+ "description": "Image version name."
+ }
+ },
+ "required": [
+ "definitionName",
+ "versionName"
+ ]
+ },
+ "CheckImageAvailabilityResult": {
+ "$ref": "#/definitions/VerificationResult",
+ "description": "The image availability result."
+ },
+ "GetImageDefinitionParameters": {
+ "description": "Parameters supplied to get the test base custom image Definition operation.",
+ "type": "object",
+ "properties": {
+ "definitionName": {
+ "type": "string",
+ "description": "Image definition name."
+ }
+ }
+ },
+ "ImageDefinitionsListResult": {
+ "description": "The result of all available image definition under a test base account.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ImageDefinitionResource"
+ },
+ "description": "The list of image definitions."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "VHDListResult": {
+ "description": "A list of VHD resource.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VHDResource"
+ },
+ "description": "The list of Test Base VHDs."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "VHDResource": {
+ "description": "The Test Base VHD resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/VHDProperties",
+ "x-ms-client-flatten": true,
+ "description": "The Test Base VHD validation result properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "VHDProperties": {
+ "description": "The Test Base VHD properties",
+ "type": "object",
+ "properties": {
+ "path": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The relative path of the VHD file."
+ },
+ "fileName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The VHD file name."
+ },
+ "fileSize": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The file size in bytes of the VHD file."
+ },
+ "status": {
+ "type": "string",
+ "description": "The status of the VHD.",
+ "readOnly": true,
+ "enum": [
+ "Unknown",
+ "Ready",
+ "Failed",
+ "Verifying",
+ "Occupied"
+ ],
+ "x-ms-enum": {
+ "name": "VHDStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Unknown VHD status."
+ },
+ {
+ "value": "Ready",
+ "description": "Succeed to be upload and pass VHD verification."
+ },
+ {
+ "value": "Failed",
+ "description": "Failed to pass VHD verification."
+ },
+ {
+ "value": "Verifying",
+ "description": "Processing VHD file checking and malware scanning."
+ },
+ {
+ "value": "Occupied",
+ "description": "An image is onboarding with this VHD."
+ }
+ ]
+ }
+ },
+ "creationTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The UTC timestamp when the VHD was created.",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ }
+ },
+ "parameters": {
+ "CustomImageNameParameter": {
+ "name": "customImageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The resource name of the test base custom image.",
+ "pattern": "^[A-Za-z0-9]([A-Za-z0-9_]|([-. ][A-Za-z0-9]))+$"
+ },
+ "ImageDefinitionNameParameter": {
+ "name": "imageDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The resource name of the test base image definition.",
+ "pattern": "^[A-Za-z0-9]([A-Za-z0-9_]|([-. ][A-Za-z0-9]))+$"
+ },
+ "VhdNameParameter": {
+ "name": "vhdName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The resource name of the Test Base VHD.",
+ "pattern": "^[a-zA-Z0-9_.-]+$"
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/draftpackage.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/draftpackage.json
new file mode 100644
index 000000000000..6b41a85adb95
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/draftpackage.json
@@ -0,0 +1,1142 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Test Base",
+ "description": "Use these REST APIs for performing operations on Test Base Draft Packages, which are used to facilitate the creation and update of Test Base Package.",
+ "version": "2023-11-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/draftPackages": {
+ "get": {
+ "tags": [
+ "Test Base Draft Package"
+ ],
+ "operationId": "DraftPackages_ListByTestBaseAccount",
+ "description": "Lists all the draft packages under a test base account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameQueryParameter"
+ },
+ {
+ "$ref": "#/parameters/DraftPackageEditPackageParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/DraftPackageListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "DraftPackagesList": {
+ "$ref": "./examples/DraftPackagesList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/draftPackages/{draftPackageName}": {
+ "put": {
+ "tags": [
+ "Test Base Draft Package"
+ ],
+ "operationId": "DraftPackages_Create",
+ "description": "Creates or replaces a Test Base Draft Package.",
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DraftPackageResource"
+ },
+ "description": "Parameters supplied to create a Test Base Draft Package."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DraftPackageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Test Base Draft Package was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/DraftPackageResource"
+ }
+ },
+ "201": {
+ "description": "The Test Base Draft Package was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/DraftPackageResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DraftPackageCreate": {
+ "$ref": "./examples/DraftPackageCreate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Test Base Draft Package"
+ ],
+ "operationId": "DraftPackages_Update",
+ "description": "Updates an existing Test Base Draft Package.",
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DraftPackageUpdateParameters"
+ },
+ "description": "Parameters supplied to update a Test Base Draft Package."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DraftPackageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The existing Test Base Draft Package was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/DraftPackageResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DraftPackageUpdate": {
+ "$ref": "./examples/DraftPackageUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Test Base Draft Package"
+ ],
+ "operationId": "DraftPackages_Delete",
+ "description": "Deletes a Test Base Draft Package.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DraftPackageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Test Base Draft Package 'delete' operation was completed successfully."
+ },
+ "204": {
+ "description": "The Test Base Draft Package 'delete' operation was completed successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DraftPackageDelete": {
+ "$ref": "./examples/DraftPackageDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Test Base Draft Package"
+ ],
+ "operationId": "DraftPackages_Get",
+ "description": "Gets a Test Base Draft Package.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DraftPackageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Test Base Draft Package was successfully found.",
+ "schema": {
+ "$ref": "#/definitions/DraftPackageResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DraftPackageGet": {
+ "$ref": "./examples/DraftPackageGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/draftPackages/{draftPackageName}/getPath": {
+ "post": {
+ "tags": [
+ "Test Base Draft Package"
+ ],
+ "operationId": "DraftPackages_GetPath",
+ "description": "Gets draft package path and temp working path with SAS.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DraftPackageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The paths with access token is returned.",
+ "schema": {
+ "$ref": "#/definitions/DraftPackageGetPathResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DraftPackageGetPath": {
+ "$ref": "./examples/DraftPackageGetPath.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/draftPackages/{draftPackageName}/copyFromPackage": {
+ "post": {
+ "tags": [
+ "Test Base Draft Package"
+ ],
+ "operationId": "DraftPackages_CopyFromPackage",
+ "description": "Copy package file and metadata from a package to this draft package",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DraftPackageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CopyFromPackageOperationParameters"
+ },
+ "description": "Parameters supplied to the Test Base Draft Package CopyFromPackage operation."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The operation was accepted. Follow the Location header to poll for final outcome.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DraftPackageCopyFromPackage": {
+ "$ref": "./examples/DraftPackageCopyFromPackage.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/draftPackages/{draftPackageName}/extractFile": {
+ "post": {
+ "tags": [
+ "Test Base Draft Package"
+ ],
+ "operationId": "DraftPackages_ExtractFile",
+ "description": "Performs extracting file operation for a Test Base Draft Package",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DraftPackageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ExtractFileOperationParameters"
+ },
+ "description": "Parameters supplied to the Test Base Draft Package ExtractFile operation."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The 'ExtractFile' operation of Draft Package was accepted. Follow the Location header to poll for final outcome.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DraftPackageExtractFile": {
+ "$ref": "./examples/DraftPackageExtractFile.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/draftPackages/{draftPackageName}/generateFoldersAndScripts": {
+ "post": {
+ "tags": [
+ "Test Base Draft Package"
+ ],
+ "operationId": "DraftPackages_GenerateFoldersAndScripts",
+ "description": "Generates folders and scripts",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./testbase.json#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DraftPackageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GenerateOperationParameters"
+ },
+ "description": "Parameters supplied to the Test Base Draft Package Generate operation."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The 'Generate' operation of Draft Package was accepted. Follow the Location header to poll for final outcome.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DraftPackageGenerate": {
+ "$ref": "./examples/DraftPackageGenerateFoldersAndScripts.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "DraftPackageListResult": {
+ "description": "A list of Test Base Draft Packages.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DraftPackageResource"
+ },
+ "description": "The list of Test Base Draft Packages."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "DraftPackageResource": {
+ "description": "The Test Base Draft Package resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/DraftPackageProperties",
+ "x-ms-client-flatten": true,
+ "description": "Test Base Draft Package properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "DraftPackageProperties": {
+ "description": "The properties of the Test Base Draft Package.",
+ "type": "object",
+ "properties": {
+ "applicationName": {
+ "type": "string",
+ "description": "Application name"
+ },
+ "version": {
+ "type": "string",
+ "description": "Application version"
+ },
+ "draftPackagePath": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The relative path of the folder hosting package files."
+ },
+ "workingPath": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The relative path for a temporarily folder for package creation work."
+ },
+ "appFileName": {
+ "type": "string",
+ "description": "The name of the app file."
+ },
+ "sourceType": {
+ "$ref": "#/definitions/DraftPackageSourceType",
+ "description": "The source type.",
+ "default": "Native"
+ },
+ "useSample": {
+ "type": "boolean",
+ "description": "Specifies whether a sample package should be used instead of the one uploaded by the user."
+ },
+ "comments": {
+ "type": "string",
+ "description": "Comments added by user."
+ },
+ "intuneMetadata": {
+ "type": "object",
+ "$ref": "#/definitions/DraftPackageIntuneAppMetadata",
+ "description": "Metadata used to generate draft package folder and scripts."
+ },
+ "highlightedFiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/HighlightedFile"
+ },
+ "x-ms-identifiers": [],
+ "description": "The highlight files in the package."
+ },
+ "packageTags": {
+ "description": "Tags of the package to be created.",
+ "$ref": "./testbase.json#/definitions/Tags"
+ },
+ "editPackage": {
+ "type": "boolean",
+ "description": "Specifies whether this draft package is used to edit a package.",
+ "default": false
+ },
+ "packageId": {
+ "type": "string",
+ "description": "Specifies the package id from which the draft package copied."
+ },
+ "useAutofill": {
+ "type": "boolean",
+ "description": "Indicates whether user choose to enable script auto-fill."
+ },
+ "executableLaunchCommand": {
+ "type": "string",
+ "description": "The executable launch command for script auto-fill. Will be used to run the application."
+ },
+ "processName": {
+ "type": "string",
+ "description": "The process name for script auto-fill. Will be used to identify the application process."
+ },
+ "tabState": {
+ "type": "object",
+ "$ref": "#/definitions/TabState",
+ "description": "Tab state."
+ },
+ "testTypes": {
+ "type": "array",
+ "items": {
+ "$ref": "./testbase.json#/definitions/TestType"
+ },
+ "description": "OOB, functional or flow driven. Mapped to the data in 'tests' property."
+ },
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "$ref": "./testbase.json#/definitions/ProvisioningState"
+ },
+ "targetOSList": {
+ "type": "array",
+ "items": {
+ "$ref": "./testbase.json#/definitions/TargetOSInfo"
+ },
+ "x-ms-identifiers": [],
+ "description": "Specifies the target OSs of specific OS Update types."
+ },
+ "inplaceUpgradeOSPair": {
+ "$ref": "./testbase.json#/definitions/InplaceUpgradeOSInfo",
+ "description": "Specifies the baseline os and target os for inplace upgrade."
+ },
+ "lastModifiedTime": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The UTC timestamp when the package was last modified."
+ },
+ "flightingRing": {
+ "type": "string",
+ "description": "The flighting ring for feature update."
+ },
+ "firstPartyApps": {
+ "description": "The list of first party applications to test along with user application.",
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "./testbase.json#/definitions/FirstPartyAppDefinition"
+ }
+ },
+ "galleryApps": {
+ "description": "The list of gallery apps to test along with user application.",
+ "type": "array",
+ "x-ms-identifiers": [
+ "skuId"
+ ],
+ "items": {
+ "$ref": "./testbase.json#/definitions/GalleryAppDefinition"
+ }
+ },
+ "tests": {
+ "type": "array",
+ "items": {
+ "$ref": "./testbase.json#/definitions/Test"
+ },
+ "x-ms-identifiers": [],
+ "description": "The detailed test information."
+ },
+ "intuneEnrollmentMetadata": {
+ "description": "The metadata of Intune enrollment.",
+ "$ref": "./testbase.json#/definitions/IntuneEnrollmentMetadata"
+ }
+ }
+ },
+ "DraftPackageUpdateParameters": {
+ "description": "Parameters supplied to update a Test Base Draft Package.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/DraftPackageUpdateParameterProperties",
+ "x-ms-client-flatten": true,
+ "description": "Test Base Draft Package update parameters."
+ }
+ }
+ },
+ "DraftPackageUpdateParameterProperties": {
+ "description": "The properties of draft package update parameters.",
+ "type": "object",
+ "properties": {
+ "applicationName": {
+ "type": "string",
+ "description": "Application name"
+ },
+ "version": {
+ "type": "string",
+ "description": "Application version"
+ },
+ "appFileName": {
+ "type": "string",
+ "description": "The name of the app file."
+ },
+ "sourceType": {
+ "$ref": "#/definitions/DraftPackageSourceType",
+ "description": "The source type.",
+ "default": "Native"
+ },
+ "useSample": {
+ "type": "boolean",
+ "description": "Specifies whether a sample package should be used instead of the one uploaded by the user."
+ },
+ "comments": {
+ "type": "string",
+ "description": "Comments added by user."
+ },
+ "intuneMetadata": {
+ "type": "object",
+ "$ref": "#/definitions/DraftPackageIntuneAppMetadata",
+ "description": "Metadata used to generate draft package folder and scripts."
+ },
+ "highlightedFiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/HighlightedFile"
+ },
+ "x-ms-identifiers": [],
+ "description": "The highlight files in the package."
+ },
+ "packageTags": {
+ "description": "Tags of the package to be created.",
+ "$ref": "./testbase.json#/definitions/Tags"
+ },
+ "packageId": {
+ "type": "string",
+ "description": "Specifies the package id from which the draft package copied."
+ },
+ "useAutofill": {
+ "type": "boolean",
+ "description": "Indicates whether user choose to enable script auto-fill."
+ },
+ "executableLaunchCommand": {
+ "type": "string",
+ "description": "The executable launch command for script auto-fill. Will be used to run the application."
+ },
+ "processName": {
+ "type": "string",
+ "description": "The process name for script auto-fill. Will be used to identify the application process."
+ },
+ "tabState": {
+ "type": "object",
+ "$ref": "#/definitions/TabState",
+ "description": "Tab state."
+ },
+ "testTypes": {
+ "type": "array",
+ "items": {
+ "$ref": "./testbase.json#/definitions/TestType"
+ },
+ "description": "OOB, functional or flow driven. Mapped to the data in 'tests' property."
+ },
+ "targetOSList": {
+ "type": "array",
+ "items": {
+ "$ref": "./testbase.json#/definitions/TargetOSInfo"
+ },
+ "x-ms-identifiers": [],
+ "description": "Specifies the target OSs of specific OS Update types."
+ },
+ "inplaceUpgradeOSPair": {
+ "$ref": "./testbase.json#/definitions/InplaceUpgradeOSInfo",
+ "description": "Specifies the baseline os and target os for in-place upgrade."
+ },
+ "flightingRing": {
+ "type": "string",
+ "description": "The flighting ring for feature update."
+ },
+ "firstPartyApps": {
+ "description": "Specifies the list of first party applications to test along with user application.",
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "./testbase.json#/definitions/FirstPartyAppDefinition"
+ }
+ },
+ "galleryApps": {
+ "description": "The list of gallery apps to test along with user application.",
+ "type": "array",
+ "items": {
+ "$ref": "./testbase.json#/definitions/GalleryAppDefinition"
+ },
+ "x-ms-identifiers": [
+ "skuId"
+ ]
+ },
+ "tests": {
+ "type": "array",
+ "items": {
+ "$ref": "./testbase.json#/definitions/Test"
+ },
+ "x-ms-identifiers": [],
+ "description": "The detailed test information."
+ },
+ "intuneEnrollmentMetadata": {
+ "description": "The metadata of Intune enrollment.",
+ "$ref": "./testbase.json#/definitions/IntuneEnrollmentMetadata"
+ }
+ }
+ },
+ "DraftPackageSourceType": {
+ "type": "string",
+ "description": "The source type.",
+ "enum": [
+ "Native",
+ "IntuneWin",
+ "TestBasePackage",
+ "GalleryApp",
+ "IntuneEnrollment"
+ ],
+ "x-ms-enum": {
+ "name": "draftPackageSourceType",
+ "modelAsString": true
+ }
+ },
+ "DraftPackageIntuneAppMetadata": {
+ "description": "The metadata of Intune app(s) used for generation.",
+ "type": "object",
+ "properties": {
+ "intuneApp": {
+ "description": "The Metadata of the Intune App through intunewin file uploading.",
+ "$ref": "#/definitions/DraftPackageIntuneAppMetadataItem"
+ },
+ "intuneAppDependencies": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DraftPackageIntuneAppMetadataItem"
+ },
+ "x-ms-identifiers": [],
+ "description": "The Metadata of dependencies of the Intune App through intunewin file uploading."
+ }
+ }
+ },
+ "DraftPackageIntuneAppMetadataItem": {
+ "description": "The Metadata of a single Intune App.",
+ "type": "object",
+ "properties": {
+ "appName": {
+ "type": "string",
+ "description": "Intune app name."
+ },
+ "version": {
+ "type": "string",
+ "description": "Intune app version."
+ },
+ "appId": {
+ "type": "string",
+ "description": "Intune app id."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "Publisher of the app."
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the app."
+ },
+ "owner": {
+ "type": "string",
+ "description": "Owner of the app."
+ },
+ "createDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Creation date of the app."
+ },
+ "dependentAppCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Count of dependency apps."
+ },
+ "installCommand": {
+ "type": "string",
+ "description": "Install command."
+ },
+ "uninstallCommand": {
+ "type": "string",
+ "description": "Uninstall command."
+ },
+ "lastProcessed": {
+ "type": "integer",
+ "format": "int64",
+ "description": "last processed time tickets."
+ },
+ "dependencyIds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Ids of dependency apps."
+ },
+ "setupFile": {
+ "type": "string",
+ "description": "Setup file path."
+ },
+ "minimumSupportedOS": {
+ "type": "string",
+ "description": "Minimum supported OS. The OS version must be greater than this version to run this app."
+ },
+ "status": {
+ "enum": [
+ "Ready",
+ "Uploading",
+ "UploadFailed",
+ "ExtractFailed",
+ "NoDependencyApp"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "intuneExtractStatus",
+ "modelAsString": true
+ },
+ "description": "Extract status."
+ },
+ "expectedExitCodes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Expected exit codes returned from Intune App."
+ }
+ }
+ },
+ "HighlightedFile": {
+ "description": "The information of a highlighted file that user should pay attention to.",
+ "type": "object",
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "The path of the highlighted file."
+ },
+ "visited": {
+ "type": "boolean",
+ "description": "A flag to save whether this file is viewed by user.",
+ "default": false
+ },
+ "sections": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The name of sections to highlight."
+ }
+ },
+ "required": [
+ "path"
+ ]
+ },
+ "Tabs": {
+ "description": "Specifies the tabs when creating / cloning / editing a package.",
+ "type": "string",
+ "enum": [
+ "Unspecified",
+ "BasicsTab",
+ "ConfigureTestTab",
+ "EditPackageTab",
+ "TestMatrixTab",
+ "TagsTab",
+ "ReviewAndCreateTab"
+ ],
+ "x-ms-enum": {
+ "name": "packageStudioTabs",
+ "modelAsString": true
+ }
+ },
+ "TabState": {
+ "description": "Specifies current state of tabs.",
+ "type": "object",
+ "properties": {
+ "currentTab": {
+ "description": "Current tab.",
+ "$ref": "#/definitions/Tabs"
+ },
+ "visitedTabs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Tabs"
+ },
+ "description": "visited tabs."
+ }
+ }
+ },
+ "DraftPackageGetPathResponse": {
+ "description": "The response of getting a download URL.",
+ "type": "object",
+ "properties": {
+ "baseUrl": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The base URL of the storage account."
+ },
+ "draftPackagePath": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The relative path of the folder hosting package files."
+ },
+ "workingPath": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The relative path for a temporary folder for package creation work."
+ },
+ "sasToken": {
+ "type": "string",
+ "readOnly": true,
+ "x-ms-secret": true,
+ "description": "A SAS token for the storage account to access workspace."
+ },
+ "expirationTime": {
+ "type": "string",
+ "readOnly": true,
+ "format": "date-time",
+ "description": "Expiry date of the SAS token."
+ }
+ }
+ },
+ "ExtractFileOperationParameters": {
+ "description": "Parameters body to pass to extract file operation of Draft Package.",
+ "type": "object",
+ "properties": {
+ "fileType": {
+ "$ref": "#/definitions/ExtractFileType",
+ "description": "The type of file to extract.",
+ "default": "IntuneWinPackage"
+ },
+ "sourceFile": {
+ "description": "Relative path of the file to be extracted, the path must under working path of this draft package.",
+ "type": "string"
+ },
+ "intuneAppId": {
+ "description": "Intune application id.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "sourceFile"
+ ]
+ },
+ "ExtractFileType": {
+ "type": "string",
+ "description": "The type of file to extract.",
+ "enum": [
+ "TestBasePackage",
+ "IntuneWinPackage"
+ ],
+ "x-ms-enum": {
+ "name": "extractFileType",
+ "modelAsString": true
+ }
+ },
+ "GenerateOperationParameters": {
+ "description": "Parameters body to pass to generate operation of Draft Package.",
+ "type": "object",
+ "properties": {
+ "forceGenerate": {
+ "type": "boolean",
+ "description": "Force to generate package files even if no metadata changed.",
+ "default": false
+ }
+ }
+ },
+ "CopyFromPackageOperationParameters": {
+ "description": "Parameters body to pass to copy-from-package operation of Draft Package.",
+ "type": "object",
+ "properties": {
+ "packageId": {
+ "description": "The id of the package to copy from.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "packageId"
+ ]
+ }
+ },
+ "parameters": {
+ "DraftPackageNameParameter": {
+ "name": "draftPackageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The resource name of the Test Base Draft Package.",
+ "pattern": "^[A-Za-z0-9]([A-Za-z0-9_]|([-. ][A-Za-z0-9]))+$"
+ },
+ "PackageNameQueryParameter": {
+ "name": "packageName",
+ "in": "query",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Parameter used to filter draft packages by linked Test Base Package."
+ },
+ "DraftPackageEditPackageParameter": {
+ "name": "editPackage",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "x-ms-parameter-location": "method",
+ "description": "Parameter used to filter draft packages by editPackage property."
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ActionRequestDelete.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ActionRequestDelete.json
new file mode 100644
index 000000000000..b76cccd09ec0
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ActionRequestDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "actionRequestName": "167184141414254",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ActionRequestGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ActionRequestGet.json
new file mode 100644
index 000000000000..b22d69e2c8b8
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ActionRequestGet.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "actionRequestName": "167184141414254",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "167184141414254",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/actionRequests/167184141414254",
+ "type": "Microsoft.TestBase/testBaseAccounts/actionRequests",
+ "properties": {
+ "requestType": "PreReleaseAccess",
+ "preReleaseAccessRequestSpec": {
+ "organizationName": "example-org-name",
+ "email": "example@example.com",
+ "engagements": [
+ "MVI"
+ ],
+ "streetAddress": "example",
+ "city": "example",
+ "stateOrProvince": "example",
+ "zipCode": "example",
+ "countryAndRegion": "example",
+ "companyWebsite": "example.com"
+ },
+ "creationDate": "2022-12-24T06:52:16.820Z",
+ "status": "InReview"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ActionRequestList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ActionRequestList.json
new file mode 100644
index 000000000000..8b7ce3fd627c
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ActionRequestList.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "167184141414254",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/actionRequests/167184141414254",
+ "type": "Microsoft.TestBase/testBaseAccounts/actionRequests",
+ "properties": {
+ "requestType": "PreReleaseAccess",
+ "preReleaseAccessRequestSpec": {
+ "organizationName": "example-org-name",
+ "email": "example@example.com",
+ "engagements": [
+ "MVI"
+ ],
+ "streetAddress": "example",
+ "city": "example",
+ "stateOrProvince": "example",
+ "zipCode": "example",
+ "countryAndRegion": "example",
+ "companyWebsite": "example.com"
+ },
+ "creationDate": "2022-12-24T06:52:16.820Z",
+ "status": "InReview"
+ }
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ActionRequestPut.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ActionRequestPut.json
new file mode 100644
index 000000000000..ab5b37402ea2
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ActionRequestPut.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "actionRequestName": "167184141414254",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "167184141414254",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/actionRequests/167184141414254",
+ "type": "Microsoft.TestBase/testBaseAccounts/actionRequests",
+ "properties": {
+ "requestType": "PreReleaseAccess",
+ "preReleaseAccessRequestSpec": {
+ "organizationName": "example-org-name",
+ "email": "example@example.com",
+ "engagements": [
+ "MVI"
+ ],
+ "streetAddress": "example",
+ "city": "example",
+ "stateOrProvince": "example",
+ "zipCode": "example",
+ "countryAndRegion": "example",
+ "companyWebsite": "example.com"
+ },
+ "creationDate": "2022-12-24T06:52:16.820Z",
+ "status": "InReview"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "167184141414254",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/actionRequests/167184141414254",
+ "type": "Microsoft.TestBase/testBaseAccounts/actionRequests",
+ "properties": {
+ "requestType": "PreReleaseAccess",
+ "preReleaseAccessRequestSpec": {
+ "organizationName": "example-org-name",
+ "email": "example@example.com",
+ "engagements": [
+ "MVI"
+ ],
+ "streetAddress": "example",
+ "city": "example",
+ "stateOrProvince": "example",
+ "zipCode": "example",
+ "countryAndRegion": "example",
+ "companyWebsite": "example.com"
+ },
+ "creationDate": "2022-12-24T06:52:16.820Z",
+ "status": "InReview"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/AvailableInplaceUpgradeOSGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/AvailableInplaceUpgradeOSGet.json
new file mode 100644
index 000000000000..420128e574a2
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/AvailableInplaceUpgradeOSGet.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "availableInplaceUpgradeOSResourceName": "Windows-10-1903",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "Windows-10-1903",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/availableInplaceUpgradeOSs/Windows-10-1903",
+ "type": "Microsoft.TestBase/testBaseAccounts/availableInplaceUpgradeOSs",
+ "properties": {
+ "sourceOsName": "Windows 10 1903",
+ "sourceOsReleases": [
+ {
+ "releaseName": "2020.05 B",
+ "buildNumber": "18362",
+ "buildRevision": "830"
+ }
+ ],
+ "supportedTargetOsNameList": [
+ "Windows 10 21H2",
+ "Windows 11 SV2"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/AvailableInplaceUpgradeOSList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/AvailableInplaceUpgradeOSList.json
new file mode 100644
index 000000000000..ee7a3fcee73d
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/AvailableInplaceUpgradeOSList.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Windows-10-1903",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/availableInplaceUpgradeOSs/Windows-10-1903",
+ "type": "Microsoft.TestBase/testBaseAccounts/availableInplaceUpgradeOSs",
+ "properties": {
+ "sourceOsName": "Windows 10 1903",
+ "sourceOsReleases": [
+ {
+ "releaseName": "2020.05 B",
+ "buildNumber": "18362",
+ "buildRevision": "830"
+ }
+ ],
+ "supportedTargetOsNameList": [
+ "Windows 10 21H2",
+ "Windows 11 SV2"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/AvailableOSGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/AvailableOSGet.json
new file mode 100644
index 000000000000..30f656d43c7d
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/AvailableOSGet.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "availableOSResourceName": "Windows-10-2004",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "Windows-10-2004",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/availableOSs/Windows-10-2004",
+ "type": "Microsoft.TestBase/testBaseAccounts/availableOSs",
+ "properties": {
+ "osId": "Windows 10 2004",
+ "osName": "Windows 10 2004",
+ "osVersion": "Windows 10",
+ "insiderChannel": "Channel 1",
+ "osUpdateType": "Feature update",
+ "osPlatform": "Client"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/AvailableOSsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/AvailableOSsList.json
new file mode 100644
index 000000000000..ea6897a81b28
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/AvailableOSsList.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "osUpdateType": "SecurityUpdate",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Windows-10-2004",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/availableOSs/Windows-10-2004",
+ "type": "Microsoft.TestBase/testBaseAccounts/availableOSs",
+ "properties": {
+ "osId": "Windows 10 2004",
+ "osName": "Windows 10 2004",
+ "osVersion": "Windows 10",
+ "insiderChannel": "Channel 1",
+ "osUpdateType": "Feature update",
+ "osPlatform": "Client"
+ }
+ },
+ {
+ "name": "Windows-10-1909",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/availableOSs/Windows-10-1909",
+ "type": "Microsoft.TestBase/testBaseAccounts/availableOSs",
+ "properties": {
+ "osId": "Windows 10 1909",
+ "osName": "Windows 10 1909",
+ "osVersion": "Windows 10",
+ "osUpdateType": "Security update",
+ "osPlatform": "Client"
+ }
+ },
+ {
+ "name": "Windows-10-1903",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/availableOSs/Windows-10-1903",
+ "type": "Microsoft.TestBase/testBaseAccounts/availableOSs",
+ "properties": {
+ "osId": "Windows 10 1903",
+ "osName": "Windows 10 1903",
+ "osVersion": "Windows 10",
+ "osUpdateType": "Security update",
+ "osPlatform": "Client"
+ }
+ },
+ {
+ "name": "Windows-10-1809",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/availableOSs/Windows-10-1809",
+ "type": "Microsoft.TestBase/testBaseAccounts/availableOSs",
+ "properties": {
+ "osId": "Windows 10 1809",
+ "osName": "Windows 10 1809",
+ "osVersion": "Windows 10",
+ "insiderChannel": "Channel 3",
+ "osUpdateType": "Feature update",
+ "osPlatform": "Client"
+ }
+ },
+ {
+ "name": "Windows-Server-2016",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/availableOSs/Windows-Server-2016",
+ "type": "Microsoft.TestBase/testBaseAccounts/availableOSs",
+ "properties": {
+ "osId": "Windows Server 2016",
+ "osName": "Windows Server 2016",
+ "osVersion": "Windows Server 2016",
+ "osUpdateType": "Security update",
+ "osPlatform": "Server"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/BillingHubGetFreeHourBalance.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/BillingHubGetFreeHourBalance.json
new file mode 100644
index 000000000000..9fd8fc92db3c
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/BillingHubGetFreeHourBalance.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "totalRemainingFreeHours": 200,
+ "incrementEntries": [
+ {
+ "freeHourType": "Temporary",
+ "freeHourStatus": "Enabled",
+ "createTimeStamp": "2022-03-12T12:51:38.709Z",
+ "expirationTimeStamp": "2022-04-12T12:51:38.709Z",
+ "incrementalFreeHours": 100,
+ "remainingFreeHours": 10
+ },
+ {
+ "freeHourType": "Temporary",
+ "freeHourStatus": "Enabled",
+ "createTimeStamp": "2022-03-13T12:51:38.709Z",
+ "expirationTimeStamp": "2022-04-13T12:51:38.709Z",
+ "incrementalFreeHours": 100,
+ "remainingFreeHours": 30
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/BillingHubGetUsage.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/BillingHubGetUsage.json
new file mode 100644
index 000000000000..f92c020812ba
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/BillingHubGetUsage.json
@@ -0,0 +1,130 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview",
+ "startTimeStamp": "2022-01-12T12:05:25.632Z",
+ "endTimeStamp": "2022-03-12T12:05:25.632Z",
+ "continuousToken": "limit-50-offset-200"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "totalUsedFreeHours": 0,
+ "totalUsedBillableHours": 0,
+ "totalCharges": 0,
+ "packageUsageEntries": [
+ {
+ "applicationName": "test",
+ "applicationVersion": "1",
+ "azureResourceUri": "/SUBSCRIPTIONS/00000000-0000-0000-0000-000000000000/RESOURCEGROUPS/INTEGRATION-TEST/PROVIDERS/MICROSOFT.TESTBASE/TESTBASEACCOUNTS/TESTBASE-INTEGRATIONTEST/packages/test-1",
+ "totalUsedFreeHours": 20,
+ "totalUsedBillableHours": 5,
+ "totalCharges": 40,
+ "usageEntriesGroupedByUpdateType": [
+ {
+ "updateType": "Security",
+ "totalUsedFreeHours": 10,
+ "totalUsedBillableHours": 5,
+ "totalCharges": 40,
+ "usageGroups": [
+ {
+ "totalUsedFreeHours": 10,
+ "totalUsedBillableHours": 5,
+ "totalCharges": 40,
+ "releaseBuildRevision": 1237,
+ "releaseBuildNumber": 19044,
+ "releaseBuildDate": "2022-03-15T13:59:19.313Z",
+ "osBuild": "Windows Server 2022",
+ "release": "2022.02 B",
+ "testType": "Out of box test",
+ "productFamily": "Windows",
+ "executionUsageDetails": [
+ {
+ "applicationName": "test",
+ "applicationVersion": "1",
+ "executionRequestId": "6298c3dc-7fed-4028-a5b8-34654322a1fe",
+ "sku": "TBD",
+ "meterId": "0f08918b-df38-4439-a328-b2b2254af793",
+ "startTimeStamp": "2022-03-14T08:11:58.761Z",
+ "endTimeStamp": "2022-03-14T08:11:58.761Z",
+ "osBuild": "Windows Server 2022",
+ "release": "2022.02 B",
+ "testType": "Out of box test",
+ "updateType": "Security",
+ "usedFreeHours": 5,
+ "usedBillableHours": 0,
+ "billedCharges": 0
+ },
+ {
+ "applicationName": "test",
+ "applicationVersion": "1",
+ "executionRequestId": "01187855-12bf-49f9-ae39-87acff5f6081",
+ "sku": "TBD",
+ "meterId": "bd84f3e2-a1f0-4a6f-b493-c7e42be94293",
+ "startTimeStamp": "2022-03-14T08:11:58.761Z",
+ "endTimeStamp": "2022-03-14T08:11:58.761Z",
+ "osBuild": "Windows Server 2022",
+ "release": "2022.02 B",
+ "testType": "Out of box test",
+ "updateType": "Security",
+ "usedFreeHours": 5,
+ "usedBillableHours": 5,
+ "billedCharges": 40
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "updateType": "Feature",
+ "totalUsedFreeHours": 10,
+ "totalUsedBillableHours": 0,
+ "totalCharges": 0,
+ "usageGroups": [
+ {
+ "totalUsedFreeHours": 10,
+ "totalUsedBillableHours": 0,
+ "totalCharges": 0,
+ "releaseBuildRevision": 1237,
+ "releaseBuildNumber": 19044,
+ "releaseBuildDate": "2022-03-15T13:59:19.313Z",
+ "osBuild": "Windows 10 21H2",
+ "release": "2021.09 B",
+ "testType": "Out of box test",
+ "productFamily": "Windows",
+ "executionUsageDetails": [
+ {
+ "applicationName": "test",
+ "applicationVersion": "1",
+ "executionRequestId": "94d6ab44-dba2-4231-9aaf-7dd05aed1758",
+ "sku": "TBD",
+ "meterId": "1bbce8b9-b86e-43dc-8732-f69540b8f97a",
+ "startTimeStamp": "2022-03-14T08:11:58.761Z",
+ "endTimeStamp": "2022-03-14T08:11:58.761Z",
+ "osBuild": "Windows 10 21H2",
+ "release": "2021.09 B",
+ "testType": "Out of box test",
+ "updateType": "Feature",
+ "usedFreeHours": 10,
+ "usedBillableHours": 0,
+ "billedCharges": 0
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "nextRequest": {
+ "startTimeStamp": "2022-03-23T06:17:05.867Z",
+ "endTimeStamp": "2022-03-23T06:17:05.868Z",
+ "pageSize": 50,
+ "pageIndex": 15
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CPURegressionAnalysisResultGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CPURegressionAnalysisResultGet.json
new file mode 100644
index 000000000000..b083be926dee
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CPURegressionAnalysisResultGet.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "testResultName": "Windows-10-1909-Test-Id",
+ "analysisResultName": "cpuRegression",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "cpuRegression",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/Windows-10-1909-Test-Id/analysisResults/cpuRegression",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/testResults/analysisResults",
+ "properties": {
+ "grade": "Pass",
+ "analysisResultType": "CPURegression",
+ "cpuRegressionResults": [
+ {
+ "fileName": "testApp.exe",
+ "grade": "Pass",
+ "details": "Some details of testApp",
+ "diff": 0.1,
+ "isRegressed": false
+ },
+ {
+ "fileName": "dependencies.exe",
+ "grade": "Pass",
+ "details": "Some details of dependencies",
+ "diff": 0.15,
+ "isRegressed": false
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CPURegressionAnalysisResultsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CPURegressionAnalysisResultsList.json
new file mode 100644
index 000000000000..f443cce8ea0c
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CPURegressionAnalysisResultsList.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "testResultName": "Windows-10-1909-Test-Id",
+ "analysisResultType": "CPURegression",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "cpuRegression",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/Windows-10-1909-Test-Id/analysisResults/cpuRegression",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/testResults/analysisResults",
+ "properties": {
+ "grade": "Pass",
+ "analysisResultType": "CPURegression",
+ "cpuRegressionResults": [
+ {
+ "fileName": "testApp.exe",
+ "grade": "Pass",
+ "details": "Some details of testApp",
+ "diff": 0.1,
+ "isRegressed": false
+ },
+ {
+ "fileName": "dependencies.exe",
+ "grade": "Pass",
+ "details": "Some details of dependencies",
+ "diff": 0.15,
+ "isRegressed": false
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CPUUtilizationAnalysisResultGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CPUUtilizationAnalysisResultGet.json
new file mode 100644
index 000000000000..2b3e13ea99ac
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CPUUtilizationAnalysisResultGet.json
@@ -0,0 +1,92 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "testResultName": "Windows-10-1909-Test-Id",
+ "analysisResultName": "cpuUtilization",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "cpuUtilization",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/Windows-10-1909-Test-Id/analysisResults/cpuUtilization",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/testResults/analysisResults",
+ "properties": {
+ "grade": "Pass",
+ "analysisResultType": "CPUUtilization",
+ "cpuUtilizationResults": [
+ {
+ "process": "app.exe",
+ "upperBound": {
+ "percentile": 90.0,
+ "value": 60.0
+ },
+ "lowerBound": {
+ "percentile": 50.0,
+ "value": 20.0
+ },
+ "utilization": [
+ {
+ "timestamp": "2020-12-28T17:30:00Z",
+ "value": 34.7
+ },
+ {
+ "timestamp": "2020-12-28T17:31:00Z",
+ "value": 35.9
+ },
+ {
+ "timestamp": "2020-12-28T17:32:00Z",
+ "value": 27.1
+ },
+ {
+ "timestamp": "2020-12-28T17:33:00Z",
+ "value": 49.8
+ },
+ {
+ "timestamp": "2020-12-28T17:34:00Z",
+ "value": 45.6
+ }
+ ]
+ },
+ {
+ "process": "anotherProcess.exe",
+ "upperBound": {
+ "percentile": 90.0,
+ "value": 60.0
+ },
+ "lowerBound": {
+ "percentile": 50.0,
+ "value": 20.0
+ },
+ "utilization": [
+ {
+ "timestamp": "2020-12-28T17:30:00Z",
+ "value": 34.7
+ },
+ {
+ "timestamp": "2020-12-28T17:31:00Z",
+ "value": 35.9
+ },
+ {
+ "timestamp": "2020-12-28T17:32:00Z",
+ "value": 27.1
+ },
+ {
+ "timestamp": "2020-12-28T17:33:00Z",
+ "value": 49.8
+ },
+ {
+ "timestamp": "2020-12-28T17:34:00Z",
+ "value": 45.6
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CPUUtilizationAnalysisResultsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CPUUtilizationAnalysisResultsList.json
new file mode 100644
index 000000000000..2bab21ac4463
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CPUUtilizationAnalysisResultsList.json
@@ -0,0 +1,96 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "testResultName": "Windows-10-1909-Test-Id",
+ "analysisResultType": "CPUUtilization",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "cpuUtilization",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/Windows-10-1909-Test-Id/analysisResults/cpuUtilization",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/testResults/analysisResults",
+ "properties": {
+ "grade": "Pass",
+ "analysisResultType": "CPUUtilization",
+ "cpuUtilizationResults": [
+ {
+ "process": "app.exe",
+ "upperBound": {
+ "percentile": 90.0,
+ "value": 60.0
+ },
+ "lowerBound": {
+ "percentile": 50.0,
+ "value": 20.0
+ },
+ "utilization": [
+ {
+ "timestamp": "2020-12-28T17:30:00Z",
+ "value": 34.7
+ },
+ {
+ "timestamp": "2020-12-28T17:31:00Z",
+ "value": 35.9
+ },
+ {
+ "timestamp": "2020-12-28T17:32:00Z",
+ "value": 27.1
+ },
+ {
+ "timestamp": "2020-12-28T17:33:00Z",
+ "value": 49.8
+ },
+ {
+ "timestamp": "2020-12-28T17:34:00Z",
+ "value": 45.6
+ }
+ ]
+ },
+ {
+ "process": "anotherProcess.exe",
+ "upperBound": {
+ "percentile": 90.0,
+ "value": 60.0
+ },
+ "lowerBound": {
+ "percentile": 50.0,
+ "value": 20.0
+ },
+ "utilization": [
+ {
+ "timestamp": "2020-12-28T17:30:00Z",
+ "value": 34.7
+ },
+ {
+ "timestamp": "2020-12-28T17:31:00Z",
+ "value": 35.9
+ },
+ {
+ "timestamp": "2020-12-28T17:32:00Z",
+ "value": 27.1
+ },
+ {
+ "timestamp": "2020-12-28T17:33:00Z",
+ "value": 49.8
+ },
+ {
+ "timestamp": "2020-12-28T17:34:00Z",
+ "value": 45.6
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ChatSessionChat.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ChatSessionChat.json
new file mode 100644
index 000000000000..e87e4acbf288
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ChatSessionChat.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "chatSessionName": "e7520e9c-4017-4a92-aff2-d168670bb8ba",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "question": "What is Test Base for Microsoft 365?"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "question": "What is Test Base for Microsoft 365?",
+ "answer": "Test Base for Microsoft 365 is an Azure service that enables data-driven application testing while providing user access to intelligent testing from anywhere in the world. It is designed for Independent Software Vendors (ISVs), System Integrators (SIs), and IT Professionals who want to validate their applications and line-of-business (LOB) applications through integration with Microsoft Intune. Test Base helps ensure the integrity, compatibility, and usability of your applications as platform dependencies vary and new updates are applied by the Windows update service.",
+ "usage": 3,
+ "limit": 30
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-asyncoperation": "https://management.azure.com/providers/Microsoft.TestBase/locations/WESTUS/operationStatuses/45a0172d-3b48-41fd-b868-984bcd8ef40f*F096772A7EA7353A82ED9AC76507DC4D4FBD703CFEB6B8075FA354F683F8ACC8?api-version=2023-11-01-preview",
+ "location": "https://management.azure.com/providers/Microsoft.TestBase/locations/WESTUS/operationStatuses/45a0172d-3b48-41fd-b868-984bcd8ef40f*F096772A7EA7353A82ED9AC76507DC4D4FBD703CFEB6B8075FA354F683F8ACC8?api-version=2023-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ChatSessionGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ChatSessionGet.json
new file mode 100644
index 000000000000..efd81172571f
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ChatSessionGet.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "chatSessionName": "e7520e9c-4017-4a92-aff2-d168670bb8ba",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "e7520e9c-4017-4a92-aff2-d168670bb8ba",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/chatSessions/e7520e9c-4017-4a92-aff2-d168670bb8ba",
+ "type": "Microsoft.TestBase/testBaseAccounts/chatSessions",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ChatSessionList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ChatSessionList.json
new file mode 100644
index 000000000000..3fce23ed6559
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ChatSessionList.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "e7520e9c-4017-4a92-aff2-d168670bb8ba",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/chatSessions/e7520e9c-4017-4a92-aff2-d168670bb8ba",
+ "type": "Microsoft.TestBase/testBaseAccounts/chatSessions",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CheckImageNameAvailability.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CheckImageNameAvailability.json
new file mode 100644
index 000000000000..738bf1f7d809
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CheckImageNameAvailability.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "definitionName": "contoso-image-def",
+ "versionName": "contoso-image-ver"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "result": "Passed"
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CheckPackageNameAvailability.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CheckPackageNameAvailability.json
new file mode 100644
index 000000000000..126968f2917d
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CheckPackageNameAvailability.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "name": "testApp",
+ "applicationName": "testApp",
+ "version": "1.0.0",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {}
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CredentialCreate.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CredentialCreate.json
new file mode 100644
index 000000000000..9d7805aa4428
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CredentialCreate.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "credentialName": "contoso-credential",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "properties": {
+ "credentialType": "IntuneAccount",
+ "displayName": "contoso-credential",
+ "userNameKeyVaultSecretPath": "https://contoso-kv.vault.azure.net/secrets/contoso-kv-secret-username",
+ "passwordKeyVaultSecretPath": "https://contoso-kv.vault.azure.net/secrets/contoso-kv-secret-password"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "contoso-credential",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/credentials/contoso-credential",
+ "type": "Microsoft.TestBase/testBaseAccounts/credentials",
+ "properties": {
+ "credentialType": "IntuneAccount",
+ "displayName": "contoso-credential",
+ "userNameKeyVaultSecretPath": "https://contoso-kv.vault.azure.net/secrets/contoso-kv-secret-username",
+ "passwordKeyVaultSecretPath": "https://contoso-kv.vault.azure.net/secrets/contoso-kv-secret-password"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "contoso-credential",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/credentials/contoso-credential",
+ "type": "Microsoft.TestBase/testBaseAccounts/credentials",
+ "properties": {
+ "credentialType": "IntuneAccount",
+ "displayName": "contoso-credential",
+ "userNameKeyVaultSecretPath": "https://contoso-kv.vault.azure.net/secrets/contoso-kv-secret-username",
+ "passwordKeyVaultSecretPath": "https://contoso-kv.vault.azure.net/secrets/contoso-kv-secret-password"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CredentialDelete.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CredentialDelete.json
new file mode 100644
index 000000000000..7689bec09488
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CredentialDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "credentialName": "contoso-credential",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CredentialGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CredentialGet.json
new file mode 100644
index 000000000000..f32e78792d7a
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CredentialGet.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "credentialName": "contoso-credential",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "contoso-credential",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/credentials/contoso-credential",
+ "type": "Microsoft.TestBase/testBaseAccounts/credentials",
+ "properties": {
+ "credentialType": "IntuneAccount",
+ "displayName": "contoso-credential",
+ "userNameKeyVaultSecretPath": "https://contoso-kv.vault.azure.net/secrets/contoso-kv-secret-username",
+ "passwordKeyVaultSecretPath": "https://contoso-kv.vault.azure.net/secrets/contoso-kv-secret-password"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CredentialUpdate.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CredentialUpdate.json
new file mode 100644
index 000000000000..3837fa0518bd
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CredentialUpdate.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "credentialName": "contoso-credential",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "properties": {
+ "credentialType": "IntuneAccount",
+ "displayName": "contoso-credential",
+ "userNameKeyVaultSecretPath": "https://contoso-kv.vault.azure.net/secrets/contoso-kv-secret-username",
+ "passwordKeyVaultSecretPath": "https://contoso-kv.vault.azure.net/secrets/contoso-kv-secret-password"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "contoso-credential",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/credentials/contoso-credential",
+ "type": "Microsoft.TestBase/testBaseAccounts/credentials",
+ "properties": {
+ "credentialType": "IntuneAccount",
+ "displayName": "contoso-credential",
+ "userNameKeyVaultSecretPath": "https://contoso-kv.vault.azure.net/secrets/contoso-kv-secret-username",
+ "passwordKeyVaultSecretPath": "https://contoso-kv.vault.azure.net/secrets/contoso-kv-secret-password"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CredentialsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CredentialsList.json
new file mode 100644
index 000000000000..e0aec1bc68b7
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CredentialsList.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "contoso-credential",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/credentials/contoso-credential",
+ "type": "Microsoft.TestBase/testBaseAccounts/credentials",
+ "properties": {
+ "credentialType": "IntuneAccount",
+ "displayName": "contoso-credential",
+ "userNameKeyVaultSecretPath": "https://contoso-kv.vault.azure.net/secrets/contoso-kv-secret-username",
+ "passwordKeyVaultSecretPath": "https://contoso-kv.vault.azure.net/secrets/contoso-kv-secret-password"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomImageCreate.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomImageCreate.json
new file mode 100644
index 000000000000..9a4cfd12d684
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomImageCreate.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "customImageName": "image-2cfb2edc-13bc-4d54-8d6e-38b2a233b003",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "properties": {
+ "definitionName": "contoso-image-def",
+ "versionName": "1.0.0",
+ "vhdId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/VHDs/vhd-00ac3ccd-1503-4ee5-aa26-26569cfafe88",
+ "source": "VHD"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "image-2cfb2edc-13bc-4d54-8d6e-38b2a233b003",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/customImages/image-2cfb2edc-13bc-4d54-8d6e-38b2a233b003",
+ "type": "Microsoft.TestBase/testBaseAccounts/customImages",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vhdId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/VHDs/vhd-00ac3ccd-1503-4ee5-aa26-26569cfafe88",
+ "definitionName": "contoso-image-def",
+ "versionName": "1.0.0",
+ "source": "VHD",
+ "product": "Windows 10 22H2",
+ "release": "2022.10 B",
+ "status": "Validating",
+ "osDiskImageSizeInGB": 127
+ }
+ }
+ },
+ "201": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview"
+ },
+ "body": {
+ "name": "image-2cfb2edc-13bc-4d54-8d6e-38b2a233b003",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/customImages/image-2cfb2edc-13bc-4d54-8d6e-38b2a233b003",
+ "type": "Microsoft.TestBase/testBaseAccounts/customImages",
+ "properties": {
+ "provisioningState": "Creating",
+ "vhdId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/VHDs/vhd-00ac3ccd-1503-4ee5-aa26-26569cfafe88",
+ "definitionName": "contoso-image-def",
+ "versionName": "1.0.0",
+ "source": "VHD",
+ "product": "Windows 10 22H2",
+ "release": "2022.10 B",
+ "osDiskImageSizeInGB": 127,
+ "creationTime": "2023-05-09T17:30:00Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomImageDelete.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomImageDelete.json
new file mode 100644
index 000000000000..fde035aeeba4
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomImageDelete.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "customImageName": "image-2cfb2edc-13bc-4d54-8d6e-38b2a233b003",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/customImages/image-2cfb2edc-13bc-4d54-8d6e-38b2a233b003/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview",
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/customImages/image-2cfb2edc-13bc-4d54-8d6e-38b2a233b003/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomImageGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomImageGet.json
new file mode 100644
index 000000000000..f64f7ffaab3e
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomImageGet.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "customImageName": "image-2cfb2edc-13bc-4d54-8d6e-38b2a233b003",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "image-2cfb2edc-13bc-4d54-8d6e-38b2a233b003",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/customImages/image-2cfb2edc-13bc-4d54-8d6e-38b2a233b003",
+ "type": "Microsoft.TestBase/testBaseAccounts/customImages",
+ "properties": {
+ "vhdId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/VHDs/vhd-00ac3ccd-1503-4ee5-aa26-26569cfafe88",
+ "definitionName": "contoso-image-def",
+ "versionName": "1.0.0",
+ "source": "VHD",
+ "product": "Windows 10 22H2",
+ "release": "2022.10 B",
+ "status": "Ready",
+ "validationResults": {
+ "results": [
+ {
+ "verificationName": "bootable",
+ "result": "Passed"
+ },
+ {
+ "verificationName": "supportedProduct",
+ "result": "Failed",
+ "message": "Windows 10 1909 is unavailable in Test Base supported OS list."
+ },
+ {
+ "verificationName": "autoLogonEnabled",
+ "result": "Passed"
+ },
+ {
+ "verificationName": "vmAgentInstalled",
+ "result": "Passed"
+ }
+ ]
+ },
+ "osDiskImageSizeInGB": 127,
+ "releaseVersionDate": "2023-12-24T06:52:16.820Z",
+ "creationTime": "2023-05-09T17:30:00Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomImagesList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomImagesList.json
new file mode 100644
index 000000000000..107178d56bde
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomImagesList.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "image-2cfb2edc-13bc-4d54-8d6e-38b2a233b003",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/customImages/image-2cfb2edc-13bc-4d54-8d6e-38b2a233b003",
+ "type": "Microsoft.TestBase/testBaseAccounts/customImages",
+ "properties": {
+ "vhdId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/VHDs/vhd-00ac3ccd-1503-4ee5-aa26-26569cfafe88",
+ "definitionName": "contoso-image-def",
+ "versionName": "1.0.0",
+ "source": "VHD",
+ "product": "Windows 10 22H2",
+ "release": "2022.10 B",
+ "status": "Ready",
+ "validationResults": {
+ "results": [
+ {
+ "verificationName": "bootable",
+ "result": "Passed"
+ },
+ {
+ "verificationName": "supportedProduct",
+ "result": "Failed",
+ "message": "Windows 10 1909 is unavailable in Test Base supported OS list."
+ },
+ {
+ "verificationName": "autoLogonEnabled",
+ "result": "Passed"
+ },
+ {
+ "verificationName": "vmAgentInstalled",
+ "result": "Passed"
+ }
+ ]
+ },
+ "osDiskImageSizeInGB": 127,
+ "releaseVersionDate": "2023-12-24T06:52:16.820Z",
+ "creationTime": "2023-05-09T17:30:00Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomerEventCreate.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomerEventCreate.json
new file mode 100644
index 000000000000..207d80d2c248
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomerEventCreate.json
@@ -0,0 +1,108 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "customerEventName": "WeeklySummary",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "properties": {
+ "eventName": "WeeklySummary",
+ "receivers": [
+ {
+ "receiverType": "UserObjects",
+ "receiverValue": {
+ "userObjectReceiverValue": {
+ "userObjectIds": [
+ "245245245245325",
+ "365365365363565"
+ ]
+ }
+ }
+ },
+ {
+ "receiverType": "DistributionGroup",
+ "receiverValue": {
+ "distributionGroupListReceiverValue": {
+ "distributionGroups": [
+ "test@microsoft.com"
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "WeeklySummary",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/customerEvents/WeeklySummary",
+ "type": "Microsoft.TestBase/testBaseAccounts/customerEvents",
+ "properties": {
+ "eventName": "WeeklySummary",
+ "receivers": [
+ {
+ "receiverType": "UserObjects",
+ "receiverValue": {
+ "userObjectReceiverValue": {
+ "userObjectIds": [
+ "245245245245325",
+ "365365365363565"
+ ]
+ }
+ }
+ },
+ {
+ "receiverType": "DistributionGroup",
+ "receiverValue": {
+ "distributionGroupListReceiverValue": {
+ "distributionGroups": [
+ "test@microsoft.com"
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/customerEvents/WeeklySummary/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview"
+ },
+ "body": {
+ "name": "WeeklySummary",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/customerEvents/WeeklySummary",
+ "type": "Microsoft.TestBase/testBaseAccounts/customerEvents",
+ "properties": {
+ "eventName": "WeeklySummary",
+ "receivers": [
+ {
+ "receiverType": "UserObjects",
+ "receiverValue": {
+ "userObjectReceiverValue": {
+ "userObjectIds": [
+ "245245245245325",
+ "365365365363565"
+ ]
+ }
+ }
+ },
+ {
+ "receiverType": "DistributionGroup",
+ "receiverValue": {
+ "distributionGroupListReceiverValue": {
+ "distributionGroups": [
+ "test@microsoft.com"
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomerEventDelete.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomerEventDelete.json
new file mode 100644
index 000000000000..c76567ed3980
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomerEventDelete.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "customerEventName": "WeeklySummary",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/customerEvents/WeeklySummary/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview",
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/customerEvents/WeeklySummary/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomerEventGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomerEventGet.json
new file mode 100644
index 000000000000..07f0a0b5abf3
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomerEventGet.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "customerEventName": "WeeklySummary",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/customerEvents/WeeklySummary",
+ "name": "WeeklySummary",
+ "type": "Microsoft.TestBase/testBaseAccounts/customerEvents",
+ "properties": {
+ "eventName": "WeeklySummary",
+ "receivers": [
+ {
+ "receiverType": "UserObjects",
+ "receiverValue": {
+ "userObjectReceiverValue": {
+ "userObjectIds": [
+ "245245245245325",
+ "365365365363565"
+ ]
+ }
+ }
+ },
+ {
+ "receiverType": "SubscriptionRole",
+ "receiverValue": {
+ "subscriptionReceiverValue": {
+ "subscriptionId": "test-00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "test-subscription",
+ "role": "Contributor"
+ }
+ }
+ },
+ {
+ "receiverType": "DistributionGroup",
+ "receiverValue": {
+ "distributionGroupListReceiverValue": {
+ "distributionGroups": [
+ "test@microsoft.com"
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomerEventsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomerEventsList.json
new file mode 100644
index 000000000000..0f9d432fd2cf
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/CustomerEventsList.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/customerEvents/ExecutionFailure",
+ "name": "ExecutionFailure",
+ "type": "Microsoft.TestBase/testBaseAccounts/customerEvents",
+ "properties": {
+ "eventName": "ExecutionFailure",
+ "receivers": [
+ {
+ "receiverType": "SubscriptionRole",
+ "receiverValue": {
+ "subscriptionReceiverValue": {
+ "subscriptionId": "test-00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "test-subscription",
+ "role": "Contributor"
+ }
+ }
+ },
+ {
+ "receiverType": "DistributionGroup",
+ "receiverValue": {
+ "distributionGroupListReceiverValue": {
+ "distributionGroups": [
+ "test@microsoft.com"
+ ]
+ }
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/customerEvents/WeeklySummary",
+ "name": "WeeklySummary",
+ "type": "Microsoft.TestBase/testBaseAccounts/customerEvents",
+ "properties": {
+ "eventName": "WeeklySummary",
+ "receivers": [
+ {
+ "receiverType": "UserObjects",
+ "receiverValue": {
+ "userObjectReceiverValue": {
+ "userObjectIds": [
+ "245245245245325",
+ "365365365363565"
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageCopyFromPackage.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageCopyFromPackage.json
new file mode 100644
index 000000000000..c2d13894bc9c
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageCopyFromPackage.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "draftPackageName": "61d99543-14ff-47ae-bf03-8a8b8445502e",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "packageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/packages/contoso-package"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/providers/MICROSOFT.TESTBASE/locations/WESTUS/operationStatuses/5b0a0eba-9487-411a-abdd-6aa12cc8d3fd*B91D9DCE4897B22607EFF0E21B7CDE4BEF5F59D1F7664BB8C638ADB23926DFDB?api-version=2022-04-01-preview",
+ "Location": "https://management.azure.com/providers/MICROSOFT.TESTBASE/locations/WESTUS/operationStatuses/5b0a0eba-9487-411a-abdd-6aa12cc8d3fd*B91D9DCE4897B22607EFF0E21B7CDE4BEF5F59D1F7664BB8C638ADB23926DFDB?api-version=2022-04-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageCreate.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageCreate.json
new file mode 100644
index 000000000000..f4bcca1f043e
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageCreate.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "draftPackageName": "61d99543-14ff-47ae-bf03-8a8b8445502e",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "properties": {
+ "applicationName": "contoso-package",
+ "version": "1.0",
+ "appFileName": "TestBaseM365DigitalClock.msi",
+ "useSample": false,
+ "sourceType": "Native"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "61d99543-14ff-47ae-bf03-8a8b8445502e",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/draftPackages/61d99543-14ff-47ae-bf03-8a8b8445502e",
+ "type": "Microsoft.TestBase/testBaseAccounts/draftpackages",
+ "properties": {
+ "applicationName": "contoso-package",
+ "version": "1.0",
+ "appFileName": "TestBaseM365DigitalClock.msi",
+ "useSample": false,
+ "sourceType": "Native"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "61d99543-14ff-47ae-bf03-8a8b8445502e",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/draftPackages/61d99543-14ff-47ae-bf03-8a8b8445502e",
+ "type": "Microsoft.TestBase/testBaseAccounts/draftpackages",
+ "properties": {
+ "applicationName": "contoso-package",
+ "version": "1.0",
+ "appFileName": "TestBaseM365DigitalClock.msi",
+ "useSample": false,
+ "sourceType": "Native"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageDelete.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageDelete.json
new file mode 100644
index 000000000000..f4fca4e6e788
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "draftPackageName": "61d99543-14ff-47ae-bf03-8a8b8445502e",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageExtractFile.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageExtractFile.json
new file mode 100644
index 000000000000..9e2ccb15ef76
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageExtractFile.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "draftPackageName": "34070901-fc0b-4459-b6de-4295b7c7bf19",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "fileType": "IntuneWinPackage",
+ "sourceFile": "bin/contoso.intunewin"
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/providers/MICROSOFT.TESTBASE/locations/WESTUS/operationStatuses/5b0a0eba-9487-411a-abdd-6aa12cc8d3fd*B91D9DCE4897B22607EFF0E21B7CDE4BEF5F59D1F7664BB8C638ADB23926DFDB?api-version=2022-04-01-preview",
+ "Location": "https://management.azure.com/providers/MICROSOFT.TESTBASE/locations/WESTUS/operationStatuses/5b0a0eba-9487-411a-abdd-6aa12cc8d3fd*B91D9DCE4897B22607EFF0E21B7CDE4BEF5F59D1F7664BB8C638ADB23926DFDB?api-version=2022-04-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageGenerateFoldersAndScripts.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageGenerateFoldersAndScripts.json
new file mode 100644
index 000000000000..0f34297a7698
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageGenerateFoldersAndScripts.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "draftPackageName": "61d99543-14ff-47ae-bf03-8a8b8445502e",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "forceGenerate": false
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/providers/MICROSOFT.TESTBASE/locations/WESTUS/operationStatuses/5b0a0eba-9487-411a-abdd-6aa12cc8d3fd*B91D9DCE4897B22607EFF0E21B7CDE4BEF5F59D1F7664BB8C638ADB23926DFDB?api-version=2022-04-01-preview",
+ "Location": "https://management.azure.com/providers/MICROSOFT.TESTBASE/locations/WESTUS/operationStatuses/5b0a0eba-9487-411a-abdd-6aa12cc8d3fd*B91D9DCE4897B22607EFF0E21B7CDE4BEF5F59D1F7664BB8C638ADB23926DFDB?api-version=2022-04-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageGet.json
new file mode 100644
index 000000000000..bad69b578101
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageGet.json
@@ -0,0 +1,130 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "draftPackageName": "61d99543-14ff-47ae-bf03-8a8b8445502e",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "61d99543-14ff-47ae-bf03-8a8b8445502e",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/draftPackages/61d99543-14ff-47ae-bf03-8a8b8445502e",
+ "type": "Microsoft.TestBase/testBaseAccounts/draftpackages",
+ "properties": {
+ "applicationName": "contoso-package",
+ "version": "1.0",
+ "draftPackagePath": "de0418a4-90a2-448f-b009-237803458cca/0c3e17c3-f6ce-4b22-b1be-6363e23a1857/draftPackagePath",
+ "workingPath": "de0418a4-90a2-448f-b009-237803458cca/0c3e17c3-f6ce-4b22-b1be-6363e23a1857/workingPath",
+ "appFileName": "TestBaseM365DigitalClock.msi",
+ "useSample": false,
+ "sourceType": "Native",
+ "testTypes": [
+ "OutOfBoxTest",
+ "FunctionalTest"
+ ],
+ "tests": [
+ {
+ "testType": "OutOfBoxTest",
+ "validationRunStatus": "Unknown",
+ "validationResultId": null,
+ "isActive": true,
+ "commands": [
+ {
+ "name": "install",
+ "action": "Install",
+ "contentType": "Path",
+ "content": "TestBaseM365DigitalClockApp/scripts/install/job.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": false
+ },
+ {
+ "name": "launch",
+ "action": "Launch",
+ "contentType": "Path",
+ "content": "TestBaseM365DigitalClockApp/scripts/launch/job.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": false
+ },
+ {
+ "name": "close",
+ "action": "Close",
+ "contentType": "Path",
+ "content": "TestBaseM365DigitalClockApp/scripts/close/job.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": false
+ },
+ {
+ "name": "uninstall",
+ "action": "Uninstall",
+ "contentType": "Path",
+ "content": "TestBaseM365DigitalClockApp/scripts/uninstall/job.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": false
+ }
+ ]
+ },
+ {
+ "testType": "FunctionalTest",
+ "validationRunStatus": "Unknown",
+ "validationResultId": null,
+ "isActive": true,
+ "commands": [
+ {
+ "name": "script1",
+ "action": "Custom",
+ "contentType": "Path",
+ "content": "TestBaseM365DigitalClockApp/scripts/script1/job.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": true
+ }
+ ]
+ }
+ ],
+ "targetOSList": [
+ {
+ "osUpdateType": "Security updates",
+ "targetOSs": [
+ "Windows 11 21H2",
+ "Windows 10 21H2",
+ "Windows 10 21H1"
+ ],
+ "baselineOSs": null
+ },
+ {
+ "osUpdateType": "Feature updates",
+ "targetOSs": [
+ "Windows 10 21H2"
+ ],
+ "baselineOSs": null
+ }
+ ],
+ "flightingRing": "Insider Beta Channel",
+ "packageTags": {},
+ "lastModifiedTime": "2022-05-25T10:37:21.9576117Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageGetPath.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageGetPath.json
new file mode 100644
index 000000000000..26e6eedd1da2
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageGetPath.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "draftPackageName": "61d99543-14ff-47ae-bf03-8a8b8445502e",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "baseUrl": "URL of storage account",
+ "draftPackagePath": "de0418a4-90a2-448f-b009-237803458cca/0c3e17c3-f6ce-4b22-b1be-6363e23a1857/draftPackagePath",
+ "workingPath": "de0418a4-90a2-448f-b009-237803458cca/0c3e17c3-f6ce-4b22-b1be-6363e23a1857/workingPath",
+ "expirationTime": "2022-08-01T09:20:48.2579928Z",
+ "sasToken": "access token"
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageUpdate.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageUpdate.json
new file mode 100644
index 000000000000..fb898db697b2
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackageUpdate.json
@@ -0,0 +1,152 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "draftPackageName": "61d99543-14ff-47ae-bf03-8a8b8445502e",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "properties": {
+ "targetOSList": [
+ {
+ "osUpdateType": "Security updates",
+ "targetOSs": [
+ "Windows 11 21H2",
+ "Windows 10 21H2",
+ "Windows 10 21H1"
+ ],
+ "baselineOSs": null
+ },
+ {
+ "osUpdateType": "Feature updates",
+ "targetOSs": [
+ "Windows 10 21H2"
+ ],
+ "baselineOSs": null
+ }
+ ],
+ "flightingRing": "Insider Beta Channel"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "61d99543-14ff-47ae-bf03-8a8b8445502e",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/draftPackages/61d99543-14ff-47ae-bf03-8a8b8445502e",
+ "type": "Microsoft.TestBase/testBaseAccounts/draftpackages",
+ "properties": {
+ "applicationName": "contoso-package",
+ "version": "1.0",
+ "draftPackagePath": "de0418a4-90a2-448f-b009-237803458cca/0c3e17c3-f6ce-4b22-b1be-6363e23a1857/draftPackagePath",
+ "workingPath": "de0418a4-90a2-448f-b009-237803458cca/0c3e17c3-f6ce-4b22-b1be-6363e23a1857/workingPath",
+ "appFileName": "TestBaseM365DigitalClock.msi",
+ "useSample": false,
+ "sourceType": "Native",
+ "testTypes": [
+ "OutOfBoxTest",
+ "FunctionalTest"
+ ],
+ "tests": [
+ {
+ "testType": "OutOfBoxTest",
+ "validationRunStatus": "Unknown",
+ "validationResultId": null,
+ "isActive": true,
+ "commands": [
+ {
+ "name": "install",
+ "action": "Install",
+ "contentType": "Path",
+ "content": "TestBaseM365DigitalClockApp/scripts/install/job.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": false
+ },
+ {
+ "name": "launch",
+ "action": "Launch",
+ "contentType": "Path",
+ "content": "TestBaseM365DigitalClockApp/scripts/launch/job.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": false
+ },
+ {
+ "name": "close",
+ "action": "Close",
+ "contentType": "Path",
+ "content": "TestBaseM365DigitalClockApp/scripts/close/job.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": false
+ },
+ {
+ "name": "uninstall",
+ "action": "Uninstall",
+ "contentType": "Path",
+ "content": "TestBaseM365DigitalClockApp/scripts/uninstall/job.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": false
+ }
+ ]
+ },
+ {
+ "testType": "FunctionalTest",
+ "validationRunStatus": "Unknown",
+ "validationResultId": null,
+ "isActive": true,
+ "commands": [
+ {
+ "name": "script1",
+ "action": "Custom",
+ "contentType": "Path",
+ "content": "TestBaseM365DigitalClockApp/scripts/script1/job.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": true
+ }
+ ]
+ }
+ ],
+ "targetOSList": [
+ {
+ "osUpdateType": "Security updates",
+ "targetOSs": [
+ "Windows 11 21H2",
+ "Windows 10 21H2",
+ "Windows 10 21H1"
+ ],
+ "baselineOSs": null
+ },
+ {
+ "osUpdateType": "Feature updates",
+ "targetOSs": [
+ "Windows 10 21H2"
+ ],
+ "baselineOSs": null
+ }
+ ],
+ "flightingRing": "Insider Beta Channel",
+ "lastModifiedTime": "2022-05-25T10:37:21.9576117Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackagesList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackagesList.json
new file mode 100644
index 000000000000..cc92ae930c7a
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/DraftPackagesList.json
@@ -0,0 +1,270 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "61d99543-14ff-47ae-bf03-8a8b8445502e",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/draftPackages/61d99543-14ff-47ae-bf03-8a8b8445502e",
+ "type": "Microsoft.TestBase/testBaseAccounts/draftpackages",
+ "properties": {
+ "applicationName": "contoso-package",
+ "version": "1.0",
+ "draftPackagePath": "de0418a4-90a2-448f-b009-237803458cca/0c3e17c3-f6ce-4b22-b1be-6363e23a1857/draftPackagePath",
+ "workingPath": "de0418a4-90a2-448f-b009-237803458cca/0c3e17c3-f6ce-4b22-b1be-6363e23a1857/workingPath",
+ "appFileName": "TestBaseM365DigitalClock.msi",
+ "useSample": false,
+ "sourceType": "Native",
+ "testTypes": [
+ "OutOfBoxTest",
+ "FunctionalTest"
+ ],
+ "tests": [
+ {
+ "testType": "OutOfBoxTest",
+ "validationRunStatus": "Unknown",
+ "validationResultId": null,
+ "isActive": true,
+ "commands": [
+ {
+ "name": "install",
+ "action": "Install",
+ "contentType": "Path",
+ "content": "TestBaseM365DigitalClockApp/scripts/install/job.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": false
+ },
+ {
+ "name": "launch",
+ "action": "Launch",
+ "contentType": "Path",
+ "content": "TestBaseM365DigitalClockApp/scripts/launch/job.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": false
+ },
+ {
+ "name": "close",
+ "action": "Close",
+ "contentType": "Path",
+ "content": "TestBaseM365DigitalClockApp/scripts/close/job.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": false
+ },
+ {
+ "name": "uninstall",
+ "action": "Uninstall",
+ "contentType": "Path",
+ "content": "TestBaseM365DigitalClockApp/scripts/uninstall/job.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": false
+ }
+ ]
+ },
+ {
+ "testType": "FunctionalTest",
+ "validationRunStatus": "Unknown",
+ "validationResultId": null,
+ "isActive": true,
+ "commands": [
+ {
+ "name": "script1",
+ "action": "Custom",
+ "contentType": "Path",
+ "content": "TestBaseM365DigitalClockApp/scripts/script1/job.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": true
+ }
+ ]
+ }
+ ],
+ "targetOSList": [
+ {
+ "osUpdateType": "Security updates",
+ "targetOSs": [
+ "Windows 11 21H2",
+ "Windows 10 21H2",
+ "Windows 10 21H1"
+ ],
+ "baselineOSs": null
+ },
+ {
+ "osUpdateType": "Feature updates",
+ "targetOSs": [
+ "Windows 10 21H2"
+ ],
+ "baselineOSs": null
+ }
+ ],
+ "flightingRing": "Insider Beta Channel",
+ "packageTags": {},
+ "lastModifiedTime": "2022-05-25T10:37:21.9576117Z"
+ }
+ },
+ {
+ "name": "34070901-fc0b-4459-b6de-4295b7c7bf19",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/draftPackages/34070901-fc0b-4459-b6de-4295b7c7bf19",
+ "type": "Microsoft.TestBase/testBaseAccounts/draftpackages",
+ "properties": {
+ "applicationName": "contoso-package2",
+ "version": "1.0",
+ "draftPackagePath": "de0418a4-90a2-448f-b009-237803458cca/0671155c-45fc-4758-916e-bd13337ffb68/draftPackagePath",
+ "workingPath": "de0418a4-90a2-448f-b009-237803458cca/0671155c-45fc-4758-916e-bd13337ffb68/workingPath",
+ "appFileName": "contoso.intunewin",
+ "useSample": true,
+ "sourceType": "IntuneWin",
+ "testTypes": [
+ "OutOfBoxTest",
+ "FunctionalTest"
+ ],
+ "intuneMetadata": {
+ "intuneApp": {
+ "appName": "contoso",
+ "version": "1.0",
+ "appId": "4ae9a0c0-a7f5-4bd4-bf32-b61566eea954",
+ "createDate": "2022-03-16T07:12:19.8466431Z",
+ "dependentAppCount": 0,
+ "installCommand": "-exec install",
+ "uninstallCommand": "-exec uninstall",
+ "lastProcessed": 637890688335749600,
+ "dependencyIds": [],
+ "setupFile": "consoto.exe",
+ "status": "Ready"
+ },
+ "intuneAppDependencies": []
+ },
+ "tests": [
+ {
+ "testType": "FunctionalTest",
+ "validationRunStatus": "Unknown",
+ "validationResultId": null,
+ "isActive": true,
+ "commands": [
+ {
+ "name": "script1",
+ "action": "Custom",
+ "contentType": "Path",
+ "content": "scripts/functional/script1.ps1",
+ "runElevated": false,
+ "restartAfter": true,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": true
+ },
+ {
+ "name": "script2",
+ "action": "Custom",
+ "contentType": "Path",
+ "content": "scripts/functional/script2.ps1",
+ "runElevated": false,
+ "restartAfter": true,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": false
+ }
+ ]
+ },
+ {
+ "testType": "OutOfBoxTest",
+ "validationRunStatus": "Unknown",
+ "validationResultId": null,
+ "isActive": true,
+ "commands": [
+ {
+ "name": "install",
+ "action": "Install",
+ "contentType": "Path",
+ "content": "scripts/outofbox/install.ps1",
+ "runElevated": false,
+ "restartAfter": true,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": false
+ },
+ {
+ "name": "launch",
+ "action": "Launch",
+ "contentType": "Path",
+ "content": "scripts/outofbox/launch.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": false
+ },
+ {
+ "name": "close",
+ "action": "Close",
+ "contentType": "Path",
+ "content": "scripts/outofbox/close.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": false
+ },
+ {
+ "name": "uninstall",
+ "action": "Uninstall",
+ "contentType": "Path",
+ "content": "scripts/outofbox/uninstall.ps1",
+ "runElevated": false,
+ "restartAfter": false,
+ "maxRunTime": 0,
+ "runAsInteractive": false,
+ "alwaysRun": false,
+ "applyUpdateBefore": false
+ }
+ ]
+ }
+ ],
+ "targetOSList": [
+ {
+ "osUpdateType": "Security updates",
+ "targetOSs": [
+ "Windows 10 21H1",
+ "Windows Server 2022"
+ ],
+ "baselineOSs": null
+ }
+ ],
+ "flightingRing": "",
+ "packageTags": {},
+ "lastModifiedTime": "2022-05-27T10:11:55.4300989Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/EmailEventGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/EmailEventGet.json
new file mode 100644
index 000000000000..93a7c7c8d58a
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/EmailEventGet.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "emailEventResourceName": "weekly-summary",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "weekly-summary",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/emailEvents/weekly-summary",
+ "type": "Microsoft.TestBase/testBaseAccounts/emailEvents",
+ "properties": {
+ "eventId": "weekly-summary",
+ "eventName": "weekly-summary",
+ "displayName": "Weekly Summary"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/EmailEventsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/EmailEventsList.json
new file mode 100644
index 000000000000..26682af32edd
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/EmailEventsList.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "weekly-summary",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/emailEvents/weekly-summary",
+ "type": "Microsoft.TestBase/testBaseAccounts/emailEvents",
+ "properties": {
+ "eventId": "weekly-summary",
+ "eventName": "weekly-summary",
+ "displayName": "Weekly Summary"
+ }
+ },
+ {
+ "name": "daily-summary",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/emailEvents/daily-summary",
+ "type": "Microsoft.TestBase/testBaseAccounts/emailEvents",
+ "properties": {
+ "eventId": "daily-summary",
+ "eventName": "daily-summary",
+ "displayName": "Daily Summary"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FavoriteProcessCreate.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FavoriteProcessCreate.json
new file mode 100644
index 000000000000..0d518413bc90
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FavoriteProcessCreate.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "favoriteProcessResourceName": "testAppProcess",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "properties": {
+ "actualProcessName": "testApp&.exe"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testAppProcess",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/favoriteProcesses/testAppProcess",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/favoriteProcesses",
+ "properties": {
+ "actualProcessName": "testApp&.exe"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FavoriteProcessDelete.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FavoriteProcessDelete.json
new file mode 100644
index 000000000000..243ba948ccc4
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FavoriteProcessDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "favoriteProcessResourceName": "testAppProcess",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FavoriteProcessGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FavoriteProcessGet.json
new file mode 100644
index 000000000000..3e05edaa4af9
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FavoriteProcessGet.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "favoriteProcessResourceName": "testAppProcess",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testAppProcess",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/favoriteProcesses/testAppProcess",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/favoriteProcesses",
+ "properties": {
+ "actualProcessName": "testApp&.exe"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FavoriteProcessesList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FavoriteProcessesList.json
new file mode 100644
index 000000000000..3e9ddfe975bc
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FavoriteProcessesList.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testAppProcess",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/favoriteProcesses/testAppProcess",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/favoriteProcesses",
+ "properties": {
+ "actualProcessName": "testApp&.exe"
+ }
+ },
+ {
+ "name": "anotherProcess",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/favoriteProcesses/anotherProcess",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/favoriteProcesses",
+ "properties": {
+ "actualProcessName": "anotherProcess&&.exe"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FeatureUpdateSupportedOsesList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FeatureUpdateSupportedOsesList.json
new file mode 100644
index 000000000000..3308d63b7c63
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FeatureUpdateSupportedOsesList.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Windows 11 22H2",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/featureUpdateSupportedOses/Windows 11 22H2",
+ "type": "Microsoft.TestBase/testBaseAccounts/featureUpdateSupportedOses",
+ "properties": {
+ "osId": "Windows 11 22H2(Insider beta channel)",
+ "osName": "Windows 11 22H2",
+ "displayText": "Windows 11 22H2(Insider beta channel)",
+ "version": "WindowsSunValley",
+ "insiderChannel": "Insider beta channel",
+ "state": "Active",
+ "startTime": "2022-03-15T13:59:19.313Z",
+ "baselineProducts": [
+ "Windows 11 22H1",
+ "Windows 10 21H2"
+ ]
+ }
+ }
+ ],
+ "nextLink": "mock-next-link"
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FirstPartyAppGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FirstPartyAppGet.json
new file mode 100644
index 000000000000..2e8e189db2bd
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FirstPartyAppGet.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "firstPartyAppResourceName": "firstPartyApp-fe51c56c-5dc0-499b-a807-a9d7746b34ae",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "firstPartyApp-fe51c56c-5dc0-499b-a807-a9d7746b34ae",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/firstPartyApps/firstPartyApp-fe51c56c-5dc0-499b-a807-a9d7746b34ae",
+ "type": "Microsoft.TestBase/testBaseAccounts/firstPartyApps",
+ "properties": {
+ "mediaType": "Office",
+ "architecture": "x64",
+ "channel": "Current Channel",
+ "ring": "Insider",
+ "supportedProducts": [
+ "Windows 10 20H2",
+ "Windows 11 21H1",
+ "Windows 11 21H2"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FirstPartyAppsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FirstPartyAppsList.json
new file mode 100644
index 000000000000..10fa6a02962f
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FirstPartyAppsList.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "firstPartyApp-fe51c56c-5dc0-499b-a807-a9d7746b34ae",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/firstPartyApps/firstPartyApp-fe51c56c-5dc0-499b-a807-a9d7746b34ae",
+ "type": "Microsoft.TestBase/testBaseAccounts/firstPartyApps",
+ "properties": {
+ "mediaType": "Office",
+ "architecture": "x64",
+ "channel": "Current Office Channel",
+ "ring": "Insider",
+ "supportedProducts": [
+ "Windows 10 20H2",
+ "Windows 11 21H1",
+ "Windows 11 21H2"
+ ]
+ }
+ },
+ {
+ "name": "firstPartyApp-ef435271-7dcf-4014-b5dc-18ee14e338c0",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/firstPartyApps/firstPartyApp-ef435271-7dcf-4014-b5dc-18ee14e338c0",
+ "type": "Microsoft.TestBase/testBaseAccounts/firstPartyApps",
+ "properties": {
+ "mediaType": "Teams",
+ "architecture": "x64",
+ "channel": "Current Teams Channel",
+ "ring": "Insider",
+ "supportedProducts": [
+ "Windows 10 20H2",
+ "Windows 11 21H1",
+ "Windows 11 21H2"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FlightingRingGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FlightingRingGet.json
new file mode 100644
index 000000000000..434532415dac
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FlightingRingGet.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "flightingRingResourceName": "Insider-Beta-Channel",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "Insider-Beta-Channel",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/flightingRings/Insider-Beta-Channel",
+ "type": "Microsoft.TestBase/testBaseAccounts/flightingRings",
+ "properties": {
+ "actualFlightingRingName": "Insider Beta Channel"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FlightingRingsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FlightingRingsList.json
new file mode 100644
index 000000000000..9abdb59de686
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FlightingRingsList.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Insider-Beta-Channel",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/flightingRings/Insider-Beta-Channel",
+ "type": "Microsoft.TestBase/testBaseAccounts/flightingRings",
+ "properties": {
+ "actualFlightingRingName": "Insider Beta Channel"
+ }
+ },
+ {
+ "name": "Another-Channel",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/flightingRings/Another-Channel",
+ "type": "Microsoft.TestBase/testBaseAccounts/flightingRings",
+ "properties": {
+ "actualFlightingRingName": "Another Channel"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FreeHourBalanceGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FreeHourBalanceGet.json
new file mode 100644
index 000000000000..12b691b2c585
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FreeHourBalanceGet.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "freeHourBalanceName": "TenantLevel",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "TenantLevel",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/freeHourBalances/TenantLevel",
+ "type": "Microsoft.TestBase/testBaseAccounts/freeHourBalances",
+ "properties": {
+ "totalRemainingFreeHours": 160.0,
+ "incrementEntries": [
+ {
+ "freeHourType": "Permanent",
+ "freeHourStatus": "Enabled",
+ "incrementalFreeHours": 500,
+ "remainingFreeHours": 130.0,
+ "createTimeStamp": "2022-03-12T12:51:38.709Z",
+ "expirationTimeStamp": "2023-05-09T17:30:00Z"
+ },
+ {
+ "freeHourType": "Temporary",
+ "freeHourStatus": "Enabled",
+ "incrementalFreeHours": 100,
+ "remainingFreeHours": 30.0,
+ "createTimeStamp": "2022-03-12T12:51:38.709Z",
+ "expirationTimeStamp": "2023-05-09T17:30:00Z"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FreeHourBalancesList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FreeHourBalancesList.json
new file mode 100644
index 000000000000..d79cce7e7dbe
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/FreeHourBalancesList.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "TenantLevel",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/freeHourBalances/TenantLevel",
+ "type": "Microsoft.TestBase/testBaseAccounts/freeHourBalances",
+ "properties": {
+ "totalRemainingFreeHours": 160.0,
+ "incrementEntries": [
+ {
+ "freeHourType": "Permanent",
+ "freeHourStatus": "Enabled",
+ "incrementalFreeHours": 500,
+ "remainingFreeHours": 130.0,
+ "createTimeStamp": "2022-03-12T12:51:38.709Z",
+ "expirationTimeStamp": "2023-05-09T17:30:00Z"
+ },
+ {
+ "freeHourType": "Temporary",
+ "freeHourStatus": "Enabled",
+ "incrementalFreeHours": 100,
+ "remainingFreeHours": 30.0,
+ "createTimeStamp": "2022-03-12T12:51:38.709Z",
+ "expirationTimeStamp": "2023-05-09T17:30:00Z"
+ }
+ ]
+ }
+ },
+ {
+ "name": "SubscriptionLevel",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/freeHourBalances/SubscriptionLevel",
+ "type": "Microsoft.TestBase/testBaseAccounts/freeHourBalances",
+ "properties": {
+ "totalRemainingFreeHours": 60.0,
+ "incrementEntries": [
+ {
+ "freeHourType": "Temporary",
+ "freeHourStatus": "Enabled",
+ "incrementalFreeHours": 100,
+ "remainingFreeHours": 30.0,
+ "createTimeStamp": "2022-03-12T12:51:38.709Z",
+ "expirationTimeStamp": "2023-05-09T17:30:00Z"
+ },
+ {
+ "freeHourType": "Temporary",
+ "freeHourStatus": "Enabled",
+ "incrementalFreeHours": 100,
+ "remainingFreeHours": 30.0,
+ "createTimeStamp": "2022-03-12T12:51:38.709Z",
+ "expirationTimeStamp": "2023-05-09T17:30:00Z"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/GalleryAppGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/GalleryAppGet.json
new file mode 100644
index 000000000000..cabcaef35eaa
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/GalleryAppGet.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "galleryAppName": "fe51c56c-5dc0-499b-a807-a9d7746b34ae",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "fe51c56c-5dc0-499b-a807-a9d7746b34ae",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/galleryApps/fe51c56c-5dc0-499b-a807-a9d7746b34ae",
+ "type": "Microsoft.TestBase/testBaseAccounts/galleryApps",
+ "properties": {
+ "applicationType": "Winget",
+ "applicationId": "Microsoft.Office",
+ "applicationName": "Microsoft 365 Apps for enterprise",
+ "popularity": 100
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/GalleryAppSkuGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/GalleryAppSkuGet.json
new file mode 100644
index 000000000000..be7d3497a832
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/GalleryAppSkuGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "galleryAppName": "fe51c56c-5dc0-499b-a807-a9d7746b34ae",
+ "galleryAppSkuName": "ec898a20-df1e-4483-83e7-4bb37bb77385",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "ec898a20-df1e-4483-83e7-4bb37bb77385",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/galleryApps/fe51c56c-5dc0-499b-a807-a9d7746b34ae/galleryAppSkus/ec898a20-df1e-4483-83e7-4bb37bb77385",
+ "type": "Microsoft.TestBase/testBaseAccounts/galleryApps/galleryAppSkus",
+ "properties": {
+ "applicationType": "Winget",
+ "version": "16.0.15928.20196",
+ "license": "Commercial",
+ "licenseUrl": "https://docs.microsoft.com/legal/termsofuse"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/GalleryAppsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/GalleryAppsList.json
new file mode 100644
index 000000000000..0c7197f2030c
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/GalleryAppsList.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "keyword": "office",
+ "top": 2,
+ "applicationType": "Winget",
+ "orderBy": "relevance",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "fe51c56c-5dc0-499b-a807-a9d7746b34ae",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/galleryApps/fe51c56c-5dc0-499b-a807-a9d7746b34ae",
+ "type": "Microsoft.TestBase/testBaseAccounts/galleryApps",
+ "properties": {
+ "applicationType": "Winget",
+ "applicationId": "Microsoft.Office",
+ "applicationName": "Microsoft 365 Apps for enterprise",
+ "popularity": 100
+ }
+ },
+ {
+ "name": "ef435271-7dcf-4014-b5dc-18ee14e338c0",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/galleryApps/ef435271-7dcf-4014-b5dc-18ee14e338c0",
+ "type": "Microsoft.TestBase/testBaseAccounts/galleryApps",
+ "properties": {
+ "applicationType": "Winget",
+ "applicationId": "Microsoft.OneDrive",
+ "applicationName": "Microsoft OneDrive",
+ "popularity": 2
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/GalleryAppsSkusList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/GalleryAppsSkusList.json
new file mode 100644
index 000000000000..3e376a842810
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/GalleryAppsSkusList.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "galleryAppName": "fe51c56c-5dc0-499b-a807-a9d7746b34ae",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Office-16.0.15928.20196",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/galleryApps/fe51c56c-5dc0-499b-a807-a9d7746b34ae/galleryAppSkus/Microsoft.Office-16.0.15928.20196",
+ "type": "Microsoft.TestBase/testBaseAccounts/galleryApps/galleryAppSkus",
+ "properties": {
+ "applicationType": "Winget",
+ "version": "16.0.15928.20196",
+ "license": "Commercial",
+ "licenseUrl": "https://docs.microsoft.com/legal/termsofuse"
+ }
+ },
+ {
+ "name": "Microsoft.Office-16.0.15726.20188",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/galleryApps/fe51c56c-5dc0-499b-a807-a9d7746b34ae/galleryAppSkus/Microsoft.Office-16.0.15726.20188",
+ "type": "Microsoft.TestBase/testBaseAccounts/galleryApps/galleryAppSkus",
+ "properties": {
+ "applicationType": "Winget",
+ "version": "16.0.15726.20188",
+ "license": "Commercial",
+ "licenseUrl": "https://docs.microsoft.com/legal/termsofuse"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ImageDefinitionCreate.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ImageDefinitionCreate.json
new file mode 100644
index 000000000000..5bc4917cc082
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ImageDefinitionCreate.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "imageDefinitionName": "contoso-image-def",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "properties": {
+ "architecture": "x64",
+ "securityType": "Standard",
+ "osState": "Generalized"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "contoso-image-def",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/imageDefinitions/contoso-image-def",
+ "type": "Microsoft.TestBase/testBaseAccounts/imageDefinitions",
+ "properties": {
+ "architecture": "x64",
+ "securityType": "Standard",
+ "osState": "Generalized"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "contoso-image-def",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/imageDefinitions/contoso-image-def",
+ "type": "Microsoft.TestBase/testBaseAccounts/imageDefinitions",
+ "properties": {
+ "architecture": "x64",
+ "securityType": "Standard",
+ "osState": "Generalized"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ImageDefinitionDelete.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ImageDefinitionDelete.json
new file mode 100644
index 000000000000..732a4e25fab9
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ImageDefinitionDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "imageDefinitionName": "contoso-image-def",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ImageDefinitionGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ImageDefinitionGet.json
new file mode 100644
index 000000000000..d59e8c7b3d79
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ImageDefinitionGet.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "imageDefinitionName": "contoso-image-def",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "contoso-image-def",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/imageDefinitions/contoso-image-def",
+ "type": "Microsoft.TestBase/testBaseAccounts/imageDefinitions",
+ "properties": {
+ "architecture": "x64",
+ "securityType": "Standard",
+ "osState": "Generalized"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ImageDefinitionsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ImageDefinitionsList.json
new file mode 100644
index 000000000000..fb6ea838520f
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ImageDefinitionsList.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "contoso-image-def",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/imageDefinitions/contoso-image-def",
+ "type": "Microsoft.TestBase/testBaseAccounts/imageDefinitions",
+ "properties": {
+ "architecture": "x64",
+ "securityType": "Standard",
+ "osState": "Generalized"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/MemoryRegressionAnalysisResultGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/MemoryRegressionAnalysisResultGet.json
new file mode 100644
index 000000000000..baac86a85730
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/MemoryRegressionAnalysisResultGet.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "testResultName": "Windows-10-1909-Test-Id",
+ "analysisResultName": "memoryRegression",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "memoryRegression",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/Windows-10-1909-Test-Id/analysisResults/memoryRegression",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/testResults/analysisResults",
+ "properties": {
+ "grade": "Pass",
+ "analysisResultType": "MemoryRegression",
+ "memoryRegressionResults": [
+ {
+ "fileName": "testApp.exe",
+ "grade": "Pass",
+ "details": "Some details of testApp",
+ "diff": 0.1,
+ "isRegressed": false
+ },
+ {
+ "fileName": "dependencies.exe",
+ "grade": "Pass",
+ "details": "Some details of dependencies",
+ "diff": 0.15,
+ "isRegressed": false
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/MemoryRegressionAnalysisResultsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/MemoryRegressionAnalysisResultsList.json
new file mode 100644
index 000000000000..fe081f2b119e
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/MemoryRegressionAnalysisResultsList.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "testResultName": "Windows-10-1909-Test-Id",
+ "analysisResultType": "MemoryRegression",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "memoryRegression",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/Windows-10-1909-Test-Id/analysisResults/memoryRegression",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/testResults/analysisResults",
+ "properties": {
+ "grade": "Pass",
+ "analysisResultType": "MemoryRegression",
+ "memoryRegressionResults": [
+ {
+ "fileName": "testApp.exe",
+ "grade": "Pass",
+ "details": "Some details of testApp",
+ "diff": 0.1,
+ "isRegressed": false
+ },
+ {
+ "fileName": "dependencies.exe",
+ "grade": "Pass",
+ "details": "Some details of dependencies",
+ "diff": 0.15,
+ "isRegressed": false
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/MemoryUtilizationAnalysisResultGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/MemoryUtilizationAnalysisResultGet.json
new file mode 100644
index 000000000000..0628ce73cb63
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/MemoryUtilizationAnalysisResultGet.json
@@ -0,0 +1,92 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "testResultName": "Windows-10-1909-Test-Id",
+ "analysisResultName": "memoryUtilization",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "memoryUtilization",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/Windows-10-1909-Test-Id/analysisResults/memoryUtilization",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/testResults/analysisResults",
+ "properties": {
+ "grade": "Pass",
+ "analysisResultType": "MemoryUtilization",
+ "memoryUtilizationResults": [
+ {
+ "process": "app.exe",
+ "upperBound": {
+ "percentile": 90.0,
+ "value": 60.0
+ },
+ "lowerBound": {
+ "percentile": 50.0,
+ "value": 20.0
+ },
+ "utilization": [
+ {
+ "timestamp": "2020-12-28T17:30:00Z",
+ "value": 34.7
+ },
+ {
+ "timestamp": "2020-12-28T17:31:00Z",
+ "value": 35.9
+ },
+ {
+ "timestamp": "2020-12-28T17:32:00Z",
+ "value": 27.1
+ },
+ {
+ "timestamp": "2020-12-28T17:33:00Z",
+ "value": 49.8
+ },
+ {
+ "timestamp": "2020-12-28T17:34:00Z",
+ "value": 45.6
+ }
+ ]
+ },
+ {
+ "process": "anotherProcess.exe",
+ "upperBound": {
+ "percentile": 90.0,
+ "value": 60.0
+ },
+ "lowerBound": {
+ "percentile": 50.0,
+ "value": 20.0
+ },
+ "utilization": [
+ {
+ "timestamp": "2020-12-28T17:30:00Z",
+ "value": 34.7
+ },
+ {
+ "timestamp": "2020-12-28T17:31:00Z",
+ "value": 35.9
+ },
+ {
+ "timestamp": "2020-12-28T17:32:00Z",
+ "value": 27.1
+ },
+ {
+ "timestamp": "2020-12-28T17:33:00Z",
+ "value": 49.8
+ },
+ {
+ "timestamp": "2020-12-28T17:34:00Z",
+ "value": 45.6
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/MemoryUtilizationAnalysisResultsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/MemoryUtilizationAnalysisResultsList.json
new file mode 100644
index 000000000000..2cf1dcfa5f2a
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/MemoryUtilizationAnalysisResultsList.json
@@ -0,0 +1,96 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "testResultName": "Windows-10-1909-Test-Id",
+ "analysisResultType": "MemoryUtilization",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "cpuUtilization",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/Windows-10-1909-Test-Id/analysisResults/memoryUtilization",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/testResults/analysisResults",
+ "properties": {
+ "grade": "Pass",
+ "analysisResultType": "MemoryUtilization",
+ "memoryUtilizationResults": [
+ {
+ "process": "app.exe",
+ "upperBound": {
+ "percentile": 90.0,
+ "value": 60.0
+ },
+ "lowerBound": {
+ "percentile": 50.0,
+ "value": 20.0
+ },
+ "utilization": [
+ {
+ "timestamp": "2020-12-28T17:30:00Z",
+ "value": 34.7
+ },
+ {
+ "timestamp": "2020-12-28T17:31:00Z",
+ "value": 35.9
+ },
+ {
+ "timestamp": "2020-12-28T17:32:00Z",
+ "value": 27.1
+ },
+ {
+ "timestamp": "2020-12-28T17:33:00Z",
+ "value": 49.8
+ },
+ {
+ "timestamp": "2020-12-28T17:34:00Z",
+ "value": 45.6
+ }
+ ]
+ },
+ {
+ "process": "anotherProcess.exe",
+ "upperBound": {
+ "percentile": 90.0,
+ "value": 60.0
+ },
+ "lowerBound": {
+ "percentile": 50.0,
+ "value": 20.0
+ },
+ "utilization": [
+ {
+ "timestamp": "2020-12-28T17:30:00Z",
+ "value": 34.7
+ },
+ {
+ "timestamp": "2020-12-28T17:31:00Z",
+ "value": 35.9
+ },
+ {
+ "timestamp": "2020-12-28T17:32:00Z",
+ "value": 27.1
+ },
+ {
+ "timestamp": "2020-12-28T17:33:00Z",
+ "value": 49.8
+ },
+ {
+ "timestamp": "2020-12-28T17:34:00Z",
+ "value": 45.6
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/OSUpdateGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/OSUpdateGet.json
new file mode 100644
index 000000000000..c9a6c29af4a1
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/OSUpdateGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "osUpdateResourceName": "Windows-10-2004-2020-12-B-505",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "Windows-10-2004-2020-12-B-505",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/osUpdates/Windows-10-2004-2020-12-B-505",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/osUpdates",
+ "properties": {
+ "osName": "Windows 10 2004",
+ "release": "2020.12B",
+ "buildRevision": "505",
+ "type": "SecurityUpdate"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/OSUpdatesList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/OSUpdatesList.json
new file mode 100644
index 000000000000..a88e0f6bfd4f
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/OSUpdatesList.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "osUpdateType": "SecurityUpdate",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Windows-10-2004-2020-12-B-505",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/osUpdates/Windows-10-2004-2020-12-B-505",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/osUpdates",
+ "properties": {
+ "osName": "Windows 10 2004",
+ "release": "2020.12B",
+ "buildRevision": "505",
+ "type": "SecurityUpdate"
+ }
+ },
+ {
+ "name": "Windows-10-2004-2020-10-B-413",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/osUpdates/Windows-10-2004-2020-10-B-413",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/osUpdates",
+ "properties": {
+ "osName": "Windows 10 2004",
+ "release": "2020.10B",
+ "buildRevision": "413",
+ "type": "SecurityUpdate"
+ }
+ },
+ {
+ "name": "Windows-10-2004-2020-08-B-226",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/osUpdates/Windows-10-2004-2020-08-B-226",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/osUpdates",
+ "properties": {
+ "osName": "Windows 10 2004",
+ "release": "2020.08B",
+ "buildRevision": "226",
+ "type": "SecurityUpdate"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/OperationsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/OperationsList.json
new file mode 100644
index 000000000000..6c60204eb0d4
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/OperationsList.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.TestBase/operations?api-version=2023-11-01-preview&$skipToken=dummySkipToken",
+ "value": [
+ {
+ "name": "Microsoft.TestBase/testBaseAccounts/read",
+ "display": {
+ "provider": "Microsoft Test Base",
+ "resource": "Test Base Account",
+ "operation": "View Test Base Account",
+ "description": "View the properties of a Test Base Account."
+ }
+ },
+ {
+ "name": "Microsoft.TestBase/testBaseAccounts/write",
+ "display": {
+ "provider": "Microsoft Test Base",
+ "resource": "Test Base Account",
+ "operation": "Update Test Base Account",
+ "description": "Create a new Test Base Account or update the properties of an existing Test Base Account."
+ }
+ },
+ {
+ "name": "Microsoft.TestBase/testBaseAccounts/delete",
+ "display": {
+ "provider": "Microsoft Test Base",
+ "resource": "Test Base Account",
+ "operation": "Delete Test Base Account",
+ "description": "Delete a Test Base Account."
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageCreate.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageCreate.json
new file mode 100644
index 000000000000..ec9091875748
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageCreate.json
@@ -0,0 +1,326 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "applicationName": "contoso-package2",
+ "version": "1.0.0",
+ "targetOSList": [
+ {
+ "osUpdateType": "Security updates",
+ "targetOSs": [
+ "Windows 10 2004",
+ "Windows 10 1903"
+ ]
+ }
+ ],
+ "flightingRing": "Insider Beta Channel",
+ "blobPath": "storageAccountPath/package.zip",
+ "firstPartyApps": [
+ {
+ "name": "Office",
+ "architecture": "x64",
+ "channel": "Current Channel",
+ "ring": "Insider",
+ "interopExecutionMode": "firstPartyAppWithTests"
+ }
+ ],
+ "tests": [
+ {
+ "testType": "OutOfBoxTest",
+ "isActive": true,
+ "commands": [
+ {
+ "name": "Install",
+ "action": "Install",
+ "contentType": "Path",
+ "content": "app/scripts/install/job.ps1",
+ "runElevated": true,
+ "restartAfter": true,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": true
+ },
+ {
+ "name": "Launch",
+ "action": "Launch",
+ "contentType": "Path",
+ "content": "app/scripts/launch/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": false,
+ "applyUpdateBefore": true,
+ "install1PAppBefore": false
+ },
+ {
+ "name": "Close",
+ "action": "Close",
+ "contentType": "Path",
+ "content": "app/scripts/close/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": false,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": false
+ },
+ {
+ "name": "Uninstall",
+ "action": "Uninstall",
+ "contentType": "Path",
+ "content": "app/scripts/uninstall/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": false
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2",
+ "name": "contoso-package2",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded",
+ "applicationName": "contoso-package2",
+ "version": "1.0.0",
+ "testTypes": [
+ "OutOfBoxTest"
+ ],
+ "targetOSList": [
+ {
+ "osUpdateType": "Security updates",
+ "targetOSs": [
+ "Windows 10 2004",
+ "Windows 10 1903"
+ ]
+ }
+ ],
+ "packageStatus": "Ready",
+ "lastModifiedTime": "2020-12-28T17:30:00Z",
+ "flightingRing": "Insider Beta Channel",
+ "isEnabled": true,
+ "blobPath": "storageAccountPath/package.zip",
+ "firstPartyApps": [
+ {
+ "name": "Office",
+ "architecture": "x64",
+ "channel": "Current Channel",
+ "ring": "Insider",
+ "interopExecutionMode": "firstPartyAppWithTests"
+ }
+ ],
+ "validationResults": [
+ {
+ "validationName": "Syntax Validation",
+ "isValid": true
+ },
+ {
+ "validationName": "Package Run Validation",
+ "isValid": true
+ }
+ ],
+ "tests": [
+ {
+ "testType": "OutOfBoxTest",
+ "validationRunStatus": "Passed",
+ "validationResultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/TestResult-51d71a5f-e012-4192-88f7-bd12e0bac2b0",
+ "isActive": true,
+ "commands": [
+ {
+ "name": "Install",
+ "action": "Install",
+ "contentType": "Path",
+ "content": "app/scripts/install/job.ps1",
+ "runElevated": true,
+ "restartAfter": true,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": true
+ },
+ {
+ "name": "Launch",
+ "action": "Launch",
+ "contentType": "Path",
+ "content": "app/scripts/launch/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": false,
+ "applyUpdateBefore": true,
+ "install1PAppBefore": false
+ },
+ {
+ "name": "Close",
+ "action": "Close",
+ "contentType": "Path",
+ "content": "app/scripts/close/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": false,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": false
+ },
+ {
+ "name": "Uninstall",
+ "action": "Uninstall",
+ "contentType": "Path",
+ "content": "app/scripts/uninstall/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": false
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview"
+ },
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2",
+ "name": "contoso-package2",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Creating",
+ "applicationName": "contoso-package2",
+ "version": "1.0.0",
+ "testTypes": [
+ "OutOfBoxTest"
+ ],
+ "targetOSList": [
+ {
+ "osUpdateType": "Security updates",
+ "targetOSs": [
+ "Windows 10 2004",
+ "Windows 10 1903"
+ ]
+ }
+ ],
+ "packageStatus": "Ready",
+ "lastModifiedTime": "2020-12-28T17:30:00Z",
+ "flightingRing": "Insider Beta Channel",
+ "isEnabled": true,
+ "blobPath": "storageAccountPath/package.zip",
+ "firstPartyApps": [
+ {
+ "name": "Office",
+ "architecture": "x64",
+ "channel": "Current Channel",
+ "ring": "Insider",
+ "interopExecutionMode": "firstPartyAppWithTests"
+ }
+ ],
+ "validationResults": [
+ {
+ "validationName": "Syntax Validation",
+ "isValid": true
+ },
+ {
+ "validationName": "Package Run Validation",
+ "isValid": true
+ }
+ ],
+ "tests": [
+ {
+ "testType": "OutOfBoxTest",
+ "validationRunStatus": "Passed",
+ "validationResultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/TestResult-51d71a5f-e012-4192-88f7-bd12e0bac2b0",
+ "isActive": true,
+ "commands": [
+ {
+ "name": "Install",
+ "action": "Install",
+ "contentType": "Path",
+ "content": "app/scripts/install/job.ps1",
+ "runElevated": true,
+ "restartAfter": true,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": true
+ },
+ {
+ "name": "Launch",
+ "action": "Launch",
+ "contentType": "Path",
+ "content": "app/scripts/launch/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": false,
+ "applyUpdateBefore": true,
+ "install1PAppBefore": false
+ },
+ {
+ "name": "Close",
+ "action": "Close",
+ "contentType": "Path",
+ "content": "app/scripts/close/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": false,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": false
+ },
+ {
+ "name": "Uninstall",
+ "action": "Uninstall",
+ "contentType": "Path",
+ "content": "app/scripts/uninstall/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": false
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageDelete.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageDelete.json
new file mode 100644
index 000000000000..370aeae463f3
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageDelete.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview",
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageGet.json
new file mode 100644
index 000000000000..ecd7afac2232
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageGet.json
@@ -0,0 +1,129 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2",
+ "name": "contoso-package2",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded",
+ "applicationName": "contoso-package2",
+ "version": "1.0.0",
+ "testTypes": [
+ "OutOfBoxTest"
+ ],
+ "targetOSList": [
+ {
+ "osUpdateType": "Security updates",
+ "targetOSs": [
+ "Windows 10 2004",
+ "Windows 10 1903"
+ ]
+ }
+ ],
+ "packageStatus": "Ready",
+ "lastModifiedTime": "2020-12-28T17:30:00Z",
+ "flightingRing": "Insider Beta Channel",
+ "isEnabled": true,
+ "blobPath": "storageAccountPath/package.zip",
+ "firstPartyApps": [
+ {
+ "name": "Office",
+ "architecture": "x64",
+ "channel": "Current Channel",
+ "ring": "Insider",
+ "interopExecutionMode": "firstPartyAppWithTests"
+ }
+ ],
+ "galleryApps": [
+ {
+ "skuId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/galleryApps/fe51c56c-5dc0-499b-a807-a9d7746b34ae/galleryAppSkus/docker-4.14.1",
+ "isConsented": true
+ }
+ ],
+ "validationResults": [
+ {
+ "validationName": "Syntax Validation",
+ "isValid": true
+ },
+ {
+ "validationName": "Package Run Validation",
+ "isValid": true
+ }
+ ],
+ "tests": [
+ {
+ "testType": "OutOfBoxTest",
+ "validationRunStatus": "Passed",
+ "validationResultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/TestResult-51d71a5f-e012-4192-88f7-bd12e0bac2b0",
+ "isActive": true,
+ "commands": [
+ {
+ "name": "Install",
+ "action": "Install",
+ "contentType": "Path",
+ "content": "app/scripts/install/job.ps1",
+ "runElevated": true,
+ "restartAfter": true,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": true
+ },
+ {
+ "name": "Launch",
+ "action": "Launch",
+ "contentType": "Path",
+ "content": "app/scripts/launch/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": false,
+ "applyUpdateBefore": true,
+ "install1PAppBefore": false
+ },
+ {
+ "name": "Close",
+ "action": "Close",
+ "contentType": "Path",
+ "content": "app/scripts/close/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": false,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": false
+ },
+ {
+ "name": "Uninstall",
+ "action": "Uninstall",
+ "contentType": "Path",
+ "content": "app/scripts/uninstall/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": false
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageGetDownloadURL.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageGetDownloadURL.json
new file mode 100644
index 000000000000..c591a2d778e2
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageGetDownloadURL.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "downloadUrl": "some URL",
+ "expirationTime": "2021-01-10T06:00:00Z"
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageHardDelete.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageHardDelete.json
new file mode 100644
index 000000000000..370aeae463f3
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageHardDelete.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview",
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageRunTest.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageRunTest.json
new file mode 100644
index 000000000000..1250334ca8a6
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageRunTest.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "testType": "OutOfBoxTest",
+ "osUpdateType": "SecurityUpdate",
+ "osName": "Windows 10 21H1",
+ "releaseName": "2021.05 B"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview",
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageUpdate.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageUpdate.json
new file mode 100644
index 000000000000..8fb3fead1640
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackageUpdate.json
@@ -0,0 +1,221 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "tags": {},
+ "properties": {
+ "targetOSList": [
+ {
+ "osUpdateType": "Security updates",
+ "targetOSs": [
+ "Windows 10 2004",
+ "Windows 10 1903"
+ ]
+ }
+ ],
+ "flightingRing": "Insider Beta Channel",
+ "isEnabled": false,
+ "blobPath": "storageAccountPath/package.zip",
+ "firstPartyApps": [
+ {
+ "name": "Office",
+ "architecture": "x64",
+ "channel": "Current Channel",
+ "ring": "Insider",
+ "interopExecutionMode": "firstPartyAppWithTests"
+ }
+ ],
+ "tests": [
+ {
+ "testType": "OutOfBoxTest",
+ "isActive": true,
+ "commands": [
+ {
+ "name": "Install",
+ "action": "Install",
+ "contentType": "Path",
+ "content": "app/scripts/install/job.ps1",
+ "runElevated": true,
+ "restartAfter": true,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": true
+ },
+ {
+ "name": "Launch",
+ "action": "Launch",
+ "contentType": "Path",
+ "content": "app/scripts/launch/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": false,
+ "applyUpdateBefore": true,
+ "install1PAppBefore": false
+ },
+ {
+ "name": "Close",
+ "action": "Close",
+ "contentType": "Path",
+ "content": "app/scripts/close/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": false,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": false
+ },
+ {
+ "name": "Uninstall",
+ "action": "Uninstall",
+ "contentType": "Path",
+ "content": "app/scripts/uninstall/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": false
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2",
+ "name": "contoso-package2",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded",
+ "applicationName": "contoso-package2",
+ "version": "1.0.0",
+ "testTypes": [
+ "OutOfBoxTest"
+ ],
+ "targetOSList": [
+ {
+ "osUpdateType": "Security updates",
+ "targetOSs": [
+ "Windows 10 2004",
+ "Windows 10 1903"
+ ]
+ }
+ ],
+ "packageStatus": "Ready",
+ "lastModifiedTime": "2020-12-28T17:30:00Z",
+ "flightingRing": "Insider Beta Channel",
+ "isEnabled": false,
+ "blobPath": "storageAccountPath/package.zip",
+ "validationResults": [
+ {
+ "validationName": "Syntax Validation",
+ "isValid": true
+ },
+ {
+ "validationName": "Package Run Validation",
+ "isValid": true
+ }
+ ],
+ "firstPartyApps": [
+ {
+ "name": "Office",
+ "architecture": "x64",
+ "channel": "Current Channel",
+ "ring": "Insider",
+ "interopExecutionMode": "firstPartyAppWithTests"
+ }
+ ],
+ "tests": [
+ {
+ "testType": "OutOfBoxTest",
+ "validationRunStatus": "Passed",
+ "validationResultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/TestResult-51d71a5f-e012-4192-88f7-bd12e0bac2b0",
+ "isActive": true,
+ "commands": [
+ {
+ "name": "Install",
+ "action": "Install",
+ "contentType": "Path",
+ "content": "app/scripts/install/job.ps1",
+ "runElevated": true,
+ "restartAfter": true,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": true
+ },
+ {
+ "name": "Launch",
+ "action": "Launch",
+ "contentType": "Path",
+ "content": "app/scripts/launch/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": false,
+ "applyUpdateBefore": true,
+ "install1PAppBefore": false
+ },
+ {
+ "name": "Close",
+ "action": "Close",
+ "contentType": "Path",
+ "content": "app/scripts/close/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": false,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": false
+ },
+ {
+ "name": "Uninstall",
+ "action": "Uninstall",
+ "contentType": "Path",
+ "content": "app/scripts/uninstall/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": false
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview",
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview"
+ }
+ },
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview",
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackagesList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackagesList.json
new file mode 100644
index 000000000000..4ccd17cc9e4f
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/PackagesList.json
@@ -0,0 +1,282 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package1",
+ "name": "contoso-package1",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded",
+ "applicationName": "contoso-package1",
+ "version": "1.0.0",
+ "testTypes": [
+ "OutOfBoxTest",
+ "FunctionalTest"
+ ],
+ "targetOSList": [
+ {
+ "osUpdateType": "Security updates",
+ "targetOSs": [
+ "Windows 10 2004",
+ "Windows 10 1903"
+ ]
+ },
+ {
+ "osUpdateType": "Feature updates",
+ "targetOSs": [
+ "Windows 10 2004",
+ "Windows 10 1903",
+ "Windows 10 1809"
+ ],
+ "baselineOSs": [
+ "Windows 10 1809"
+ ]
+ }
+ ],
+ "packageStatus": "Ready",
+ "lastModifiedTime": "2020-12-28T17:30:00Z",
+ "flightingRing": "Insider Beta Channel",
+ "isEnabled": true,
+ "blobPath": "storageAccountPath/package.zip",
+ "validationResults": [
+ {
+ "validationName": "Syntax Validation",
+ "isValid": true
+ },
+ {
+ "validationName": "Package Run Validation",
+ "isValid": true
+ }
+ ],
+ "firstPartyApps": [
+ {
+ "name": "Office",
+ "architecture": "x86",
+ "channel": "Current Channel",
+ "ring": "Insider",
+ "interopExecutionMode": "firstPartyAppWithTests"
+ }
+ ],
+ "tests": [
+ {
+ "testType": "OutOfBoxTest",
+ "validationRunStatus": "Passed",
+ "validationResultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package1/testResults/TestResult-51d71a5f-e012-4192-88f7-bd12e0bac2b0",
+ "isActive": true,
+ "commands": [
+ {
+ "name": "Install",
+ "action": "Install",
+ "contentType": "Path",
+ "content": "app/scripts/install/job.ps1",
+ "runElevated": true,
+ "restartAfter": true,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": true
+ },
+ {
+ "name": "Launch",
+ "action": "Launch",
+ "contentType": "Path",
+ "content": "app/scripts/launch/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": false,
+ "applyUpdateBefore": true,
+ "install1PAppBefore": false
+ },
+ {
+ "name": "Close",
+ "action": "Close",
+ "contentType": "Path",
+ "content": "app/scripts/close/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": false,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": false
+ },
+ {
+ "name": "Uninstall",
+ "action": "Uninstall",
+ "contentType": "Path",
+ "content": "app/scripts/uninstall/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": false
+ }
+ ]
+ },
+ {
+ "testType": "FunctionalTest",
+ "validationRunStatus": "Passed",
+ "validationResultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package1/testResults/TestResult-51d71a5f-e012-4192-88f7-bd12e0bac2b0",
+ "isActive": true,
+ "commands": [
+ {
+ "name": "Custom1",
+ "action": "Custom",
+ "contentType": "Path",
+ "content": "app/scripts/custom/custom1.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": false
+ },
+ {
+ "name": "Custom2",
+ "action": "Custom",
+ "contentType": "Path",
+ "content": "app/scripts/custom/custom2.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": true,
+ "install1PAppBefore": true
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2",
+ "name": "contoso-package2",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded",
+ "applicationName": "contoso-package2",
+ "version": "1.0.0",
+ "testTypes": [
+ "OutOfBoxTest"
+ ],
+ "targetOSList": [
+ {
+ "osUpdateType": "Security updates",
+ "targetOSs": [
+ "Windows 10 2004",
+ "Windows 10 1903"
+ ]
+ }
+ ],
+ "packageStatus": "Ready",
+ "lastModifiedTime": "2020-12-28T17:30:00Z",
+ "flightingRing": "Insider Beta Channel",
+ "isEnabled": true,
+ "blobPath": "storageAccountPath/package.zip",
+ "validationResults": [
+ {
+ "validationName": "Syntax Validation",
+ "isValid": true
+ },
+ {
+ "validationName": "Package Run Validation",
+ "isValid": true
+ }
+ ],
+ "firstPartyApps": [
+ {
+ "name": "Office",
+ "architecture": "x64",
+ "channel": "Current Channel",
+ "ring": "Insider",
+ "interopExecutionMode": "firstPartyAppWithTests"
+ }
+ ],
+ "tests": [
+ {
+ "testType": "OutOfBoxTest",
+ "validationRunStatus": "Passed",
+ "validationResultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/TestResult-51d71a5f-e012-4192-88f7-bd12e0bac2b0",
+ "isActive": true,
+ "commands": [
+ {
+ "name": "Install",
+ "action": "Install",
+ "contentType": "Path",
+ "content": "app/scripts/install/job.ps1",
+ "runElevated": true,
+ "restartAfter": true,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": true
+ },
+ {
+ "name": "Launch",
+ "action": "Launch",
+ "contentType": "Path",
+ "content": "app/scripts/launch/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": false,
+ "applyUpdateBefore": true,
+ "install1PAppBefore": false
+ },
+ {
+ "name": "Close",
+ "action": "Close",
+ "contentType": "Path",
+ "content": "app/scripts/close/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": false,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": false
+ },
+ {
+ "name": "Uninstall",
+ "action": "Uninstall",
+ "contentType": "Path",
+ "content": "app/scripts/uninstall/job.ps1",
+ "runElevated": true,
+ "restartAfter": false,
+ "maxRunTime": 1800,
+ "runAsInteractive": true,
+ "alwaysRun": true,
+ "applyUpdateBefore": false,
+ "install1PAppBefore": false
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ScriptExecutionAnalysisResultGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ScriptExecutionAnalysisResultGet.json
new file mode 100644
index 000000000000..47baeeaddead
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ScriptExecutionAnalysisResultGet.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "testResultName": "Windows-10-1909-Test-Id",
+ "analysisResultName": "scriptExecution",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "scriptExecution",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/Windows-10-1909-Test-Id/analysisResults/scriptExecution",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/testResults/analysisResults",
+ "properties": {
+ "grade": "Pass",
+ "analysisResultType": "ScriptExecution",
+ "scriptExecutionResults": [
+ {
+ "scriptName": "install",
+ "startTime": "2021-10-19T09:52:02.451Z",
+ "endTime": "2021-10-19T09:52:05.244Z",
+ "exitCode": 0,
+ "timedOut": false,
+ "stdoutLogFileName": "install-stdout-1234.log",
+ "stderrLogFileName": "install-stderr-1234.log"
+ },
+ {
+ "scriptName": "launch",
+ "startTime": "2021-10-19T10:08:21.187Z",
+ "endTime": "2021-10-19T10:08:58.378Z",
+ "exitCode": 0,
+ "timedOut": false,
+ "stdoutLogFileName": "launch-stdout-1234.log",
+ "stderrLogFileName": "launch-stderr-1234.log"
+ },
+ {
+ "scriptName": "close",
+ "startTime": "2021-10-19T10:09:15.981Z",
+ "endTime": "2021-10-19T10:09:19.59Z",
+ "exitCode": 0,
+ "timedOut": false,
+ "stdoutLogFileName": "close-stdout-1234.log",
+ "stderrLogFileName": "close-stderr-1234.log"
+ },
+ {
+ "scriptName": "uninstall",
+ "startTime": "2021-10-19T10:10:49Z",
+ "endTime": "2021-10-19T10:10:55.082Z",
+ "exitCode": 0,
+ "timedOut": false,
+ "stdoutLogFileName": "uninstall-stdout-1234.log",
+ "stderrLogFileName": "uninstall-stderr-1234.log"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ScriptExecutionAnalysisResultsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ScriptExecutionAnalysisResultsList.json
new file mode 100644
index 000000000000..87c1b47cdf45
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/ScriptExecutionAnalysisResultsList.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "testResultName": "Windows-10-1909-Test-Id",
+ "analysisResultType": "ScriptExecution",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "scriptExecution",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/Windows-10-1909-Test-Id/analysisResults/scriptExecution",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/testResults/analysisResults",
+ "properties": {
+ "grade": "Pass",
+ "analysisResultType": "ScriptExecution",
+ "scriptExecutionResults": [
+ {
+ "scriptName": "install",
+ "startTime": "2021-10-19T09:52:02.451Z",
+ "endTime": "2021-10-19T09:52:05.244Z",
+ "exitCode": 0,
+ "timedOut": false,
+ "stdoutLogFileName": "install-stdout-1234.log",
+ "stderrLogFileName": "install-stderr-1234.log"
+ },
+ {
+ "scriptName": "launch",
+ "startTime": "2021-10-19T10:08:21.187Z",
+ "endTime": "2021-10-19T10:08:58.378Z",
+ "exitCode": 0,
+ "timedOut": false,
+ "stdoutLogFileName": "launch-stdout-1234.log",
+ "stderrLogFileName": "launch-stderr-1234.log"
+ },
+ {
+ "scriptName": "close",
+ "startTime": "2021-10-19T10:09:15.981Z",
+ "endTime": "2021-10-19T10:09:19.59Z",
+ "exitCode": 0,
+ "timedOut": false,
+ "stdoutLogFileName": "close-stdout-1234.log",
+ "stderrLogFileName": "close-stderr-1234.log"
+ },
+ {
+ "scriptName": "uninstall",
+ "startTime": "2021-10-19T10:10:49Z",
+ "endTime": "2021-10-19T10:10:55.082Z",
+ "exitCode": 0,
+ "timedOut": false,
+ "stdoutLogFileName": "uninstall-stdout-1234.log",
+ "stderrLogFileName": "uninstall-stderr-1234.log"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountCreate.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountCreate.json
new file mode 100644
index 000000000000..fb3b61d09575
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountCreate.json
@@ -0,0 +1,84 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1",
+ "name": "contoso-testBaseAccount1",
+ "type": "Microsoft.TestBase/testBaseAccounts",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard",
+ "capabilities": [
+ {
+ "name": "SLA",
+ "value": "99.9%"
+ },
+ {
+ "name": "maximumPackageCount",
+ "value": "5"
+ },
+ {
+ "name": "packageMaximumRunSeconds",
+ "value": "3600"
+ }
+ ]
+ },
+ "accessLevel": "StandardAccess"
+ }
+ }
+ },
+ "201": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview"
+ },
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1",
+ "name": "contoso-testBaseAccount1",
+ "type": "Microsoft.TestBase/testBaseAccounts",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Creating",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard",
+ "capabilities": [
+ {
+ "name": "SLA",
+ "value": "99.9%"
+ },
+ {
+ "name": "maximumPackageCount",
+ "value": "5"
+ },
+ {
+ "name": "packageMaximumRunSeconds",
+ "value": "3600"
+ }
+ ]
+ },
+ "accessLevel": "StandardAccess"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountDelete.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountDelete.json
new file mode 100644
index 000000000000..5f6a0ff798ca
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountDelete.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview",
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountGet.json
new file mode 100644
index 000000000000..fe0773dd91ec
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountGet.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1",
+ "name": "contoso-testBaseAccount1",
+ "type": "Microsoft.TestBase/testBaseAccounts",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard",
+ "capabilities": [
+ {
+ "name": "SLA",
+ "value": "99.9%"
+ },
+ {
+ "name": "maximumPackageCount",
+ "value": "5"
+ },
+ {
+ "name": "packageMaximumRunSeconds",
+ "value": "3600"
+ }
+ ]
+ },
+ "accessLevel": "EarlyAccess"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountGetFileUploadUrl.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountGetFileUploadUrl.json
new file mode 100644
index 000000000000..873c342bea8c
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountGetFileUploadUrl.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "blobName": "package.zip"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "uploadUrl": "https://uslwestusdevsa.blob.core.windows.net/usltest/temp/20c0d7e0-1bb6-477f-bc04-57c734453000/token",
+ "blobPath": "https://uslwestusdevsa.blob.core.windows.net/usltest/temp/20c0d7e0-1bb6-477f-bc04-57c734453000/package.zip"
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountOffboard.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountOffboard.json
new file mode 100644
index 000000000000..5f6a0ff798ca
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountOffboard.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview",
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountSKUsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountSKUsList.json
new file mode 100644
index 000000000000..471704b442ee
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountSKUsList.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.TestBase/skus?api-version=2023-11-01-preview&$skipToken=dummySkipToken",
+ "value": [
+ {
+ "resourceType": "testBaseAccounts",
+ "name": "S0",
+ "tier": "Standard",
+ "locations": [
+ "global"
+ ],
+ "capabilities": []
+ },
+ {
+ "resourceType": "testBaseAccounts",
+ "name": "S0",
+ "tier": "Standard",
+ "locations": [
+ "global"
+ ],
+ "capabilities": []
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountUpdate.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountUpdate.json
new file mode 100644
index 000000000000..5e12c4ae18bd
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountUpdate.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "properties": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1",
+ "name": "contoso-testBaseAccount1",
+ "type": "Microsoft.TestBase/testBaseAccounts",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard",
+ "capabilities": [
+ {
+ "name": "SLA",
+ "value": "99.9%"
+ },
+ {
+ "name": "maximumPackageCount",
+ "value": "5"
+ },
+ {
+ "name": "packageMaximumRunSeconds",
+ "value": "3600"
+ }
+ ]
+ },
+ "accessLevel": "EarlyAccess"
+ }
+ }
+ },
+ "201": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview",
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview"
+ }
+ },
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview",
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/operationResults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2023-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountUsagesList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountUsagesList.json
new file mode 100644
index 000000000000..4a5e50069072
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountUsagesList.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.TestBase/contoso-testBaseAccount1/usages?api-version=2023-11-01-preview&$skipToken=dummySkipToken",
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/usages/contoso-package1-usage",
+ "name": {
+ "value": "contoso-package1-usage",
+ "localizedValue": "contoso-package1-usage"
+ },
+ "unit": "Seconds",
+ "limit": -1,
+ "currentValue": 7531
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/usages/contoso-package2-usage",
+ "name": {
+ "value": "contoso-package2-usage",
+ "localizedValue": "contoso-package2-usage"
+ },
+ "unit": "Seconds",
+ "limit": -1,
+ "currentValue": 3157
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountsList.json
new file mode 100644
index 000000000000..4a0eed2d16d1
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountsList.json
@@ -0,0 +1,73 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1",
+ "name": "contoso-testBaseAccount1",
+ "type": "Microsoft.TestBase/testBaseAccounts",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard",
+ "capabilities": [
+ {
+ "name": "SLA",
+ "value": "99.9%"
+ },
+ {
+ "name": "maximumPackageCount",
+ "value": "5"
+ },
+ {
+ "name": "packageMaximumRunSeconds",
+ "value": "3600"
+ }
+ ]
+ },
+ "accessLevel": "EarlyAccess"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg2/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount2",
+ "name": "contoso-testBaseAccount2",
+ "type": "Microsoft.TestBase/testBaseAccounts",
+ "location": "eastus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard",
+ "capabilities": [
+ {
+ "name": "SLA",
+ "value": "99.999%"
+ },
+ {
+ "name": "maximumPackageCount",
+ "value": "100"
+ },
+ {
+ "name": "packageMaximumRunSeconds",
+ "value": "10800"
+ }
+ ]
+ },
+ "accessLevel": "EarlyAccess"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountsListBySubscription.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountsListBySubscription.json
new file mode 100644
index 000000000000..6dffdccdbb6a
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestBaseAccountsListBySubscription.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1",
+ "name": "contoso-testBaseAccount1",
+ "type": "Microsoft.TestBase/testBaseAccounts",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard",
+ "capabilities": [
+ {
+ "name": "SLA",
+ "value": "99.9%"
+ },
+ {
+ "name": "maximumPackageCount",
+ "value": "5"
+ },
+ {
+ "name": "packageMaximumRunSeconds",
+ "value": "3600"
+ }
+ ]
+ },
+ "accessLevel": "EarlyAccess"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg2/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount2",
+ "name": "contoso-testBaseAccount2",
+ "type": "Microsoft.TestBase/testBaseAccounts",
+ "location": "eastus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard",
+ "capabilities": [
+ {
+ "name": "SLA",
+ "value": "99.999%"
+ },
+ {
+ "name": "maximumPackageCount",
+ "value": "100"
+ },
+ {
+ "name": "packageMaximumRunSeconds",
+ "value": "10800"
+ }
+ ]
+ },
+ "accessLevel": "EarlyAccess"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestResultGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestResultGet.json
new file mode 100644
index 000000000000..f0794069bc97
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestResultGet.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "testResultName": "Windows-10-1909-99b1f80d-03a9-4148-997f-806ba5bac8e0",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "Windows-10-1909-99b1f80d-03a9-4148-997f-806ba5bac8e0",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/Windows-10-1909-99b1f80d-03a9-4148-997f-806ba5bac8e0",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/testResults",
+ "properties": {
+ "baselineTestResultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/anotherId",
+ "packageId": "b5ed1bcc-e74c-40d8-82f2-1773f616f93e",
+ "applicationName": "contoso-package2",
+ "applicationVersion": "1.0.0",
+ "osName": "Windows 10 1909",
+ "releaseName": "2020.12B",
+ "releaseVersionDate": "2020-12-28T17:30:00Z",
+ "buildRevision": "505",
+ "testType": "Out of box test",
+ "testRunTime": "00:21:30",
+ "isDownloadDataAvailable": true,
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "kbNumber": "KB1984839",
+ "interopMediaType": "Office",
+ "interopMediaVersion": "1.0.0.0",
+ "packageVersion": "3.0.1",
+ "analysisSummaries": [
+ {
+ "name": "Memory Regression Analysis Result",
+ "analysisStatus": "Succeeded",
+ "grade": "Pass"
+ },
+ {
+ "name": "CPU Regression Analysis Result",
+ "analysisStatus": "Succeeded",
+ "grade": "Pass"
+ },
+ {
+ "name": "Memory Utilization Analysis Result",
+ "analysisStatus": "Succeeded",
+ "grade": "Pass"
+ },
+ {
+ "name": "CPU Utilization Analysis Result",
+ "analysisStatus": "Succeeded",
+ "grade": "Pass"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestResultGetConsoleLogDownloadURL.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestResultGetConsoleLogDownloadURL.json
new file mode 100644
index 000000000000..f94252a7b8ff
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestResultGetConsoleLogDownloadURL.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "testResultName": "Windows-10-1909-99b1f80d-03a9-4148-997f-806ba5bac8e0",
+ "api-version": "2023-11-01-preview",
+ "parameters": {
+ "logFileName": "launch-stderr-1234.log"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "downloadUrl": "console log download URL",
+ "expirationTime": "2021-01-10T06:00:00Z"
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestResultGetDownloadURL.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestResultGetDownloadURL.json
new file mode 100644
index 000000000000..4703272f2611
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestResultGetDownloadURL.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "testResultName": "Windows-10-1909-99b1f80d-03a9-4148-997f-806ba5bac8e0",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "downloadUrl": "test result download URL",
+ "expirationTime": "2021-01-10T06:00:00Z"
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestResultGetVideoDownloadURL.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestResultGetVideoDownloadURL.json
new file mode 100644
index 000000000000..91d31ec1f932
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestResultGetVideoDownloadURL.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "testResultName": "Windows-10-1909-99b1f80d-03a9-4148-997f-806ba5bac8e0",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "downloadUrl": "test result video download URL",
+ "expirationTime": "2021-01-10T06:00:00Z"
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestResultsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestResultsList.json
new file mode 100644
index 000000000000..004a9de4387c
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestResultsList.json
@@ -0,0 +1,113 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "packageName": "contoso-package2",
+ "osUpdateType": "SecurityUpdate",
+ "$filter": "osName eq 'Windows 10 2004' and releaseName eq '2020.11B'",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Windows-10-2004-8e8e3200-284b-4a99-8c30-cb46c54d4c1e",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/Windows-10-2004-8e8e3200-284b-4a99-8c30-cb46c54d4c1e",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/testResults",
+ "properties": {
+ "baselineTestResultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/anotherId",
+ "packageId": "b5ed1bcc-e74c-40d8-82f2-1773f616f93e",
+ "applicationName": "contoso-package2",
+ "applicationVersion": "1.0.0",
+ "osName": "Windows 10 2004",
+ "releaseName": "2020.11B",
+ "releaseVersionDate": "2020-11-28T17:30:00Z",
+ "buildRevision": "478",
+ "testType": "Out of box test",
+ "testRunTime": "00:21:30",
+ "isDownloadDataAvailable": true,
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "kbNumber": "KB1984839",
+ "interopMediaType": "Office",
+ "interopMediaVersion": "1.0.0.0",
+ "packageVersion": "3.0.1",
+ "analysisSummaries": [
+ {
+ "name": "Memory Regression Analysis Result",
+ "analysisStatus": "Succeeded",
+ "grade": "Pass"
+ },
+ {
+ "name": "CPU Regression Analysis Result",
+ "analysisStatus": "Succeeded",
+ "grade": "Pass"
+ },
+ {
+ "name": "Memory Utilization Analysis Result",
+ "analysisStatus": "Succeeded",
+ "grade": "Pass"
+ },
+ {
+ "name": "CPU Utilization Analysis Result",
+ "analysisStatus": "Succeeded",
+ "grade": "Pass"
+ }
+ ]
+ }
+ },
+ {
+ "name": "Windows-10-2004-d19baae0-9ab4-432b-a752-878343fa4481",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/Windows-10-2004-d19baae0-9ab4-432b-a752-878343fa4481",
+ "type": "Microsoft.TestBase/testBaseAccounts/packages/testResults",
+ "properties": {
+ "baselineTestResultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/packages/contoso-package2/testResults/anotherId",
+ "packageId": "b5ed1bcc-e74c-40d8-82f2-1773f616f93e",
+ "applicationName": "contoso-package2",
+ "applicationVersion": "1.0.0",
+ "osName": "Windows 10 2004",
+ "releaseName": "2020.11B",
+ "releaseVersionDate": "2020-11-28T17:30:00Z",
+ "buildRevision": "309",
+ "testType": "Out of box test",
+ "testRunTime": "01:00:00",
+ "isDownloadDataAvailable": false,
+ "executionStatus": "Failed",
+ "testStatus": "TestFailure",
+ "grade": "Fail",
+ "kbNumber": "KB1784831",
+ "interopMediaType": "Office",
+ "interopMediaVersion": "1.0.0.0",
+ "packageVersion": "3.0.1",
+ "analysisSummaries": [
+ {
+ "name": "Memory Regression Analysis Result",
+ "analysisStatus": "NotAvailable",
+ "grade": "NotAvailable"
+ },
+ {
+ "name": "CPU Regression Analysis Result",
+ "analysisStatus": "NotAvailable",
+ "grade": "NotAvailable"
+ },
+ {
+ "name": "Memory Utilization Analysis Result",
+ "analysisStatus": "NotAvailable",
+ "grade": "NotAvailable"
+ },
+ {
+ "name": "CPU Utilization Analysis Result",
+ "analysisStatus": "NotAvailable",
+ "grade": "NotAvailable"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestSummariesList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestSummariesList.json
new file mode 100644
index 000000000000..eb6fc5e0509b
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestSummariesList.json
@@ -0,0 +1,250 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "contoso-package1-38960b32-3541-4cf1-8ccc-fd22774395cc",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/testSummaries/contoso-package1-38960b32-3541-4cf1-8ccc-fd22774395cc",
+ "type": "Microsoft.TestBase/testBaseAccounts/testSummaries",
+ "properties": {
+ "testSummaryId": "38960b32-3541-4cf1-8ccc-fd22774395cc",
+ "packageId": "57199102-9738-42e0-9fec-db7709d62a71",
+ "applicationName": "contoso-package1",
+ "applicationVersion": "1.0.0",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:43:21",
+ "packageTags": {
+ "Tag1": "Tag1Value",
+ "Tag2": "Tag2Value"
+ },
+ "featureUpdatesTestSummary": {
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:33:21",
+ "osUpdateTestSummaries": [
+ {
+ "osName": "Windows 10 1909",
+ "releaseName": "2020.12.B",
+ "buildVersion": "513",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:43:21",
+ "testType": "OutOfBoxTest"
+ },
+ {
+ "osName": "Windows 10 1903",
+ "releaseName": "2020.11.B",
+ "buildVersion": "765",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:13:28",
+ "testType": "OutOfBoxTest"
+ },
+ {
+ "osName": "Windows 10 1809",
+ "releaseName": "2020.11.B",
+ "buildVersion": "313",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:42:08",
+ "testType": "OutOfBoxTest"
+ }
+ ]
+ },
+ "securityUpdatesTestSummary": {
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:43:21",
+ "osUpdateTestSummaries": [
+ {
+ "osName": "Windows 10 1909",
+ "releaseName": "2020.12.B",
+ "buildVersion": "513",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:43:21",
+ "testType": "OutOfBoxTest"
+ },
+ {
+ "osName": "Windows 10 1903",
+ "releaseName": "2020.11.B",
+ "buildVersion": "765",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:13:28",
+ "testType": "OutOfBoxTest"
+ },
+ {
+ "osName": "Windows 10 1809",
+ "releaseName": "2020.11.B",
+ "buildVersion": "313",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:42:08",
+ "testType": "OutOfBoxTest"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "contoso-package2-096bffb5-5d3d-4305-a66a-953372ed6e88",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/testSummaries/contoso-package2-096bffb5-5d3d-4305-a66a-953372ed6e88",
+ "type": "Microsoft.TestBase/testBaseAccounts/testSummaries",
+ "properties": {
+ "testSummaryId": "096bffb5-5d3d-4305-a66a-953372ed6e88",
+ "packageId": "b5ed1bcc-e74c-40d8-82f2-1773f616f93e",
+ "applicationName": "contoso-package2",
+ "applicationVersion": "1.0.0",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:43:21",
+ "packageTags": {
+ "Tag1": "Tag1Value"
+ },
+ "featureUpdatesTestSummary": {
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:33:21",
+ "osUpdateTestSummaries": [
+ {
+ "osName": "Windows 10 1909",
+ "releaseName": "2020.12.B",
+ "buildVersion": "513",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:43:21",
+ "testType": "FunctionalTest"
+ },
+ {
+ "osName": "Windows 10 1903",
+ "releaseName": "2020.11.B",
+ "buildVersion": "765",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:13:28",
+ "testType": "FunctionalTest"
+ },
+ {
+ "osName": "Windows 10 1809",
+ "releaseName": "2020.11.B",
+ "buildVersion": "313",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:42:08",
+ "testType": "FunctionalTest"
+ }
+ ]
+ },
+ "securityUpdatesTestSummary": {
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:43:21",
+ "osUpdateTestSummaries": [
+ {
+ "osName": "Windows 10 1909",
+ "releaseName": "2020.12.B",
+ "buildVersion": "513",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:43:21",
+ "testType": "FunctionalTest"
+ },
+ {
+ "osName": "Windows 10 1903",
+ "releaseName": "2020.11.B",
+ "buildVersion": "765",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:13:28",
+ "testType": "FunctionalTest"
+ },
+ {
+ "osName": "Windows 10 1809",
+ "releaseName": "2020.11.B",
+ "buildVersion": "313",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:42:08",
+ "testType": "FunctionalTest"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "contoso-package3-096bffb5-5d3d-4305-a66a-953372ed6e88",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/testSummaries/contoso-package2-096bffb5-5d3d-4305-a66a-953372ed6e89",
+ "type": "Microsoft.TestBase/testBaseAccounts/testSummaries",
+ "properties": {
+ "testSummaryId": "096bffb5-5d3d-4305-a66a-953372ed6e89",
+ "packageId": "b5ed1bcc-e74c-40d8-82f2-1773f616f93f",
+ "applicationName": "contoso-package3",
+ "applicationVersion": "1.0.0",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:43:21",
+ "packageTags": {
+ "Tag1": "Tag1Value"
+ },
+ "inplaceUpgradesTestSummary": {
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:33:21",
+ "osUpdateTestSummaries": [
+ {
+ "osName": "Windows 10 1909",
+ "releaseName": "2020.12.B",
+ "buildVersion": "513",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:43:21",
+ "testType": "FlowDrivenTest",
+ "inplaceUpgradeBaselineProperties": {
+ "osName": "Windows 10 1909",
+ "releaseProperties": {
+ "releaseName": "2020.11.B",
+ "buildNumber": "18963",
+ "buildRevision": "309",
+ "releaseVersionDate": "2020-11-28T17:30:00Z"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestSummaryGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestSummaryGet.json
new file mode 100644
index 000000000000..666c88e7fb53
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestSummaryGet.json
@@ -0,0 +1,108 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "testSummaryName": "contoso-package2-096bffb5-5d3d-4305-a66a-953372ed6e88",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "contoso-package2-096bffb5-5d3d-4305-a66a-953372ed6e88",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/testSummaries/contoso-package2-096bffb5-5d3d-4305-a66a-953372ed6e88",
+ "type": "Microsoft.TestBase/testBaseAccounts/testSummaries",
+ "properties": {
+ "testSummaryId": "096bffb5-5d3d-4305-a66a-953372ed6e88",
+ "packageId": "b5ed1bcc-e74c-40d8-82f2-1773f616f93e",
+ "applicationName": "contoso-package2",
+ "applicationVersion": "1.0.0",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:43:21",
+ "packageTags": {
+ "Tag1": "Tag1Value",
+ "Tag2": "Tag2Value"
+ },
+ "featureUpdatesTestSummary": {
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:33:21",
+ "osUpdateTestSummaries": [
+ {
+ "osName": "Windows 10 1909",
+ "releaseName": "2020.12.B",
+ "buildVersion": "513",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:43:21",
+ "testType": "OutOfBoxTest"
+ },
+ {
+ "osName": "Windows 10 1903",
+ "releaseName": "2020.11.B",
+ "buildVersion": "765",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:13:28",
+ "testType": "OutOfBoxTest"
+ },
+ {
+ "osName": "Windows 10 1809",
+ "releaseName": "2020.11.B",
+ "buildVersion": "313",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:42:08",
+ "testType": "OutOfBoxTest"
+ }
+ ]
+ },
+ "securityUpdatesTestSummary": {
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:43:21",
+ "osUpdateTestSummaries": [
+ {
+ "osName": "Windows 10 1909",
+ "releaseName": "2020.12.B",
+ "buildVersion": "513",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:43:21",
+ "testType": "OutOfBoxTest"
+ },
+ {
+ "osName": "Windows 10 1903",
+ "releaseName": "2020.11.B",
+ "buildVersion": "765",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:13:28",
+ "testType": "OutOfBoxTest"
+ },
+ {
+ "osName": "Windows 10 1809",
+ "releaseName": "2020.11.B",
+ "buildVersion": "313",
+ "executionStatus": "Succeeded",
+ "testStatus": "Completed",
+ "grade": "Pass",
+ "testRunTime": "00:42:08",
+ "testType": "OutOfBoxTest"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestTypeGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestTypeGet.json
new file mode 100644
index 000000000000..df9b5a9620a3
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestTypeGet.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "testTypeResourceName": "Functional-Test",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "Functional-Test",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/testTypes/Functional-Test",
+ "type": "Microsoft.TestBase/testBaseAccounts/testTypes",
+ "properties": {
+ "actualTestTypeName": "Functional Test"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestTypesList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestTypesList.json
new file mode 100644
index 000000000000..51a78d06b9b9
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/TestTypesList.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg",
+ "testBaseAccountName": "contoso-testBaseAccount",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Functional-Test",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/testTypes/Functional-Test",
+ "type": "Microsoft.TestBase/testBaseAccounts/testTypes",
+ "properties": {
+ "actualTestTypeName": "Functional Test"
+ }
+ },
+ {
+ "name": "Out-of-Box-Test",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/testTypes/Out-of-Box-Test",
+ "type": "Microsoft.TestBase/testBaseAccounts/testTypes",
+ "properties": {
+ "actualTestTypeName": "Out of Box Test"
+ }
+ },
+ {
+ "name": "Flow-Driven-Test",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount/testTypes/Flow-Driven-Test",
+ "type": "Microsoft.TestBase/testBaseAccounts/testTypes",
+ "properties": {
+ "actualTestTypeName": "Flow Driven Test"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/VHDDelete.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/VHDDelete.json
new file mode 100644
index 000000000000..0e64287d9b0b
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/VHDDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "vhdName": "vhd-00ac3ccd-1503-4ee5-aa26-26569cfafe88",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/VHDGet.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/VHDGet.json
new file mode 100644
index 000000000000..423eebf9de45
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/VHDGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "vhdName": "vhd-00ac3ccd-1503-4ee5-aa26-26569cfafe88",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "vhd-00ac3ccd-1503-4ee5-aa26-26569cfafe88",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/VHDs/vhd-00ac3ccd-1503-4ee5-aa26-26569cfafe88",
+ "type": "Microsoft.TestBase/testBaseAccounts/VHDs",
+ "properties": {
+ "path": "containerId/orgId/vhdPath",
+ "fileName": "contoso-vhd.vhd",
+ "fileSize": 136365211648,
+ "status": "Ready",
+ "creationTime": "2023-05-09T17:30:00Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/VHDsList.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/VHDsList.json
new file mode 100644
index 000000000000..9652a855c858
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/examples/VHDsList.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso-rg1",
+ "testBaseAccountName": "contoso-testBaseAccount1",
+ "api-version": "2023-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "vhd-00ac3ccd-1503-4ee5-aa26-26569cfafe88",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-rg1/providers/Microsoft.TestBase/testBaseAccounts/contoso-testBaseAccount1/VHDs/vhd-00ac3ccd-1503-4ee5-aa26-26569cfafe88",
+ "type": "Microsoft.TestBase/testBaseAccounts/VHDs",
+ "properties": {
+ "path": "containerId/orgId/vhdPath",
+ "fileName": "contoso-vhd.vhd",
+ "fileSize": 136365211648,
+ "status": "Ready",
+ "creationTime": "2023-05-09T17:30:00Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/testbase.json b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/testbase.json
new file mode 100644
index 000000000000..2bc4393995d0
--- /dev/null
+++ b/specification/testbase/resource-manager/Microsoft.TestBase/preview/2023-11-01-preview/testbase.json
@@ -0,0 +1,6544 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Test Base",
+ "description": "Test Base",
+ "version": "2023-11-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/freeHourBalances": {
+ "get": {
+ "tags": [
+ "Free Hour Balances"
+ ],
+ "operationId": "FreeHourBalances_List",
+ "summary": "List all the free hour balances of a test base account. The result collection will only contain one element as all the data will be nested in a singleton object.",
+ "description": "Return the Test Base free hour balances list.",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Succeeded to list the Test Base free hour balances.",
+ "schema": {
+ "$ref": "#/definitions/FreeHourBalancesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "FreeHourBalancesList": {
+ "$ref": "./examples/FreeHourBalancesList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/freeHourBalances/{freeHourBalanceName}": {
+ "get": {
+ "tags": [
+ "Free Hour Balances"
+ ],
+ "operationId": "FreeHourBalances_Get",
+ "summary": "Get the free hour balance of a test base account.",
+ "description": "Return the Test Base free hour balance.",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/FreeHourBalanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Succeeded to get the Test Base free hour balance.",
+ "schema": {
+ "$ref": "#/definitions/FreeHourBalanceResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "FreeHourBalanceGet": {
+ "$ref": "./examples/FreeHourBalanceGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.TestBase/skus": {
+ "get": {
+ "tags": [
+ "test base account"
+ ],
+ "operationId": "Skus_List",
+ "description": "Lists the available SKUs of Test Base Account in a subscription.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/TestBaseAccountSKUListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "TestBaseAccountSKUsList": {
+ "$ref": "./examples/TestBaseAccountSKUsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.TestBase/testBaseAccounts": {
+ "get": {
+ "tags": [
+ "Test Base Account"
+ ],
+ "operationId": "TestBaseAccounts_ListBySubscription",
+ "description": "Lists all the Test Base Accounts in a subscription.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountIncludeSoftDeletedParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/TestBaseAccountListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "TestBaseAccountsListBySubscription": {
+ "$ref": "./examples/TestBaseAccountsListBySubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts": {
+ "get": {
+ "tags": [
+ "Test Base Account"
+ ],
+ "operationId": "TestBaseAccounts_ListByResourceGroup",
+ "description": "Lists all the Test Base Accounts in a resource group.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountIncludeSoftDeletedParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/TestBaseAccountListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "TestBaseAccountsList": {
+ "$ref": "./examples/TestBaseAccountsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}": {
+ "put": {
+ "tags": [
+ "Test Base Account"
+ ],
+ "operationId": "TestBaseAccounts_Create",
+ "description": "Create or replace (overwrite/recreate, with potential downtime) a Test Base Account in the specified subscription.",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TestBaseAccountResource"
+ },
+ "description": "Parameters supplied to create a Test Base Account."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountRestoreSoftDeletedParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Test Base Account was successfully created or updated.",
+ "schema": {
+ "$ref": "#/definitions/TestBaseAccountResource"
+ }
+ },
+ "201": {
+ "description": "The Test Base Account 'create' or 'update' operation was successfully enqueued. Check provisioningState to see detailed status.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/TestBaseAccountResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TestBaseAccountCreate": {
+ "$ref": "./examples/TestBaseAccountCreate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Test Base Account"
+ ],
+ "operationId": "TestBaseAccounts_Update",
+ "description": "Update an existing Test Base Account.",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TestBaseAccountUpdateParameters"
+ },
+ "description": "Parameters supplied to update a Test Base Account."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The existing Test Base Account was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/TestBaseAccountResource"
+ }
+ },
+ "201": {
+ "description": "The Test Base Account 'update' operation was successfully enqueued. Follow the Location header to poll for final outcome.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "202": {
+ "description": "The Test Base Account 'update' operation was successfully enqueued. Follow the Location header to poll for final outcome.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TestBaseAccountUpdate": {
+ "$ref": "./examples/TestBaseAccountUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Test Base Account"
+ ],
+ "operationId": "TestBaseAccounts_Delete",
+ "description": "Deletes a Test Base Account.",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Test Base Account 'delete' operation was completed successfully."
+ },
+ "202": {
+ "description": "The Test Base Account 'delete' operation was successfully enqueued. Follow the Location header to poll for final outcome.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "The Test Base Account 'delete' operation was completed successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TestBaseAccountDelete": {
+ "$ref": "./examples/TestBaseAccountDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Test Base Account"
+ ],
+ "operationId": "TestBaseAccounts_Get",
+ "description": "Gets a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Test Base Account was successfully found.",
+ "schema": {
+ "$ref": "#/definitions/TestBaseAccountResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TestBaseAccountGet": {
+ "$ref": "./examples/TestBaseAccountGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/offboard": {
+ "post": {
+ "tags": [
+ "Test Base Account"
+ ],
+ "operationId": "TestBaseAccounts_Offboard",
+ "description": "Offboard a Test Base Account.",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Test Base Account 'offboard' operation was completed successfully."
+ },
+ "202": {
+ "description": "The Test Base Account 'offboard' operation was successfully enqueued. Follow the Location header to poll for final outcome.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "The Test Base Account 'offboard' operation was completed successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TestBaseAccountOffboard": {
+ "$ref": "./examples/TestBaseAccountOffboard.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/usages": {
+ "get": {
+ "tags": [
+ "Test Base Account"
+ ],
+ "operationId": "Usage_List",
+ "description": "Lists the usage data of a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The usage of the Test Base Account was returned.",
+ "schema": {
+ "$ref": "#/definitions/TestBaseAccountUsageDataList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "TestBaseAccountUsagesList": {
+ "$ref": "./examples/TestBaseAccountUsagesList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/getFileUploadUrl": {
+ "post": {
+ "tags": [
+ "Test Base Package"
+ ],
+ "operationId": "TestBaseAccounts_GetFileUploadUrl",
+ "description": "Gets the file upload URL of a Test Base Account.",
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/GetFileUploadURLParameters"
+ },
+ "description": "Parameters supplied to the Test Base Account GetFileUploadURL operation."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The file upload URL of the Test Base Account was returned.",
+ "schema": {
+ "$ref": "#/definitions/FileUploadURLResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TestBaseAccountGetFileUploadUrl": {
+ "$ref": "./examples/TestBaseAccountGetFileUploadUrl.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/availableOSs": {
+ "get": {
+ "tags": [
+ "Supported OSes"
+ ],
+ "operationId": "AvailableOS_List",
+ "description": "Lists all the available OSs to run a package under a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/OSUpdateTypeParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/AvailableOSListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "AvailableOSsList": {
+ "$ref": "./examples/AvailableOSsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/availableOSs/{availableOSResourceName}": {
+ "get": {
+ "tags": [
+ "Supported OSes"
+ ],
+ "operationId": "AvailableOS_Get",
+ "description": "Gets an available OS to run a package under a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "name": "availableOSResourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The resource name of an Available OS."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/AvailableOSResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "AvailableOSGet": {
+ "$ref": "./examples/AvailableOSGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/featureUpdateSupportedOses": {
+ "get": {
+ "tags": [
+ "Supported OSes"
+ ],
+ "operationId": "FeatureUpdateSupportedOses_List",
+ "description": "Lists all the available OSs to run a package under a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/FeatureUpdateSupportedOsesResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "FeatureUpdateSupportedOsesList": {
+ "$ref": "./examples/FeatureUpdateSupportedOsesList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/flightingRings": {
+ "get": {
+ "tags": [
+ "Test Base Package"
+ ],
+ "operationId": "FlightingRings_List",
+ "description": "Lists all the flighting rings of a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/FlightingRingListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "FlightingRingsList": {
+ "$ref": "./examples/FlightingRingsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/flightingRings/{flightingRingResourceName}": {
+ "get": {
+ "tags": [
+ "Test Base Package"
+ ],
+ "operationId": "FlightingRings_Get",
+ "description": "Gets a flighting ring of a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "name": "flightingRingResourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The resource name of a flighting ring."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/FlightingRingResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "FlightingRingGet": {
+ "$ref": "./examples/FlightingRingGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/firstPartyApps": {
+ "get": {
+ "tags": [
+ "First Party Applications"
+ ],
+ "operationId": "FirstPartyApps_List",
+ "description": "Lists all first party applications currently available for test runs under a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/FirstPartyAppListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "FirstPartyAppsList": {
+ "$ref": "./examples/FirstPartyAppsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/firstPartyApps/{firstPartyAppResourceName}": {
+ "get": {
+ "tags": [
+ "First Party Applications"
+ ],
+ "operationId": "FirstPartyApps_Get",
+ "description": "Gets a first party application to prepare a test run for a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "name": "firstPartyAppResourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The resource name of a first party application.",
+ "pattern": "^[A-Za-z0-9]([A-Za-z0-9]|(-[A-Za-z0-9]))+$"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/FirstPartyAppResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "FirstPartyAppsGet": {
+ "$ref": "./examples/FirstPartyAppGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/galleryApps": {
+ "get": {
+ "tags": [
+ "Gallery Applications"
+ ],
+ "operationId": "GalleryApps_List",
+ "description": "Lists all gallery applications currently available for test runs under a Test Base Account which matches user query.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/KeywordParameter"
+ },
+ {
+ "name": "applicationType",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "enum": [
+ "Winget"
+ ],
+ "x-ms-enum": {
+ "name": "applicationType",
+ "modelAsString": true
+ },
+ "x-ms-parameter-location": "method",
+ "description": "The type of the gallery application."
+ },
+ {
+ "name": "orderBy",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "enum": [
+ "popularity",
+ "relevance"
+ ],
+ "x-ms-enum": {
+ "name": "orderBy",
+ "modelAsString": true
+ },
+ "default": "relevance",
+ "x-ms-parameter-location": "method",
+ "description": "The order of result list."
+ },
+ {
+ "$ref": "#/parameters/TopFilter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/GalleryAppListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "GalleryAppsList": {
+ "$ref": "./examples/GalleryAppsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/galleryApps/{galleryAppName}": {
+ "get": {
+ "tags": [
+ "Gallery Applications"
+ ],
+ "operationId": "GalleryApps_Get",
+ "description": "Gets a gallery application to prepare a test run for a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/GalleryAppNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/GalleryAppResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GalleryAppsGet": {
+ "$ref": "./examples/GalleryAppGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/galleryApps/{galleryAppName}/galleryAppSkus": {
+ "get": {
+ "tags": [
+ "Gallery Applications"
+ ],
+ "operationId": "GalleryAppSkus_List",
+ "description": "Lists all SKUs of a gallery application currently available for test runs under a Test Base account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/GalleryAppNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/GalleryAppSkuListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "GalleryAppSkusList": {
+ "$ref": "./examples/GalleryAppsSkusList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/galleryApps/{galleryAppName}/galleryAppSkus/{galleryAppSkuName}": {
+ "get": {
+ "tags": [
+ "Gallery Applications"
+ ],
+ "operationId": "GalleryAppSkus_Get",
+ "description": "Gets a gallery application SKU for test runs under a Test Base account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/GalleryAppNameParameter"
+ },
+ {
+ "name": "galleryAppSkuName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The resource name of a gallery application SKU.",
+ "pattern": "^[A-Za-z0-9]([A-Za-z0-9]|(-[A-Za-z0-9]))+$"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/GalleryAppSkuResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GalleryAppsSkuGet": {
+ "$ref": "./examples/GalleryAppSkuGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/testTypes": {
+ "get": {
+ "tags": [
+ "Test Base Package"
+ ],
+ "operationId": "TestTypes_List",
+ "description": "Lists all the test types of a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/TestTypeListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "TestTypesList": {
+ "$ref": "./examples/TestTypesList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/testTypes/{testTypeResourceName}": {
+ "get": {
+ "tags": [
+ "Test Base Package"
+ ],
+ "operationId": "TestTypes_Get",
+ "description": "Gets a test type of a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "name": "testTypeResourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The resource name of a test type."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/TestTypeResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TestTypeGet": {
+ "$ref": "./examples/TestTypeGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/checkPackageNameAvailability": {
+ "post": {
+ "tags": [
+ "Test Base Package"
+ ],
+ "operationId": "TestBaseAccounts_CheckPackageNameAvailability",
+ "description": "Checks that the Test Base Package name and version is valid and is not already in use.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PackageCheckNameAvailabilityParameters"
+ },
+ "description": "Parameters supplied to the Test Base Package CheckNameAvailability operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Name is available",
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CheckPackageNameAvailability": {
+ "$ref": "./examples/CheckPackageNameAvailability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages": {
+ "get": {
+ "tags": [
+ "Test Base Package"
+ ],
+ "operationId": "Packages_ListByTestBaseAccount",
+ "description": "Lists all the packages under a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/PackageListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "PackagesList": {
+ "$ref": "./examples/PackagesList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}": {
+ "put": {
+ "tags": [
+ "Test Base Package"
+ ],
+ "operationId": "Packages_Create",
+ "description": "Create or replace (overwrite/recreate, with potential downtime) a Test Base Package.",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PackageResource"
+ },
+ "description": "Parameters supplied to create a Test Base Package."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Test Base Package was successfully created or updated.",
+ "schema": {
+ "$ref": "#/definitions/PackageResource"
+ }
+ },
+ "201": {
+ "description": "The Test Base Package 'create' or 'update' operation was successfully enqueued. Check provisioningState to see detailed status.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/PackageResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "PackageCreate": {
+ "$ref": "./examples/PackageCreate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Test Base Package"
+ ],
+ "operationId": "Packages_Update",
+ "description": "Update an existing Test Base Package.",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PackageUpdateParameters"
+ },
+ "description": "Parameters supplied to update a Test Base Package."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The existing Test Base Package was successfully updated. Check provisioningState to see detailed status.",
+ "schema": {
+ "$ref": "#/definitions/PackageResource"
+ }
+ },
+ "201": {
+ "description": "The Test Base Package 'update' operation was successfully enqueued. Follow the Location header to poll for final outcome.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "202": {
+ "description": "The Test Base Package 'update' operation was successfully enqueued. Follow the Location header to poll for final outcome.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "PackageUpdate": {
+ "$ref": "./examples/PackageUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Test Base Package"
+ ],
+ "operationId": "Packages_Delete",
+ "description": "Deletes a Test Base Package.",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Test Base Package 'delete' operation was completed successfully."
+ },
+ "202": {
+ "description": "The Test Base Package 'delete' operation was successfully enqueued. Follow the Location header to poll for final outcome.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "The Test Base Package 'delete' operation was completed successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "PackageDelete": {
+ "$ref": "./examples/PackageDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Test Base Package"
+ ],
+ "operationId": "Packages_Get",
+ "description": "Gets a Test Base Package.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Test Base Package was successfully found.",
+ "schema": {
+ "$ref": "#/definitions/PackageResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "PackageGet": {
+ "$ref": "./examples/PackageGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/hardDelete": {
+ "post": {
+ "tags": [
+ "Test Base Package"
+ ],
+ "operationId": "Packages_HardDelete",
+ "description": "Hard Delete a Test Base Package.",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Test Base Package 'HardDelete' operation was completed successfully."
+ },
+ "202": {
+ "description": "The Test Base Package 'HardDelete' operation was successfully enqueued. Follow the Location header to poll for final outcome.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "The Test Base Package 'HardDelete' operation was completed successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "PackageHardDelete": {
+ "$ref": "./examples/PackageHardDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/getDownloadUrl": {
+ "post": {
+ "tags": [
+ "Test Base Package"
+ ],
+ "operationId": "Packages_GetDownloadURL",
+ "description": "Gets the download URL of a package.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The package download URL is returned.",
+ "schema": {
+ "$ref": "#/definitions/DownloadURLResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "PackageGetDownloadURL": {
+ "$ref": "./examples/PackageGetDownloadURL.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/runTest": {
+ "post": {
+ "tags": [
+ "Test Base Package"
+ ],
+ "operationId": "Packages_RunTest",
+ "description": "Trigger a test run on the package.",
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/PackageRunTestParameters"
+ },
+ "description": "The parameters supplied to the Test Base Package to start a Test Run."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The test is triggered successfully."
+ },
+ "202": {
+ "description": "The request to trigger a test was accepted. Follow the Location header to poll for final outcome.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "The test is triggered successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "PackageRunTest": {
+ "$ref": "./examples/PackageRunTest.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/testSummaries": {
+ "get": {
+ "tags": [
+ "Test Result"
+ ],
+ "operationId": "TestSummaries_List",
+ "description": "Lists the Test Summaries of all the packages under a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/TestSummaryListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "TestSummariesList": {
+ "$ref": "./examples/TestSummariesList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/testSummaries/{testSummaryName}": {
+ "get": {
+ "tags": [
+ "Test Result"
+ ],
+ "operationId": "TestSummaries_Get",
+ "description": "Gets a Test Summary with specific name from all the Test Summaries of all the packages under a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "name": "testSummaryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The name of the Test Summary."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/TestSummaryResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TestSummaryGet": {
+ "$ref": "./examples/TestSummaryGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults": {
+ "get": {
+ "tags": [
+ "Test Result"
+ ],
+ "operationId": "TestResults_List",
+ "description": "Lists all the Test Results with specified OS Update type for a Test Base Package. Can be filtered by osName, releaseName, flightingRing, buildVersion, buildRevision.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "#/parameters/OSUpdateTypeParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/TestResultListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "TestResultsList": {
+ "$ref": "./examples/TestResultsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}": {
+ "get": {
+ "tags": [
+ "Test Result"
+ ],
+ "operationId": "TestResults_Get",
+ "description": "Get the Test Result by Id with specified OS Update type for a Test Base Package.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestResultNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/TestResultResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TestResultGet": {
+ "$ref": "./examples/TestResultGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/osUpdates": {
+ "get": {
+ "tags": [
+ "Test Result"
+ ],
+ "operationId": "OSUpdates_List",
+ "description": "Lists the OS Updates in which the package were tested before.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "#/parameters/OSUpdateTypeParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/OSUpdateListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "OSUpdatesList": {
+ "$ref": "./examples/OSUpdatesList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/osUpdates/{osUpdateResourceName}": {
+ "get": {
+ "tags": [
+ "Test Result"
+ ],
+ "operationId": "OSUpdates_Get",
+ "description": "Gets an OS Update by name in which the package was tested before.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "name": "osUpdateResourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The resource name of an OS Update."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/OSUpdateResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "OSUpdateGet": {
+ "$ref": "./examples/OSUpdateGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/favoriteProcesses": {
+ "get": {
+ "tags": [
+ "Test Result"
+ ],
+ "operationId": "FavoriteProcesses_List",
+ "description": "Lists the favorite processes for a specific package.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/FavoriteProcessListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "FavoriteProcessesList": {
+ "$ref": "./examples/FavoriteProcessesList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/favoriteProcesses/{favoriteProcessResourceName}": {
+ "put": {
+ "tags": [
+ "Test Result"
+ ],
+ "operationId": "FavoriteProcesses_Create",
+ "description": "Create or replace a favorite process for a Test Base Package.",
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/FavoriteProcessResource"
+ },
+ "description": "Parameters supplied to create a favorite process in a package."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "#/parameters/FavoriteProcessResourceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The favorite processes was successfully created or updated.",
+ "schema": {
+ "$ref": "#/definitions/FavoriteProcessResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "FavoriteProcessCreate": {
+ "$ref": "./examples/FavoriteProcessCreate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Test Result"
+ ],
+ "operationId": "FavoriteProcesses_Delete",
+ "description": "Deletes a favorite process for a specific package.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "#/parameters/FavoriteProcessResourceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The package favorite process 'delete' operation was completed successfully."
+ },
+ "204": {
+ "description": "The package favorite process 'delete' operation was completed successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "FavoriteProcessDelete": {
+ "$ref": "./examples/FavoriteProcessDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Test Result"
+ ],
+ "operationId": "FavoriteProcesses_Get",
+ "description": "Gets a favorite process for a Test Base Package.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "#/parameters/FavoriteProcessResourceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/FavoriteProcessResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "FavoriteProcessGet": {
+ "$ref": "./examples/FavoriteProcessGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}/analysisResults": {
+ "get": {
+ "tags": [
+ "Test Result"
+ ],
+ "operationId": "AnalysisResults_List",
+ "description": "Lists the Analysis Results of a Test Result. The result collection will only contain one element as all the data will be nested in a singleton object.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestResultNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AnalysisResultTypeParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/AnalysisResultListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "ScriptExecutionAnalysisResultsList": {
+ "$ref": "./examples/ScriptExecutionAnalysisResultsList.json"
+ },
+ "MemoryUtilizationAnalysisResultsList": {
+ "$ref": "./examples/MemoryUtilizationAnalysisResultsList.json"
+ },
+ "CPUUtilizationAnalysisResultsList": {
+ "$ref": "./examples/CPUUtilizationAnalysisResultsList.json"
+ },
+ "MemoryRegressionAnalysisResultsList": {
+ "$ref": "./examples/MemoryRegressionAnalysisResultsList.json"
+ },
+ "CPURegressionAnalysisResultsList": {
+ "$ref": "./examples/CPURegressionAnalysisResultsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}/analysisResults/{analysisResultName}": {
+ "get": {
+ "tags": [
+ "Test Result"
+ ],
+ "operationId": "AnalysisResults_Get",
+ "description": "Gets an Analysis Result of a Test Result by name.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestResultNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AnalysisResultNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/AnalysisResultSingletonResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ScriptExecutionAnalysisResultGet": {
+ "$ref": "./examples/ScriptExecutionAnalysisResultGet.json"
+ },
+ "MemoryUtilizationAnalysisResultGet": {
+ "$ref": "./examples/MemoryUtilizationAnalysisResultGet.json"
+ },
+ "CPUUtilizationAnalysisResultGet": {
+ "$ref": "./examples/CPUUtilizationAnalysisResultGet.json"
+ },
+ "MemoryRegressionAnalysisResultGet": {
+ "$ref": "./examples/MemoryRegressionAnalysisResultGet.json"
+ },
+ "CPURegressionAnalysisResultGet": {
+ "$ref": "./examples/CPURegressionAnalysisResultGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}/getDownloadUrl": {
+ "post": {
+ "tags": [
+ "Test Result"
+ ],
+ "operationId": "TestResults_GetDownloadURL",
+ "description": "Gets the download URL of the test result.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestResultNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/DownloadURLResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TestResultGetDownloadURL": {
+ "$ref": "./examples/TestResultGetDownloadURL.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}/getVideoDownloadUrl": {
+ "post": {
+ "tags": [
+ "Test Result"
+ ],
+ "operationId": "TestResults_GetVideoDownloadURL",
+ "description": "Gets the download URL of the test execution screen recording.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestResultNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/DownloadURLResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TestResultGetVideoDownloadURL": {
+ "$ref": "./examples/TestResultGetVideoDownloadURL.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}/getConsoleLogDownloadUrl": {
+ "post": {
+ "tags": [
+ "Test Result"
+ ],
+ "operationId": "TestResults_GetConsoleLogDownloadURL",
+ "description": "Gets the download URL of the test execution console log file.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PackageNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestResultNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TestResultConsoleLogDownloadURLParameters"
+ },
+ "description": "Parameters supplied to the Test Result GetConsoleLogDownloadUrl operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/DownloadURLResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TestResultGetConsoleLogDownloadURL": {
+ "$ref": "./examples/TestResultGetConsoleLogDownloadURL.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/emailEvents": {
+ "get": {
+ "tags": [
+ "Test Base Email Event"
+ ],
+ "operationId": "EmailEvents_List",
+ "description": "Lists all the email events of a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/EmailEventListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "EmailEventsList": {
+ "$ref": "./examples/EmailEventsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/emailEvents/{emailEventResourceName}": {
+ "get": {
+ "tags": [
+ "Test Base Email Event"
+ ],
+ "operationId": "EmailEvents_Get",
+ "description": "Gets a email event of a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "name": "emailEventResourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The resource name of an email event."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/EmailEventResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "EmailEventGet": {
+ "$ref": "./examples/EmailEventGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/customerEvents": {
+ "get": {
+ "tags": [
+ "Test Base Customer Notification Events"
+ ],
+ "operationId": "CustomerEvents_ListByTestBaseAccount",
+ "description": "Lists all notification events subscribed under a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/CustomerEventListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "CustomerEventsList": {
+ "$ref": "./examples/CustomerEventsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/customerEvents/{customerEventName}": {
+ "put": {
+ "tags": [
+ "Test Base Customer Event"
+ ],
+ "operationId": "CustomerEvents_Create",
+ "description": "Create or replace a Test Base Customer Event.",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CustomerEventResource"
+ },
+ "description": "Parameters supplied to create a Test Base CustomerEvent."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CustomerEventNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Test Base Customer Event was successfully created or updated.",
+ "schema": {
+ "$ref": "#/definitions/CustomerEventResource"
+ }
+ },
+ "201": {
+ "description": "The Test Base Customer Event 'create' or 'update' operation was successfully enqueued. Check provisioningState to see detailed status.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/CustomerEventResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CustomerEventCreate": {
+ "$ref": "./examples/CustomerEventCreate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Test Base Customer Event"
+ ],
+ "operationId": "CustomerEvents_Delete",
+ "description": "Deletes a Test Base Customer Event.",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CustomerEventNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Test Base Customer Event 'delete' operation was completed successfully."
+ },
+ "202": {
+ "description": "The Test Base Customer Event 'delete' operation was successfully enqueued. Follow the Location header to poll for final outcome.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URL to query for status of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "The Test Base Customer Event 'delete' operation was completed successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CustomerEventDelete": {
+ "$ref": "./examples/CustomerEventDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Test Base Customer Event"
+ ],
+ "operationId": "CustomerEvents_Get",
+ "description": "Gets a Test Base CustomerEvent.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CustomerEventNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Test Base Customer Event was successfully found.",
+ "schema": {
+ "$ref": "#/definitions/CustomerEventResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CustomerEventGet": {
+ "$ref": "./examples/CustomerEventGet.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.TestBase/operations": {
+ "get": {
+ "tags": [
+ "Operation"
+ ],
+ "description": "Lists all of the available REST API operations of the Microsoft.TestBase provider.",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The response describes the list of operations.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "OperationsList": {
+ "$ref": "./examples/OperationsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/getFreeHourBalance": {
+ "post": {
+ "operationId": "BillingHubService_GetFreeHourBalance",
+ "responses": {
+ "200": {
+ "description": "A successful response.",
+ "schema": {
+ "$ref": "#/definitions/BillingHubGetFreeHourBalanceResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "tags": [
+ "BillingHubService"
+ ],
+ "x-ms-examples": {
+ "BillingHubGetFreeHourBalance": {
+ "$ref": "./examples/BillingHubGetFreeHourBalance.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/getUsage": {
+ "post": {
+ "operationId": "BillingHubService_GetUsage",
+ "responses": {
+ "200": {
+ "description": "A successful response.",
+ "schema": {
+ "$ref": "#/definitions/BillingHubGetUsageResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "getUsageRequest",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/BillingHubGetUsageRequest"
+ }
+ }
+ ],
+ "tags": [
+ "BillingHubService"
+ ],
+ "x-ms-examples": {
+ "BillingHubGetUsage": {
+ "$ref": "./examples/BillingHubGetUsage.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/availableInplaceUpgradeOSs": {
+ "get": {
+ "tags": [
+ "Supported OSes"
+ ],
+ "operationId": "AvailableInplaceUpgradeOS_List",
+ "description": "Lists all the available In-place Upgrade OSs to a package under a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/OSUpdateTypeParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/AvailableInplaceUpgradeOSListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "AvailableInplaceUpgradeOSList": {
+ "$ref": "./examples/AvailableInplaceUpgradeOSList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/availableInplaceUpgradeOSs/{availableInplaceUpgradeOSResourceName}": {
+ "get": {
+ "tags": [
+ "Supported OSes"
+ ],
+ "operationId": "AvailableInplaceUpgradeOS_Get",
+ "description": "Gets an available In-place Upgrade OS to run a package under a Test Base Account.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TestBaseAccountNameParameter"
+ },
+ {
+ "name": "availableInplaceUpgradeOSResourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The resource name of an Available In-place Upgrade OS.",
+ "pattern": "^[A-Za-z0-9]([A-Za-z0-9_]|(-{1,3}[A-Za-z0-9]))+$"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation is completed.",
+ "schema": {
+ "$ref": "#/definitions/AvailableInplaceUpgradeOSResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "AvailableInplaceUpgradeOSGet": {
+ "$ref": "./examples/AvailableInplaceUpgradeOSGet.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ },
+ "TestBaseAccountSKUListResult": {
+ "description": "A list of Test Base Account SKUs.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TestBaseAccountSKU"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "description": "The list of Test Base Account SKUs."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "TestBaseAccountSKU": {
+ "description": "Describes a Test Base Account SKU.",
+ "type": "object",
+ "properties": {
+ "resourceType": {
+ "type": "string",
+ "description": "The type of resource the SKU applies to."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the SKU. This is typically a letter + number code, such as B0 or S0."
+ },
+ "tier": {
+ "type": "string",
+ "description": "The tier of this particular SKU.",
+ "enum": [
+ "Standard"
+ ],
+ "x-ms-enum": {
+ "name": "tier",
+ "modelAsString": true
+ }
+ },
+ "capabilities": {
+ "type": "array",
+ "description": "The capabilities of a SKU.",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/TestBaseAccountSKUCapability"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ]
+ },
+ "locations": {
+ "description": "The locations that the SKU is available.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "name",
+ "tier"
+ ]
+ },
+ "TestBaseAccountSKUCapability": {
+ "description": "Properties of the Test Base Account SKU Capability.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "An invariant to describe the feature, such as 'SLA'."
+ },
+ "value": {
+ "type": "string",
+ "description": "An invariant if the feature is measured by quantity, such as 99.9%."
+ }
+ },
+ "required": [
+ "name",
+ "value"
+ ]
+ },
+ "TestBaseAccountListResult": {
+ "description": "A list of Test Base Accounts.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TestBaseAccountResource"
+ },
+ "description": "The list of Test Base Accounts."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "TestBaseAccountResource": {
+ "description": "The Test Base Account resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/TestBaseAccountResourceProperties",
+ "description": "Properties of a Test Base Account."
+ },
+ "identity": {
+ "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/SystemAssignedServiceIdentity",
+ "description": "The identity of the testBaseAccount."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ]
+ },
+ "TestBaseAccountResourceProperties": {
+ "description": "The properties of a Test Base Account resource.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "$ref": "#/definitions/ProvisioningState"
+ },
+ "sku": {
+ "description": "The SKU of the Test Base Account.",
+ "$ref": "#/definitions/TestBaseAccountSKU"
+ },
+ "accessLevel": {
+ "description": "The access level of the Test Base Account.",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "required": [
+ "sku"
+ ]
+ },
+ "ProvisioningState": {
+ "type": "string",
+ "description": "ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "Cancelled",
+ "Creating",
+ "Deleting",
+ "Updating"
+ ],
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "TestBaseAccountUpdateParameters": {
+ "description": "Parameters supplied to update a Test Base Account.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/TestBaseAccountUpdateParameterProperties",
+ "x-ms-client-flatten": true,
+ "description": "Test Base Account update parameters."
+ },
+ "identity": {
+ "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/SystemAssignedServiceIdentity",
+ "description": "The identity of the testBaseAccount."
+ },
+ "tags": {
+ "description": "The tags of the Test Base Account.",
+ "$ref": "#/definitions/Tags"
+ }
+ }
+ },
+ "TestBaseAccountUpdateParameterProperties": {
+ "description": "Parameters supplied to update a Test Base Account.",
+ "type": "object",
+ "properties": {
+ "sku": {
+ "description": "The SKU of the Test Base Account.",
+ "$ref": "#/definitions/TestBaseAccountSKU"
+ }
+ }
+ },
+ "TestBaseAccountUsageDataList": {
+ "description": "A list of Test Base Account usage data.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TestBaseAccountUsageData"
+ },
+ "description": "The list of Test Base Account usage data."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "TestBaseAccountUsageData": {
+ "description": "The usage data of a Test Base Account.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Fully qualified ARM resource id",
+ "type": "string"
+ },
+ "name": {
+ "$ref": "#/definitions/TestBaseAccountUsageName",
+ "description": "Localizable String object containing the name and a localized value."
+ },
+ "unit": {
+ "description": "Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond.",
+ "type": "string"
+ },
+ "limit": {
+ "format": "int64",
+ "description": "The maximum permitted value for the usage quota. If there is no limit, this value will be -1.",
+ "type": "integer"
+ },
+ "currentValue": {
+ "format": "int64",
+ "description": "Current value for the usage quota.",
+ "type": "integer"
+ }
+ }
+ },
+ "TestBaseAccountUsageName": {
+ "description": "Localizable String object containing the name and a localized value.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The identifier of the usage.",
+ "type": "string"
+ },
+ "localizedValue": {
+ "description": "Localized name of the usage.",
+ "type": "string"
+ }
+ }
+ },
+ "GetFileUploadURLParameters": {
+ "description": "The parameters supplied to the Test Base Account GetFileUploadURL action.",
+ "type": "object",
+ "properties": {
+ "blobName": {
+ "type": "string",
+ "description": "The custom file name of the uploaded blob."
+ },
+ "resourceType": {
+ "type": "string",
+ "enum": [
+ "Package",
+ "VHD"
+ ],
+ "description": "Resource type for file uploading.",
+ "x-ms-enum": {
+ "name": "fileUploadResourceType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Package",
+ "description": "Upload file for package onboarding."
+ },
+ {
+ "value": "VHD",
+ "description": "Upload VHD file for image onboarding."
+ }
+ ]
+ }
+ }
+ }
+ },
+ "FileUploadURLResponse": {
+ "description": "The URL response",
+ "type": "object",
+ "properties": {
+ "uploadUrl": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The URL used for uploading the package."
+ },
+ "blobPath": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The blob path of the uploaded package. It will be used as the 'blobPath' property of PackageResource."
+ }
+ }
+ },
+ "AvailableOSListResult": {
+ "description": "A list of available OSs.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AvailableOSResource"
+ },
+ "description": "The list of available OSs."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "AvailableOSResource": {
+ "description": "The Available OS resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/AvailableOSProperties",
+ "x-ms-client-flatten": true,
+ "description": "Available OS properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "AvailableOSProperties": {
+ "description": "The Available OS properties.",
+ "type": "object",
+ "properties": {
+ "osId": {
+ "type": "string",
+ "description": "The Id of an Available OS of a Test Base Account."
+ },
+ "osName": {
+ "type": "string",
+ "description": "The name of an Available OS of a Test Base Account."
+ },
+ "osVersion": {
+ "type": "string",
+ "description": "The version of an Available OS of a Test Base Account."
+ },
+ "insiderChannel": {
+ "type": "string",
+ "description": "The insider channel of an Available OS of a Test Base Account."
+ },
+ "osUpdateType": {
+ "type": "string",
+ "description": "The OS update type of an Available OS of a Test Base Account."
+ },
+ "osPlatform": {
+ "type": "string",
+ "description": "The Platform of an Available OS of a Test Base Account."
+ }
+ }
+ },
+ "FeatureUpdateSupportedOsesResult": {
+ "description": "Response schema of feature update supported OSes list API.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FeatureUpdateSupportedOsesResource"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "FeatureUpdateSupportedOsesResource": {
+ "description": "Feature update supported OSes proxy resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/FeatureUpdateSupportedOsesProperties",
+ "x-ms-client-flatten": true,
+ "description": "Available OS properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "FeatureUpdateSupportedOsesProperties": {
+ "description": "Properties of feature update supported OSes proxy resource.",
+ "type": "object",
+ "properties": {
+ "osId": {
+ "type": "string"
+ },
+ "osName": {
+ "type": "string"
+ },
+ "insiderChannel": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ },
+ "displayText": {
+ "type": "string"
+ },
+ "baselineProducts": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Timestamp when the OS starts to be supported."
+ },
+ "state": {
+ "type": "string",
+ "enum": [
+ "Disabled",
+ "Active"
+ ],
+ "description": "State of the OS product.",
+ "x-ms-enum": {
+ "name": "osProductState",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "osId",
+ "osName",
+ "insiderChannel",
+ "version",
+ "baselineProducts",
+ "startTime",
+ "state",
+ "displayText"
+ ]
+ },
+ "FlightingRingListResult": {
+ "description": "A list of flighting rings.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FlightingRingResource"
+ },
+ "description": "The list of flighting rings."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "FlightingRingResource": {
+ "description": "The flighting ring resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/FlightingRingProperties",
+ "x-ms-client-flatten": true,
+ "description": "Flighting Ring properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "FlightingRingProperties": {
+ "description": "The Flighting Ring properties.",
+ "type": "object",
+ "properties": {
+ "actualFlightingRingName": {
+ "type": "string",
+ "description": "The actual name of a flighting ring of a Test Base Account."
+ }
+ }
+ },
+ "FirstPartyAppListResult": {
+ "description": "A list of currently available first party applications.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FirstPartyAppResource"
+ },
+ "description": "The list of currently available first party applications."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "FirstPartyAppResource": {
+ "description": "The first party application resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/FirstPartyAppProperties",
+ "x-ms-client-flatten": true,
+ "description": "Properties of a first party application."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "FirstPartyAppProperties": {
+ "description": "Properties of a first party application.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "$ref": "#/definitions/ProvisioningState"
+ },
+ "mediaType": {
+ "type": "string",
+ "description": "The media type of a first party application of a Test Base Account."
+ },
+ "architecture": {
+ "$ref": "#/definitions/Architecture",
+ "description": "The architecture of a first party application of a Test Base Account."
+ },
+ "channel": {
+ "type": "string",
+ "description": "The channel info of a first party application of a Test Base Account."
+ },
+ "ring": {
+ "type": "string",
+ "description": "The ring info of a first party application of a Test Base Account."
+ },
+ "supportedProducts": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The supported OS products of a first party application of a Test Base Account."
+ }
+ }
+ },
+ "FirstPartyAppDefinition": {
+ "description": "Properties of the definition of a first party application of the Test Base package.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The media name of a first party application of a Test Base Account."
+ },
+ "architecture": {
+ "$ref": "#/definitions/Architecture",
+ "description": "The architecture of a first party application of a Test Base Account."
+ },
+ "channel": {
+ "type": "string",
+ "description": "The channel info of a first party application of a Test Base Account."
+ },
+ "ring": {
+ "type": "string",
+ "description": "The ring info of a first party application of a Test Base Account."
+ },
+ "interopExecutionMode": {
+ "type": "string",
+ "description": "Specifies how the first party applications should be inter-operated with user's application.",
+ "enum": [
+ "firstPartyAppWithTests",
+ "firstPartyApp"
+ ],
+ "default": "firstPartyAppWithTests",
+ "x-ms-enum": {
+ "name": "interopExecutionMode",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "firstPartyAppWithTests",
+ "description": "User application will test with the first party applications. For out-of-box tests, additional test cases for first party applications will also be run."
+ },
+ {
+ "value": "firstPartyApp",
+ "description": "User application will test with the first party applications."
+ }
+ ]
+ }
+ }
+ }
+ },
+ "TestResultFirstPartyAppDefinition": {
+ "description": "Properties of the definition of first party application in test result.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The media name of a first party application of a Test Base Account."
+ },
+ "version": {
+ "type": "string",
+ "description": "The media version of a first party application of a Test Base Account."
+ },
+ "architecture": {
+ "$ref": "#/definitions/Architecture",
+ "description": "The architecture of a first party application of a Test Base Account."
+ },
+ "channel": {
+ "type": "string",
+ "description": "The channel info of a first party application of a Test Base Account."
+ },
+ "ring": {
+ "type": "string",
+ "description": "The ring info of a first party application of a Test Base Account."
+ }
+ }
+ },
+ "GalleryAppDefinition": {
+ "description": "Properties of the definition of a gallery application used in Test Base package.",
+ "type": "object",
+ "properties": {
+ "skuId": {
+ "type": "string",
+ "description": "The SKU id of the gallery application."
+ },
+ "isConsented": {
+ "type": "boolean",
+ "description": "Whether the disclaimer of the gallery application is accepted.",
+ "default": false
+ }
+ },
+ "required": [
+ "skuId"
+ ]
+ },
+ "GalleryAppListResult": {
+ "description": "A list of currently available gallery applications.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryAppResource"
+ },
+ "description": "The list of currently available gallery applications."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "GalleryAppResource": {
+ "description": "The gallery application resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/GalleryAppProperties",
+ "x-ms-client-flatten": true,
+ "description": "Properties of a gallery application."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "GalleryAppProperties": {
+ "description": "Properties of a gallery application.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "$ref": "#/definitions/ProvisioningState"
+ },
+ "applicationType": {
+ "$ref": "#/definitions/GalleryAppType",
+ "description": "The application type of a gallery application."
+ },
+ "applicationId": {
+ "type": "string",
+ "description": "The id of a gallery application."
+ },
+ "applicationName": {
+ "type": "string",
+ "description": "The name of a gallery application."
+ },
+ "popularity": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The number of users using a gallery application.",
+ "default": 0
+ }
+ },
+ "required": [
+ "applicationType",
+ "applicationId",
+ "applicationName",
+ "popularity"
+ ]
+ },
+ "GalleryAppType": {
+ "description": "The type of a gallery application.",
+ "type": "string",
+ "enum": [
+ "Winget"
+ ],
+ "x-ms-enum": {
+ "name": "applicationType",
+ "modelAsString": true
+ }
+ },
+ "GalleryAppSkuListResult": {
+ "description": "A list of currently available SKUs of a gallery application.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryAppSkuResource"
+ },
+ "description": "The list of currently available SKUs of a gallery applications."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "GalleryAppSkuResource": {
+ "description": "The gallery application resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/GalleryAppSkuProperties",
+ "x-ms-client-flatten": true,
+ "description": "Properties of a gallery application SKU."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "GalleryAppSkuProperties": {
+ "description": "Properties of a gallery application SKU.",
+ "type": "object",
+ "discriminator": "applicationType",
+ "properties": {
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "$ref": "#/definitions/ProvisioningState"
+ },
+ "applicationType": {
+ "$ref": "#/definitions/GalleryAppType",
+ "description": "The application type of a gallery application."
+ }
+ },
+ "required": [
+ "applicationType"
+ ]
+ },
+ "WingetAppSkuProperties": {
+ "description": "The detailed properties of a winget gallery application SKU.",
+ "type": "object",
+ "x-ms-discriminator-value": "Winget",
+ "properties": {
+ "version": {
+ "type": "string",
+ "description": "The version of a winget gallery application SKU."
+ },
+ "license": {
+ "type": "string",
+ "description": "The license description of a winget gallery application SKU."
+ },
+ "licenseUrl": {
+ "type": "string",
+ "description": "The license URL of a winget gallery application SKU."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/GalleryAppSkuProperties"
+ }
+ ]
+ },
+ "TestTypeListResult": {
+ "description": "A list of test types.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TestTypeResource"
+ },
+ "description": "The list of test types."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "TestTypeResource": {
+ "description": "The test type resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/TestTypeProperties",
+ "x-ms-client-flatten": true,
+ "description": "Test Type properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "TestTypeProperties": {
+ "description": "The Test Type properties.",
+ "type": "object",
+ "properties": {
+ "actualTestTypeName": {
+ "type": "string",
+ "description": "The actual name of a test type of a Test Base Account."
+ }
+ }
+ },
+ "PackageCheckNameAvailabilityParameters": {
+ "description": "Parameters body to pass for Test Base Package name availability check.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Resource name to verify."
+ },
+ "applicationName": {
+ "type": "string",
+ "description": "Application name to verify."
+ },
+ "version": {
+ "type": "string",
+ "description": "Version name to verify."
+ },
+ "type": {
+ "type": "string",
+ "description": "fully qualified resource type which includes provider namespace."
+ }
+ },
+ "required": [
+ "name",
+ "applicationName",
+ "version"
+ ]
+ },
+ "CheckNameAvailabilityResult": {
+ "properties": {
+ "nameAvailable": {
+ "type": "boolean",
+ "description": "Value indicating the availability of the name: true if the name is available; otherwise, false."
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for unavailability of a name. Required if nameAvailable == false.",
+ "enum": [
+ "Invalid",
+ "AlreadyExists"
+ ],
+ "x-ms-enum": {
+ "name": "reason",
+ "modelAsString": true
+ }
+ },
+ "message": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The detailed info regarding the reason associated with the name. Required if nameAvailable == false."
+ }
+ },
+ "type": "object",
+ "description": "Description of a Check Name availability response properties."
+ },
+ "PackageRunTestParameters": {
+ "description": "The parameters supplied to the Test Base Package to start a Test Run.",
+ "type": "object",
+ "properties": {
+ "testType": {
+ "$ref": "#/definitions/TestType",
+ "description": "The type of the test."
+ },
+ "osUpdateType": {
+ "type": "string",
+ "description": "Specifies the OS update type to test against.",
+ "default": "SecurityUpdate",
+ "enum": [
+ "SecurityUpdate",
+ "FeatureUpdate",
+ "InplaceUpgrade"
+ ],
+ "x-ms-enum": {
+ "name": "osUpdateType",
+ "modelAsString": true
+ }
+ },
+ "osName": {
+ "type": "string",
+ "description": "The operating system name. e.g. Windows 10 1809."
+ },
+ "releaseName": {
+ "type": "string",
+ "description": "The name of the tested release (OS update)."
+ },
+ "flightingRing": {
+ "type": "string",
+ "description": "The flighting ring, only for release of feature updates."
+ },
+ "customImageId": {
+ "type": "string",
+ "description": "The tested custom image id. 'osName', 'release', 'buildVersion' and 'mediaPackageVersion' would be ignored when it's eligible.'"
+ }
+ }
+ },
+ "PackageListResult": {
+ "description": "A list of Test Base Packages.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PackageResource"
+ },
+ "description": "The list of Test Base Packages."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "PackageResource": {
+ "description": "The Test Base Package resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PackageProperties",
+ "x-ms-client-flatten": true,
+ "description": "Test Base Package properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
+ }
+ ]
+ },
+ "PackageProperties": {
+ "description": "The properties of the Test Base Package.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "$ref": "#/definitions/ProvisioningState"
+ },
+ "applicationName": {
+ "type": "string",
+ "description": "Application name"
+ },
+ "version": {
+ "type": "string",
+ "description": "Application version"
+ },
+ "draftPackageId": {
+ "type": "string",
+ "description": "The id of draft package. Used to create or update this package from a draft package."
+ },
+ "packageStatus": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The status of the package.",
+ "enum": [
+ "Unknown",
+ "Registered",
+ "Ready",
+ "Error",
+ "ValidatingPackage",
+ "PreValidationCheckPass",
+ "Deleted",
+ "ValidationLongerThanUsual",
+ "VerifyingPackage"
+ ],
+ "x-ms-enum": {
+ "name": "packageStatus",
+ "modelAsString": true
+ }
+ },
+ "isEnabled": {
+ "type": "boolean",
+ "readOnly": true,
+ "description": "Flag showing that whether the package is enabled. It doesn't schedule test for package which is not enabled."
+ },
+ "blobPath": {
+ "type": "string",
+ "description": "The file path of the package."
+ },
+ "validationResults": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PackageValidationResult"
+ },
+ "x-ms-identifiers": [],
+ "description": "The validation results. There's validation on package when it's created or updated."
+ },
+ "testTypes": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/TestType"
+ },
+ "description": "OOB, functional or flow driven. Mapped to the data in 'tests' property."
+ },
+ "targetOSList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TargetOSInfo"
+ },
+ "x-ms-identifiers": [],
+ "description": "Specifies the target OSs of specific OS Update types."
+ },
+ "inplaceUpgradeOSPair": {
+ "$ref": "#/definitions/InplaceUpgradeOSInfo",
+ "description": "Specifies the baseline os and target os for inplace upgrade."
+ },
+ "lastModifiedTime": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The UTC timestamp when the package was last modified."
+ },
+ "flightingRing": {
+ "type": "string",
+ "description": "The flighting ring for feature update."
+ },
+ "firstPartyApps": {
+ "description": "The list of first party applications to test along with user application.",
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/FirstPartyAppDefinition"
+ }
+ },
+ "galleryApps": {
+ "description": "The list of gallery apps to test along with user application.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryAppDefinition"
+ },
+ "x-ms-identifiers": [
+ "skuId"
+ ],
+ "readOnly": true
+ },
+ "tests": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Test"
+ },
+ "x-ms-identifiers": [],
+ "description": "The detailed test information."
+ },
+ "intuneEnrollmentMetadata": {
+ "description": "The metadata of Intune enrollment.",
+ "$ref": "#/definitions/IntuneEnrollmentMetadata"
+ }
+ },
+ "required": [
+ "applicationName",
+ "version"
+ ]
+ },
+ "TestType": {
+ "type": "string",
+ "description": "The test type.",
+ "enum": [
+ "OutOfBoxTest",
+ "FunctionalTest",
+ "FlowDrivenTest"
+ ],
+ "x-ms-enum": {
+ "name": "testType",
+ "modelAsString": true
+ }
+ },
+ "Architecture": {
+ "type": "string",
+ "description": "The architecture of an OS or a first party application.",
+ "enum": [
+ "x86",
+ "x64",
+ "arm64"
+ ],
+ "x-ms-enum": {
+ "name": "architecture",
+ "modelAsString": true
+ }
+ },
+ "TargetOSInfo": {
+ "description": "The information of the target OS to be tested.",
+ "type": "object",
+ "properties": {
+ "osUpdateType": {
+ "type": "string",
+ "description": "Specifies the OS update type to test against, e.g., 'Security updates' or 'Feature updates'."
+ },
+ "targetOSs": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Specifies the target OSs to be tested."
+ },
+ "insiderChannelIds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Insider Channel Ids. Only used for feature update."
+ },
+ "baselineOSs": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Specifies the baseline OSs to be tested."
+ },
+ "targetOSImageIds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Specifies the ids of the target OSs from Custom Images to be tested."
+ }
+ },
+ "required": [
+ "osUpdateType"
+ ]
+ },
+ "PackageValidationResult": {
+ "description": "The validation results. There's validation on package when it's created or updated.",
+ "type": "object",
+ "properties": {
+ "validationName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Validation name."
+ },
+ "isValid": {
+ "type": "boolean",
+ "readOnly": true,
+ "description": "Indicates whether the package passed the validation."
+ },
+ "errors": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "type": "string"
+ },
+ "description": "Error information."
+ }
+ }
+ },
+ "Test": {
+ "description": "The definition of a Test.",
+ "type": "object",
+ "properties": {
+ "testType": {
+ "$ref": "#/definitions/TestType",
+ "description": "The type of the test."
+ },
+ "validationRunStatus": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The status of the validation run of the package.",
+ "enum": [
+ "Unknown",
+ "Pending",
+ "Passed",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "validationRunStatus",
+ "modelAsString": true
+ }
+ },
+ "validationResultId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource identifier of the validation test result."
+ },
+ "isActive": {
+ "type": "boolean",
+ "description": "Indicates if this test is active.It doesn't schedule test for not active Test."
+ },
+ "commands": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Command"
+ },
+ "x-ms-identifiers": [],
+ "description": "The commands used in the test."
+ }
+ },
+ "required": [
+ "testType",
+ "commands"
+ ]
+ },
+ "Command": {
+ "description": "The command used in the test",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the command."
+ },
+ "action": {
+ "type": "string",
+ "description": "The action of the command.",
+ "enum": [
+ "Install",
+ "Launch",
+ "Close",
+ "Uninstall",
+ "Custom",
+ "FlowDrivenCustom"
+ ],
+ "x-ms-enum": {
+ "name": "action",
+ "modelAsString": true
+ }
+ },
+ "contentType": {
+ "type": "string",
+ "description": "The type of command content.",
+ "enum": [
+ "Inline",
+ "File",
+ "Path"
+ ],
+ "x-ms-enum": {
+ "name": "contentType",
+ "modelAsString": true
+ }
+ },
+ "content": {
+ "type": "string",
+ "description": "The content of the command. The content depends on source type."
+ },
+ "runElevated": {
+ "type": "boolean",
+ "description": "Specifies whether to run the command as administrator."
+ },
+ "restartAfter": {
+ "type": "boolean",
+ "description": "Specifies whether to restart the VM after the command executed."
+ },
+ "maxRunTime": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the max run time of the command."
+ },
+ "runAsInteractive": {
+ "type": "boolean",
+ "description": "Specifies whether to run the command in interactive mode."
+ },
+ "alwaysRun": {
+ "type": "boolean",
+ "description": "Specifies whether to run the command even if a previous command is failed."
+ },
+ "applyUpdateBefore": {
+ "type": "boolean",
+ "description": "Specifies whether to apply update before the command."
+ },
+ "install1PAppBefore": {
+ "type": "boolean",
+ "description": "Specifies whether to install first party applications before running the command."
+ },
+ "preUpgrade": {
+ "type": "boolean",
+ "description": "Specifies whether the command is assigned to be executed before in-place upgrade."
+ },
+ "postUpgrade": {
+ "type": "boolean",
+ "description": "Specifies whether the command is assigned to be executed after in-place upgrade."
+ },
+ "enrollIntuneBefore": {
+ "type": "boolean",
+ "description": "Specifies whether to enroll Intune before the command."
+ }
+ },
+ "required": [
+ "name",
+ "action",
+ "contentType",
+ "content"
+ ]
+ },
+ "PackageUpdateParameters": {
+ "description": "Parameters supplied to update a Test Base Package.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PackageUpdateParameterProperties",
+ "x-ms-client-flatten": true,
+ "description": "Test Base Package update parameters."
+ },
+ "tags": {
+ "description": "The tags of the Package.",
+ "$ref": "#/definitions/Tags"
+ }
+ }
+ },
+ "PackageUpdateParameterProperties": {
+ "description": "Parameters supplied to update a Test Base Package.",
+ "type": "object",
+ "properties": {
+ "draftPackageId": {
+ "type": "string",
+ "description": "The id of draft package. Used to create or update this package from a draft package."
+ },
+ "isEnabled": {
+ "type": "boolean",
+ "description": "Specifies whether the package is enabled. It doesn't schedule test for package which is not enabled."
+ },
+ "blobPath": {
+ "type": "string",
+ "description": "The file name of the package."
+ },
+ "targetOSList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TargetOSInfo"
+ },
+ "x-ms-identifiers": [],
+ "description": "Specifies the target OSs of specific OS Update types."
+ },
+ "inplaceUpgradeOSPair": {
+ "$ref": "#/definitions/InplaceUpgradeOSInfo",
+ "description": "Specifies the baseline os and target os for in-place upgrade."
+ },
+ "flightingRing": {
+ "type": "string",
+ "description": "The flighting ring for feature update."
+ },
+ "firstPartyApps": {
+ "description": "Specifies the list of first party applications to test along with user application.",
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/FirstPartyAppDefinition"
+ }
+ },
+ "tests": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Test"
+ },
+ "x-ms-identifiers": [],
+ "description": "The detailed test information."
+ },
+ "intuneEnrollmentMetadata": {
+ "description": "The metadata of Intune enrollment.",
+ "$ref": "#/definitions/IntuneEnrollmentMetadata"
+ }
+ }
+ },
+ "TestResultConsoleLogDownloadURLParameters": {
+ "description": "Parameters body to pass for getting the download URL of the test execution console log file.",
+ "type": "object",
+ "properties": {
+ "logFileName": {
+ "type": "string",
+ "description": "The log file name corresponding to the download URL."
+ }
+ },
+ "required": [
+ "logFileName"
+ ]
+ },
+ "DownloadURLResponse": {
+ "description": "The response of getting a download URL.",
+ "type": "object",
+ "properties": {
+ "downloadUrl": {
+ "type": "string",
+ "readOnly": true,
+ "x-ms-secret": true,
+ "description": "The download URL."
+ },
+ "expirationTime": {
+ "type": "string",
+ "readOnly": true,
+ "format": "date-time",
+ "description": "Expiry date of the download URL."
+ }
+ }
+ },
+ "TestSummaryListResult": {
+ "description": "A list of Test Summaries.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TestSummaryResource"
+ },
+ "description": "The list of Test Summaries."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "TestSummaryResource": {
+ "description": "Summary of a Test.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/TestSummaryProperties",
+ "description": "Properties of a Test Summary."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "TestSummaryProperties": {
+ "description": "Properties of a Test Summary.",
+ "type": "object",
+ "properties": {
+ "testSummaryId": {
+ "type": "string",
+ "description": "The Id of the current Test Summary."
+ },
+ "packageId": {
+ "type": "string",
+ "description": "The Azure resource Id of package."
+ },
+ "applicationName": {
+ "type": "string",
+ "description": "Application name."
+ },
+ "applicationVersion": {
+ "type": "string",
+ "description": "Application version."
+ },
+ "executionStatus": {
+ "$ref": "#/definitions/TestExecutionStatus",
+ "description": "The execution status of last test."
+ },
+ "testStatus": {
+ "$ref": "#/definitions/TestStatus",
+ "description": "The status of last test."
+ },
+ "grade": {
+ "$ref": "#/definitions/TestGrade",
+ "description": "The grade of the test."
+ },
+ "testRunTime": {
+ "type": "string",
+ "description": "The run time of the last test."
+ },
+ "featureUpdatesTestSummary": {
+ "$ref": "#/definitions/OSUpdatesTestSummary",
+ "description": "The result summary of tests triggered by feature updates"
+ },
+ "securityUpdatesTestSummary": {
+ "$ref": "#/definitions/OSUpdatesTestSummary",
+ "description": "The result summary of tests triggered by security updates"
+ },
+ "inplaceUpgradesTestSummary": {
+ "$ref": "#/definitions/OSUpdatesTestSummary",
+ "description": "The result summary of tests triggered by in-place upgrades"
+ },
+ "packageTags": {
+ "description": "The tags of Package resource that are associated with the testSummary",
+ "$ref": "#/definitions/Tags"
+ }
+ }
+ },
+ "TestExecutionStatus": {
+ "type": "string",
+ "description": "The execution status of a test.",
+ "enum": [
+ "None",
+ "InProgress",
+ "Processing",
+ "Completed",
+ "NotExecuted",
+ "Incomplete",
+ "Failed",
+ "Succeeded"
+ ],
+ "x-ms-enum": {
+ "name": "executionStatus",
+ "modelAsString": true
+ }
+ },
+ "TestStatus": {
+ "type": "string",
+ "description": "The status of a test.",
+ "enum": [
+ "None",
+ "TestExecutionInProgress",
+ "DataProcessing",
+ "TestFailure",
+ "UpdateFailure",
+ "TestAndUpdateFailure",
+ "InfrastructureFailure",
+ "Completed"
+ ],
+ "x-ms-enum": {
+ "name": "testStatus",
+ "modelAsString": true
+ }
+ },
+ "TestGrade": {
+ "type": "string",
+ "description": "The grade of a test.",
+ "enum": [
+ "None",
+ "NotAvailable",
+ "Pass",
+ "Fail"
+ ],
+ "x-ms-enum": {
+ "name": "grade",
+ "modelAsString": true
+ }
+ },
+ "OSUpdatesTestSummary": {
+ "description": "The summary of some tests.",
+ "type": "object",
+ "properties": {
+ "executionStatus": {
+ "$ref": "#/definitions/TestExecutionStatus",
+ "description": "The status of the last test."
+ },
+ "testStatus": {
+ "$ref": "#/definitions/TestStatus",
+ "description": "The status of last test."
+ },
+ "grade": {
+ "$ref": "#/definitions/TestGrade",
+ "description": "The grade of last test."
+ },
+ "testRunTime": {
+ "type": "string",
+ "description": "The run time of the last test."
+ },
+ "osUpdateTestSummaries": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OSUpdateTestSummary"
+ },
+ "x-ms-identifiers": [],
+ "description": "Detailed summary for each OS update"
+ }
+ }
+ },
+ "OSUpdateTestSummary": {
+ "description": "The summary of a test.",
+ "type": "object",
+ "properties": {
+ "osName": {
+ "type": "string",
+ "description": "The operating system name. e.g. Windows 10 1809."
+ },
+ "customImageId": {
+ "type": "string",
+ "description": "Specify the referenced Test Base Custom Image Id if available."
+ },
+ "customImageDisplayName": {
+ "type": "string",
+ "description": "The name of the custom image resource."
+ },
+ "releaseName": {
+ "type": "string",
+ "description": "The name of the tested release (OS update)."
+ },
+ "buildVersion": {
+ "type": "string",
+ "description": "The build version of the tested release (OS update)"
+ },
+ "buildRevision": {
+ "type": "string",
+ "description": "The build revision of the tested release (OS update)"
+ },
+ "releaseVersionDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The release version date."
+ },
+ "flightingRing": {
+ "type": "string",
+ "description": "The flighting ring, only for release of feature updates."
+ },
+ "executionStatus": {
+ "$ref": "#/definitions/TestExecutionStatus",
+ "description": "The execution status of the test."
+ },
+ "testStatus": {
+ "$ref": "#/definitions/TestStatus",
+ "description": "The status of the test."
+ },
+ "grade": {
+ "$ref": "#/definitions/TestGrade",
+ "description": "The grade of the test."
+ },
+ "testRunTime": {
+ "type": "string",
+ "description": "The run time of the test."
+ },
+ "testType": {
+ "type": "string",
+ "description": "The test type of the package"
+ },
+ "inplaceUpgradeBaselineProperties": {
+ "$ref": "#/definitions/OsProperties",
+ "description": "The properties of baseline os for in-place upgrade test."
+ }
+ }
+ },
+ "TestResultListResult": {
+ "description": "A list of Test Results.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TestResultResource"
+ },
+ "description": "The list of Test Results."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "TestResultResource": {
+ "description": "The Test Result Resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/TestResultProperties",
+ "x-ms-client-flatten": true,
+ "description": "The properties of a Test Result."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "TestResultProperties": {
+ "description": "The properties of a Test Result.",
+ "type": "object",
+ "properties": {
+ "baselineTestResultId": {
+ "type": "string",
+ "description": "Azure Id of the baseline test result."
+ },
+ "packageId": {
+ "type": "string",
+ "description": "Resource Id of the package."
+ },
+ "applicationName": {
+ "type": "string",
+ "description": "Application name."
+ },
+ "applicationVersion": {
+ "type": "string",
+ "description": "Application version."
+ },
+ "osName": {
+ "type": "string",
+ "description": "The operating system name, e.g. Windows 10 1809."
+ },
+ "customImageId": {
+ "type": "string",
+ "description": "Specify the referenced Test Base Custom Image Id if applicable."
+ },
+ "customImageDisplayName": {
+ "type": "string",
+ "description": "The name of the custom image resource."
+ },
+ "releaseName": {
+ "type": "string",
+ "description": "The name of the tested release (OS update)."
+ },
+ "releaseVersionDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The release version date of the tested release."
+ },
+ "flightingRing": {
+ "type": "string",
+ "description": "The flighting ring, only for release of feature updates."
+ },
+ "buildVersion": {
+ "type": "string",
+ "description": "The build version of the tested release (OS update)."
+ },
+ "buildRevision": {
+ "type": "string",
+ "description": "The build revision of the tested release (OS update)."
+ },
+ "testType": {
+ "type": "string",
+ "description": "Test type. E.g. 'Out of box test' or 'Functional test'."
+ },
+ "testRunTime": {
+ "type": "string",
+ "description": "The run time of the test."
+ },
+ "isDownloadDataAvailable": {
+ "type": "boolean",
+ "description": "Whether download data is available."
+ },
+ "isVideoAvailable": {
+ "type": "boolean",
+ "description": "Whether video data is available."
+ },
+ "executionStatus": {
+ "$ref": "#/definitions/TestExecutionStatus",
+ "description": "The execution status of the test."
+ },
+ "testStatus": {
+ "$ref": "#/definitions/TestStatus",
+ "description": "The status of the test."
+ },
+ "grade": {
+ "$ref": "#/definitions/TestGrade",
+ "description": "The grade of the test."
+ },
+ "kbNumber": {
+ "type": "string",
+ "description": "KB number."
+ },
+ "interopMediaType": {
+ "type": "string",
+ "description": "Interop media type."
+ },
+ "interopMediaVersion": {
+ "type": "string",
+ "description": "Interop media version."
+ },
+ "packageVersion": {
+ "type": "string",
+ "description": "The version of the Windows update package."
+ },
+ "analysisSummaries": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TestResultAnalysisSummary"
+ },
+ "x-ms-identifiers": [
+ "name"
+ ],
+ "description": "List of analysis summaries."
+ },
+ "inplaceUpgradeProperties": {
+ "$ref": "#/definitions/InplaceUpgradeProperties",
+ "description": "Properties for inplace upgrade test."
+ },
+ "testStartTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when test starts."
+ },
+ "testEndTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when test ends."
+ },
+ "firstPartyApps": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TestResultFirstPartyAppDefinition"
+ },
+ "x-ms-identifiers": [],
+ "description": "The list of first party applications tested along with the package."
+ }
+ }
+ },
+ "TestResultAnalysisSummary": {
+ "description": "The summary of a Test Analysis Result.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Metric name"
+ },
+ "analysisStatus": {
+ "type": "string",
+ "description": "The analysis status.",
+ "enum": [
+ "None",
+ "Completed",
+ "InProgress",
+ "Failed",
+ "Succeeded",
+ "Available",
+ "NotAvailable"
+ ],
+ "x-ms-enum": {
+ "name": "analysisStatus",
+ "modelAsString": true
+ }
+ },
+ "grade": {
+ "$ref": "#/definitions/TestGrade",
+ "description": "The grade of the test result."
+ }
+ }
+ },
+ "OSUpdateListResult": {
+ "description": "A list of OS Updates.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OSUpdateResource"
+ },
+ "description": "The list of OS Updates."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "OSUpdateResource": {
+ "description": "An OS Update.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OSUpdateProperties",
+ "description": "Properties of an OS Update."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "OSUpdateProperties": {
+ "description": "Properties of an OS Update.",
+ "type": "object",
+ "properties": {
+ "osName": {
+ "type": "string",
+ "description": "The name of the OS."
+ },
+ "release": {
+ "type": "string",
+ "description": "The name of tested release."
+ },
+ "flightingRing": {
+ "type": "string",
+ "description": "The flighting ring, only for release of feature updates."
+ },
+ "buildVersion": {
+ "type": "string",
+ "description": "The build version of the tested release (OS update)."
+ },
+ "buildRevision": {
+ "type": "string",
+ "description": "The build revision of the tested release (OS update)"
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of this release (OS update).",
+ "enum": [
+ "SecurityUpdate",
+ "FeatureUpdate",
+ "InplaceUpgrade"
+ ],
+ "x-ms-enum": {
+ "name": "type",
+ "modelAsString": true
+ }
+ },
+ "releaseVersionDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The release version date the tested release (OS update)"
+ },
+ "inplaceUpgradeBaselineProperties": {
+ "$ref": "#/definitions/OsProperties",
+ "description": "The properties of baseline os for in-place upgrade test."
+ },
+ "customImageId": {
+ "type": "string",
+ "description": "Specify the referenced Test Base Custom Image Id if available."
+ },
+ "customImageDisplayName": {
+ "type": "string",
+ "description": "The name of the custom image resource."
+ }
+ }
+ },
+ "FavoriteProcessListResult": {
+ "description": "A list of favorite processes for a package.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FavoriteProcessResource"
+ },
+ "description": "The list of favorite processes for a package."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "FavoriteProcessResource": {
+ "description": "A favorite process identifier.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/FavoriteProcessProperties",
+ "description": "Properties of a favorite process identifier."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "FavoriteProcessProperties": {
+ "description": "Properties of a favorite process identifier.",
+ "type": "object",
+ "properties": {
+ "actualProcessName": {
+ "type": "string",
+ "description": "The actual name of the favorite process. It will be equal to resource name except for the scenario that the process name contains characters that are not allowed in the resource name."
+ }
+ },
+ "required": [
+ "actualProcessName"
+ ]
+ },
+ "AnalysisResultListResult": {
+ "description": "A list of Analysis Results. It will only contain one element as all the data will be nested in a singleton object.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AnalysisResultSingletonResource"
+ },
+ "description": "The list of Analysis Results."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "AnalysisResultSingletonResource": {
+ "description": "The Analysis Result Singleton Resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AnalysisResultSingletonResourceProperties",
+ "description": "Properties of an Analysis Result."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "AnalysisResultSingletonResourceProperties": {
+ "description": "The properties of Analysis Result resource.",
+ "type": "object",
+ "discriminator": "analysisResultType",
+ "required": [
+ "analysisResultType"
+ ],
+ "properties": {
+ "grade": {
+ "$ref": "#/definitions/TestGrade",
+ "description": "The grade of the test."
+ },
+ "analysisResultType": {
+ "description": "Type of the Analysis Result.",
+ "enum": [
+ "ScriptExecution",
+ "Reliability",
+ "CPUUtilization",
+ "MemoryUtilization",
+ "CPURegression",
+ "MemoryRegression",
+ "TestAnalysis"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "analysisResultType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "ScriptExecutionResultSingletonResourceProperties": {
+ "description": "The properties of Script Execution Result.",
+ "type": "object",
+ "x-ms-discriminator-value": "ScriptExecution",
+ "properties": {
+ "scriptExecutionResults": {
+ "description": "The result array data.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ScriptExecutionResult"
+ },
+ "x-ms-identifiers": []
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/AnalysisResultSingletonResourceProperties"
+ }
+ ]
+ },
+ "ScriptExecutionResult": {
+ "description": "The Script Execution Result.",
+ "type": "object",
+ "properties": {
+ "scriptName": {
+ "type": "string",
+ "description": "Name of script."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Start time of script execution."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "End time of script execution."
+ },
+ "exitCode": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Exit code."
+ },
+ "timedOut": {
+ "type": "boolean",
+ "description": "Whether the script execution is timed out."
+ },
+ "stdoutLogFileName": {
+ "type": "string",
+ "description": "The stdout log file name."
+ },
+ "stderrLogFileName": {
+ "type": "string",
+ "description": "The stderr log file name."
+ }
+ }
+ },
+ "ReliabilityResultSingletonResourceProperties": {
+ "description": "The properties of Reliability Result.",
+ "type": "object",
+ "x-ms-discriminator-value": "Reliability",
+ "properties": {
+ "reliabilityResults": {
+ "description": "The result array data.",
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/ReliabilityResult"
+ }
+ },
+ "inplaceUpgradeBaselineReliabilityResults": {
+ "description": "The result array data for target os in an in-place upgrade test.",
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/ReliabilityResult"
+ }
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/AnalysisResultSingletonResourceProperties"
+ }
+ ]
+ },
+ "ReliabilityResult": {
+ "description": "The Reliability Result.",
+ "type": "object",
+ "properties": {
+ "fileName": {
+ "type": "string",
+ "description": "File name."
+ },
+ "launchCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Count of number of launches."
+ },
+ "crashCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Count of number of crashes."
+ },
+ "hangCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Count of number of hangs."
+ },
+ "regressionGrade": {
+ "$ref": "#/definitions/TestGrade",
+ "description": "The regression grade."
+ },
+ "crashRegressionGrade": {
+ "$ref": "#/definitions/TestGrade",
+ "description": "The statistic regression grade for crash signal."
+ },
+ "crashRegressionTestDetails": {
+ "$ref": "#/definitions/RegressionTestDetails",
+ "description": "Details related to the crash regression analysis."
+ },
+ "hangRegressionGrade": {
+ "$ref": "#/definitions/TestGrade",
+ "description": "The statistic regression grade for hang signal."
+ },
+ "hangRegressionTestDetails": {
+ "$ref": "#/definitions/RegressionTestDetails",
+ "description": "Details related to the hang regression analysis."
+ }
+ }
+ },
+ "RegressionTestDetails": {
+ "description": "The details of a regression test.",
+ "type": "object",
+ "properties": {
+ "diff": {
+ "type": "number",
+ "format": "double",
+ "description": "Difference between the two datasets being analyzed."
+ },
+ "isRegressed": {
+ "type": "boolean",
+ "description": "Indicates if a regression was inferred."
+ }
+ }
+ },
+ "CPUUtilizationResultSingletonResourceProperties": {
+ "description": "The properties of CPU Utilization Result.",
+ "type": "object",
+ "x-ms-discriminator-value": "CPUUtilization",
+ "properties": {
+ "cpuUtilizationResults": {
+ "description": "The result array data.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/UtilizationResult"
+ },
+ "x-ms-identifiers": []
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/AnalysisResultSingletonResourceProperties"
+ }
+ ]
+ },
+ "MemoryUtilizationResultSingletonResourceProperties": {
+ "description": "The properties of Memory Utilization Result.",
+ "type": "object",
+ "x-ms-discriminator-value": "MemoryUtilization",
+ "properties": {
+ "memoryUtilizationResults": {
+ "description": "The result array data.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/UtilizationResult"
+ },
+ "x-ms-identifiers": []
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/AnalysisResultSingletonResourceProperties"
+ }
+ ]
+ },
+ "UtilizationResult": {
+ "description": "The Utilization Result.",
+ "type": "object",
+ "properties": {
+ "process": {
+ "type": "string",
+ "description": "Process name, or '_total' for all processes"
+ },
+ "upperBound": {
+ "$ref": "#/definitions/UtilizationBound",
+ "description": "Upper bound"
+ },
+ "lowerBound": {
+ "$ref": "#/definitions/UtilizationBound",
+ "description": "Lower bound"
+ },
+ "utilization": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/UtilizationEntry"
+ },
+ "x-ms-identifiers": [],
+ "description": "Utilization data"
+ }
+ }
+ },
+ "UtilizationBound": {
+ "description": "The bound of a utilization result.",
+ "type": "object",
+ "properties": {
+ "percentile": {
+ "type": "number",
+ "format": "double",
+ "description": "The percentile of the bound."
+ },
+ "value": {
+ "type": "number",
+ "format": "double",
+ "description": "The value of the bound."
+ }
+ }
+ },
+ "UtilizationEntry": {
+ "description": "The utilization entry.",
+ "type": "object",
+ "properties": {
+ "timestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The timestamp."
+ },
+ "value": {
+ "type": "number",
+ "format": "double",
+ "description": "The value."
+ }
+ }
+ },
+ "CPURegressionResultSingletonResourceProperties": {
+ "description": "The properties of CPU Regression Result.",
+ "type": "object",
+ "x-ms-discriminator-value": "CPURegression",
+ "properties": {
+ "cpuRegressionResults": {
+ "description": "The result array data.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RegressionResult"
+ },
+ "x-ms-identifiers": []
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/AnalysisResultSingletonResourceProperties"
+ }
+ ]
+ },
+ "MemoryRegressionResultSingletonResourceProperties": {
+ "description": "The properties of Memory Regression Result.",
+ "type": "object",
+ "x-ms-discriminator-value": "MemoryRegression",
+ "properties": {
+ "memoryRegressionResults": {
+ "description": "The result array data.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RegressionResult"
+ },
+ "x-ms-identifiers": []
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/AnalysisResultSingletonResourceProperties"
+ }
+ ]
+ },
+ "RegressionResult": {
+ "description": "The regression result.",
+ "type": "object",
+ "properties": {
+ "fileName": {
+ "type": "string",
+ "description": "FileName of the binary being analyzed."
+ },
+ "grade": {
+ "$ref": "#/definitions/TestGrade",
+ "description": "The grade of the test."
+ },
+ "details": {
+ "type": "string",
+ "description": "Message that facilitates debugging a particular regression, if any was inferred."
+ },
+ "diff": {
+ "type": "number",
+ "format": "double",
+ "description": "Difference between the two datasets being analyzed."
+ },
+ "isRegressed": {
+ "type": "boolean",
+ "description": "Indicates if a regression was inferred."
+ }
+ }
+ },
+ "TestAnalysisResultSingletonResourceProperties": {
+ "description": "The properties of Test Analysis Result.",
+ "type": "object",
+ "x-ms-discriminator-value": "TestAnalysis",
+ "properties": {
+ "testAnalysisResult": {
+ "$ref": "#/definitions/TestAnalysisResult",
+ "description": "The result of test analysis."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/AnalysisResultSingletonResourceProperties"
+ }
+ ]
+ },
+ "TestAnalysisResult": {
+ "description": "The test analysis result.",
+ "type": "object",
+ "properties": {
+ "blobData": {
+ "type": "string",
+ "description": "The data to provide more failure analysis information."
+ },
+ "testAnalysisStatus": {
+ "type": "string",
+ "description": "The status of the analysis.",
+ "enum": [
+ "None",
+ "Analyzing",
+ "Completed",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "testAnalysisStatus",
+ "modelAsString": true
+ }
+ },
+ "identifiedFailures": {
+ "description": "The array of identified failures.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IdentifiedFailure"
+ },
+ "x-ms-identifiers": [
+ "failureId"
+ ]
+ }
+ }
+ },
+ "IdentifiedFailure": {
+ "description": "The failure identified.",
+ "type": "object",
+ "properties": {
+ "failureId": {
+ "type": "string",
+ "description": "The Failure Id."
+ },
+ "category": {
+ "type": "string",
+ "description": "The category of the failure.",
+ "enum": [
+ "None",
+ "Unidentified",
+ "Package",
+ "OSUpdate",
+ "Infrastructure"
+ ],
+ "x-ms-enum": {
+ "name": "category",
+ "modelAsString": true
+ }
+ },
+ "errorMessage": {
+ "type": "string",
+ "description": "Message that shows information about the failure."
+ },
+ "guidance": {
+ "type": "string",
+ "description": "Guidance that shows what the customer needs to do for this failure."
+ }
+ }
+ },
+ "EmailEventListResult": {
+ "description": "A list of email events.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EmailEventResource"
+ },
+ "description": "The list of email events."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "EmailEventResource": {
+ "description": "The email event resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/EmailEventProperties",
+ "x-ms-client-flatten": true,
+ "description": "Email Event properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "EmailEventProperties": {
+ "description": "The Email Event properties.",
+ "type": "object",
+ "properties": {
+ "eventId": {
+ "type": "string",
+ "description": "The identifier of the email event."
+ },
+ "eventName": {
+ "type": "string",
+ "description": "The name of the email event."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The display name of the email event."
+ }
+ }
+ },
+ "CustomerEventListResult": {
+ "description": "A list of Test Base Customer Events.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CustomerEventResource"
+ },
+ "description": "The list of Test Base Customer Events."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "CustomerEventResource": {
+ "description": "The Customer Notification Event resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/CustomerEventProperties",
+ "x-ms-client-flatten": true,
+ "description": "Customer Notification Event properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "CustomerEventProperties": {
+ "description": "A notification events subscribed to be received by customer.",
+ "type": "object",
+ "properties": {
+ "eventName": {
+ "type": "string",
+ "description": "The name of the event subscribed to."
+ },
+ "receivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NotificationEventReceiver"
+ },
+ "x-ms-identifiers": [],
+ "description": "The notification event receivers."
+ }
+ },
+ "required": [
+ "eventName",
+ "receivers"
+ ]
+ },
+ "NotificationEventReceiver": {
+ "description": "A notification event receivers.",
+ "type": "object",
+ "properties": {
+ "receiverType": {
+ "type": "string",
+ "description": "The type of the notification event receiver."
+ },
+ "receiverValue": {
+ "description": "The notification event receiver value.",
+ "$ref": "#/definitions/NotificationReceiverValue"
+ }
+ }
+ },
+ "NotificationReceiverValue": {
+ "description": "A notification event receiver value.",
+ "type": "object",
+ "properties": {
+ "userObjectReceiverValue": {
+ "description": "The user object receiver value.",
+ "$ref": "#/definitions/UserObjectReceiverValue"
+ },
+ "subscriptionReceiverValue": {
+ "description": "The user object receiver value.",
+ "$ref": "#/definitions/SubscriptionReceiverValue"
+ },
+ "distributionGroupListReceiverValue": {
+ "description": "The user object receiver value.",
+ "$ref": "#/definitions/DistributionGroupListReceiverValue"
+ }
+ }
+ },
+ "UserObjectReceiverValue": {
+ "description": "The user object receiver value.",
+ "type": "object",
+ "properties": {
+ "userObjectIds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "user object ids."
+ }
+ }
+ },
+ "SubscriptionReceiverValue": {
+ "description": "The subscription role receiver value.",
+ "type": "object",
+ "properties": {
+ "subscriptionId": {
+ "type": "string",
+ "description": "The subscription id of the notification receiver."
+ },
+ "subscriptionName": {
+ "type": "string",
+ "description": "The subscription name of the notification receiver."
+ },
+ "role": {
+ "type": "string",
+ "description": "The role of the notification receiver."
+ }
+ }
+ },
+ "DistributionGroupListReceiverValue": {
+ "description": "The user object receiver value.",
+ "type": "object",
+ "properties": {
+ "distributionGroups": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of distribution groups."
+ }
+ }
+ },
+ "BillingHubExecutionUsageDetail": {
+ "type": "object",
+ "properties": {
+ "applicationName": {
+ "type": "string"
+ },
+ "applicationVersion": {
+ "type": "string"
+ },
+ "executionRequestId": {
+ "type": "string"
+ },
+ "sku": {
+ "type": "string"
+ },
+ "meterId": {
+ "type": "string"
+ },
+ "startTimeStamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "endTimeStamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "osBuild": {
+ "type": "string"
+ },
+ "release": {
+ "type": "string"
+ },
+ "testType": {
+ "type": "string"
+ },
+ "updateType": {
+ "type": "string"
+ },
+ "usedFreeHours": {
+ "type": "number",
+ "format": "double"
+ },
+ "usedBillableHours": {
+ "type": "number",
+ "format": "double"
+ },
+ "billedCharges": {
+ "type": "number",
+ "format": "double"
+ }
+ }
+ },
+ "BillingHubGetFreeHourBalanceResponse": {
+ "type": "object",
+ "properties": {
+ "totalRemainingFreeHours": {
+ "type": "number",
+ "format": "double"
+ },
+ "incrementEntries": {
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/BillingHubFreeHourIncrementEntry"
+ }
+ }
+ }
+ },
+ "BillingHubFreeHourIncrementEntry": {
+ "type": "object",
+ "properties": {
+ "freeHourType": {
+ "type": "string",
+ "enum": [
+ "Permanent",
+ "Temporary"
+ ],
+ "x-ms-enum": {
+ "name": "freeHourType",
+ "modelAsString": true
+ }
+ },
+ "freeHourStatus": {
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Suspended"
+ ],
+ "x-ms-enum": {
+ "name": "freeHourStatus",
+ "modelAsString": true
+ }
+ },
+ "createTimeStamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "expirationTimeStamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "incrementalFreeHours": {
+ "type": "number",
+ "format": "double"
+ },
+ "remainingFreeHours": {
+ "type": "number",
+ "format": "double"
+ }
+ }
+ },
+ "BillingHubGetUsageResponse": {
+ "type": "object",
+ "properties": {
+ "totalUsedFreeHours": {
+ "type": "number",
+ "format": "double"
+ },
+ "totalUsedBillableHours": {
+ "type": "number",
+ "format": "double"
+ },
+ "totalCharges": {
+ "type": "number",
+ "format": "double"
+ },
+ "packageUsageEntries": {
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/BillingHubPackageUsage"
+ }
+ },
+ "nextRequest": {
+ "type": "object",
+ "$ref": "#/definitions/BillingHubGetUsageRequest"
+ }
+ }
+ },
+ "BillingHubPackageUsage": {
+ "type": "object",
+ "properties": {
+ "applicationName": {
+ "type": "string"
+ },
+ "applicationVersion": {
+ "type": "string"
+ },
+ "azureResourceUri": {
+ "type": "string"
+ },
+ "totalUsedFreeHours": {
+ "type": "number",
+ "format": "double"
+ },
+ "totalUsedBillableHours": {
+ "type": "number",
+ "format": "double"
+ },
+ "totalCharges": {
+ "type": "number",
+ "format": "double"
+ },
+ "usageEntriesGroupedByUpdateType": {
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/BillingHubUsageGroupedByUpdateType"
+ }
+ }
+ }
+ },
+ "BillingHubUsageGroupedByUpdateType": {
+ "type": "object",
+ "properties": {
+ "updateType": {
+ "type": "string"
+ },
+ "totalUsedFreeHours": {
+ "type": "number",
+ "format": "double"
+ },
+ "totalUsedBillableHours": {
+ "type": "number",
+ "format": "double"
+ },
+ "totalCharges": {
+ "type": "number",
+ "format": "double"
+ },
+ "usageGroups": {
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/BillingHubUsageGroup"
+ }
+ }
+ }
+ },
+ "BillingHubUsage": {
+ "type": "object",
+ "properties": {
+ "applicationName": {
+ "type": "string"
+ },
+ "applicationVersion": {
+ "type": "string"
+ },
+ "azureResourceUri": {
+ "type": "string"
+ },
+ "totalUsedFreeHours": {
+ "type": "number",
+ "format": "double"
+ },
+ "totalUsedBillableHours": {
+ "type": "number",
+ "format": "double"
+ },
+ "totalCharges": {
+ "type": "number",
+ "format": "double"
+ },
+ "usageGroups": {
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/BillingHubUsageGroup"
+ }
+ }
+ }
+ },
+ "BillingHubUsageGroup": {
+ "type": "object",
+ "properties": {
+ "totalUsedFreeHours": {
+ "type": "number",
+ "format": "double"
+ },
+ "totalUsedBillableHours": {
+ "type": "number",
+ "format": "double"
+ },
+ "totalCharges": {
+ "type": "number",
+ "format": "double"
+ },
+ "releaseBuildRevision": {
+ "type": "integer",
+ "format": "int64"
+ },
+ "releaseBuildNumber": {
+ "type": "integer",
+ "format": "int64"
+ },
+ "releaseBuildDate": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "osBuild": {
+ "type": "string"
+ },
+ "release": {
+ "type": "string"
+ },
+ "testType": {
+ "type": "string"
+ },
+ "productFamily": {
+ "type": "string"
+ },
+ "executionUsageDetails": {
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/BillingHubExecutionUsageDetail"
+ }
+ }
+ }
+ },
+ "BillingHubGetUsageRequest": {
+ "type": "object",
+ "properties": {
+ "startTimeStamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "endTimeStamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "pageSize": {
+ "type": "integer",
+ "format": "int32"
+ },
+ "pageIndex": {
+ "type": "integer",
+ "format": "int32"
+ }
+ },
+ "required": [
+ "startTimeStamp",
+ "endTimeStamp"
+ ]
+ },
+ "AvailableInplaceUpgradeOSListResult": {
+ "description": "A list of available In-place Upgrade OSs.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AvailableInplaceUpgradeOSResource"
+ },
+ "description": "The list of available In-place Upgrade OS."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "AvailableInplaceUpgradeOSResource": {
+ "description": "The Available In-place Upgrade OS Map resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/AvailableInplaceUpgradeOSProperties",
+ "x-ms-client-flatten": true,
+ "description": "Available In-place Upgrade OS Map properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "AvailableInplaceUpgradeOSProperties": {
+ "description": "The Available In-place Upgrade OS properties.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "$ref": "#/definitions/ProvisioningState"
+ },
+ "sourceOsName": {
+ "type": "string",
+ "description": "The name of an Available In-place Upgrade source OS of a Test Base Account."
+ },
+ "sourceOsReleases": {
+ "type": "array",
+ "x-ms-identifiers": [],
+ "items": {
+ "$ref": "#/definitions/ReleaseProperties"
+ },
+ "description": "The the release list of the source os."
+ },
+ "supportedTargetOsNameList": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of the corresponding Available In-place Upgrade target OS name of a Test Base Account."
+ }
+ }
+ },
+ "InplaceUpgradeOSInfo": {
+ "description": "Specifies the baseline os and target os for in-place upgrade tests.",
+ "type": "object",
+ "properties": {
+ "baselineOS": {
+ "$ref": "#/definitions/OsProperties",
+ "description": "Specifies the baseline os for in-place upgrade tests."
+ },
+ "targetOS": {
+ "type": "string",
+ "description": "Specifies the target os for in-place upgrade tests."
+ }
+ }
+ },
+ "OsProperties": {
+ "type": "object",
+ "properties": {
+ "osName": {
+ "type": "string",
+ "description": "The name of the OS."
+ },
+ "customImageId": {
+ "type": "string",
+ "description": "Specify the referenced Test Base Custom Image Id if available."
+ },
+ "customImageDisplayName": {
+ "type": "string",
+ "description": "The name of the custom image resource.",
+ "readOnly": true
+ },
+ "releaseProperties": {
+ "$ref": "#/definitions/ReleaseProperties",
+ "description": "The properties of the OS release."
+ }
+ },
+ "description": "The properties of an operating system."
+ },
+ "ReleaseProperties": {
+ "type": "object",
+ "properties": {
+ "releaseName": {
+ "type": "string",
+ "description": "The name of the OS release."
+ },
+ "buildNumber": {
+ "type": "string",
+ "description": "The build number of the OS release."
+ },
+ "buildRevision": {
+ "type": "string",
+ "description": "The build revision of the OS release."
+ },
+ "releaseVersionDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The release version date of the OS release."
+ }
+ },
+ "description": "The properties of an operating system release."
+ },
+ "InplaceUpgradeProperties": {
+ "type": "object",
+ "properties": {
+ "upgradeStartTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time stamp for os upgrading start (UTC)."
+ },
+ "upgradeEndTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time stamp for os upgrading end (UTC)."
+ },
+ "customImageId": {
+ "type": "string",
+ "description": "Specify the referenced Test Base Custom Image Id if applicable."
+ },
+ "customImageDisplayName": {
+ "type": "string",
+ "description": "The name of the custom image resource."
+ },
+ "baselineOsName": {
+ "type": "string",
+ "description": "The name of the OS."
+ },
+ "baselineReleaseName": {
+ "type": "string",
+ "description": "The name of the baseline OS release."
+ },
+ "baselineBuildNumber": {
+ "type": "string",
+ "description": "The build number of the baseline OS release."
+ },
+ "baselineBuildRevision": {
+ "type": "string",
+ "description": "The build revision of the baseline OS release."
+ },
+ "baselineKbNumber": {
+ "type": "string",
+ "description": "The kb number of the baseline OS release."
+ },
+ "baselineReleaseVersionDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The release version date of the baseline OS release."
+ }
+ },
+ "description": "Properties for in-place upgrade test result."
+ },
+ "FreeHourBalancesListResult": {
+ "description": "A list of Test Base Free Hour Balances. It will only contain one element as all the data will be nested in a singleton object.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FreeHourBalanceResource"
+ },
+ "description": "The list of FreeHourBalances."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Link to the next set of results. Not empty if value contains incomplete list of results."
+ }
+ }
+ },
+ "FreeHourBalanceResource": {
+ "description": "The Free Hour Balance Resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BillingHubGetFreeHourBalanceResponse",
+ "description": "Properties of a Free Hour Balance."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "IntuneEnrollmentMetadata": {
+ "description": "The metadata of Intune enrollment.",
+ "type": "object",
+ "properties": {
+ "appList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EnrolledIntuneApp"
+ },
+ "x-ms-identifiers": [],
+ "description": "The enrolled Intune apps."
+ },
+ "credentialId": {
+ "description": "The id of the Intune enrollment credential.",
+ "type": "string"
+ },
+ "expectedDeploymentDurationInMinute": {
+ "description": "The expected duration of Intune applications and policies deployment.",
+ "type": "integer",
+ "format": "int32"
+ }
+ }
+ },
+ "EnrolledIntuneApp": {
+ "description": "Metadata of the enrolled Intune app.",
+ "type": "object",
+ "properties": {
+ "appName": {
+ "type": "string",
+ "description": "Intune app name."
+ },
+ "appId": {
+ "type": "string",
+ "description": "Intune app id."
+ },
+ "expectedInstallationPath": {
+ "type": "string",
+ "description": "Intune app expected installation path."
+ }
+ },
+ "required": [
+ "appName",
+ "appId",
+ "expectedInstallationPath"
+ ]
+ }
+ },
+ "parameters": {
+ "TestBaseAccountNameParameter": {
+ "name": "testBaseAccountName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The resource name of the Test Base Account.",
+ "pattern": "^[A-Za-z0-9]([A-Za-z0-9_]|([-. ][A-Za-z0-9]))+$"
+ },
+ "PackageNameParameter": {
+ "name": "packageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The resource name of the Test Base Package.",
+ "pattern": "^[A-Za-z0-9]([A-Za-z0-9_]|([-. ][A-Za-z0-9]))+$"
+ },
+ "FavoriteProcessResourceNameParameter": {
+ "name": "favoriteProcessResourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The resource name of a favorite process in a package. If the process name contains characters that are not allowed in Azure Resource Name, we use 'actualProcessName' in request body to submit the name."
+ },
+ "TestResultNameParameter": {
+ "name": "testResultName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The Test Result Name. It equals to TestResult-{TestResultId} string."
+ },
+ "OSUpdateTypeParameter": {
+ "name": "osUpdateType",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "SecurityUpdate",
+ "FeatureUpdate",
+ "InplaceUpgrade"
+ ],
+ "x-ms-enum": {
+ "name": "osUpdateType",
+ "modelAsString": true
+ },
+ "x-ms-parameter-location": "method",
+ "description": "The type of the OS Update."
+ },
+ "AnalysisResultTypeParameter": {
+ "name": "analysisResultType",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "ScriptExecution",
+ "Reliability",
+ "MemoryUtilization",
+ "CPUUtilization",
+ "MemoryRegression",
+ "CPURegression",
+ "TestAnalysis"
+ ],
+ "x-ms-enum": {
+ "name": "analysisResultType",
+ "modelAsString": true
+ },
+ "x-ms-parameter-location": "method",
+ "description": "The type of the Analysis Result of a Test Result."
+ },
+ "AnalysisResultNameParameter": {
+ "name": "analysisResultName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "scriptExecution",
+ "reliability",
+ "memoryUtilization",
+ "cpuUtilization",
+ "memoryRegression",
+ "cpuRegression",
+ "testAnalysis"
+ ],
+ "x-ms-enum": {
+ "name": "analysisResultName",
+ "modelAsString": true
+ },
+ "x-ms-parameter-location": "method",
+ "description": "The name of the Analysis Result of a Test Result."
+ },
+ "FilterParameter": {
+ "name": "$filter",
+ "in": "query",
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Odata filter"
+ },
+ "TestBaseAccountIncludeSoftDeletedParameter": {
+ "name": "getDeleted",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "x-ms-parameter-location": "method",
+ "description": "The flag indicating if we need to include the Test Base Accounts which were soft deleted before."
+ },
+ "TestBaseAccountRestoreSoftDeletedParameter": {
+ "name": "restore",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "x-ms-parameter-location": "method",
+ "description": "The flag indicating if we would like to restore the Test Base Accounts which were soft deleted before."
+ },
+ "CustomerEventNameParameter": {
+ "name": "customerEventName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The resource name of the Test Base Customer event."
+ },
+ "AvailableInplaceUpgradeOSResouceNameParamaeter": {
+ "name": "availableInplaceUpgradeOSResourceNameParameter",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The available In-place Upgrade OS resource name."
+ },
+ "GalleryAppNameParameter": {
+ "name": "galleryAppName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The resource name of a gallery application.",
+ "pattern": "^[A-Za-z0-9]([A-Za-z0-9]|(-[A-Za-z0-9]))+$"
+ },
+ "KeywordParameter": {
+ "name": "keyword",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The keywords which listed results should be related to."
+ },
+ "TopFilter": {
+ "name": "top",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "x-ms-parameter-location": "method",
+ "description": "How many of the sorted items to consider including in the result set."
+ },
+ "FreeHourBalanceNameParameter": {
+ "name": "freeHourBalanceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "TenantLevel",
+ "SubscriptionLevel"
+ ],
+ "x-ms-enum": {
+ "name": "freeHourBalanceName",
+ "modelAsString": true
+ },
+ "x-ms-parameter-location": "method",
+ "description": "The name of the free hour balance of a Test Base Account.",
+ "pattern": "^[A-Za-z]+$"
+ }
+ }
+}
diff --git a/specification/testbase/resource-manager/readme.azureresourceschema.md b/specification/testbase/resource-manager/readme.azureresourceschema.md
new file mode 100644
index 000000000000..c86ff1ac325d
--- /dev/null
+++ b/specification/testbase/resource-manager/readme.azureresourceschema.md
@@ -0,0 +1,46 @@
+## AzureResourceSchema
+
+These settings apply only when `--azureresourceschema` is specified on the command line.
+
+### AzureResourceSchema multi-api
+
+``` yaml $(azureresourceschema) && $(multiapi)
+batch:
+ - tag: schema-testbase-2020-12-16-preview
+ - tag: schema-testbase-2022-04-01-preview
+ - tag: schema-testbase-2023-11-01-preview
+```
+
+Please also specify `--azureresourceschema-folder=`.
+
+### Tag: schema-testbase-2020-12-16-preview and azureresourceschema
+
+``` yaml $(tag) == 'schema-testbase-2020-12-16-preview' && $(azureresourceschema)
+output-folder: $(azureresourceschema-folder)/schemas
+
+# all the input files in this apiVersion
+input-file:
+ - Microsoft.TestBase/preview/2020-12-16-preview/testbase.json
+```
+
+### Tag: schema-testbase-2022-04-01-preview and azureresourceschema
+
+``` yaml $(tag) == 'schema-testbase-2022-04-01-preview' && $(azureresourceschema)
+output-folder: $(azureresourceschema-folder)/schemas
+# all the input files in this apiVersion
+input-file:
+ - Microsoft.TestBase/preview/2022-04-01-preview/testbase.json
+```
+
+### Tag: schema-testbase-2023-11-01-preview and azureresourceschema
+``` yaml $(tag) == 'schema-testbase-2023-11-01-preview' && $(azureresourceschema)
+output-folder: $(azureresourceschema-folder)/schemas
+# all the input files in this apiVersion
+input-file:
+ - Microsoft.TestBase/preview/2023-11-01-preview/testbase.json
+ - Microsoft.TestBase/preview/2023-11-01-preview/chat.json
+ - Microsoft.TestBase/preview/2023-11-01-preview/draftpackage.json
+ - Microsoft.TestBase/preview/2023-11-01-preview/actionrequest.json
+ - Microsoft.TestBase/preview/2023-11-01-preview/customimage.json
+ - Microsoft.TestBase/preview/2023-11-01-preview/credential.json
+```
\ No newline at end of file
diff --git a/specification/testbase/resource-manager/readme.go.md b/specification/testbase/resource-manager/readme.go.md
index ff7fae0d5ffe..898e274ef21f 100644
--- a/specification/testbase/resource-manager/readme.go.md
+++ b/specification/testbase/resource-manager/readme.go.md
@@ -2,26 +2,21 @@
These settings apply only when `--go` is specified on the command line.
-```yaml $(go) && !$(track2)
-go:
- license-header: MICROSOFT_APACHE_NO_VERSION
- namespace: testbase
- clear-output-folder: true
-```
-
-``` yaml $(go) && $(track2)
+```yaml $(go) && $(track2)
+azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/testbase/armtestbase
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
-azure-arm: true
```
### Go multi-api
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2020-12-16-preview
- tag: package-2022-04-01-preview
+ - tag: package-2023-11-01-preview
```
### Tag: package-2020-12-16-preview and go
@@ -38,6 +33,15 @@ output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-12-16-pr
These settings apply only when `--tag=package-2022-04-01-preview --go` is specified on the command line.
Please also specify `--go-sdk-folder=`.
-```yaml $(tag) == 'package-2020-12-16-preview' && $(go)
+```yaml $(tag) == 'package-2022-04-01-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2022-04-01-preview/$(namespace)
```
+
+### Tag: package-2023-11-01-preview and go
+
+These settings apply only when `--tag=package-2023-11-01-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+```yaml $(tag) == 'package-2023-11-01-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2023-11-01-preview/$(namespace)
+```
diff --git a/specification/testbase/resource-manager/readme.md b/specification/testbase/resource-manager/readme.md
index bdaf8ce5932a..a9db0424099a 100644
--- a/specification/testbase/resource-manager/readme.md
+++ b/specification/testbase/resource-manager/readme.md
@@ -27,7 +27,7 @@ These are the global settings for the testbase.
```yaml
openapi-type: arm
openapi-subtype: rpaas
-tag: package-2022-04-01-preview
+tag: package-2023-11-01-preview
```
### Tag: package-2020-12-16-preview
@@ -37,10 +37,6 @@ These settings apply only when `--tag=package-2020-12-16-preview` is specified o
```yaml $(tag) == 'package-2020-12-16-preview'
input-file:
- Microsoft.TestBase/preview/2020-12-16-preview/testbase.json
-directive:
-- suppress: R4031
- from: testbase.json
- reason: provisioningState is not required for Proxy Resources.
```
### Tag: package-2022-04-01-preview
@@ -50,10 +46,20 @@ These settings apply only when `--tag=package-2022-04-01-preview` is specified o
```yaml $(tag) == 'package-2022-04-01-preview'
input-file:
- Microsoft.TestBase/preview/2022-04-01-preview/testbase.json
-directive:
-- suppress: R4031
- from: testbase.json
- reason: provisioningState is not required for Proxy Resources.
+```
+
+### Tag: package-2023-11-01-preview
+
+These settings apply only when `--tag=package-2023-11-01-preview` is specified on the command line.
+
+```yaml $(tag) == 'package-2023-11-01-preview'
+input-file:
+ - Microsoft.TestBase/preview/2023-11-01-preview/actionrequest.json
+ - Microsoft.TestBase/preview/2023-11-01-preview/chat.json
+ - Microsoft.TestBase/preview/2023-11-01-preview/customimage.json
+ - Microsoft.TestBase/preview/2023-11-01-preview/draftpackage.json
+ - Microsoft.TestBase/preview/2023-11-01-preview/testbase.json
+ - Microsoft.TestBase/preview/2023-11-01-preview/credential.json
```
---
@@ -72,18 +78,10 @@ swagger-to-sdk:
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-resource-manager-schemas
+ after_scripts:
+ - node sdkauto_afterscript.js testbase/resource-manager
- repo: azure-powershell
```
-## Suppression
-```
-directive:
- - suppress: SECRET_PROPERTY
- from:
- - Microsoft.TestBase/preview/2022-04-01-preview/testbase.json
- where:
- - $.definitions.DownloadURLResponse.properties.downloadUrl
- reason: Secrets are OK to return in a POST response according to ARM.
-```
## Go
@@ -101,4 +99,6 @@ See configuration in [readme.typescript.md](./readme.typescript.md)
See configuration in [readme.csharp.md](./readme.csharp.md)
+## AzureResourceSchema
+See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md)
diff --git a/specification/web/resource-manager/readme.java.md b/specification/web/resource-manager/readme.java.md
index b3052400c140..823e21a683e1 100644
--- a/specification/web/resource-manager/readme.java.md
+++ b/specification/web/resource-manager/readme.java.md
@@ -1,7 +1,6 @@
## Java
These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
``` yaml $(java)
azure-arm: true
@@ -12,102 +11,47 @@ payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-appservice
service-name: AppService
directive:
- from: WebApps.json
- where: $.definitions.MSDeploy.properties.properties
- transform: >
- delete $.$ref;
- $['allOf'] = [{'$ref':'#/definitions/MSDeployCore'}];
- return $;
-```
-
-### Java multi-api
-
-``` yaml $(java) && $(multiapi)
-batch:
- - tag: package-2020-09
- - tag: package-2019-08
- - tag: package-2018-02
- - tag: package-2016-03-01-web
- - tag: package-2016-08-01-web
- - tag: package-2016-09-01-web
-```
-
-### Tag: package-2020-09 and java
-
-These settings apply only when `--tag=package-2020-09 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2020-09' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.appservice.v2020_09_01
- output-folder: $(azure-libraries-for-java-folder)/sdk/appservice/mgmt-v2020_09_01
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: package-2019-08 and java
-
-These settings apply only when `--tag=package-2019-08 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2019-08' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.appservice.v2019_08_01
- output-folder: $(azure-libraries-for-java-folder)/sdk/appservice/mgmt-v2019_08_01
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: package-2018-02 and java
-
-These settings apply only when `--tag=package-2018-02 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2018-02' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.appservice.v2018_02_01
- output-folder: $(azure-libraries-for-java-folder)/sdk/appservice/mgmt-v2018_02_01
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: package-2016-03-01-web and java
-
-These settings apply only when `--tag=package-2016-03-01-web --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2016-03-01-web' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.appservice.v2016_03_01
- output-folder: $(azure-libraries-for-java-folder)/sdk/appservice/mgmt-v2016_03_01
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: package-2016-08-01-web and java
-
-These settings apply only when `--tag=package-2016-08-01-web --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2016-08-01-web' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.appservice.v2016_08_01
- output-folder: $(azure-libraries-for-java-folder)/sdk/appservice/mgmt-v2016_08_01
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: package-2016-09-01-web and java
-
-These settings apply only when `--tag=package-2016-09-01-web --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2016-09-01-web' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.appservice.v2016_09_01
- output-folder: $(azure-libraries-for-java-folder)/sdk/appservice/mgmt-v2016_09_01
-regenerate-manager: true
-generate-interface: true
+ - from: WebApps.json
+ where: $.definitions.MSDeploy.properties.properties
+ transform: >
+ delete $.$ref;
+ $['allOf'] = [{'$ref':'#/definitions/MSDeployCore'}];
+ return $;
+ - from: WebApps.json
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings"].put
+ transform: >
+ $["x-ms-long-running-operation"] = true;
+ reason: Swagger bug. Function App on ACA is LRO.
+ - from: WebApps.json
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings"].put.responses
+ transform: >
+ $["202"] = {
+ "description": "Operation is in progress.",
+ "schema": {
+ "$ref": "./CommonDefinitions.json#/definitions/StringDictionary"
+ }
+ };
+ reason: Swagger bug. Function App on ACA is LRO.
+ - from: WebApps.json
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web"].put
+ transform: >
+ $["x-ms-long-running-operation"] = true;
+ reason: Swagger bug. Function App on ACA is LRO.
+ - from: WebApps.json
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web"].put.responses
+ transform: >
+ $["202"] = {
+ "description": "Operation is in progress.",
+ "schema": {
+ "$ref": "#/definitions/SiteConfigResource"
+ }
+ };
+ reason: Swagger bug. Function App on ACA is LRO.
+ - from: WebApps.json
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}"].patch
+ transform: >
+ $["x-ms-long-running-operation"] = true;
+ reason: Swagger bug. Function App on ACA is LRO.
```
### Tag: profile-hybrid-2020-09-01 and java