Microsoft.Compute (stable:2024-11-04)

2025/06/25 • 5 updated methods

CloudServices_CreateOrUpdate (updated)
Description Create or update a cloud service. Please note some properties can be set only during cloud service creation.
Reference Link ¶

⚶ Changes

{
  "#id": "CloudServices_CreateOrUpdate",
  "$parameters": {
    "parameters": {
      "$properties": [
        {
          "#name": "systemData",
          "Description": {
            "new": "Metadata pertaining to creation and last modification of the resource.",
            "old": "The system meta data relating to this resource."
          },
          "$properties": [
            {
              "@added_005bdbbc62a04d409694783a0efde9f1": {
                "#name": "createdBy",
                "Description": "The identity that created the resource.",
                "Required": false,
                "Type": "string"
              }
            },
            {
              "@added_4510b9b738974383aee8315ccca25102": {
                "#name": "createdByType",
                "Description": "The type of identity that created the resource.",
                "Enum": [
                  [
                    "User",
                    ""
                  ],
                  [
                    "Application",
                    ""
                  ],
                  [
                    "ManagedIdentity",
                    ""
                  ],
                  [
                    "Key",
                    ""
                  ]
                ],
                "Required": false,
                "Type": "string"
              }
            },
            {
              "#name": "createdAt",
              "Description": {
                "new": "The timestamp of resource creation (UTC).",
                "old": "Specifies the time in UTC at which the Cloud Service (extended support) resource was created. 
Minimum api-version: 2022-04-04." } }, { "@added_941545ef03974761ac394f360cf98209": { "#name": "lastModifiedBy", "Description": "The identity that last modified the resource.", "Required": false, "Type": "string" } }, { "@added_207a0d064b524d549dd0c0d556f2af66": { "#name": "lastModifiedByType", "Description": "The type of identity that last modified the resource.", "Enum": [ [ "User", "" ], [ "Application", "" ], [ "ManagedIdentity", "" ], [ "Key", "" ] ], "Required": false, "Type": "string" } }, { "#name": "lastModifiedAt", "Description": { "new": "The timestamp of resource last modification (UTC)", "old": "Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified.
Minimum api-version: 2022-04-04." } } ] } ] } }, "$responses": { "200": { "$properties": [ { "#name": "systemData", "Description": { "new": "Metadata pertaining to creation and last modification of the resource.", "old": "The system meta data relating to this resource." }, "$properties": [ { "@added_42596c86e10546d7beb966b3939788c9": { "#name": "createdBy", "Description": "The identity that created the resource.", "Required": false, "Type": "string" } }, { "@added_f6b60dced4164060ba9b30c1e03b6e8c": { "#name": "createdByType", "Description": "The type of identity that created the resource.", "Enum": [ [ "User", "" ], [ "Application", "" ], [ "ManagedIdentity", "" ], [ "Key", "" ] ], "Required": false, "Type": "string" } }, { "#name": "createdAt", "Description": { "new": "The timestamp of resource creation (UTC).", "old": "Specifies the time in UTC at which the Cloud Service (extended support) resource was created.
Minimum api-version: 2022-04-04." } }, { "@added_d5a6984f2bf74c06a71e97a740841bf3": { "#name": "lastModifiedBy", "Description": "The identity that last modified the resource.", "Required": false, "Type": "string" } }, { "@added_3d857834453c49cf8eae8790d211bf00": { "#name": "lastModifiedByType", "Description": "The type of identity that last modified the resource.", "Enum": [ [ "User", "" ], [ "Application", "" ], [ "ManagedIdentity", "" ], [ "Key", "" ] ], "Required": false, "Type": "string" } }, { "#name": "lastModifiedAt", "Description": { "new": "The timestamp of resource last modification (UTC)", "old": "Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified.
Minimum api-version: 2022-04-04." } } ] } ] }, "201": { "$properties": [ { "#name": "systemData", "Description": { "new": "Metadata pertaining to creation and last modification of the resource.", "old": "The system meta data relating to this resource." }, "$properties": [ { "@added_8628ac1ffb294e8a9884cf698a5a5e9b": { "#name": "createdBy", "Description": "The identity that created the resource.", "Required": false, "Type": "string" } }, { "@added_84936b833b6c43ec901e650a5fd58c6a": { "#name": "createdByType", "Description": "The type of identity that created the resource.", "Enum": [ [ "User", "" ], [ "Application", "" ], [ "ManagedIdentity", "" ], [ "Key", "" ] ], "Required": false, "Type": "string" } }, { "#name": "createdAt", "Description": { "new": "The timestamp of resource creation (UTC).", "old": "Specifies the time in UTC at which the Cloud Service (extended support) resource was created.
Minimum api-version: 2022-04-04." } }, { "@added_b8dc19c44aa74d9e982d170d6b7b6f12": { "#name": "lastModifiedBy", "Description": "The identity that last modified the resource.", "Required": false, "Type": "string" } }, { "@added_5ed906df8db540c098319f208de47cb8": { "#name": "lastModifiedByType", "Description": "The type of identity that last modified the resource.", "Enum": [ [ "User", "" ], [ "Application", "" ], [ "ManagedIdentity", "" ], [ "Key", "" ] ], "Required": false, "Type": "string" } }, { "#name": "lastModifiedAt", "Description": { "new": "The timestamp of resource last modification (UTC)", "old": "Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified.
Minimum api-version: 2022-04-04." } } ] } ] } } }

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}
{
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
parameters:
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
packageUrl: string ,
configuration: string ,
configurationUrl: string ,
startCloudService: boolean ,
allowModelOverride: boolean ,
upgradeMode: enum ,
roleProfile:
{
roles:
[
{
name: string ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
}
,
]
,
}
,
osProfile:
{
secrets:
[
{
sourceVault:
{
id: string ,
}
,
vaultCertificates:
[
{
certificateUrl: string ,
isBootstrapCertificate: boolean ,
}
,
]
,
}
,
]
,
}
,
networkProfile:
{
loadBalancerConfigurations:
[
{
id: string ,
name: string ,
properties:
{
frontendIpConfigurations:
[
{
name: string ,
properties:
{
publicIPAddress:
{
id: string ,
}
,
subnet:
{
id: string ,
}
,
privateIPAddress: string ,
}
,
}
,
]
,
}
,
}
,
]
,
slotType: enum ,
swappableCloudService:
{
id: string ,
}
,
}
,
extensionProfile:
{
extensions:
[
{
name: string ,
properties:
{
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
settings: object ,
protectedSettings: object ,
protectedSettingsFromKeyVault:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
forceUpdateTag: string ,
provisioningState: string ,
rolesAppliedTo:
[
string ,
]
,
}
,
}
,
]
,
}
,
provisioningState: string ,
uniqueId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
zones:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
packageUrl: string ,
configuration: string ,
configurationUrl: string ,
startCloudService: boolean ,
allowModelOverride: boolean ,
upgradeMode: enum ,
roleProfile:
{
roles:
[
{
name: string ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
}
,
]
,
}
,
osProfile:
{
secrets:
[
{
sourceVault:
{
id: string ,
}
,
vaultCertificates:
[
{
certificateUrl: string ,
isBootstrapCertificate: boolean ,
}
,
]
,
}
,
]
,
}
,
networkProfile:
{
loadBalancerConfigurations:
[
{
id: string ,
name: string ,
properties:
{
frontendIpConfigurations:
[
{
name: string ,
properties:
{
publicIPAddress:
{
id: string ,
}
,
subnet:
{
id: string ,
}
,
privateIPAddress: string ,
}
,
}
,
]
,
}
,
}
,
]
,
slotType: enum ,
swappableCloudService:
{
id: string ,
}
,
}
,
extensionProfile:
{
extensions:
[
{
name: string ,
properties:
{
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
settings: object ,
protectedSettings: object ,
protectedSettingsFromKeyVault:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
forceUpdateTag: string ,
provisioningState: string ,
rolesAppliedTo:
[
string ,
]
,
}
,
}
,
]
,
}
,
provisioningState: string ,
uniqueId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
zones:
[
string ,
]
,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
packageUrl: string ,
configuration: string ,
configurationUrl: string ,
startCloudService: boolean ,
allowModelOverride: boolean ,
upgradeMode: enum ,
roleProfile:
{
roles:
[
{
name: string ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
}
,
]
,
}
,
osProfile:
{
secrets:
[
{
sourceVault:
{
id: string ,
}
,
vaultCertificates:
[
{
certificateUrl: string ,
isBootstrapCertificate: boolean ,
}
,
]
,
}
,
]
,
}
,
networkProfile:
{
loadBalancerConfigurations:
[
{
id: string ,
name: string ,
properties:
{
frontendIpConfigurations:
[
{
name: string ,
properties:
{
publicIPAddress:
{
id: string ,
}
,
subnet:
{
id: string ,
}
,
privateIPAddress: string ,
}
,
}
,
]
,
}
,
}
,
]
,
slotType: enum ,
swappableCloudService:
{
id: string ,
}
,
}
,
extensionProfile:
{
extensions:
[
{
name: string ,
properties:
{
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
settings: object ,
protectedSettings: object ,
protectedSettingsFromKeyVault:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
forceUpdateTag: string ,
provisioningState: string ,
rolesAppliedTo:
[
string ,
]
,
}
,
}
,
]
,
}
,
provisioningState: string ,
uniqueId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
zones:
[
string ,
]
,
}
CloudServices_Update (updated)
Description Update a cloud service.
Reference Link ¶

⚶ Changes

{
  "#id": "CloudServices_Update",
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "systemData",
          "Description": {
            "new": "Metadata pertaining to creation and last modification of the resource.",
            "old": "The system meta data relating to this resource."
          },
          "$properties": [
            {
              "@added_31dce8407a034ac88c37f5e233825d9d": {
                "#name": "createdBy",
                "Description": "The identity that created the resource.",
                "Required": false,
                "Type": "string"
              }
            },
            {
              "@added_48be607873054b0ab9094cd143779845": {
                "#name": "createdByType",
                "Description": "The type of identity that created the resource.",
                "Enum": [
                  [
                    "User",
                    ""
                  ],
                  [
                    "Application",
                    ""
                  ],
                  [
                    "ManagedIdentity",
                    ""
                  ],
                  [
                    "Key",
                    ""
                  ]
                ],
                "Required": false,
                "Type": "string"
              }
            },
            {
              "#name": "createdAt",
              "Description": {
                "new": "The timestamp of resource creation (UTC).",
                "old": "Specifies the time in UTC at which the Cloud Service (extended support) resource was created. 
Minimum api-version: 2022-04-04." } }, { "@added_498c8a5681cd467dbaf2c92b4c73ba63": { "#name": "lastModifiedBy", "Description": "The identity that last modified the resource.", "Required": false, "Type": "string" } }, { "@added_5da24a01e1394d1fa30e4c8372606872": { "#name": "lastModifiedByType", "Description": "The type of identity that last modified the resource.", "Enum": [ [ "User", "" ], [ "Application", "" ], [ "ManagedIdentity", "" ], [ "Key", "" ] ], "Required": false, "Type": "string" } }, { "#name": "lastModifiedAt", "Description": { "new": "The timestamp of resource last modification (UTC)", "old": "Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified.
Minimum api-version: 2022-04-04." } } ] } ] } } }

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}
{
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
parameters:
{
tags: object ,
}
,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
packageUrl: string ,
configuration: string ,
configurationUrl: string ,
startCloudService: boolean ,
allowModelOverride: boolean ,
upgradeMode: enum ,
roleProfile:
{
roles:
[
{
name: string ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
}
,
]
,
}
,
osProfile:
{
secrets:
[
{
sourceVault:
{
id: string ,
}
,
vaultCertificates:
[
{
certificateUrl: string ,
isBootstrapCertificate: boolean ,
}
,
]
,
}
,
]
,
}
,
networkProfile:
{
loadBalancerConfigurations:
[
{
id: string ,
name: string ,
properties:
{
frontendIpConfigurations:
[
{
name: string ,
properties:
{
publicIPAddress:
{
id: string ,
}
,
subnet:
{
id: string ,
}
,
privateIPAddress: string ,
}
,
}
,
]
,
}
,
}
,
]
,
slotType: enum ,
swappableCloudService:
{
id: string ,
}
,
}
,
extensionProfile:
{
extensions:
[
{
name: string ,
properties:
{
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
settings: object ,
protectedSettings: object ,
protectedSettingsFromKeyVault:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
forceUpdateTag: string ,
provisioningState: string ,
rolesAppliedTo:
[
string ,
]
,
}
,
}
,
]
,
}
,
provisioningState: string ,
uniqueId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
zones:
[
string ,
]
,
}
CloudServices_Get (updated)
Description Display information about a cloud service.
Reference Link ¶

⚶ Changes

{
  "#id": "CloudServices_Get",
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "systemData",
          "Description": {
            "new": "Metadata pertaining to creation and last modification of the resource.",
            "old": "The system meta data relating to this resource."
          },
          "$properties": [
            {
              "@added_874cac6b20334c5c951c794a9a7f5a82": {
                "#name": "createdBy",
                "Description": "The identity that created the resource.",
                "Required": false,
                "Type": "string"
              }
            },
            {
              "@added_8445e839b0a04a50b074bc946746a89a": {
                "#name": "createdByType",
                "Description": "The type of identity that created the resource.",
                "Enum": [
                  [
                    "User",
                    ""
                  ],
                  [
                    "Application",
                    ""
                  ],
                  [
                    "ManagedIdentity",
                    ""
                  ],
                  [
                    "Key",
                    ""
                  ]
                ],
                "Required": false,
                "Type": "string"
              }
            },
            {
              "#name": "createdAt",
              "Description": {
                "new": "The timestamp of resource creation (UTC).",
                "old": "Specifies the time in UTC at which the Cloud Service (extended support) resource was created. 
Minimum api-version: 2022-04-04." } }, { "@added_ea0bb70c9e1043fca75cb38ae92c9797": { "#name": "lastModifiedBy", "Description": "The identity that last modified the resource.", "Required": false, "Type": "string" } }, { "@added_5c425fb28a8e4f0b9a1f50cbd5387755": { "#name": "lastModifiedByType", "Description": "The type of identity that last modified the resource.", "Enum": [ [ "User", "" ], [ "Application", "" ], [ "ManagedIdentity", "" ], [ "Key", "" ] ], "Required": false, "Type": "string" } }, { "#name": "lastModifiedAt", "Description": { "new": "The timestamp of resource last modification (UTC)", "old": "Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified.
Minimum api-version: 2022-04-04." } } ] } ] } } }

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}
{
resourceGroupName: string ,
cloudServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
packageUrl: string ,
configuration: string ,
configurationUrl: string ,
startCloudService: boolean ,
allowModelOverride: boolean ,
upgradeMode: enum ,
roleProfile:
{
roles:
[
{
name: string ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
}
,
]
,
}
,
osProfile:
{
secrets:
[
{
sourceVault:
{
id: string ,
}
,
vaultCertificates:
[
{
certificateUrl: string ,
isBootstrapCertificate: boolean ,
}
,
]
,
}
,
]
,
}
,
networkProfile:
{
loadBalancerConfigurations:
[
{
id: string ,
name: string ,
properties:
{
frontendIpConfigurations:
[
{
name: string ,
properties:
{
publicIPAddress:
{
id: string ,
}
,
subnet:
{
id: string ,
}
,
privateIPAddress: string ,
}
,
}
,
]
,
}
,
}
,
]
,
slotType: enum ,
swappableCloudService:
{
id: string ,
}
,
}
,
extensionProfile:
{
extensions:
[
{
name: string ,
properties:
{
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
settings: object ,
protectedSettings: object ,
protectedSettingsFromKeyVault:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
forceUpdateTag: string ,
provisioningState: string ,
rolesAppliedTo:
[
string ,
]
,
}
,
}
,
]
,
}
,
provisioningState: string ,
uniqueId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
zones:
[
string ,
]
,
}
CloudServices_ListAll (updated)
Description Gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services.
Reference Link ¶

⚶ Changes

{
  "#id": "CloudServices_ListAll",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": [
            {
              "#name": "systemData",
              "Description": {
                "new": "Metadata pertaining to creation and last modification of the resource.",
                "old": "The system meta data relating to this resource."
              },
              "$properties": [
                {
                  "@added_67beb59bf2a64035b143a410a121d85c": {
                    "#name": "createdBy",
                    "Description": "The identity that created the resource.",
                    "Required": false,
                    "Type": "string"
                  }
                },
                {
                  "@added_334a862f9faf4bba81a1b313e643cf16": {
                    "#name": "createdByType",
                    "Description": "The type of identity that created the resource.",
                    "Enum": [
                      [
                        "User",
                        ""
                      ],
                      [
                        "Application",
                        ""
                      ],
                      [
                        "ManagedIdentity",
                        ""
                      ],
                      [
                        "Key",
                        ""
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  }
                },
                {
                  "#name": "createdAt",
                  "Description": {
                    "new": "The timestamp of resource creation (UTC).",
                    "old": "Specifies the time in UTC at which the Cloud Service (extended support) resource was created. 
Minimum api-version: 2022-04-04." } }, { "@added_3dfb8950e46f4602bcdfd20dc5d40201": { "#name": "lastModifiedBy", "Description": "The identity that last modified the resource.", "Required": false, "Type": "string" } }, { "@added_e759eef575b44447aca7311c934e0e19": { "#name": "lastModifiedByType", "Description": "The type of identity that last modified the resource.", "Enum": [ [ "User", "" ], [ "Application", "" ], [ "ManagedIdentity", "" ], [ "Key", "" ] ], "Required": false, "Type": "string" } }, { "#name": "lastModifiedAt", "Description": { "new": "The timestamp of resource last modification (UTC)", "old": "Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified.
Minimum api-version: 2022-04-04." } } ] } ] } } } } }

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/cloudServices
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
packageUrl: string ,
configuration: string ,
configurationUrl: string ,
startCloudService: boolean ,
allowModelOverride: boolean ,
upgradeMode: enum ,
roleProfile:
{
roles:
[
{
name: string ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
}
,
]
,
}
,
osProfile:
{
secrets:
[
{
sourceVault:
{
id: string ,
}
,
vaultCertificates:
[
{
certificateUrl: string ,
isBootstrapCertificate: boolean ,
}
,
]
,
}
,
]
,
}
,
networkProfile:
{
loadBalancerConfigurations:
[
{
id: string ,
name: string ,
properties:
{
frontendIpConfigurations:
[
{
name: string ,
properties:
{
publicIPAddress:
{
id: string ,
}
,
subnet:
{
id: string ,
}
,
privateIPAddress: string ,
}
,
}
,
]
,
}
,
}
,
]
,
slotType: enum ,
swappableCloudService:
{
id: string ,
}
,
}
,
extensionProfile:
{
extensions:
[
{
name: string ,
properties:
{
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
settings: object ,
protectedSettings: object ,
protectedSettingsFromKeyVault:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
forceUpdateTag: string ,
provisioningState: string ,
rolesAppliedTo:
[
string ,
]
,
}
,
}
,
]
,
}
,
provisioningState: string ,
uniqueId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
zones:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}
CloudServices_List (updated)
Description Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services.
Reference Link ¶

⚶ Changes

{
  "#id": "CloudServices_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": [
            {
              "#name": "systemData",
              "Description": {
                "new": "Metadata pertaining to creation and last modification of the resource.",
                "old": "The system meta data relating to this resource."
              },
              "$properties": [
                {
                  "@added_b8c2705f5d3847cdbe4af99dd6b27a78": {
                    "#name": "createdBy",
                    "Description": "The identity that created the resource.",
                    "Required": false,
                    "Type": "string"
                  }
                },
                {
                  "@added_67878619b0004872b3cdfb6cb2c8651e": {
                    "#name": "createdByType",
                    "Description": "The type of identity that created the resource.",
                    "Enum": [
                      [
                        "User",
                        ""
                      ],
                      [
                        "Application",
                        ""
                      ],
                      [
                        "ManagedIdentity",
                        ""
                      ],
                      [
                        "Key",
                        ""
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  }
                },
                {
                  "#name": "createdAt",
                  "Description": {
                    "new": "The timestamp of resource creation (UTC).",
                    "old": "Specifies the time in UTC at which the Cloud Service (extended support) resource was created. 
Minimum api-version: 2022-04-04." } }, { "@added_4a723f91437b4beb83b5d7f47702c4c9": { "#name": "lastModifiedBy", "Description": "The identity that last modified the resource.", "Required": false, "Type": "string" } }, { "@added_fff39a27a4ec43cfa65b55bec78f50c4": { "#name": "lastModifiedByType", "Description": "The type of identity that last modified the resource.", "Enum": [ [ "User", "" ], [ "Application", "" ], [ "ManagedIdentity", "" ], [ "Key", "" ] ], "Required": false, "Type": "string" } }, { "#name": "lastModifiedAt", "Description": { "new": "The timestamp of resource last modification (UTC)", "old": "Specifies the time in UTC at which the Cloud Service (extended support) resource was last modified.
Minimum api-version: 2022-04-04." } } ] } ] } } } } }

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices
{
resourceGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
tags: object ,
properties:
{
packageUrl: string ,
configuration: string ,
configurationUrl: string ,
startCloudService: boolean ,
allowModelOverride: boolean ,
upgradeMode: enum ,
roleProfile:
{
roles:
[
{
name: string ,
sku:
{
name: string ,
tier: string ,
capacity: integer ,
}
,
}
,
]
,
}
,
osProfile:
{
secrets:
[
{
sourceVault:
{
id: string ,
}
,
vaultCertificates:
[
{
certificateUrl: string ,
isBootstrapCertificate: boolean ,
}
,
]
,
}
,
]
,
}
,
networkProfile:
{
loadBalancerConfigurations:
[
{
id: string ,
name: string ,
properties:
{
frontendIpConfigurations:
[
{
name: string ,
properties:
{
publicIPAddress:
{
id: string ,
}
,
subnet:
{
id: string ,
}
,
privateIPAddress: string ,
}
,
}
,
]
,
}
,
}
,
]
,
slotType: enum ,
swappableCloudService:
{
id: string ,
}
,
}
,
extensionProfile:
{
extensions:
[
{
name: string ,
properties:
{
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
settings: object ,
protectedSettings: object ,
protectedSettingsFromKeyVault:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
forceUpdateTag: string ,
provisioningState: string ,
rolesAppliedTo:
[
string ,
]
,
}
,
}
,
]
,
}
,
provisioningState: string ,
uniqueId: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
zones:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}