Update azure_rm_batchaccount's document (#64490)
This commit is contained in:
parent
1e4230c0e7
commit
beaf9c25d8
1 changed files with 29 additions and 24 deletions
|
@ -28,7 +28,7 @@ DOCUMENTATION = '''
|
|||
---
|
||||
module: azure_rm_batchaccount
|
||||
version_added: "2.9"
|
||||
short_description: Manages a Batch Account on Azure.
|
||||
short_description: Manages a Batch Account on Azure
|
||||
description:
|
||||
- Create, update and delete instance of Azure Batch Account.
|
||||
|
||||
|
@ -37,27 +37,30 @@ options:
|
|||
description:
|
||||
- The name of the resource group in which to create the Batch Account.
|
||||
required: true
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- The name of the Batch Account.
|
||||
required: true
|
||||
type: str
|
||||
location:
|
||||
description:
|
||||
- Specifies the supported Azure location where the resource exists.
|
||||
type: str
|
||||
auto_storage_account:
|
||||
description:
|
||||
- Existing storage account with which to associate the Batch Account.
|
||||
- It can be the storage account name which is in the same resource group.
|
||||
- "It can be the storage account ID. e.g.,
|
||||
/subscriptions/{subscription_id}/resourceGroups/{resource_group}/providers/Microsoft.Storage/storageAccounts/{name}."
|
||||
- It can be a dict which contains C(name) and C(resource_group) of the storage account.
|
||||
- It can be the storage account ID. Fox example "/subscriptions/{subscription_id}/resourceGroups/
|
||||
{resource_group}/providers/Microsoft.Storage/storageAccounts/{name}".
|
||||
- It can be a dict which contains I(name) and I(resource_group) of the storage account.
|
||||
key_vault:
|
||||
description:
|
||||
- Existing key vault with which to associate the Batch Account.
|
||||
- It can be the key vault name which is in the same resource group.
|
||||
- "It can be the key vault ID. e.g.,
|
||||
/subscriptions/{subscription_id}/resourceGroups/{resource_group}/providers/Microsoft.KeyVault/vaults/{name}."
|
||||
- It can be a dict which contains C(name) and C(resource_group) of the key vault.
|
||||
- It can be the key vault ID. For example "/subscriptions/{subscription_id}/resourceGroups/
|
||||
{resource_group}/providers/Microsoft.KeyVault/vaults/{name}".
|
||||
- It can be a dict which contains I(name) and I(resource_group) of the key vault.
|
||||
pool_allocation_mode:
|
||||
description:
|
||||
- The pool acclocation mode of the Batch Account.
|
||||
|
@ -65,11 +68,13 @@ options:
|
|||
choices:
|
||||
- batch_service
|
||||
- user_subscription
|
||||
type: str
|
||||
state:
|
||||
description:
|
||||
- Assert the state of the Batch Account.
|
||||
- Use 'present' to create or update a Batch Account and 'absent' to delete it.
|
||||
- Use C(present) to create or update a Batch Account and C(absent) to delete it.
|
||||
default: present
|
||||
type: str
|
||||
choices:
|
||||
- present
|
||||
- absent
|
||||
|
@ -79,7 +84,7 @@ extends_documentation_fragment:
|
|||
- azure_tags
|
||||
|
||||
author:
|
||||
- "Junyi Yi (@JunyiYi)"
|
||||
- Junyi Yi (@JunyiYi)
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
|
Loading…
Reference in a new issue