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

Exported model changes for BMI cli version 3.0.0b2 #561

Merged
merged 4 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
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
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 -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}"
baremetalinstance create --resource-group myResourceGroup --instance-name myBMIInstance --location westus --sku 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 --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:}}"
baremetalstorageinstance create -g myResourceGroup -n myAzureBareMetalStorageInstance --location westus2 --sku S72
```
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 -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}\""
"baremetalinstance create --resource-group myResourceGroup --instance-name myBMIInstance --location westus --sku S72"
],
"name": "Create a compute resource"
}
Expand Down Expand Up @@ -11451,7 +11451,7 @@
"examples": [
{
"commands": [
"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:}}\""
"baremetalstorageinstance create -g myResourceGroup -n myAzureBareMetalStorageInstance --location westus2 --sku S72"
],
"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,46 +174,6 @@
<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 @@ -236,6 +196,44 @@
</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 @@ -268,7 +266,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" arg="$requestBodyParameters.properties.storageProperties">
<prop type="object" name="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 @@ -284,7 +282,7 @@
<item value="&quot;Updating&quot;"/>
</enum>
</prop>
<prop type="object" name="storageBillingProperties" arg="$requestBodyParameters.properties.storageProperties.storageBillingProperties">
<prop type="object" name="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 @@ -429,7 +427,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">
<arg nullable="True" 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 nullable="True" type="string" var="$requestBodyParameters.properties.storageProperties.storageBillingProperties.billingMode" options="billing-mode">
Expand Down
Loading