Skip to content

Commit

Permalink
Adding missing updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwin Jeyaseelan committed Sep 11, 2024
1 parent 46dea3c commit 5de1219
Show file tree
Hide file tree
Showing 7 changed files with 308 additions and 305 deletions.
2 changes: 1 addition & 1 deletion Commands/baremetalinstance/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ Create an Azure Bare Metal Instance for the specified subscription, resource gro

- Create a compute resource
```bash
baremetalinstance create --resource-group myResourceGroup --instance-name myBMIInstance --location westus --sku S72
baremetalinstance create -g myResourceGroup -name myBMIInstance --location westus --bmi-id 23415635-4d7e-41dc-9598-8194f22c24e1 --hw-revision Rev 3 --hardware-profile "{hardware-type:Cisco_UCS,azure-bare-metal-instance-size:S72}"
```
2 changes: 1 addition & 1 deletion Commands/baremetalstorageinstance/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ Create an Azure Bare Metal Storage Instance for the specified subscription, reso

- Create a storage resource
```bash
baremetalstorageinstance create -g myResourceGroup -n myAzureBareMetalStorageInstance --location westus2 --sku S72
baremetalstorageinstance create -g myResourceGroup -n myAzureBareMetalStorageInstance --location westus2 --tags "{key:value}" --bmsi-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,azure-bare-metal-storage-instance-size:}}"
```
4 changes: 2 additions & 2 deletions Commands/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -11180,7 +11180,7 @@
"examples": [
{
"commands": [
"baremetalinstance create --resource-group myResourceGroup --instance-name myBMIInstance --location westus --sku S72"
"baremetalinstance create -g myResourceGroup -name myBMIInstance --location westus --bmi-id 23415635-4d7e-41dc-9598-8194f22c24e1 --hw-revision Rev 3 --hardware-profile \"{hardware-type:Cisco_UCS,azure-bare-metal-instance-size:S72}\""
],
"name": "Create a compute resource"
}
Expand Down Expand Up @@ -11451,7 +11451,7 @@
"examples": [
{
"commands": [
"baremetalstorageinstance create -g myResourceGroup -n myAzureBareMetalStorageInstance --location westus2 --sku S72"
"baremetalstorageinstance create -g myResourceGroup -n myAzureBareMetalStorageInstance --location westus2 --tags \"{key:value}\" --bmsi-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,azure-bare-metal-storage-instance-size:}}\""
],
"name": "Create a storage resource"
}
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,46 @@
<arg type="string" var="$requestBodyParameters.properties.azureBareMetalStorageInstanceUniqueIdentifier" options="instance-id bmsi-id" group="Properties">
<help short="Specifies the AzureBareMetaStorageInstance unique ID."/>
</arg>
<arg type="object" var="$requestBodyParameters.properties.storageProperties" options="storage-properties" group="Properties">
<help short="Specifies the storage properties for the AzureBareMetalStorage instance."/>
<arg type="string" var="$requestBodyParameters.properties.storageProperties.generation" options="generation">
<help short="the kind of storage instance"/>
</arg>
<arg type="string" var="$requestBodyParameters.properties.storageProperties.hardwareType" options="hardware-type">
<help short="the hardware type of the storage instance"/>
</arg>
<arg type="string" var="$requestBodyParameters.properties.storageProperties.offeringType" options="offering-type">
<help short="the offering type for which the resource is getting provisioned"/>
</arg>
<arg type="string" var="$requestBodyParameters.properties.storageProperties.provisioningState" options="provisioning-state">
<help short="State of provisioning of the AzureBareMetalStorageInstance"/>
<enum>
<item name="Accepted" value="&quot;Accepted&quot;"/>
<item name="Canceled" value="&quot;Canceled&quot;"/>
<item name="Creating" value="&quot;Creating&quot;"/>
<item name="Deleting" value="&quot;Deleting&quot;"/>
<item name="Failed" value="&quot;Failed&quot;"/>
<item name="Migrating" value="&quot;Migrating&quot;"/>
<item name="Succeeded" value="&quot;Succeeded&quot;"/>
<item name="Updating" value="&quot;Updating&quot;"/>
</enum>
</arg>
<arg type="object" var="$requestBodyParameters.properties.storageProperties.storageBillingProperties" options="storage-billing-properties">
<help short="the billing related information for the resource"/>
<arg type="string" var="$requestBodyParameters.properties.storageProperties.storageBillingProperties.azureBareMetalStorageInstanceSize" options="azure-bare-metal-storage-instance-size">
<help short="the SKU type that is provisioned"/>
</arg>
<arg type="string" var="$requestBodyParameters.properties.storageProperties.storageBillingProperties.billingMode" options="billing-mode">
<help short="the billing mode for the storage instance"/>
</arg>
</arg>
<arg type="string" var="$requestBodyParameters.properties.storageProperties.storageType" options="storage-type">
<help short="the storage protocol for which the resource is getting provisioned"/>
</arg>
<arg type="string" var="$requestBodyParameters.properties.storageProperties.workloadType" options="workload-type">
<help short="the workload for which the resource is getting provisioned"/>
</arg>
</arg>
</argGroup>
<argGroup name="RequestBodyParameters">
<arg type="object" var="$requestBodyParameters.identity" options="identity" group="RequestBodyParameters">
Expand All @@ -196,44 +236,6 @@
</additionalProp>
</arg>
</argGroup>
<argGroup name="StorageBillingProperties">
<arg type="string" var="$requestBodyParameters.properties.storageProperties.storageBillingProperties.azureBareMetalStorageInstanceSize" options="azure-bare-metal-storage-instance-size sku" group="StorageBillingProperties">
<help short="the SKU type that is provisioned"/>
</arg>
<arg type="string" var="$requestBodyParameters.properties.storageProperties.storageBillingProperties.billingMode" options="billing-mode" group="StorageBillingProperties">
<help short="the billing mode for the storage instance"/>
</arg>
</argGroup>
<argGroup name="StorageProperties">
<arg type="string" var="$requestBodyParameters.properties.storageProperties.generation" options="generation" group="StorageProperties">
<help short="the kind of storage instance"/>
</arg>
<arg type="string" var="$requestBodyParameters.properties.storageProperties.hardwareType" options="hardware-type" group="StorageProperties">
<help short="the hardware type of the storage instance"/>
</arg>
<arg type="string" var="$requestBodyParameters.properties.storageProperties.offeringType" options="offering-type" group="StorageProperties">
<help short="the offering type for which the resource is getting provisioned"/>
</arg>
<arg type="string" var="$requestBodyParameters.properties.storageProperties.provisioningState" options="provisioning-state" group="StorageProperties">
<help short="State of provisioning of the AzureBareMetalStorageInstance"/>
<enum>
<item name="Accepted" value="&quot;Accepted&quot;"/>
<item name="Canceled" value="&quot;Canceled&quot;"/>
<item name="Creating" value="&quot;Creating&quot;"/>
<item name="Deleting" value="&quot;Deleting&quot;"/>
<item name="Failed" value="&quot;Failed&quot;"/>
<item name="Migrating" value="&quot;Migrating&quot;"/>
<item name="Succeeded" value="&quot;Succeeded&quot;"/>
<item name="Updating" value="&quot;Updating&quot;"/>
</enum>
</arg>
<arg type="string" var="$requestBodyParameters.properties.storageProperties.storageType" options="storage-type" group="StorageProperties">
<help short="the storage protocol for which the resource is getting provisioned"/>
</arg>
<arg type="string" var="$requestBodyParameters.properties.storageProperties.workloadType" options="workload-type" group="StorageProperties">
<help short="the workload for which the resource is getting provisioned"/>
</arg>
</argGroup>
<operation operationId="AzureBareMetalStorageInstances_Create">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalStorageInstances/{azureBareMetalStorageInstanceName}">
<request method="put">
Expand Down Expand Up @@ -266,7 +268,7 @@
<prop type="ResourceLocation" name="location" arg="$requestBodyParameters.location" required="True"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="string" name="azureBareMetalStorageInstanceUniqueIdentifier" arg="$requestBodyParameters.properties.azureBareMetalStorageInstanceUniqueIdentifier"/>
<prop type="object" name="storageProperties">
<prop type="object" name="storageProperties" arg="$requestBodyParameters.properties.storageProperties">
<prop type="string" name="generation" arg="$requestBodyParameters.properties.storageProperties.generation"/>
<prop type="string" name="hardwareType" arg="$requestBodyParameters.properties.storageProperties.hardwareType"/>
<prop type="string" name="offeringType" arg="$requestBodyParameters.properties.storageProperties.offeringType"/>
Expand All @@ -282,7 +284,7 @@
<item value="&quot;Updating&quot;"/>
</enum>
</prop>
<prop type="object" name="storageBillingProperties">
<prop type="object" name="storageBillingProperties" arg="$requestBodyParameters.properties.storageProperties.storageBillingProperties">
<prop type="string" name="azureBareMetalStorageInstanceSize" arg="$requestBodyParameters.properties.storageProperties.storageBillingProperties.azureBareMetalStorageInstanceSize"/>
<prop type="string" name="billingMode" arg="$requestBodyParameters.properties.storageProperties.storageBillingProperties.billingMode"/>
</prop>
Expand Down Expand Up @@ -427,7 +429,7 @@
</arg>
<arg nullable="True" type="object" var="$requestBodyParameters.properties.storageProperties.storageBillingProperties" options="storage-billing-properties">
<help short="the billing related information for the resource"/>
<arg nullable="True" type="string" var="$requestBodyParameters.properties.storageProperties.storageBillingProperties.azureBareMetalStorageInstanceSize" options="azure-bare-metal-storage-instance-size sku" group="StorageBillingProperties">
<arg nullable="True" type="string" var="$requestBodyParameters.properties.storageProperties.storageBillingProperties.azureBareMetalStorageInstanceSize" options="azure-bare-metal-storage-instance-size">
<help short="the SKU type that is provisioned"/>
</arg>
<arg nullable="True" type="string" var="$requestBodyParameters.properties.storageProperties.storageBillingProperties.billingMode" options="billing-mode">
Expand Down

0 comments on commit 5de1219

Please sign in to comment.