3.0.0 • Published 5 years ago
@datafire/azure_storage_managementpolicy v3.0.0
@datafire/azure_storage_managementpolicy
Client library for StorageManagementClient
Installation and Usage
npm install --save @datafire/azure_storage_managementpolicy
let azure_storage_managementpolicy = require('@datafire/azure_storage_managementpolicy').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Description
The Azure Storage Management API.
Actions
ManagementPolicies_Delete
Deletes the data policy rules associated with the specified storage account.
azure_storage_managementpolicy.ManagementPolicies_Delete({
"resourceGroupName": "",
"accountName": "",
"api-version": "",
"subscriptionId": "",
"managementPolicyName": ""
}, context)
Input
- input
object
- resourceGroupName required
string
: The name of the resource group within the user's subscription. The name is case insensitive. - accountName required
string
: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. - api-version required
string
: The API version to use for this operation. - subscriptionId required
string
: The ID of the target subscription. - managementPolicyName required
string
(values: default): The name of the Storage Account Management Policy. It should always be 'default'
- resourceGroupName required
Output
Output schema unknown
ManagementPolicies_Get
Gets the data policy rules associated with the specified storage account.
azure_storage_managementpolicy.ManagementPolicies_Get({
"resourceGroupName": "",
"accountName": "",
"api-version": "",
"subscriptionId": "",
"managementPolicyName": ""
}, context)
Input
- input
object
- resourceGroupName required
string
: The name of the resource group within the user's subscription. The name is case insensitive. - accountName required
string
: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. - api-version required
string
: The API version to use for this operation. - subscriptionId required
string
: The ID of the target subscription. - managementPolicyName required
string
(values: default): The name of the Storage Account Management Policy. It should always be 'default'
- resourceGroupName required
Output
ManagementPolicies_CreateOrUpdate
Sets the data policy rules associated with the specified storage account.
azure_storage_managementpolicy.ManagementPolicies_CreateOrUpdate({
"resourceGroupName": "",
"accountName": "",
"api-version": "",
"subscriptionId": "",
"managementPolicyName": "",
"properties": null
}, context)
Input
- input
object
- resourceGroupName required
string
: The name of the resource group within the user's subscription. The name is case insensitive. - accountName required
string
: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. - api-version required
string
: The API version to use for this operation. - subscriptionId required
string
: The ID of the target subscription. - managementPolicyName required
string
(values: default): The name of the Storage Account Management Policy. It should always be 'default' - properties required ManagementPoliciesRulesSetParameter
- resourceGroupName required
Output
Definitions
ManagementPoliciesRules
- ManagementPoliciesRules
object
: The Storage Account ManagementPolicies Rules, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.- policy
object
: The Storage Account ManagementPolicies Rules, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- policy
ManagementPoliciesRulesSetParameter
- ManagementPoliciesRulesSetParameter
object
: The Storage Account ManagementPolicies Rules, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.- properties ManagementPoliciesRules
StorageAccountManagementPolicies
- StorageAccountManagementPolicies
object
: The Get Storage Account ManagementPolicies operation response.- properties StorageAccountManagementPoliciesRulesProperty
- id
string
: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - name
string
: The name of the resource - type
string
: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
StorageAccountManagementPoliciesRulesProperty
- StorageAccountManagementPoliciesRulesProperty
object
: The Storage Account Data Policies properties.- lastModifiedTime
string
: Returns the date and time the ManagementPolicies was last modified. - policy
object
: The Storage Account ManagementPolicies Rules, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
- lastModifiedTime
3.0.0
5 years ago