update azure_rm_acs document (#56158)

pull/56256/head
Fred-sun 5 years ago committed by Yunge Zhu
parent 458b473d06
commit fbee506284

@ -16,9 +16,9 @@ DOCUMENTATION = '''
--- ---
module: azure_rm_acs module: azure_rm_acs
version_added: "2.4" version_added: "2.4"
short_description: Manage an Azure Container Service Instance (ACS). short_description: Manage an Azure Container Service(ACS) instance
description: description:
- Create, update and delete an Azure Container Service Instance. - Create, update and delete an Azure Container Service(ACS) instance.
options: options:
resource_group: resource_group:
@ -27,7 +27,7 @@ options:
required: true required: true
name: name:
description: description:
- Name of the Container Services instance. - Name of the Azure Container Services(ACS) instance.
required: true required: true
state: state:
description: description:
@ -41,7 +41,8 @@ options:
- Valid azure location. Defaults to location of the resource group. - Valid azure location. Defaults to location of the resource group.
orchestration_platform: orchestration_platform:
description: description:
- Specifies the Container Orchestration Platform to use. Currently can be either DCOS, Kubernetes or Swarm. - Specifies the Container Orchestration Platform to use. Currently can be either C(DCOS), C(Kubernetes) or C(Swarm).
- The I(service_principal) must be defined if set to C(Kubernetes).
choices: choices:
- 'DCOS' - 'DCOS'
- 'Kubernetes' - 'Kubernetes'
@ -54,7 +55,7 @@ options:
suboptions: suboptions:
count: count:
description: description:
- Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. - Number of masters (VMs) in the container service cluster. Allowed values are C(1), C(3), and C(5).
required: true required: true
choices: choices:
- 1 - 1
@ -62,21 +63,21 @@ options:
- 5 - 5
vm_size: vm_size:
description: description:
- The VM Size of each of the Agent Pool VM's (e.g. Standard_F1 / Standard_D2v2). - The VM Size of each of the Agent Pool VM's (e.g. C(Standard_F1) / C(Standard_D2v2)).
required: true required: true
version_added: 2.5 version_added: 2.5
dns_prefix: dns_prefix:
description: description:
- The DNS Prefix to use for the Container Service master nodes. - The DNS Prefix to use for the Container Service master nodes.
required: true required: true
linux_profile: linux_profile:
description: description:
- The linux profile suboptions. - The Linux profile suboptions.
required: true required: true
suboptions: suboptions:
admin_username: admin_username:
description: description:
- The Admin Username for the Cluster. - The Admin Username for the Cluster.
required: true required: true
ssh_key: ssh_key:
description: description:
@ -89,7 +90,7 @@ options:
suboptions: suboptions:
name: name:
description: description:
- Unique name of the agent pool profile in the context of the subscription and resource group. - Unique name of the agent pool profile in the context of the subscription and resource group.
required: true required: true
count: count:
description: description:
@ -101,11 +102,12 @@ options:
required: true required: true
vm_size: vm_size:
description: description:
- The VM Size of each of the Agent Pool VM's (e.g. Standard_F1 / Standard_D2v2). - The VM Size of each of the Agent Pool VM's (e.g. C(Standard_F1) / C(Standard_D2v2)).
required: true required: true
service_principal: service_principal:
description: description:
- The service principal suboptions. - The service principal suboptions.
- Required when I(orchestration_platform=Kubernetes).
suboptions: suboptions:
client_id: client_id:
description: description:
@ -227,7 +229,7 @@ EXAMPLES = '''
''' '''
RETURN = ''' RETURN = '''
state: state:
description: Current state of the azure container service description: Current state of the Azure Container Service(ACS).
returned: always returned: always
type: dict type: dict
''' '''

Loading…
Cancel
Save