mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-06 00:14:02 -07:00
use the same C() everywhere for absent / present options (#52610)
* use the same C() everywhere for absent / present options * Update lib/ansible/modules/cloud/azure/azure_rm_cdnendpoint.py * Update lib/ansible/modules/cloud/azure/azure_rm_resourcegroup.py * Update lib/ansible/modules/cloud/azure/azure_rm_cdnendpoint.py * Update lib/ansible/modules/cloud/azure/azure_rm_cdnendpoint.py Co-Authored-By: zikalino <zikalino@microsoft.com>
This commit is contained in:
parent
a722133640
commit
053081a8a0
42 changed files with 70 additions and 70 deletions
|
@ -69,7 +69,7 @@ options:
|
|||
- Set the blob md5 hash value.
|
||||
dest:
|
||||
description:
|
||||
- Destination file path. Use with state 'present' to download a blob.
|
||||
- Destination file path. Use with state C(present) to download a blob.
|
||||
aliases:
|
||||
- destination
|
||||
force:
|
||||
|
@ -86,16 +86,16 @@ options:
|
|||
- resource_group_name
|
||||
src:
|
||||
description:
|
||||
- Source file path. Use with state 'present' to upload a blob.
|
||||
- Source file path. Use with state C(present) to upload a blob.
|
||||
aliases:
|
||||
- source
|
||||
state:
|
||||
description:
|
||||
- Assert the state of a container or blob.
|
||||
- Use state 'absent' with a container value only to delete a container. Include a blob value to remove
|
||||
- Use state C(absent) with a container value only to delete a container. Include a blob value to remove
|
||||
a specific blob. A container will not be deleted, if it contains blobs. Use the force option to override,
|
||||
deleting the container and all associated blobs.
|
||||
- Use state 'present' to create or update a container and upload or download a blob. If the container
|
||||
- Use state C(present) to create or update a container and upload or download a blob. If the container
|
||||
does not exist, it will be created. If it exists, it will be updated with configuration options. Provide
|
||||
a blob name and either src or dest to upload or download. Provide a src path to upload and a dest path
|
||||
to download. If a blob (uploading) or a file (downloading) already exists, it will not be overwritten
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue