Microsoft.ContainerInstance (preview:2024-09-01)

2025/03/04 • 2 updated methods

ContainerGroups_List (updated)
Description :  Get a list of container groups in the specified subscription. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.
Reference :  Link ¶

⚶ Changes

{
  "#id": "ContainerGroups_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "Description": {
            "new": "A container group part of the list result.",
            "old": "A container group."
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroups
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
string ,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ContainerGroups_ListByResourceGroup (updated)
Description :  Get a list of container groups in a specified subscription and resource group. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.
Reference :  Link ¶

⚶ Changes

{
  "#id": "ContainerGroups_ListByResourceGroup",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "Description": {
            "new": "A container group part of the list result.",
            "old": "A container group."
          }
        }
      }
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
value:
[
string ,
]
,
nextLink: string ,
}

⚐ Response (default)

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