|
|
@ -17,7 +17,7 @@ DOCUMENTATION = '''
|
|
|
|
---
|
|
|
|
---
|
|
|
|
module: azure_rm_containerinstance
|
|
|
|
module: azure_rm_containerinstance
|
|
|
|
version_added: "2.5"
|
|
|
|
version_added: "2.5"
|
|
|
|
short_description: Manage an Azure Container Instance.
|
|
|
|
short_description: Manage an Azure Container Instance
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Create, update and delete an Azure Container Instance.
|
|
|
|
- Create, update and delete an Azure Container Instance.
|
|
|
|
|
|
|
|
|
|
|
@ -46,7 +46,8 @@ options:
|
|
|
|
- present
|
|
|
|
- present
|
|
|
|
ip_address:
|
|
|
|
ip_address:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The IP address type of the container group (default is 'none')
|
|
|
|
- The IP address type of the container group.
|
|
|
|
|
|
|
|
- Default is C(none) and creating an instance without public IP.
|
|
|
|
choices:
|
|
|
|
choices:
|
|
|
|
- public
|
|
|
|
- public
|
|
|
|
- none
|
|
|
|
- none
|
|
|
@ -59,6 +60,8 @@ options:
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- List of ports exposed within the container group.
|
|
|
|
- List of ports exposed within the container group.
|
|
|
|
|
|
|
|
- This option is deprecated, using I(ports) under I(containers)".
|
|
|
|
|
|
|
|
type: list
|
|
|
|
location:
|
|
|
|
location:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Valid azure location. Defaults to location of the resource group.
|
|
|
|
- Valid azure location. Defaults to location of the resource group.
|
|
|
@ -87,14 +90,17 @@ options:
|
|
|
|
memory:
|
|
|
|
memory:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The required memory of the containers in GB.
|
|
|
|
- The required memory of the containers in GB.
|
|
|
|
|
|
|
|
type: float
|
|
|
|
default: 1.5
|
|
|
|
default: 1.5
|
|
|
|
cpu:
|
|
|
|
cpu:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The required number of CPU cores of the containers.
|
|
|
|
- The required number of CPU cores of the containers.
|
|
|
|
|
|
|
|
type: float
|
|
|
|
default: 1
|
|
|
|
default: 1
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- List of ports exposed within the container group.
|
|
|
|
- List of ports exposed within the container group.
|
|
|
|
|
|
|
|
type: list
|
|
|
|
environment_variables:
|
|
|
|
environment_variables:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- List of container environment variables.
|
|
|
|
- List of container environment variables.
|
|
|
@ -162,7 +168,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-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ContainerInstance/containerGroups/aci1b6dd89
|
|
|
|
sample: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ContainerInstance/containerGroups/aci1b6dd89
|
|
|
|