Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update several common definitions according to arm feedback for container service 2022-02-02-preview #18206

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2566,23 +2566,30 @@
"description": "Describes the properties of a Operation Value Display."
},
"Resource": {
"title": "Resource",
"description": "Common fields that are returned in the response for all Azure Resource Manager resources",
"type": "object",
"description": "The Resource model definition.",
"properties": {
"id": {
"readOnly": true,
"type": "string",
"description": "Resource Id"
"description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
},
"name": {
"readOnly": true,
"type": "string",
"description": "Resource name"
"description": "The name of the resource"
},
"type": {
"readOnly": true,
"type": "string",
"description": "Resource type"
"description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\""
},
"systemData": {
"readOnly": true,
"type": "object",
"description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
"$ref": "#/definitions/SystemData"
},
"location": {
"type": "string",
Expand Down Expand Up @@ -3480,7 +3487,7 @@
"createdAt": {
"type": "string",
"format": "date-time",
"description": "The UTC timestamp of resource creation."
"description": "The timestamp of resource creation (UTC)."
},
"lastModifiedBy": {
"type": "string",
Expand All @@ -3503,7 +3510,7 @@
"lastModifiedAt": {
"type": "string",
"format": "date-time",
"description": "The type of identity that last modified the resource."
"description": "The timestamp of resource last modification (UTC)"
}
}
},
Expand Down Expand Up @@ -5844,11 +5851,6 @@
"Snapshot": {
"type": "object",
"properties": {
"systemData": {
"$ref": "#/definitions/SystemData",
"readOnly": true,
"description": "The system metadata relating to this snapshot."
},
"properties": {
"description": "Properties of a snapshot.",
"$ref": "#/definitions/SnapshotProperties",
Expand All @@ -5865,11 +5867,6 @@
"ManagedClusterSnapshot": {
"type": "object",
"properties": {
"systemData": {
"$ref": "#/definitions/SystemData",
"readOnly": true,
"description": "The system metadata relating to this snapshot."
},
"properties": {
"description": "Properties of a managed cluster snapshot.",
"$ref": "#/definitions/ManagedClusterSnapshotProperties",
Expand Down Expand Up @@ -6119,24 +6116,25 @@
"in": "path",
"required": true,
"type": "string",
"description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
"x-ms-parameter-location": "client"
"description": "The ID of the target subscription.",
"minLength": 1
},
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
"required": true,
"type": "string",
"description": "Client Api Version.",
"x-ms-parameter-location": "client"
"description": "The API version to use for this operation.",
"minLength": 1
},
"ResourceGroupNameParameter": {
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group. The name is case insensitive.",
"minLength": 1,
"description": "The name of the resource group.",
"maxLength": 90,
"x-ms-parameter-location": "method"
},
"ResourceNameParameter": {
Expand All @@ -6155,7 +6153,8 @@
"in": "path",
"required": true,
"type": "string",
"description": "The name of a supported Azure region.",
"description": "The name of Azure region.",
"minLength": 1,
"x-ms-parameter-location": "method"
},
"ResourceTypeParameter": {
Expand Down