Skip to content

Commit

Permalink
Merge pull request #563 from 8Gitbrix/feature-update-ali-models-1.0.0b4
Browse files Browse the repository at this point in the history
Pushing model changes for ALI v 1.0.0b4
  • Loading branch information
kairu-ms authored Sep 11, 2024
2 parents 003e9a3 + 3e6da6d commit aea05c5
Show file tree
Hide file tree
Showing 7 changed files with 185 additions and 190 deletions.
4 changes: 2 additions & 2 deletions Commands/large-instance/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resource group, and instance name.

#### examples

- AzureLargeInstance_Create
- Create an Azure Large Storage Instance
```bash
large-instance create -g myResourceGroup -n myALInstance -l westus --tags "{testkey:testvalue}" --instance-id 23415635-4d7e-41dc-9598-8194f22c24e1 --power-state started --ppg /subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup --hw-revision Rev 3 --hardware-profile "{hardware-type:Cisco_UCS,azure-large-instance-size:S72}" --network-profile "{network-interfaces:[{ip-address:100.100.100.100}],circuit-id:/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit}" --storage-profile "{nfs-ip-address:200.200.200.200}" --os-profile "{computer-name:myComputerName,os-type:SUSE,version:'12 SP1',ssh-public-key:'{ssh-rsa public key}'}"
large-instance create -g myResourceGroup -n myALInstance -l westus -sku S72
```
4 changes: 2 additions & 2 deletions Commands/large-storage-instance/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resource group, and instance name.

#### examples

- AzureLargeStorageInstance_Create
- Create an Azure Large Storage Instance
```bash
large-storage-instance create -g myResourceGroup -n myAzureLargeStorageInstance -l westus2 --tags "{key:value}" --instance-id 23415635-4d7e-41dc-9598-8194f22c24e9 --storage-properties "{offering-type:EPIC,storage-type:FC,generation:Gen4,hardware-type:NetApp,workload-type:ODB,storage-billing-properties:{billing-mode:PAYG,sku:}}"
large-storage-instance create -g myResourceGroup -n myAzureLargeStorageInstance -l westus2 --sku S72
```
8 changes: 4 additions & 4 deletions Commands/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -51420,9 +51420,9 @@
"examples": [
{
"commands": [
"large-instance create -g myResourceGroup -n myALInstance -l westus --tags \"{testkey:testvalue}\" --instance-id 23415635-4d7e-41dc-9598-8194f22c24e1 --power-state started --ppg /subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup --hw-revision Rev 3 --hardware-profile \"{hardware-type:Cisco_UCS,azure-large-instance-size:S72}\" --network-profile \"{network-interfaces:[{ip-address:100.100.100.100}],circuit-id:/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit}\" --storage-profile \"{nfs-ip-address:200.200.200.200}\" --os-profile \"{computer-name:myComputerName,os-type:SUSE,version:'12 SP1',ssh-public-key:'{ssh-rsa public key}'}\""
"large-instance create -g myResourceGroup -n myALInstance -l westus -sku S72"
],
"name": "AzureLargeInstance_Create"
"name": "Create an Azure Large Storage Instance"
}
],
"name": "2024-08-01-preview",
Expand Down Expand Up @@ -51911,9 +51911,9 @@
"examples": [
{
"commands": [
"large-storage-instance create -g myResourceGroup -n myAzureLargeStorageInstance -l westus2 --tags \"{key:value}\" --instance-id 23415635-4d7e-41dc-9598-8194f22c24e9 --storage-properties \"{offering-type:EPIC,storage-type:FC,generation:Gen4,hardware-type:NetApp,workload-type:ODB,storage-billing-properties:{billing-mode:PAYG,sku:}}\""
"large-storage-instance create -g myResourceGroup -n myAzureLargeStorageInstance -l westus2 --sku S72"
],
"name": "AzureLargeStorageInstance_Create"
"name": "Create an Azure Large Storage Instance"
}
],
"name": "2024-08-01-preview",
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,47 @@
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="delete" version="2024-08-01-preview" confirmation="Are you sure you want to perform this operation?">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurelargeinstance/azurelargeinstances/{}" version="2024-08-01-preview" swagger="mgmt-plane/azurelargeinstance/ResourceProviders/Microsoft.AzureLargeInstance/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVMYXJnZUluc3RhbmNlL2F6dXJlTGFyZ2VJbnN0YW5jZXMve2F6dXJlTGFyZ2VJbnN0YW5jZU5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Path.azureLargeInstanceName" options="instance-name name n" required="True" group="" idPart="name">
<help short="Name of the AzureLargeInstance."/>
<format pattern=".*"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="AzureLargeInstance_Delete">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstances/{azureLargeInstanceName}">
<request method="delete">
<path>
<param type="string" name="azureLargeInstanceName" arg="$Path.azureLargeInstanceName" required="True">
<format pattern=".*"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-08-01-preview&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200"/>
<response statusCode="204"/>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
</command>
<command name="create" version="2024-08-01-preview" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurelargeinstance/azurelargeinstances/{}" version="2024-08-01-preview" swagger="mgmt-plane/azurelargeinstance/ResourceProviders/Microsoft.AzureLargeInstance/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVMYXJnZUluc3RhbmNlL2F6dXJlTGFyZ2VJbnN0YW5jZXMve2F6dXJlTGFyZ2VJbnN0YW5jZU5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"/>
<argGroup name="">
Expand All @@ -202,71 +243,70 @@
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<argGroup name="HardwareProfile">
<arg type="string" var="$resource.properties.hardwareProfile.azureLargeInstanceSize" options="azure-large-instance-size sku" group="HardwareProfile">
<help short="Specifies the Azure Large Instance SKU."/>
<enum>
<item name="S112" value="&quot;S112&quot;"/>
<item name="S144" value="&quot;S144&quot;"/>
<item name="S144m" value="&quot;S144m&quot;"/>
<item name="S192" value="&quot;S192&quot;"/>
<item name="S192m" value="&quot;S192m&quot;"/>
<item name="S192xm" value="&quot;S192xm&quot;"/>
<item name="S224" value="&quot;S224&quot;"/>
<item name="S224m" value="&quot;S224m&quot;"/>
<item name="S224om" value="&quot;S224om&quot;"/>
<item name="S224oo" value="&quot;S224oo&quot;"/>
<item name="S224oom" value="&quot;S224oom&quot;"/>
<item name="S224ooo" value="&quot;S224ooo&quot;"/>
<item name="S224se" value="&quot;S224se&quot;"/>
<item name="S384" value="&quot;S384&quot;"/>
<item name="S384m" value="&quot;S384m&quot;"/>
<item name="S384xm" value="&quot;S384xm&quot;"/>
<item name="S384xxm" value="&quot;S384xxm&quot;"/>
<item name="S448" value="&quot;S448&quot;"/>
<item name="S448m" value="&quot;S448m&quot;"/>
<item name="S448om" value="&quot;S448om&quot;"/>
<item name="S448oo" value="&quot;S448oo&quot;"/>
<item name="S448oom" value="&quot;S448oom&quot;"/>
<item name="S448ooo" value="&quot;S448ooo&quot;"/>
<item name="S448se" value="&quot;S448se&quot;"/>
<item name="S576m" value="&quot;S576m&quot;"/>
<item name="S576xm" value="&quot;S576xm&quot;"/>
<item name="S672" value="&quot;S672&quot;"/>
<item name="S672m" value="&quot;S672m&quot;"/>
<item name="S672om" value="&quot;S672om&quot;"/>
<item name="S672oo" value="&quot;S672oo&quot;"/>
<item name="S672oom" value="&quot;S672oom&quot;"/>
<item name="S672ooo" value="&quot;S672ooo&quot;"/>
<item name="S72" value="&quot;S72&quot;"/>
<item name="S72m" value="&quot;S72m&quot;"/>
<item name="S768" value="&quot;S768&quot;"/>
<item name="S768m" value="&quot;S768m&quot;"/>
<item name="S768xm" value="&quot;S768xm&quot;"/>
<item name="S896" value="&quot;S896&quot;"/>
<item name="S896m" value="&quot;S896m&quot;"/>
<item name="S896om" value="&quot;S896om&quot;"/>
<item name="S896oo" value="&quot;S896oo&quot;"/>
<item name="S896oom" value="&quot;S896oom&quot;"/>
<item name="S896ooo" value="&quot;S896ooo&quot;"/>
<item name="S96" value="&quot;S96&quot;"/>
<item name="S960m" value="&quot;S960m&quot;"/>
</enum>
</arg>
<arg type="string" var="$resource.properties.hardwareProfile.hardwareType" options="hardware-type" group="HardwareProfile">
<help short="Name of the hardware type (vendor and/or their product name)"/>
<enum>
<item name="Cisco_UCS" value="&quot;Cisco_UCS&quot;"/>
<item name="HPE" value="&quot;HPE&quot;"/>
<item name="SDFLEX" value="&quot;SDFLEX&quot;"/>
</enum>
</arg>
</argGroup>
<argGroup name="Properties">
<arg type="string" var="$resource.properties.azureLargeInstanceId" options="instance-id ali-id" group="Properties">
<help short="Specifies the Azure Large Instance unique ID."/>
</arg>
<arg type="object" var="$resource.properties.hardwareProfile" options="hardware-profile" group="Properties">
<help short="Specifies the hardware settings for the Azure Large Instance."/>
<arg type="string" var="$resource.properties.hardwareProfile.azureLargeInstanceSize" options="azure-large-instance-size">
<help short="Specifies the Azure Large Instance SKU."/>
<enum>
<item name="S112" value="&quot;S112&quot;"/>
<item name="S144" value="&quot;S144&quot;"/>
<item name="S144m" value="&quot;S144m&quot;"/>
<item name="S192" value="&quot;S192&quot;"/>
<item name="S192m" value="&quot;S192m&quot;"/>
<item name="S192xm" value="&quot;S192xm&quot;"/>
<item name="S224" value="&quot;S224&quot;"/>
<item name="S224m" value="&quot;S224m&quot;"/>
<item name="S224om" value="&quot;S224om&quot;"/>
<item name="S224oo" value="&quot;S224oo&quot;"/>
<item name="S224oom" value="&quot;S224oom&quot;"/>
<item name="S224ooo" value="&quot;S224ooo&quot;"/>
<item name="S224se" value="&quot;S224se&quot;"/>
<item name="S384" value="&quot;S384&quot;"/>
<item name="S384m" value="&quot;S384m&quot;"/>
<item name="S384xm" value="&quot;S384xm&quot;"/>
<item name="S384xxm" value="&quot;S384xxm&quot;"/>
<item name="S448" value="&quot;S448&quot;"/>
<item name="S448m" value="&quot;S448m&quot;"/>
<item name="S448om" value="&quot;S448om&quot;"/>
<item name="S448oo" value="&quot;S448oo&quot;"/>
<item name="S448oom" value="&quot;S448oom&quot;"/>
<item name="S448ooo" value="&quot;S448ooo&quot;"/>
<item name="S448se" value="&quot;S448se&quot;"/>
<item name="S576m" value="&quot;S576m&quot;"/>
<item name="S576xm" value="&quot;S576xm&quot;"/>
<item name="S672" value="&quot;S672&quot;"/>
<item name="S672m" value="&quot;S672m&quot;"/>
<item name="S672om" value="&quot;S672om&quot;"/>
<item name="S672oo" value="&quot;S672oo&quot;"/>
<item name="S672oom" value="&quot;S672oom&quot;"/>
<item name="S672ooo" value="&quot;S672ooo&quot;"/>
<item name="S72" value="&quot;S72&quot;"/>
<item name="S72m" value="&quot;S72m&quot;"/>
<item name="S768" value="&quot;S768&quot;"/>
<item name="S768m" value="&quot;S768m&quot;"/>
<item name="S768xm" value="&quot;S768xm&quot;"/>
<item name="S896" value="&quot;S896&quot;"/>
<item name="S896m" value="&quot;S896m&quot;"/>
<item name="S896om" value="&quot;S896om&quot;"/>
<item name="S896oo" value="&quot;S896oo&quot;"/>
<item name="S896oom" value="&quot;S896oom&quot;"/>
<item name="S896ooo" value="&quot;S896ooo&quot;"/>
<item name="S96" value="&quot;S96&quot;"/>
<item name="S960m" value="&quot;S960m&quot;"/>
</enum>
</arg>
<arg type="string" var="$resource.properties.hardwareProfile.hardwareType" options="hardware-type">
<help short="Name of the hardware type (vendor and/or their product name)"/>
<enum>
<item name="Cisco_UCS" value="&quot;Cisco_UCS&quot;"/>
<item name="HPE" value="&quot;HPE&quot;"/>
<item name="SDFLEX" value="&quot;SDFLEX&quot;"/>
</enum>
</arg>
</arg>
<arg type="string" var="$resource.properties.hwRevision" options="hw-revision" group="Properties">
<help short="Hardware revision of an Azure Large Instance"/>
</arg>
Expand Down Expand Up @@ -366,7 +406,7 @@
<prop type="ResourceLocation" name="location" arg="$resource.location" required="True"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="string" name="azureLargeInstanceId" arg="$resource.properties.azureLargeInstanceId"/>
<prop type="object" name="hardwareProfile" arg="$resource.properties.hardwareProfile">
<prop type="object" name="hardwareProfile">
<prop type="string" name="azureLargeInstanceSize" arg="$resource.properties.hardwareProfile.azureLargeInstanceSize">
<enum>
<item value="&quot;S112&quot;"/>
Expand Down Expand Up @@ -630,47 +670,6 @@
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="delete" version="2024-08-01-preview" confirmation="Are you sure you want to perform this operation?">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurelargeinstance/azurelargeinstances/{}" version="2024-08-01-preview" swagger="mgmt-plane/azurelargeinstance/ResourceProviders/Microsoft.AzureLargeInstance/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVMYXJnZUluc3RhbmNlL2F6dXJlTGFyZ2VJbnN0YW5jZXMve2F6dXJlTGFyZ2VJbnN0YW5jZU5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Path.azureLargeInstanceName" options="instance-name name n" required="True" group="" idPart="name">
<help short="Name of the AzureLargeInstance."/>
<format pattern=".*"/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="AzureLargeInstance_Delete">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstances/{azureLargeInstanceName}">
<request method="delete">
<path>
<param type="string" name="azureLargeInstanceName" arg="$Path.azureLargeInstanceName" required="True">
<format pattern=".*"/>
</param>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format maxLength="90" minLength="1"/>
</param>
<param type="uuid" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-08-01-preview&quot;"/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200"/>
<response statusCode="204"/>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
</command>
<command name="update" version="2024-08-01-preview" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurelargeinstance/azurelargeinstances/{}" version="2024-08-01-preview" swagger="mgmt-plane/azurelargeinstance/ResourceProviders/Microsoft.AzureLargeInstance/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVMYXJnZUluc3RhbmNlL2F6dXJlTGFyZ2VJbnN0YW5jZXMve2F6dXJlTGFyZ2VJbnN0YW5jZU5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"/>
<argGroup name="">
Expand All @@ -687,7 +686,7 @@
</arg>
<arg nullable="True" type="object" var="$resource.properties.hardwareProfile" options="hardware-profile" hide="True" group="Properties">
<help short="Specifies the hardware settings for the Azure Large Instance."/>
<arg nullable="True" type="string" var="$resource.properties.hardwareProfile.azureLargeInstanceSize" options="azure-large-instance-size">
<arg nullable="True" type="string" var="$resource.properties.hardwareProfile.azureLargeInstanceSize" options="azure-large-instance-size sku" group="">
<help short="Specifies the Azure Large Instance SKU."/>
<enum>
<item name="S112" value="&quot;S112&quot;"/>
Expand Down Expand Up @@ -737,7 +736,7 @@
<item name="S960m" value="&quot;S960m&quot;"/>
</enum>
</arg>
<arg nullable="True" type="string" var="$resource.properties.hardwareProfile.hardwareType" options="hardware-type">
<arg nullable="True" type="string" var="$resource.properties.hardwareProfile.hardwareType" options="hardware-type" hide="True" group="HardwareProfile">
<help short="Name of the hardware type (vendor and/or their product name)"/>
<enum>
<item name="Cisco_UCS" value="&quot;Cisco_UCS&quot;"/>
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit aea05c5

Please sign in to comment.