diff --git a/lib/ansible/modules/cloud/azure/azure_rm_aks.py b/lib/ansible/modules/cloud/azure/azure_rm_aks.py index 4df1e7daec1..cd6d6e9d4c1 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_aks.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_aks.py @@ -203,7 +203,7 @@ author: EXAMPLES = ''' - name: Create a managed Azure Container Services (AKS) instance azure_rm_aks: - name: acctestaks1 + name: myAKS location: eastus resource_group: myResourceGroup dns_prefix: akstest @@ -222,7 +222,7 @@ EXAMPLES = ''' - name: Remove a managed Azure Container Services (AKS) instance azure_rm_aks: - name: acctestaks3 + name: myAKS resource_group: myResourceGroup state: absent ''' @@ -244,7 +244,7 @@ state: vnet_subnet_id: Null changed: false dns_prefix: aks9860bdcd89 - id: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/yuwzhoaks/providers/Microsoft.ContainerService/managedClusters/aks9860bdc" + id: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/aks9860bdc" kube_config: "......" kubernetes_version: 1.11.4 linux_profile: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_appgateway.py b/lib/ansible/modules/cloud/azure/azure_rm_appgateway.py index 44e55e0237f..611dafbca6f 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_appgateway.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_appgateway.py @@ -377,7 +377,7 @@ EXAMPLES = ''' - name: Create instance of Application Gateway azure_rm_appgateway: resource_group: myResourceGroup - name: myappgateway + name: myAppGateway sku: name: standard_small tier: standard diff --git a/lib/ansible/modules/cloud/azure/azure_rm_appserviceplan_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_appserviceplan_facts.py index b5f198f317e..5d867787f2c 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_appserviceplan_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_appserviceplan_facts.py @@ -46,7 +46,7 @@ EXAMPLES = ''' - name: Get facts for app service plan by name azure_rm_appserviceplan_facts: resource_group: myResourceGroup - name: winwebapp1 + name: myAppServicePlan - name: Get azure_rm_appserviceplan_facts for app service plan in resource group azure_rm_webapp_facts: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_availabilityset.py b/lib/ansible/modules/cloud/azure/azure_rm_availabilityset.py index 3fbfb4c6e67..47f85852b0d 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_availabilityset.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_availabilityset.py @@ -70,13 +70,13 @@ author: EXAMPLES = ''' - name: Create an availability set with default options azure_rm_availabilityset: - name: myavailabilityset + name: myAvailabilitySet location: eastus resource_group: myResourceGroup - name: Create an availability set with advanced options azure_rm_availabilityset: - name: myavailabilityset + name: myAvailabilitySet location: eastus resource_group: myResourceGroup platform_update_domain_count: 5 @@ -85,7 +85,7 @@ EXAMPLES = ''' - name: Delete an availability set azure_rm_availabilityset: - name: myavailabilityset + name: myAvailabilitySet location: eastus resource_group: myResourceGroup state: absent diff --git a/lib/ansible/modules/cloud/azure/azure_rm_availabilityset_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_availabilityset_facts.py index aab729a6cf6..a9b029f361b 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_availabilityset_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_availabilityset_facts.py @@ -59,7 +59,7 @@ azure_availabilityset: type: list example: [{ "location": "eastus2", - "name": "myavailabilityset", + "name": "myAvailabilitySet", "properties": { "platformFaultDomainCount": 3, "platformUpdateDomainCount": 2, diff --git a/lib/ansible/modules/cloud/azure/azure_rm_cdnprofile.py b/lib/ansible/modules/cloud/azure/azure_rm_cdnprofile.py index 793ee158b06..60b98978a8e 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_cdnprofile.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_cdnprofile.py @@ -63,7 +63,7 @@ EXAMPLES = ''' - name: Create a CDN profile azure_rm_cdnprofile: resource_group: myResourceGroup - name: cdntest + name: myCDN sku: standard_akamai tags: testing: testing @@ -71,7 +71,7 @@ EXAMPLES = ''' - name: Delete the CDN profile azure_rm_cdnprofile: resource_group: myResourceGroup - name: cdntest + name: myCDN state: absent ''' RETURN = ''' @@ -80,7 +80,7 @@ id: returned: always type: dict example: - id: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/cdntest/providers/Microsoft.Cdn/profiles/cdntest + id: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/myResourceGroup/providers/Microsoft.Cdn/profiles/myCDN ''' from ansible.module_utils.azure_rm_common import AzureRMModuleBase diff --git a/lib/ansible/modules/cloud/azure/azure_rm_cdnprofile_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_cdnprofile_facts.py index f4566df0138..65b3e88bdf0 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_cdnprofile_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_cdnprofile_facts.py @@ -84,7 +84,7 @@ cdnprofiles: description: - ID of the CDN profile. type: str - sample: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/myResourceGroup/providers/Microsoft.Cdn/profiles/cdntest + sample: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/myResourceGroup/providers/Microsoft.Cdn/profiles/myCDN provisioning_state: description: - Provisioning status of the profile. diff --git a/lib/ansible/modules/cloud/azure/azure_rm_containerinstance.py b/lib/ansible/modules/cloud/azure/azure_rm_containerinstance.py index cfa38377b7b..438b23720c5 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_containerinstance.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_containerinstance.py @@ -148,11 +148,11 @@ EXAMPLES = ''' - name: Create sample container group azure_rm_containerinstance: resource_group: myResourceGroup - name: mynewcontainergroup + name: myContainerInstanceGroup os_type: linux ip_address: public containers: - - name: mycontainer1 + - name: myContainer1 image: httpd memory: 1.5 ports: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_containerinstance_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_containerinstance_facts.py index ac9c39a3391..d1bac9d6367 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_containerinstance_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_containerinstance_facts.py @@ -45,7 +45,7 @@ EXAMPLES = ''' - name: Get specific Container Instance facts azure_rm_containerinstance_facts: resource_group: myResourceGroup - name: container_group_name + name: myContainer - name: List Container Instances in a specified resource group name azure_rm_containerinstance_facts: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_containerregistry.py b/lib/ansible/modules/cloud/azure/azure_rm_containerregistry.py index 5873b45d767..7a3cfa4de51 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_containerregistry.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_containerregistry.py @@ -64,7 +64,7 @@ author: EXAMPLES = ''' - name: Create an azure container registry azure_rm_containerregistry: - name: testacr1 + name: myRegistry location: eastus resource_group: myResourceGroup admin_user_enabled: true @@ -75,7 +75,7 @@ EXAMPLES = ''' - name: Remove an azure container registry azure_rm_containerregistry: - name: testacr2 + name: myRegistry resource_group: myResourceGroup state: absent ''' diff --git a/lib/ansible/modules/cloud/azure/azure_rm_containerregistry_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_containerregistry_facts.py index 7b0516368a9..53c7a574cb7 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_containerregistry_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_containerregistry_facts.py @@ -50,7 +50,7 @@ EXAMPLES = ''' - name: Get instance of Registry azure_rm_containerregistry_facts: resource_group: myResourceGroup - name: sampleregistry + name: myRegistry - name: List instances of Registry azure_rm_containerregistry_facts: diff --git a/lib/ansible/modules/cloud/azure/azure_rm_webapp.py b/lib/ansible/modules/cloud/azure/azure_rm_webapp.py index e6252c461ed..1aa56e1b3b6 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_webapp.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_webapp.py @@ -189,21 +189,21 @@ author: EXAMPLES = ''' - name: Create a windows web app with non-exist app service plan azure_rm_webapp: - resource_group: myresourcegroup - name: mywinwebapp + resource_group: myResourceGroup + name: myWinWebapp plan: - resource_group: myappserviceplan_rg - name: myappserviceplan + resource_group: myAppServicePlan_rg + name: myAppServicePlan is_linux: false sku: S1 - name: Create a docker web app with some app settings, with docker image azure_rm_webapp: - resource_group: myresourcegroup - name: mydockerwebapp + resource_group: myResourceGroup + name: myDockerWebapp plan: - resource_group: appserviceplan_test - name: myappplan + resource_group: myAppServicePlan_rg + name: myAppServicePlan is_linux: true sku: S1 number_of_workers: 2 @@ -215,9 +215,9 @@ EXAMPLES = ''' - name: Create a docker web app with private acr registry azure_rm_webapp: - resource_group: myresourcegroup - name: mydockerwebapp - plan: myappplan + resource_group: myResourceGroup + name: myDockerWebapp + plan: myAppServicePlan app_settings: testkey: testvalue container_settings: @@ -228,11 +228,11 @@ EXAMPLES = ''' - name: Create a linux web app with Node 6.6 framework azure_rm_webapp: - resource_group: myresourcegroup - name: mylinuxwebapp + resource_group: myResourceGroup + name: myLinuxWebapp plan: - resource_group: appserviceplan_test - name: myappplan + resource_group: myAppServicePlan_rg + name: myAppServicePlan app_settings: testkey: testvalue frameworks: @@ -241,11 +241,11 @@ EXAMPLES = ''' - name: Create a windows web app with node, php azure_rm_webapp: - resource_group: myresourcegroup - name: mywinwebapp + resource_group: myResourceGroup + name: myWinWebapp plan: - resource_group: appserviceplan_test - name: myappplan + resource_group: myAppServicePlan_rg + name: myAppServicePlan app_settings: testkey: testvalue frameworks: @@ -256,21 +256,21 @@ EXAMPLES = ''' - name: Create a stage deployment slot for an existing web app azure_rm_webapp: - resource_group: myresourcegroup - name: mywebapp/slots/stage + resource_group: myResourceGroup + name: myWebapp/slots/stage plan: - resource_group: myresourcegroup - name: myappplan + resource_group: myAppServicePlan_rg + name: myAppServicePlan app_settings: testkey:testvalue - name: Create a linux web app with java framework azure_rm_webapp: - resource_group: myresourcegroup - name: mylinuxwebapp + resource_group: myResourceGroup + name: myLinuxWebapp plan: - resource_group: appserviceplan_test - name: myappplan + resource_group: myAppServicePlan_rg + name: myAppServicePlan app_settings: testkey: testvalue frameworks: @@ -287,7 +287,7 @@ azure_webapp: returned: always type: dict sample: { - "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Web/sites/ansiblewindowsaaa" + "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp" } ''' diff --git a/lib/ansible/modules/cloud/azure/azure_rm_webapp_facts.py b/lib/ansible/modules/cloud/azure/azure_rm_webapp_facts.py index bfe355f7872..012e9a15136 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_webapp_facts.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_webapp_facts.py @@ -75,7 +75,7 @@ webapps: - Id of the web app. returned: always type: str - sample: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Web/sites/xx + sample: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp name: description: - Name of the web app. @@ -97,7 +97,7 @@ webapps: - Id of app service plan used by the web app. returned: always type: str - sample: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Web/serverfarms/xxx + sample: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Web/serverfarms/myAppServicePlan app_settings: description: - App settings of the application. Only returned when web app has app settings.