Format azure_rm_snapshot document (#64579)

pull/64775/head
Fred-sun 6 years ago committed by Sandra McCann
parent 0b8b84c16f
commit cc2e48a40e

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

Loading…
Cancel
Save