Description | : Gets a list of all container group profiles under a subscription. |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "CGProfiles_ListBySubscription", "$responses": { "200": { "$properties": { "value": { "Description": { "new": "A container group profile object", "old": "container group profile object" }, "$properties": { "properties": [ { "#name": "containers", "Required": { "new": true, "old": false }, "$items": { "$properties": { "properties": [ { "#name": "image", "Required": { "new": false, "old": true } }, { "#name": "resources", "Required": { "new": false, "old": true } }, { "@added_810a71b630514cd1b96a3e451f2e320e": { "#name": "configMap", "Description": "The config map.", "Required": false, "Type": "object", "$properties": [ { "#name": "keyValuePairs", "Description": "The key value pairs dictionary in the config map.", "Required": false, "Type": "object" } ] } } ] } } }, { "#name": "osType", "Required": { "new": true, "old": false } }, { "#name": "revision", "Format": { "new": "int32", "old": "int64" } }, { "registeredRevisions": { "Format": { "new": "int32", "old": "int64" } } } ] } } } } } }
⚼ Request
GET:
/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroupProfiles
{
subscriptionId:
string
,
api-version:
string
,
}
⚐ Response (200)
{
value:
[
]
,
{
,
systemData:
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
properties:
}
{
,
sku:
enum
,
encryptionProperties:
{
,
vaultBaseUrl:
string
,
keyName:
string
,
keyVersion:
string
,
identity:
string
,
}
containers:
[
]
,
{
,
name:
string
,
properties:
}
{
,
image:
string
,
command:
[
,
string
,
]
ports:
[
]
,
{
,
protocol:
enum
,
port:
integer
,
}
environmentVariables:
[
]
,
{
,
name:
string
,
value:
string
,
secureValue:
string
,
secureValueReference:
string
,
}
instanceView:
{
,
restartCount:
integer
,
currentState:
{
,
state:
string
,
startTime:
string
,
exitCode:
integer
,
finishTime:
string
,
detailStatus:
string
,
}
previousState:
{
,
state:
string
,
startTime:
string
,
exitCode:
integer
,
finishTime:
string
,
detailStatus:
string
,
}
events:
}
[
]
,
{
,
count:
integer
,
firstTimestamp:
string
,
lastTimestamp:
string
,
name:
string
,
message:
string
,
type:
string
,
}
resources:
{
,
requests:
{
,
memoryInGB:
number
,
cpu:
number
,
gpu:
}
{
,
count:
integer
,
sku:
enum
,
}
limits:
}
{
,
memoryInGB:
number
,
cpu:
number
,
gpu:
}
{
,
count:
integer
,
sku:
enum
,
}
volumeMounts:
[
]
,
{
,
name:
string
,
mountPath:
string
,
readOnly:
boolean
,
}
livenessProbe:
{
,
exec:
{
,
command:
}
[
,
string
,
]
httpGet:
{
,
path:
string
,
port:
integer
,
scheme:
enum
,
httpHeaders:
}
[
]
,
{
,
name:
string
,
value:
string
,
}
initialDelaySeconds:
integer
,
periodSeconds:
integer
,
failureThreshold:
integer
,
successThreshold:
integer
,
timeoutSeconds:
integer
,
}
readinessProbe:
{
,
exec:
{
,
command:
}
[
,
string
,
]
httpGet:
{
,
path:
string
,
port:
integer
,
scheme:
enum
,
httpHeaders:
}
[
]
,
{
,
name:
string
,
value:
string
,
}
initialDelaySeconds:
integer
,
periodSeconds:
integer
,
failureThreshold:
integer
,
successThreshold:
integer
,
timeoutSeconds:
integer
,
}
securityContext:
{
,
privileged:
boolean
,
allowPrivilegeEscalation:
boolean
,
capabilities:
{
,
add:
[
,
string
,
]
drop:
}
[
,
string
,
]
runAsGroup:
integer
,
runAsUser:
integer
,
seccompProfile:
string
,
}
configMap:
}
{
,
keyValuePairs:
object
,
}
initContainers:
[
]
,
{
,
name:
string
,
properties:
}
{
,
image:
string
,
command:
[
,
string
,
]
environmentVariables:
[
]
,
{
,
name:
string
,
value:
string
,
secureValue:
string
,
secureValueReference:
string
,
}
instanceView:
{
,
restartCount:
integer
,
currentState:
{
,
state:
string
,
startTime:
string
,
exitCode:
integer
,
finishTime:
string
,
detailStatus:
string
,
}
previousState:
{
,
state:
string
,
startTime:
string
,
exitCode:
integer
,
finishTime:
string
,
detailStatus:
string
,
}
events:
}
[
]
,
{
,
count:
integer
,
firstTimestamp:
string
,
lastTimestamp:
string
,
name:
string
,
message:
string
,
type:
string
,
}
volumeMounts:
[
]
,
{
,
name:
string
,
mountPath:
string
,
readOnly:
boolean
,
}
securityContext:
}
{
,
privileged:
boolean
,
allowPrivilegeEscalation:
boolean
,
capabilities:
{
,
add:
[
,
string
,
]
drop:
}
[
,
string
,
]
runAsGroup:
integer
,
runAsUser:
integer
,
seccompProfile:
string
,
}
extensions:
[
]
,
{
,
name:
string
,
properties:
}
{
,
extensionType:
string
,
version:
string
,
settings:
object
,
protectedSettings:
object
,
}
imageRegistryCredentials:
[
]
,
{
,
server:
string
,
username:
string
,
password:
string
,
passwordReference:
string
,
identity:
string
,
identityUrl:
string
,
}
restartPolicy:
enum
,
shutdownGracePeriod:
string
,
ipAddress:
{
,
ports:
[
]
,
{
,
protocol:
enum
,
port:
integer
,
}
type:
enum
,
ip:
string
,
dnsNameLabel:
string
,
autoGeneratedDomainNameLabelScope:
enum
,
fqdn:
string
,
}
timeToLive:
string
,
osType:
enum
,
volumes:
[
]
,
{
,
name:
string
,
azureFile:
{
,
shareName:
string
,
readOnly:
boolean
,
storageAccountName:
string
,
storageAccountKey:
string
,
storageAccountKeyReference:
string
,
}
emptyDir:
object
,
secret:
object
,
secretReference:
object
,
gitRepo:
}
{
,
directory:
string
,
repository:
string
,
revision:
string
,
}
diagnostics:
{
,
logAnalytics:
}
{
,
workspaceId:
string
,
workspaceKey:
string
,
logType:
enum
,
metadata:
object
,
workspaceResourceId:
string
,
}
priority:
enum
,
confidentialComputeProperties:
{
,
ccePolicy:
string
,
}
securityContext:
{
,
privileged:
boolean
,
allowPrivilegeEscalation:
boolean
,
capabilities:
{
,
add:
[
,
string
,
]
drop:
}
[
,
string
,
]
runAsGroup:
integer
,
runAsUser:
integer
,
seccompProfile:
string
,
}
revision:
integer
,
registeredRevisions:
[
,
integer
,
]
useKrypton:
boolean
,
}
nextLink:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
}
[
,
string
,
]