diff --git a/specification/vmware/Microsoft.AVS/models.tsp b/specification/vmware/Microsoft.AVS/models.tsp index a9c4f74bce4a..c1989f67724b 100644 --- a/specification/vmware/Microsoft.AVS/models.tsp +++ b/specification/vmware/Microsoft.AVS/models.tsp @@ -2224,3 +2224,10 @@ model ResourceSkuRequired { @doc("The SKU (Stock Keeping Unit) assigned to this resource.") sku: Foundations.Sku; } + +@doc("The response of a {name} list operation.", Resource) +@friendlyName(FriendlyNameFormat, Resource) +model ResourceList< + Resource extends Foundations.Resource, + FriendlyNameFormat extends valueof string = "{name}List" +> is Azure.Core.Page; diff --git a/specification/vmware/Microsoft.AVS/routes.tsp b/specification/vmware/Microsoft.AVS/routes.tsp index 8a490e1c769f..6cb36ffd5f2c 100644 --- a/specification/vmware/Microsoft.AVS/routes.tsp +++ b/specification/vmware/Microsoft.AVS/routes.tsp @@ -38,9 +38,15 @@ interface Locations { interface PrivateClouds { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("PrivateClouds_List") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + PrivateCloud, + Response = ArmResponse> + >; - listInSubscription is ArmListBySubscription; + listInSubscription is ArmListBySubscription< + PrivateCloud, + Response = ArmResponse> + >; get is ArmResourceRead; @@ -109,7 +115,10 @@ interface PrivateClouds { interface Clusters { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("Clusters_List") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + Cluster, + Response = ArmResponse> + >; get is ArmResourceRead; @@ -167,7 +176,10 @@ interface Clusters { interface Datastores { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("Datastores_List") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + Datastore, + Response = ArmResponse> + >; get is ArmResourceRead; @@ -192,7 +204,10 @@ interface Datastores { interface HcxEnterpriseSites { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("HcxEnterpriseSites_List") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + HcxEnterpriseSite, + Response = ArmResponse> + >; get is ArmResourceRead; @@ -217,7 +232,10 @@ interface HcxEnterpriseSites { interface Authorizations { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("Authorizations_List") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + ExpressRouteAuthorization, + Response = ArmResponse> + >; get is ArmResourceRead; @@ -247,7 +265,10 @@ interface Authorizations { interface GlobalReachConnections { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("GlobalReachConnections_List") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + GlobalReachConnection, + Response = ArmResponse> + >; get is ArmResourceRead; @@ -278,14 +299,20 @@ interface WorkloadNetworks { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_List") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + WorkloadNetwork, + Response = ArmResponse> + >; } @armResourceOperations interface WorkloadNetworkSegments { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_ListSegments") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + WorkloadNetworkSegment, + Response = ArmResponse> + >; #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_GetSegment") @@ -340,7 +367,10 @@ interface WorkloadNetworkSegments { interface WorkloadNetworkDhcpConfigurations { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_ListDhcp") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + WorkloadNetworkDhcp, + Response = ArmResponse> + >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "DhcpIdParameter should be last, but it is breaking to correct it." #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @@ -410,7 +440,10 @@ interface WorkloadNetworkDhcpConfigurations { interface WorkloadNetworkGateways { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_ListGateways") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + WorkloadNetworkGateway, + Response = ArmResponse> + >; #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_GetGateway") @@ -424,7 +457,10 @@ interface WorkloadNetworkGateways { interface WorkloadNetworkPortMirroringProfiles { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_ListPortMirroring") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + WorkloadNetworkPortMirroring, + Response = ArmResponse> + >; #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_GetPortMirroring") @@ -498,7 +534,10 @@ interface WorkloadNetworkPortMirroringProfiles { interface WorkloadNetworkVmGroups { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_ListVMGroups") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + WorkloadNetworkVMGroup, + Response = ArmResponse> + >; #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_GetVMGroup") @@ -570,7 +609,13 @@ interface WorkloadNetworkVmGroups { interface WorkloadNetworkVirtualMachines { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_ListVirtualMachines") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + WorkloadNetworkVirtualMachine, + Response = ArmResponse> + >; #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_GetVirtualMachine") @@ -584,7 +629,13 @@ interface WorkloadNetworkVirtualMachines { interface WorkloadNetworkDnsServices { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_ListDnsServices") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + WorkloadNetworkDnsService, + Response = ArmResponse> + >; #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_GetDnsService") @@ -658,7 +709,10 @@ interface WorkloadNetworkDnsServices { interface WorkloadNetworkDnsZones { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_ListDnsZones") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + WorkloadNetworkDnsZone, + Response = ArmResponse> + >; #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_GetDnsZone") @@ -731,7 +785,10 @@ interface WorkloadNetworkDnsZones { interface WorkloadNetworkPublicIps { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_ListPublicIPs") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + WorkloadNetworkPublicIP, + Response = ArmResponse> + >; #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("WorkloadNetworks_GetPublicIP") @@ -782,7 +839,10 @@ interface WorkloadNetworkPublicIps { interface CloudLinks { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("CloudLinks_List") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + CloudLink, + Response = ArmResponse> + >; get is ArmResourceRead; @@ -807,7 +867,10 @@ interface CloudLinks { interface Addons { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("Addons_List") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + Addon, + Response = ArmResponse> + >; get is ArmResourceRead; @@ -832,7 +895,10 @@ interface Addons { interface VirtualMachines { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("VirtualMachines_List") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + VirtualMachine, + Response = ArmResponse> + >; get is ArmResourceRead; @@ -854,7 +920,13 @@ interface VirtualMachines { interface PlacementPolicies { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("PlacementPolicies_List") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + PlacementPolicy, + Response = ArmResponse> + >; get is ArmResourceRead; @@ -910,7 +982,10 @@ interface PlacementPolicies { interface ScriptPackages { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("ScriptPackages_List") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + ScriptPackage, + Response = ArmResponse> + >; get is ArmResourceRead; } @@ -919,7 +994,10 @@ interface ScriptPackages { interface ScriptCmdlets { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("ScriptCmdlets_List") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + ScriptCmdlet, + Response = ArmResponse> + >; get is ArmResourceRead; } @@ -928,7 +1006,10 @@ interface ScriptCmdlets { interface ScriptExecutions { #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." @operationId("ScriptExecutions_List") - list is ArmResourceListByParent; + list is ArmResourceListByParent< + ScriptExecution, + Response = ArmResponse> + >; get is ArmResourceRead; diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json index e50c56d874fe..81a5cb077afb 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -246,7 +246,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PrivateCloudListResult" + "$ref": "#/definitions/PrivateCloudList" } }, "default": { @@ -291,7 +291,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PrivateCloudListResult" + "$ref": "#/definitions/PrivateCloudList" } }, "default": { @@ -610,7 +610,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/AddonListResult" + "$ref": "#/definitions/AddonList" } }, "default": { @@ -884,7 +884,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ExpressRouteAuthorizationListResult" + "$ref": "#/definitions/ExpressRouteAuthorizationList" } }, "default": { @@ -1140,7 +1140,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CloudLinkListResult" + "$ref": "#/definitions/CloudLinkList" } }, "default": { @@ -1396,7 +1396,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ClusterListResult" + "$ref": "#/definitions/ClusterList" } }, "default": { @@ -1743,7 +1743,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/DatastoreListResult" + "$ref": "#/definitions/DatastoreList" } }, "default": { @@ -2089,7 +2089,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/PlacementPolicyListResult" + "$ref": "#/definitions/PlacementPoliciesList" } }, "default": { @@ -2468,7 +2468,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/VirtualMachineListResult" + "$ref": "#/definitions/VirtualMachinesList" } }, "default": { @@ -2662,7 +2662,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/GlobalReachConnectionListResult" + "$ref": "#/definitions/GlobalReachConnectionList" } }, "default": { @@ -2918,7 +2918,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/HcxEnterpriseSiteListResult" + "$ref": "#/definitions/HcxEnterpriseSiteList" } }, "default": { @@ -3547,7 +3547,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ScriptExecutionListResult" + "$ref": "#/definitions/ScriptExecutionsList" } }, "default": { @@ -3870,7 +3870,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ScriptPackageListResult" + "$ref": "#/definitions/ScriptPackagesList" } }, "default": { @@ -3983,7 +3983,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ScriptCmdletListResult" + "$ref": "#/definitions/ScriptCmdletsList" } }, "default": { @@ -4096,7 +4096,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkListResult" + "$ref": "#/definitions/WorkloadNetworkList" } }, "default": { @@ -4190,7 +4190,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkDhcpListResult" + "$ref": "#/definitions/WorkloadNetworkDhcpList" } }, "default": { @@ -4502,7 +4502,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkDnsServiceListResult" + "$ref": "#/definitions/WorkloadNetworkDnsServicesList" } }, "default": { @@ -4814,7 +4814,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkDnsZoneListResult" + "$ref": "#/definitions/WorkloadNetworkDnsZonesList" } }, "default": { @@ -5129,7 +5129,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkGatewayListResult" + "$ref": "#/definitions/WorkloadNetworkGatewayList" } }, "default": { @@ -5231,7 +5231,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkPortMirroringListResult" + "$ref": "#/definitions/WorkloadNetworkPortMirroringList" } }, "default": { @@ -5543,7 +5543,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkPublicIPListResult" + "$ref": "#/definitions/WorkloadNetworkPublicIPsList" } }, "default": { @@ -5780,7 +5780,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkSegmentListResult" + "$ref": "#/definitions/WorkloadNetworkSegmentsList" } }, "default": { @@ -6117,7 +6117,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkVirtualMachineListResult" + "$ref": "#/definitions/WorkloadNetworkVirtualMachinesList" } }, "default": { @@ -6219,7 +6219,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadNetworkVMGroupListResult" + "$ref": "#/definitions/WorkloadNetworkVMGroupsList" } }, "default": { @@ -6561,7 +6561,7 @@ ], "x-ms-discriminator-value": "HCX" }, - "AddonListResult": { + "AddonList": { "type": "object", "description": "The response of a Addon list operation.", "properties": { @@ -6916,7 +6916,7 @@ } ] }, - "CloudLinkListResult": { + "CloudLinkList": { "type": "object", "description": "The response of a CloudLink list operation.", "properties": { @@ -7057,7 +7057,7 @@ } ] }, - "ClusterListResult": { + "ClusterList": { "type": "object", "description": "The response of a Cluster list operation.", "properties": { @@ -7246,7 +7246,7 @@ } ] }, - "DatastoreListResult": { + "DatastoreList": { "type": "object", "description": "The response of a Datastore list operation.", "properties": { @@ -7766,7 +7766,7 @@ } ] }, - "ExpressRouteAuthorizationListResult": { + "ExpressRouteAuthorizationList": { "type": "object", "description": "The response of a ExpressRouteAuthorization list operation.", "properties": { @@ -7869,7 +7869,7 @@ } ] }, - "GlobalReachConnectionListResult": { + "GlobalReachConnectionList": { "type": "object", "description": "The response of a GlobalReachConnection list operation.", "properties": { @@ -8010,7 +8010,7 @@ } ] }, - "HcxEnterpriseSiteListResult": { + "HcxEnterpriseSiteList": { "type": "object", "description": "The response of a HcxEnterpriseSite list operation.", "properties": { @@ -8425,27 +8425,7 @@ ], "x-ms-discriminator-value": "Credential" }, - "PlacementPolicy": { - "type": "object", - "description": "A vSphere Distributed Resource Scheduler (DRS) placement policy", - "properties": { - "properties": { - "$ref": "#/definitions/PlacementPolicyProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true, - "x-ms-mutability": [ - "read", - "create" - ] - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "PlacementPolicyListResult": { + "PlacementPoliciesList": { "type": "object", "description": "The response of a PlacementPolicy list operation.", "properties": { @@ -8466,6 +8446,26 @@ "value" ] }, + "PlacementPolicy": { + "type": "object", + "description": "A vSphere Distributed Resource Scheduler (DRS) placement policy", + "properties": { + "properties": { + "$ref": "#/definitions/PlacementPolicyProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, "PlacementPolicyProperties": { "type": "object", "description": "Abstract placement policy properties", @@ -8716,7 +8716,7 @@ } ] }, - "PrivateCloudListResult": { + "PrivateCloudList": { "type": "object", "description": "The response of a PrivateCloud list operation.", "properties": { @@ -9115,27 +9115,6 @@ ] } }, - "ScriptCmdletListResult": { - "type": "object", - "description": "The response of a ScriptCmdlet list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ScriptCmdlet items on this page", - "items": { - "$ref": "#/definitions/ScriptCmdlet" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, "ScriptCmdletProperties": { "type": "object", "description": "Properties of a pre-canned script", @@ -9202,6 +9181,27 @@ }, "readOnly": true }, + "ScriptCmdletsList": { + "type": "object", + "description": "The response of a ScriptCmdlet list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ScriptCmdlet items on this page", + "items": { + "$ref": "#/definitions/ScriptCmdlet" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, "ScriptExecution": { "type": "object", "description": "An instance of a script executed by a user - custom or AVS", @@ -9222,27 +9222,6 @@ } ] }, - "ScriptExecutionListResult": { - "type": "object", - "description": "The response of a ScriptExecution list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ScriptExecution items on this page", - "items": { - "$ref": "#/definitions/ScriptExecution" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, "ScriptExecutionParameter": { "type": "object", "description": "The arguments passed in to the execution", @@ -9452,6 +9431,27 @@ }, "readOnly": true }, + "ScriptExecutionsList": { + "type": "object", + "description": "The response of a ScriptExecution list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ScriptExecution items on this page", + "items": { + "$ref": "#/definitions/ScriptExecution" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, "ScriptOutputStreamType": { "type": "string", "description": "Script Output Stream type", @@ -9508,27 +9508,6 @@ } ] }, - "ScriptPackageListResult": { - "type": "object", - "description": "The response of a ScriptPackage list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ScriptPackage items on this page", - "items": { - "$ref": "#/definitions/ScriptPackage" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, "ScriptPackageProperties": { "type": "object", "description": "Properties of a Script Package subresource", @@ -9591,6 +9570,27 @@ }, "readOnly": true }, + "ScriptPackagesList": { + "type": "object", + "description": "The response of a ScriptPackage list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ScriptPackage items on this page", + "items": { + "$ref": "#/definitions/ScriptPackage" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, "ScriptParameter": { "type": "object", "description": "An parameter that the script will accept", @@ -9872,27 +9872,6 @@ } ] }, - "VirtualMachineListResult": { - "type": "object", - "description": "The response of a VirtualMachine list operation.", - "properties": { - "value": { - "type": "array", - "description": "The VirtualMachine items on this page", - "items": { - "$ref": "#/definitions/VirtualMachine" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, "VirtualMachineProperties": { "type": "object", "description": "Virtual Machine Properties", @@ -9989,6 +9968,27 @@ ] } }, + "VirtualMachinesList": { + "type": "object", + "description": "The response of a VirtualMachine list operation.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualMachine items on this page", + "items": { + "$ref": "#/definitions/VirtualMachine" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, "VisibilityParameterEnum": { "type": "string", "description": "Visibility Parameter", @@ -10182,7 +10182,7 @@ "dhcpType" ] }, - "WorkloadNetworkDhcpListResult": { + "WorkloadNetworkDhcpList": { "type": "object", "description": "The response of a WorkloadNetworkDhcp list operation.", "properties": { @@ -10367,27 +10367,6 @@ } ] }, - "WorkloadNetworkDnsServiceListResult": { - "type": "object", - "description": "The response of a WorkloadNetworkDnsService list operation.", - "properties": { - "value": { - "type": "array", - "description": "The WorkloadNetworkDnsService items on this page", - "items": { - "$ref": "#/definitions/WorkloadNetworkDnsService" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, "WorkloadNetworkDnsServiceProperties": { "type": "object", "description": "NSX DNS Service Properties", @@ -10492,6 +10471,27 @@ } } }, + "WorkloadNetworkDnsServicesList": { + "type": "object", + "description": "The response of a WorkloadNetworkDnsService list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadNetworkDnsService items on this page", + "items": { + "$ref": "#/definitions/WorkloadNetworkDnsService" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, "WorkloadNetworkDnsZone": { "type": "object", "description": "NSX DNS Zone", @@ -10512,27 +10512,6 @@ } ] }, - "WorkloadNetworkDnsZoneListResult": { - "type": "object", - "description": "The response of a WorkloadNetworkDnsZone list operation.", - "properties": { - "value": { - "type": "array", - "description": "The WorkloadNetworkDnsZone items on this page", - "items": { - "$ref": "#/definitions/WorkloadNetworkDnsZone" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, "WorkloadNetworkDnsZoneProperties": { "type": "object", "description": "NSX DNS Zone Properties", @@ -10636,6 +10615,27 @@ } } }, + "WorkloadNetworkDnsZonesList": { + "type": "object", + "description": "The response of a WorkloadNetworkDnsZone list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadNetworkDnsZone items on this page", + "items": { + "$ref": "#/definitions/WorkloadNetworkDnsZone" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, "WorkloadNetworkGateway": { "type": "object", "description": "NSX Gateway.", @@ -10656,7 +10656,7 @@ } ] }, - "WorkloadNetworkGatewayListResult": { + "WorkloadNetworkGatewayList": { "type": "object", "description": "The response of a WorkloadNetworkGateway list operation.", "properties": { @@ -10697,7 +10697,7 @@ } } }, - "WorkloadNetworkListResult": { + "WorkloadNetworkList": { "type": "object", "description": "The response of a WorkloadNetwork list operation.", "properties": { @@ -10738,7 +10738,7 @@ } ] }, - "WorkloadNetworkPortMirroringListResult": { + "WorkloadNetworkPortMirroringList": { "type": "object", "description": "The response of a WorkloadNetworkPortMirroring list operation.", "properties": { @@ -10936,27 +10936,6 @@ } ] }, - "WorkloadNetworkPublicIPListResult": { - "type": "object", - "description": "The response of a WorkloadNetworkPublicIP list operation.", - "properties": { - "value": { - "type": "array", - "description": "The WorkloadNetworkPublicIP items on this page", - "items": { - "$ref": "#/definitions/WorkloadNetworkPublicIP" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, "WorkloadNetworkPublicIPProperties": { "type": "object", "description": "NSX Public IP Block Properties", @@ -11031,6 +11010,27 @@ }, "readOnly": true }, + "WorkloadNetworkPublicIPsList": { + "type": "object", + "description": "The response of a WorkloadNetworkPublicIP list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadNetworkPublicIP items on this page", + "items": { + "$ref": "#/definitions/WorkloadNetworkPublicIP" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, "WorkloadNetworkSegment": { "type": "object", "description": "NSX Segment", @@ -11051,27 +11051,6 @@ } ] }, - "WorkloadNetworkSegmentListResult": { - "type": "object", - "description": "The response of a WorkloadNetworkSegment list operation.", - "properties": { - "value": { - "type": "array", - "description": "The WorkloadNetworkSegment items on this page", - "items": { - "$ref": "#/definitions/WorkloadNetworkSegment" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, "WorkloadNetworkSegmentPortVif": { "type": "object", "description": "Ports and any VIF attached to segment.", @@ -11201,6 +11180,27 @@ } } }, + "WorkloadNetworkSegmentsList": { + "type": "object", + "description": "The response of a WorkloadNetworkSegment list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadNetworkSegment items on this page", + "items": { + "$ref": "#/definitions/WorkloadNetworkSegment" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, "WorkloadNetworkVMGroup": { "type": "object", "description": "NSX VM Group", @@ -11221,27 +11221,6 @@ } ] }, - "WorkloadNetworkVMGroupListResult": { - "type": "object", - "description": "The response of a WorkloadNetworkVMGroup list operation.", - "properties": { - "value": { - "type": "array", - "description": "The WorkloadNetworkVMGroup items on this page", - "items": { - "$ref": "#/definitions/WorkloadNetworkVMGroup" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, "WorkloadNetworkVMGroupProperties": { "type": "object", "description": "NSX VM Group Properties", @@ -11334,6 +11313,27 @@ } } }, + "WorkloadNetworkVMGroupsList": { + "type": "object", + "description": "The response of a WorkloadNetworkVMGroup list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadNetworkVMGroup items on this page", + "items": { + "$ref": "#/definitions/WorkloadNetworkVMGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, "WorkloadNetworkVirtualMachine": { "type": "object", "description": "NSX Virtual Machine", @@ -11354,27 +11354,6 @@ } ] }, - "WorkloadNetworkVirtualMachineListResult": { - "type": "object", - "description": "The response of a WorkloadNetworkVirtualMachine list operation.", - "properties": { - "value": { - "type": "array", - "description": "The WorkloadNetworkVirtualMachine items on this page", - "items": { - "$ref": "#/definitions/WorkloadNetworkVirtualMachine" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, "WorkloadNetworkVirtualMachineProperties": { "type": "object", "description": "NSX Virtual Machine Properties", @@ -11394,6 +11373,27 @@ "readOnly": true } } + }, + "WorkloadNetworkVirtualMachinesList": { + "type": "object", + "description": "The response of a WorkloadNetworkVirtualMachine list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadNetworkVirtualMachine items on this page", + "items": { + "$ref": "#/definitions/WorkloadNetworkVirtualMachine" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] } }, "parameters": {