Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New module: azure_rm_expressroute #484

Merged
merged 43 commits into from
Jun 24, 2021

Conversation

praveenghuge
Copy link
Contributor

@praveenghuge praveenghuge commented Apr 8, 2021

SUMMARY
This module introduces a wide variety of configurations for creating an express route on Azure.

Create Express Route on Azure.
Update Express Route on Azure.
Delete Express Route on Azure.
Get Express Route on Azure.
List Express Route in Azure Resource Group.

Fixes #475

ISSUE TYPE

New Module Pull Request

COMPONENT NAME

azure_rm_expressroute

Additional Support:
for express route peering support we need to create resource in ansible https://docs.microsoft.com/en-us/azure/expressroute/expressroute-introduction
created issue #483

ADDITIONAL INFORMATION
This module allows user to create/update or delete the express route. It also provides all the parameters given by https://docs.microsoft.com/en-us/azure/expressroute/expressroute-introduction
More information:

  azure_rm_expressroute:
    location: eastus
    name: expressroute123
    resource_group: resourcegroup12
    allow_classic_operations: true
    global_reach_enabled: false
    tags:
      a: b
    authorizations:
      - name: authorization_test
    service_provider_properties:
      service_provider_name: Aryaka Networks
      peering_location: Seattle
      bandwidth_in_mbps: '200'
    sku:
      tier: premium
      family: metereddata```

@praveenghuge praveenghuge changed the title Expressroute New Module [Expressroute] Apr 8, 2021
@Fred-sun Fred-sun added new_module_pr Add new modules work in In trying to solve, or in working with contributors labels Apr 9, 2021
@Fred-sun
Copy link
Collaborator

Fred-sun commented Apr 9, 2021

@praveenghuge Thank for your contribute! I will review and push for merge!

@praveenghuge
Copy link
Contributor Author

@Fred-sun can you please review

Copy link
Collaborator

@Fred-sun Fred-sun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Fred-sun can you please review

@praveenghuge Thanks for your contribution! I working in this!

plugins/modules/azure_rm_expressroute.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@Fred-sun Fred-sun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@praveenghuge Would you please share the result of you execute the playbook "tests/integration/targets/azure_rm_expressroute/tasks/main.yml"? It will helpful to push merge this PR! Thank you very much!

plugins/modules/azure_rm_expressroute.py Outdated Show resolved Hide resolved
plugins/modules/azure_rm_expressroute.py Show resolved Hide resolved
plugins/modules/azure_rm_expressroute.py Outdated Show resolved Hide resolved
plugins/modules/azure_rm_expressroute.py Outdated Show resolved Hide resolved
plugins/modules/azure_rm_expressroute.py Outdated Show resolved Hide resolved
plugins/modules/azure_rm_expressroute.py Show resolved Hide resolved
plugins/modules/azure_rm_expressroute_info.py Outdated Show resolved Hide resolved
tests/integration/targets/azure_rm_expressroute/aliases Outdated Show resolved Hide resolved
@praveenghuge
Copy link
Contributor Author

praveenghuge commented Apr 20, 2021

playbook

---
 - hosts: localhost
   connection: local
   tasks:

    - name: Create Express route (check mode)
      azure.azcollection.azure_rm_expressroute:

        subscription_id: XXXXX
        tenant: XXXXX
        client_id: XXXX
        secret: XXXX
        resource_group: test
        name: test2
        location: eastus
        state: present
        allow_classic_operations: true
        global_reach_enabled: false
        tags:
                a: b
        authorizations:
                - name: authorization_test
        service_provider_properties:
                service_provider_name: Aryaka Networks
                peering_location: Seattle
                bandwidth_in_mbps: '200'
        sku:
                tier: premium
                family: metereddata
      check_mode: yes

output

changed: [localhost] => {
    "changed": true,
    "check_mode": true,
    "invocation": {
        "module_args": {
            "ad_user": null,
            "adfs_authority_url": null,
            "allow_classic_operations": true,
            "api_profile": "latest",
            "append_tags": true,
            "auth_source": "auto",
            "authorizations": [
                {
                    "name": "authorization_test"
                }
            ],
            "cert_validation_mode": null,
            "client_id": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "cloud_environment": "AzureCloud",
            "global_reach_enabled": false,
            "location": "eastus",
            "name": "test2",
            "password": null,
            "profile": null,
            "resource_group": "test-praveen",
            "secret": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "service_provider_properties": {
                "bandwidth_in_mbps": "200",
                "peering_location": "Seattle",
                "service_provider_name": "Aryaka Networks"
            },
            "sku": {
                "family": "metereddata",
                "tier": "premium"
            },
            "state": "present",
            "subscription_id": "XXXXX",
            "tags": {
                "a": "b"
            },
            "tenant": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
        }
    },
    "state": {}
}
META: ran handlers
META: ran handlers

PLAY RECAP ***************************************************************************************
localhost                  : ok=2    changed=1    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

@praveenghuge
Copy link
Contributor Author

praveenghuge commented Apr 20, 2021

playbook

---
 - hosts: localhost
   connection: local
   tasks:

    - name: Create Express route
      azure.azcollection.azure_rm_expressroute:

        subscription_id: XXXXX
        tenant: XXXXX
        client_id: XXXX
        secret: XXXX
        resource_group: test
        name: test2
        location: eastus
        state: present
        allow_classic_operations: true
        global_reach_enabled: false
        tags:
                a: b
        authorizations:
                - name: authorization_test
        service_provider_properties:
                service_provider_name: Aryaka Networks
                peering_location: Seattle
                bandwidth_in_mbps: '200'
        sku:
                tier: premium
                family: metereddata

output

changed: [localhost] => {
    "changed": true,
    "check_mode": false,
    "invocation": {
        "module_args": {
            "ad_user": null,
            "adfs_authority_url": null,
            "allow_classic_operations": true,
            "api_profile": "latest",
            "append_tags": true,
            "auth_source": "auto",
            "authorizations": [
                {
                    "name": "authorization_test"
                }
            ],
            "cert_validation_mode": null,
            "client_id": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "cloud_environment": "AzureCloud",
            "global_reach_enabled": false,
            "location": "eastus",
            "name": "test2",
            "password": null,
            "profile": null,
            "resource_group": "test-praveen",
            "secret": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "service_provider_properties": {
                "bandwidth_in_mbps": "200",
                "peering_location": "Seattle",
                "service_provider_name": "Aryaka Networks"
            },
            "sku": {
                "family": "metereddata",
                "name": "premium_metereddata",
                "tier": "premium"
            },
            "state": "present",
            "subscription_id": "XXXX",
            "tags": {
                "a": "b"
            },
            "tenant": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
        }
    },
    "state": {
        "additional_properties": {},
        "allow_classic_operations": true,
        "authorizations": [
            {
                "authorization_key": "bbdb6919-ac1a-43a7-ab39-8bfa955ef23f",
                "authorization_use_status": "Available",
                "etag": "W/\"4a3ff51b-12cc-4972-9313-24421edbc855\"",
                "id": "/subscriptions/XxXXX/resourceGroups/test-praveen/providers/Microsoft.Network/expressRouteCircuits/test2/authorizations/authorization_test",
                "name": "authorization_test",
                "provisioning_state": "Succeeded",
                "type": "Microsoft.Network/expressRouteCircuits/authorizations"
            }
        ],
        "bandwidth_in_gbps": null,
        "circuit_provisioning_state": "Enabled",
        "express_route_port": null,
        "gateway_manager_etag": "",
        "global_reach_enabled": false,
        "id": "/subscriptions/XxxX1/resourceGroups/test-praveen/providers/Microsoft.Network/expressRouteCircuits/test2",
        "location": "eastus",
        "name": "test2",
        "peerings": [],
        "provisioning_state": "Succeeded",
        "service_key": "b9e910e0-8475-43c0-b16b-f317fc6ad427",
        "service_provider_notes": null,
        "service_provider_provisioning_state": "NotProvisioned",
        "stag": 24,
        "tags": {
            "a": "b"
        },
        "type": "Microsoft.Network/expressRouteCircuits"
    }
}
META: ran handlers
META: ran handlers

PLAY RECAP ***************************************************************************************
localhost                  : ok=2    changed=1    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

@praveenghuge
Copy link
Contributor Author

praveenghuge commented Apr 20, 2021

playbook

---
 - hosts: localhost
   connection: local
   tasks:

    - name: Create Express route (idempotent)
      azure.azcollection.azure_rm_expressroute:

        subscription_id: XXXXX
        tenant: XXXXX
        client_id: XXXX
        secret: XXXX
        resource_group: test
        name: test2
        location: eastus
        state: present
        allow_classic_operations: true
        global_reach_enabled: false
        tags:
                a: b
        authorizations:
                - name: authorization_test
        service_provider_properties:
                service_provider_name: Aryaka Networks
                peering_location: Seattle
                bandwidth_in_mbps: '200'
        sku:
                tier: premium
                family: metereddata

output

ok: [localhost] => {
    "changed": false,
    "check_mode": false,
    "invocation": {
        "module_args": {
            "ad_user": null,
            "adfs_authority_url": null,
            "allow_classic_operations": true,
            "api_profile": "latest",
            "append_tags": true,
            "auth_source": "auto",
            "authorizations": [
                {
                    "name": "authorization_test"
                }
            ],
            "cert_validation_mode": null,
            "client_id": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "cloud_environment": "AzureCloud",
            "global_reach_enabled": false,
            "location": "eastus",
            "name": "test2",
            "password": null,
            "profile": null,
            "resource_group": "test-praveen",
            "secret": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "service_provider_properties": {
                "bandwidth_in_mbps": "200",
                "peering_location": "Seattle",
                "service_provider_name": "Aryaka Networks"
            },
            "sku": {
                "family": "metereddata",
                "tier": "premium"
            },
            "state": "present",
            "subscription_id": "XXXX",
            "tags": {
                "a": "b"
            },
            "tenant": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
        }
    },
    "state": {
        "additional_properties": {},
        "allow_classic_operations": true,
        "authorizations": [
            {
                "authorization_key": "bbdb6919-ac1a-43a7-ab39-8bfa955ef23f",
                "authorization_use_status": "Available",
                "etag": "W/\"4a3ff51b-12cc-4972-9313-24421edbc855\"",
                "id": "/subscriptions/XXXX/resourceGroups/test-praveen/providers/Microsoft.Network/expressRouteCircuits/test2/authorizations/authorization_test",
                "name": "authorization_test",
                "provisioning_state": "Succeeded",
                "type": "Microsoft.Network/expressRouteCircuits/authorizations"
            }
        ],
        "bandwidth_in_gbps": null,
        "circuit_provisioning_state": "Enabled",
        "express_route_port": null,
        "gateway_manager_etag": "",
        "global_reach_enabled": false,
        "id": "/subscriptions/XXXX/resourceGroups/test-praveen/providers/Microsoft.Network/expressRouteCircuits/test2",
        "location": "eastus",
        "name": "test2",
        "peerings": [],
        "provisioning_state": "Succeeded",
        "service_key": "b9e910e0-8475-43c0-b16b-f317fc6ad427",
        "service_provider_notes": null,
        "service_provider_provisioning_state": "NotProvisioned",
        "stag": 24,
        "tags": {
            "a": "b"
        },
        "type": "Microsoft.Network/expressRouteCircuits"
    }
}
META: ran handlers
META: ran handlers

PLAY RECAP ***************************************************************************************
localhost                  : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

@praveenghuge
Copy link
Contributor Author

praveenghuge commented Apr 20, 2021

playbook

---
 - hosts: localhost
   connection: local
   tasks:

    - name: Update Express route
      azure.azcollection.azure_rm_expressroute:

        subscription_id: XXXXX
        tenant: XXXXX
        client_id: XXXXX
        secret: XXXX
        resource_group: test-praveen
        name: test2
        location: eastus
        state: present
        allow_classic_operations: true
        global_reach_enabled: false
        tags:
                a: b
                test: modified
        authorizations:
                - name: authorization_test
        service_provider_properties:
                service_provider_name: Aryaka Networks
                peering_location: Seattle
                bandwidth_in_mbps: '200'
        sku:
                tier: premium
                family: metereddata

output

changed: [localhost] => {
    "changed": true,
    "check_mode": false,
    "invocation": {
        "module_args": {
            "ad_user": null,
            "adfs_authority_url": null,
            "allow_classic_operations": true,
            "api_profile": "latest",
            "append_tags": true,
            "auth_source": "auto",
            "authorizations": [
                {
                    "name": "authorization_test"
                }
            ],
            "cert_validation_mode": null,
            "client_id": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "cloud_environment": "AzureCloud",
            "global_reach_enabled": false,
            "location": "eastus",
            "name": "test2",
            "password": null,
            "profile": null,
            "resource_group": "test-praveen",
            "secret": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "service_provider_properties": {
                "bandwidth_in_mbps": "200",
                "peering_location": "Seattle",
                "service_provider_name": "Aryaka Networks"
            },
            "sku": {
                "family": "metereddata",
                "name": "premium_metereddata",
                "tier": "premium"
            },
            "state": "present",
            "subscription_id": "XXXX",
            "tags": {
                "a": "b",
                "test": "modified"
            },
            "tenant": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
        }
    },
    "state": {
        "additional_properties": {},
        "allow_classic_operations": true,
        "authorizations": [
            {
                "authorization_key": "bbdb6919-ac1a-43a7-ab39-8bfa955ef23f",
                "authorization_use_status": "Available",
                "etag": "W/\"4590b630-dc31-4885-abb8-551de8c0466e\"",
                "id": "/subscriptions/XxXXX/resourceGroups/test-praveen/providers/Microsoft.Network/expressRouteCircuits/test2/authorizations/authorization_test",
                "name": "authorization_test",
                "provisioning_state": "Succeeded",
                "type": "Microsoft.Network/expressRouteCircuits/authorizations"
            }
        ],
        "bandwidth_in_gbps": null,
        "circuit_provisioning_state": "Enabled",
        "express_route_port": null,
        "gateway_manager_etag": "",
        "global_reach_enabled": false,
        "id": "/subscriptions/XXXXX/resourceGroups/test-praveen/providers/Microsoft.Network/expressRouteCircuits/test2",
        "location": "eastus",
        "name": "test2",
        "peerings": [],
        "provisioning_state": "Succeeded",
        "service_key": "b9e910e0-8475-43c0-b16b-f317fc6ad427",
        "service_provider_notes": null,
        "service_provider_provisioning_state": "NotProvisioned",
        "stag": 24,
        "tags": {
            "a": "b",
            "test": "modified"
        },
        "type": "Microsoft.Network/expressRouteCircuits"
    }
}
META: ran handlers
META: ran handlers

PLAY RECAP ***************************************************************************************
localhost                  : ok=2    changed=1    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

@praveenghuge
Copy link
Contributor Author

praveenghuge commented Apr 20, 2021

playbook

---
 - hosts: localhost
   connection: local
   tasks:

    - name: Delete Express route
      azure.azcollection.azure_rm_expressroute:
        subscription_id: XXXX
        tenant: XXXX
        client_id: XXXX
        secret: XXXX
        resource_group: test-praveen
        name: test2
        state: absent

output

changed: [localhost] => {
    "changed": true,
    "check_mode": false,
    "invocation": {
        "module_args": {
            "ad_user": null,
            "adfs_authority_url": null,
            "allow_classic_operations": null,
            "api_profile": "latest",
            "append_tags": true,
            "auth_source": "auto",
            "authorizations": null,
            "cert_validation_mode": null,
            "client_id": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "cloud_environment": "AzureCloud",
            "global_reach_enabled": null,
            "location": null,
            "name": "test2",
            "password": null,
            "profile": null,
            "resource_group": "test-praveen",
            "secret": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "service_provider_properties": null,
            "sku": null,
            "state": "absent",
            "subscription_id": "XXXX",
            "tags": null,
            "tenant": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
        }
    },
    "state": {
        "additional_properties": {},
        "allow_classic_operations": true,
        "authorizations": [
            {
                "authorization_key": "bbdb6919-ac1a-43a7-ab39-8bfa955ef23f",
                "authorization_use_status": "Available",
                "etag": "W/\"4590b630-dc31-4885-abb8-551de8c0466e\"",
                "id": "/subscriptions/XXXXX/resourceGroups/test-praveen/providers/Microsoft.Network/expressRouteCircuits/test2/authorizations/authorization_test",
                "name": "authorization_test",
                "provisioning_state": "Succeeded",
                "type": "Microsoft.Network/expressRouteCircuits/authorizations"
            }
        ],
        "bandwidth_in_gbps": null,
        "circuit_provisioning_state": "Enabled",
        "express_route_port": null,
        "gateway_manager_etag": "",
        "global_reach_enabled": false,
        "id": "/subscriptions/XXXX/resourceGroups/test-praveen/providers/Microsoft.Network/expressRouteCircuits/test2",
        "location": "eastus",
        "name": "test2",
        "peerings": [],
        "provisioning_state": "Succeeded",
        "service_key": "b9e910e0-8475-43c0-b16b-f317fc6ad427",
        "service_provider_notes": null,
        "service_provider_provisioning_state": "NotProvisioned",
        "stag": 24,
        "status": "Deleted",
        "tags": {
            "a": "b",
            "test": "modified"
        },
        "type": "Microsoft.Network/expressRouteCircuits"
    }
}
META: ran handlers
META: ran handlers

PLAY RECAP ***************************************************************************************
localhost                  : ok=2    changed=1    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

@praveenghuge
Copy link
Contributor Author

praveenghuge commented Apr 20, 2021

playbook

---
 - hosts: localhost
   connection: local
   tasks:

    - name: Delete Express route (idempotent)
      azure.azcollection.azure_rm_expressroute:
        subscription_id: XXXX
        tenant: XXXX
        client_id: XXXX
        secret: XXXX
        resource_group: test-praveen
        name: test2
        state: absent

output

ok: [localhost] => {
    "changed": false,
    "check_mode": false,
    "invocation": {
        "module_args": {
            "ad_user": null,
            "adfs_authority_url": null,
            "allow_classic_operations": null,
            "api_profile": "latest",
            "append_tags": true,
            "auth_source": "auto",
            "authorizations": null,
            "cert_validation_mode": null,
            "client_id": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "cloud_environment": "AzureCloud",
            "global_reach_enabled": null,
            "location": null,
            "name": "test2",
            "password": null,
            "profile": null,
            "resource_group": "test-praveen",
            "secret": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "service_provider_properties": null,
            "sku": null,
            "state": "absent",
            "subscription_id": "Xxxx",
            "tags": null,
            "tenant": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
        }
    },
    "state": {}
}
META: ran handlers
META: ran handlers

PLAY RECAP ***************************************************************************************
localhost                  : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

@praveenghuge
Copy link
Contributor Author

praveenghuge commented Apr 20, 2021

playbook

---
 - hosts: localhost
   connection: local
   tasks:

    - name: Get list of Express route
      azure.azcollection.azure_rm_expressroute_info:

        subscription_id: XxxX
        tenant: XXXXX
        client_id: XXXX
        secret: XXXX
        resource_group: test-praveen

output

ok: [localhost] => {
    "changed": false,
    "expressroute": [
        {
            "additional_properties": {},
            "allow_classic_operations": true,
            "authorizations": [
                {
                    "authorization_key": "af538d56-d627-42bb-9ca1-fd37a3a33d05",
                    "authorization_use_status": "Available",
                    "etag": "W/\"b39a3fa0-4c21-42af-a59c-82886ba8d922\"",
                    "id": "/subscriptions/XXXXX/resourceGroups/test-praveen/providers/Microsoft.Network/expressRouteCircuits/test2/authorizations/authorization_test",
                    "name": "authorization_test",
                    "provisioning_state": "Succeeded",
                    "type": "Microsoft.Network/expressRouteCircuits/authorizations"
                }
            ],
            "bandwidth_in_gbps": null,
            "circuit_provisioning_state": "Enabled",
            "express_route_port": null,
            "gateway_manager_etag": "",
            "global_reach_enabled": false,
            "id": "/subscriptions/XXXX/resourceGroups/test-praveen/providers/Microsoft.Network/expressRouteCircuits/test2",
            "location": "eastus",
            "name": "test2",
            "peerings": [],
            "provisioning_state": "Succeeded",
            "service_key": "4b9caeb9-dc34-4bab-acd2-a10ed3212e13",
            "service_provider_notes": null,
            "service_provider_provisioning_state": "NotProvisioned",
            "stag": 24,
            "tags": {
                "a": "b",
                "test": "modified"
            },
            "type": "Microsoft.Network/expressRouteCircuits"
        }
    ],
    "invocation": {
        "module_args": {
            "ad_user": null,
            "adfs_authority_url": null,
            "api_profile": "latest",
            "auth_source": "auto",
            "cert_validation_mode": null,
            "client_id": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "cloud_environment": "AzureCloud",
            "name": null,
            "password": null,
            "profile": null,
            "resource_group": "test-praveen",
            "secret": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "subscription_id": "XXxX",
            "tenant": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
        }
    }
}
META: ran handlers
META: ran handlers

PLAY RECAP ***************************************************************************************
localhost                  : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

@praveenghuge
Copy link
Contributor Author

playbook

---
 - hosts: localhost
   connection: local
   tasks:

    - name: Get Express route
      azure.azcollection.azure_rm_expressroute_info:

        subscription_id: XXXX
        tenant: XXXX
        client_id: XXX
        secret: XXX
        resource_group: test-praveen
        name: test2

output

ok: [localhost] => {
    "changed": false,
    "expressroute": [
        {
            "additional_properties": {},
            "allow_classic_operations": true,
            "authorizations": [
                {
                    "authorization_key": "af538d56-d627-42bb-9ca1-fd37a3a33d05",
                    "authorization_use_status": "Available",
                    "etag": "W/\"b39a3fa0-4c21-42af-a59c-82886ba8d922\"",
                    "id": "/subscriptions/Xxxx/resourceGroups/test-praveen/providers/Microsoft.Network/expressRouteCircuits/test2/authorizations/authorization_test",
                    "name": "authorization_test",
                    "provisioning_state": "Succeeded",
                    "type": "Microsoft.Network/expressRouteCircuits/authorizations"
                }
            ],
            "bandwidth_in_gbps": null,
            "circuit_provisioning_state": "Enabled",
            "express_route_port": null,
            "gateway_manager_etag": "",
            "global_reach_enabled": false,
            "id": "/subscriptions/XXXX/resourceGroups/test-praveen/providers/Microsoft.Network/expressRouteCircuits/test2",
            "location": "eastus",
            "name": "test2",
            "peerings": [],
            "provisioning_state": "Succeeded",
            "service_key": "4b9caeb9-dc34-4bab-acd2-a10ed3212e13",
            "service_provider_notes": null,
            "service_provider_provisioning_state": "NotProvisioned",
            "stag": 24,
            "tags": {
                "a": "b",
                "test": "modified"
            },
            "type": "Microsoft.Network/expressRouteCircuits"
        }
    ],
    "invocation": {
        "module_args": {
            "ad_user": null,
            "adfs_authority_url": null,
            "api_profile": "latest",
            "auth_source": "auto",
            "cert_validation_mode": null,
            "client_id": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "cloud_environment": "AzureCloud",
            "name": "test2",
            "password": null,
            "profile": null,
            "resource_group": "test-praveen",
            "secret": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "subscription_id": "xxxx",
            "tenant": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
        }
    }
}
META: ran handlers
META: ran handlers

PLAY RECAP ***************************************************************************************
localhost                  : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

@praveenghuge
Copy link
Contributor Author

Hi @Fred-sun can you please review the PR. addressed the changes
thank you so much 👍

@Fred-sun
Copy link
Collaborator

Hi @Fred-sun can you please review the PR. addressed the changes
thank you so much 👍

I'm working on it!

plugins/modules/azure_rm_expressroute_info.py Show resolved Hide resolved
plugins/modules/azure_rm_expressroute.py Outdated Show resolved Hide resolved
plugins/modules/azure_rm_expressroute.py Outdated Show resolved Hide resolved
plugins/modules/azure_rm_expressroute.py Outdated Show resolved Hide resolved
plugins/modules/azure_rm_expressroute.py Outdated Show resolved Hide resolved
plugins/modules/azure_rm_expressroute.py Outdated Show resolved Hide resolved
plugins/modules/azure_rm_expressroute.py Outdated Show resolved Hide resolved
plugins/modules/azure_rm_expressroute.py Show resolved Hide resolved
@Fred-sun Fred-sun added ready_for_review The PR has been modified and can be reviewed and merged work in In trying to solve, or in working with contributors and removed work in In trying to solve, or in working with contributors ready_for_review The PR has been modified and can be reviewed and merged labels May 29, 2021
@praveenghuge
Copy link
Contributor Author

Hi @Fred-sun can you please review the PR. addressed the changes
thank you so much 👍

@Fred-sun Fred-sun added ready_for_review The PR has been modified and can be reviewed and merged and removed work in In trying to solve, or in working with contributors labels May 30, 2021
@praveenghuge
Copy link
Contributor Author

@Fred-sun anything pending from our side. Thanks you so much 👍

@Fred-sun
Copy link
Collaborator

Fred-sun commented Jun 8, 2021

@praveenghuge It is not pending, the new version will be released temporarily, and the PR will be merged after the new version is released. Thank you very much!

@praveenghuge
Copy link
Contributor Author

@Fred-sun updated the latest version
Can you please review
Thank you so much 👍

@Fred-sun
Copy link
Collaborator

Fred-sun commented Jun 10, 2021

@praveenghuge Greate! Waiting merged!

@xuzhang3
Copy link
Collaborator

LGTM

@xuzhang3 xuzhang3 merged commit aead424 into ansible-collections:dev Jun 24, 2021
Fred-sun pushed a commit to Fred-sun/ansible_collections_azure that referenced this pull request Aug 11, 2021
* first commit

* fix file

* new changes

* working create/update/delete/get

* change username

* minor changes

* Fix sanity issues

* Improve integration test

* remove return

* address changes

* changes addressed

* address changes

* address changes

* small change

* fixing update account_enabled bug in azure_rm_aduser.py (ansible-collections#524)

* fixing ad related auth issue when using service pricinpal. (ansible-collections#525)

* change class name of azure_rm_aduser (ansible-collections#526)

* class are worngly named. fixed.

* fixing sanity errors.

* address cahnges

* new changes

* new changes

* addrss changes

* address changes

* address changes

* address changes

* merge upstream changes

* address changes

* update version

Co-authored-by: root <[email protected]>
Co-authored-by: root <[email protected]>
Co-authored-by: Praveen Ghuge <[email protected]>
Co-authored-by: Praveen Ghuge <[email protected]>
Co-authored-by: Karl Dasan <[email protected]>
Co-authored-by: haiyuan_zhang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new_module_pr Add new modules ready_for_review The PR has been modified and can be reviewed and merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for expressRouteCircuits
6 participants