Format azure_rm_snapshot document (#64579)

This commit is contained in:
Fred-sun 2019-11-09 05:05:25 +08:00 committed by Sandra McCann
parent 0b8b84c16f
commit cc2e48a40e

View file

@ -17,9 +17,9 @@ DOCUMENTATION = '''
---
module: azure_rm_snapshot
version_added: '2.9'
short_description: Manage Azure Snapshot instance.
short_description: Manage Azure Snapshot instance
description:
- 'Create, update and delete instance of Azure Snapshot.'
- Create, update and delete instance of Azure Snapshot.
options:
resource_group:
description:
@ -28,15 +28,15 @@ options:
type: str
name:
description:
- Resource name
- Resource name.
type: str
location:
description:
- Resource location
- Resource location.
type: str
sku:
description:
- SKU
- The snapshots SKU.
type: dict
suboptions:
name:
@ -60,9 +60,8 @@ options:
- Windows
creation_data:
description:
- >-
Disk source information. CreationData information cannot be changed
after the disk has been created.
- Disk source information.
- CreationData information cannot be changed after the disk has been created.
type: dict
suboptions:
create_option:
@ -74,16 +73,12 @@ options:
- Import
source_uri:
description:
- >-
If createOption is Import, this is the URI of a blob to be imported
into a managed disk.
- If I(createOption=Import), this is the URI of a blob to be imported into a managed disk.
type: str
state:
description:
- Assert the state of the Snapshot.
- >-
Use C(present) to create or update an Snapshot and C(absent) to delete
it.
- Use C(present) to create or update an Snapshot and C(absent) to delete it.
default: present
type: str
choices:
@ -111,7 +106,7 @@ EXAMPLES = '''
RETURN = '''
id:
description:
- Resource Id
- Resource ID.
returned: always
type: str
sample: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot