AzureBareMetalStorageInstances interface
Interface representing a AzureBareMetalStorageInstances.
Methods
create(string, string, Azure |
Create an azure bare metal storage resource. |
delete(string, string, Azure |
Delete an AzureBareMetalStorageInstance. |
get(string, string, Azure |
Gets an Azure Bare Metal Storage instance for the specified subscription, resource group, and instance name. |
list |
Gets a list of AzureBareMetalStorage instances in the specified subscription and resource group. The operations returns various properties of each Azure Bare Metal Instance. |
list |
Gets a list of AzureBareMetalStorage instances in the specified subscription. The operations returns various properties of each Azure Bare Metal Instance. |
update(string, string, Tags, Azure |
Patches the Tags field of a Azure Bare Metal Storage instance for the specified subscription, resource group, and instance name. |
Method Details
create(string, string, AzureBareMetalStorageInstance, AzureBareMetalStorageInstancesCreateOptionalParams)
Create an azure bare metal storage resource.
function create(resourceGroupName: string, azureBareMetalStorageInstanceName: string, requestBodyParameters: AzureBareMetalStorageInstance, options?: AzureBareMetalStorageInstancesCreateOptionalParams): Promise<AzureBareMetalStorageInstance>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- azureBareMetalStorageInstanceName
-
string
Name of the Azure Bare Metal Storage Instance, also known as the ResourceName.
- requestBodyParameters
- AzureBareMetalStorageInstance
request body for put call
The options parameters.
Returns
Promise<AzureBareMetalStorageInstance>
delete(string, string, AzureBareMetalStorageInstancesDeleteOptionalParams)
Delete an AzureBareMetalStorageInstance.
function delete(resourceGroupName: string, azureBareMetalStorageInstanceName: string, options?: AzureBareMetalStorageInstancesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- azureBareMetalStorageInstanceName
-
string
Name of the Azure Bare Metal Storage Instance, also known as the ResourceName.
The options parameters.
Returns
Promise<void>
get(string, string, AzureBareMetalStorageInstancesGetOptionalParams)
Gets an Azure Bare Metal Storage instance for the specified subscription, resource group, and instance name.
function get(resourceGroupName: string, azureBareMetalStorageInstanceName: string, options?: AzureBareMetalStorageInstancesGetOptionalParams): Promise<AzureBareMetalStorageInstance>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- azureBareMetalStorageInstanceName
-
string
Name of the Azure Bare Metal Storage Instance, also known as the ResourceName.
The options parameters.
Returns
Promise<AzureBareMetalStorageInstance>
listByResourceGroup(string, AzureBareMetalStorageInstancesListByResourceGroupOptionalParams)
Gets a list of AzureBareMetalStorage instances in the specified subscription and resource group. The operations returns various properties of each Azure Bare Metal Instance.
function listByResourceGroup(resourceGroupName: string, options?: AzureBareMetalStorageInstancesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureBareMetalStorageInstance, AzureBareMetalStorageInstance[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(AzureBareMetalStorageInstancesListBySubscriptionOptionalParams)
Gets a list of AzureBareMetalStorage instances in the specified subscription. The operations returns various properties of each Azure Bare Metal Instance.
function listBySubscription(options?: AzureBareMetalStorageInstancesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AzureBareMetalStorageInstance, AzureBareMetalStorageInstance[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, Tags, AzureBareMetalStorageInstancesUpdateOptionalParams)
Patches the Tags field of a Azure Bare Metal Storage instance for the specified subscription, resource group, and instance name.
function update(resourceGroupName: string, azureBareMetalStorageInstanceName: string, tagsParameter: Tags, options?: AzureBareMetalStorageInstancesUpdateOptionalParams): Promise<AzureBareMetalStorageInstance>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- azureBareMetalStorageInstanceName
-
string
Name of the Azure Bare Metal Storage Instance, also known as the ResourceName.
- tagsParameter
- Tags
Request body that only contains the new Tags field
The options parameters.
Returns
Promise<AzureBareMetalStorageInstance>
Azure SDK for JavaScript