Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

na_cloudmanager_connector_azure

Chris Archibald edited this page Apr 8, 2021 · 1 revision
orphan:

netapp.cloudmanager.na_cloudmanager_connector_azure -- NetApp Cloud Manager connector for Azure.

Note

This plugin is part of the netapp.cloudmanager collection (version 21.4.0).

To install it use: ansible-galaxy collection install netapp.cloudmanager.

To use it in a playbook, specify: netapp.cloudmanager.na_cloudmanager_connector_azure.

.. versionadded:: 21.4.0 of netapp.cloudmanager

  • Create or delete Cloud Manager connector for Azure.
Parameter Choices/Defaults Comments
account_id
string
The NetApp tenancy account ID.
admin_password
string / required
The password for the Connector.
admin_username
string / required
The user name for the Connector.
associate_public_ip_address
boolean
    Choices:
  • no
  • yes ←
Indicates whether to associate the public IP address to the virtual machine.
client_id
string
The unique client ID of the Connector.
company
string / required
The name of the company of the user.
location
string / required
The location where the Cloud Manager Connector will be created.
name
string / required
The name of the Cloud Manager connector for Azure to manage.
network_security_group_name
string / required
The name of the security group for the deployment.
network_security_resource_group
string
The resource group in Azure associated with the security group.
If not provided, its assumed that the security group is within the previously specified resource group.
proxy_certificates
list / elements=string
The proxy certificates, a list of certificate file names.
proxy_password
string
The proxy password, if using a proxy to connect to the internet.
proxy_url
string
The proxy URL, if using a proxy to connect to the internet.
proxy_user_name
string
The proxy user name, if using a proxy to connect to the internet.
refresh_token
string / required
The refresh token for NetApp Cloud Manager API operations.
resource_group
string / required
The resource group in Azure where the resources will be created.
state
string
    Choices:
  • present ←
  • absent
Whether the specified Cloud Manager connector for Azure should exist or not.
subnet_id
string / required
The name of the subnet for the virtual machine.
subscription_id
string / required
The ID of the Azure subscription.
virtual_machine_size
string
Default:
"Standard_D2s_v3"
The virtual machine type. (for example, Standard_D2s_v3).
At least 4 CPU and 16 GB of memory are required.
vnet_id
string / required
The name of the virtual network.
vnet_resource_group
string
The resource group in Azure associated with the virtual network.
If not provided, its assumed that the VNet is within the previously specified resource group.

Note

  • The modules prefixed with cloudmanager_netapp are built to Manage AWS/GCP/Azure CLOUDMANAGER.
- name: Create NetApp Cloud Manager connector for Azure.
  netapp.cloudmanager.na_cloudmanager_connector_azure:
    state: present
    refresh_token: "{{ xxxxxxxxxxxxxxx }}"
    name: bsuhas_ansible_occm
    location: westus
    resource_group: occm_group_westus
    subnet_id: subnetxxxxx
    vnet_id: Vnetxxxxx
    subscription_id: "{{ xxxxxxxxxxxxxxxxx }}"
    security_group_ids: [sg-xxxxxxxxxxx]
    iam_instance_profile_name: OCCM_AUTOMATION
    account_id: "{{ account-xxxxxxx }}"
    company: NetApp
    admin_password: Netapp123456
    admin_username: bsuhas
    network_security_group_name: OCCM_SG
    proxy_url: abc.com
    proxy_user_name: xyz
    proxy_password: abcxyz
    proxy_certificates: [abc.crt.txt, xyz.crt.txt]

- name: Delete NetApp Cloud Manager connector for Azure.
  netapp.cloudmanager.na_cloudmanager_connector_azure:
    state: absent
    name: ansible
    location: westus
    resource_group: occm_group_westus
    network_security_group_name: OCCM_SG
    subnet_id: subnetxxxxx
    company: NetApp
    admin_password: Netapp123456
    admin_username: bsuhas
    vnet_id: Vnetxxxxx
    subscription_id: "{{ xxxxxxxxxxxxxxxxx }}"
    client_id: xxxxxxxxxxxxxxxxxxx

Common return values are documented :ref:`here <common_return_values>`, the following are the fields unique to this module:

Key Returned Description
msg
string
success
Newly created Azure connector id in cloud manager.

Sample:
xxxxxxxxxxxxxxxx


Authors