Skip to content

Commit

Permalink
export
Browse files Browse the repository at this point in the history
  • Loading branch information
cxznmhdcxz committed Jan 6, 2025
1 parent d4e75db commit 3de2285
Show file tree
Hide file tree
Showing 11 changed files with 1,115 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Commands/sig/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ Manage shared image gallery.
- [image-version](/Commands/sig/image-version/readme.md)
: Manage shared gallery image version with VM

- [share](/Commands/sig/share/readme.md)
: Manage gallery sharing profile.

## Commands

- [create](/Commands/sig/_create.md)
Expand Down
9 changes: 9 additions & 0 deletions Commands/sig/share/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _sig share update_

Update sharing profile of a gallery.

## Versions

### [2023-07-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fS9zaGFyZQ==/2023-07-03.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/share 2023-07-03 -->
8 changes: 8 additions & 0 deletions Commands/sig/share/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# [Group] _sig share_

Manage gallery sharing profile.

## Commands

- [update](/Commands/sig/share/_update.md)
: Update sharing profile of a gallery.
33 changes: 33 additions & 0 deletions Commands/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -209476,6 +209476,39 @@
"sig",
"image-version"
]
},
"share": {
"commands": {
"update": {
"help": {
"short": "Update sharing profile of a gallery."
},
"names": [
"sig",
"share",
"update"
],
"versions": [
{
"name": "2023-07-03",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/share",
"plane": "mgmt-plane",
"version": "2023-07-03"
}
]
}
]
}
},
"help": {
"short": "Manage gallery sharing profile."
},
"names": [
"sig",
"share"
]
}
},
"commands": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/galleries", "version": "2023-07-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvZ2FsbGVyaWVz/V/MjAyMy0wNy0wMw=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries", "version": "2023-07-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXM=/V/MjAyMy0wNy0wMw=="}], "commandGroups": [{"name": "sig", "commands": [{"name": "list", "version": "2023-07-03", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/galleries", "version": "2023-07-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvZ2FsbGVyaWVz/V/MjAyMy0wNy0wMw=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries", "version": "2023-07-03", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9nYWxsZXJpZXM=/V/MjAyMy0wNy0wMw=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_Galleries_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_Galleries_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_Galleries_List"], "operationId": "Galleries_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-07-03"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/galleries/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "object", "name": "identifier", "props": [{"readOnly": true, "type": "string", "name": "uniqueName"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Migrating"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "sharingProfile", "props": [{"type": "object", "name": "communityGalleryInfo", "props": [{"readOnly": true, "type": "boolean", "name": "communityGalleryEnabled"}, {"type": "string", "name": "eula"}, {"type": "string", "name": "publicNamePrefix"}, {"readOnly": true, "type": "array<string>", "name": "publicNames", "item": {"type": "string"}}, {"type": "string", "name": "publisherContact"}, {"type": "string", "name": "publisherUri"}]}, {"readOnly": true, "type": "array<object>", "name": "groups", "item": {"type": "object", "props": [{"type": "array<string>", "name": "ids", "item": {"type": "string"}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AADTenants"}, {"value": "Subscriptions"}]}}]}}, {"type": "string", "name": "permissions", "enum": {"items": [{"value": "Community"}, {"value": "Groups"}, {"value": "Private"}]}}]}, {"readOnly": true, "type": "object", "name": "sharingStatus", "props": [{"readOnly": true, "type": "string", "name": "aggregatedState", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Unknown"}]}}, {"type": "array<object>", "name": "summary", "item": {"type": "object", "props": [{"type": "string", "name": "details"}, {"type": "string", "name": "region"}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Unknown"}]}}]}, "identifiers": ["region"]}]}, {"type": "object", "name": "softDeletePolicy", "props": [{"type": "boolean", "name": "isSoftDeleteEnabled"}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_Galleries_ListByResourceGroup"], "operationId": "Galleries_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-07-03"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/galleries/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description"}, {"type": "object", "name": "identifier", "props": [{"readOnly": true, "type": "string", "name": "uniqueName"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Migrating"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "sharingProfile", "props": [{"type": "object", "name": "communityGalleryInfo", "props": [{"readOnly": true, "type": "boolean", "name": "communityGalleryEnabled"}, {"type": "string", "name": "eula"}, {"type": "string", "name": "publicNamePrefix"}, {"readOnly": true, "type": "array<string>", "name": "publicNames", "item": {"type": "string"}}, {"type": "string", "name": "publisherContact"}, {"type": "string", "name": "publisherUri"}]}, {"readOnly": true, "type": "array<object>", "name": "groups", "item": {"type": "object", "props": [{"type": "array<string>", "name": "ids", "item": {"type": "string"}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AADTenants"}, {"value": "Subscriptions"}]}}]}}, {"type": "string", "name": "permissions", "enum": {"items": [{"value": "Community"}, {"value": "Groups"}, {"value": "Private"}]}}]}, {"readOnly": true, "type": "object", "name": "sharingStatus", "props": [{"readOnly": true, "type": "string", "name": "aggregatedState", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Unknown"}]}}, {"type": "array<object>", "name": "summary", "item": {"type": "object", "props": [{"type": "string", "name": "details"}, {"type": "string", "name": "region"}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "Unknown"}]}}]}, "identifiers": ["region"]}]}, {"type": "object", "name": "softDeletePolicy", "props": [{"type": "boolean", "name": "isSoftDeleteEnabled"}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}
Loading

0 comments on commit 3de2285

Please sign in to comment.