lib/fog/azurerm/docs/application_gateway.md in fog-azure-rm-0.3.3 vs lib/fog/azurerm/docs/application_gateway.md in fog-azure-rm-0.3.4
- old
+ new
@@ -13,15 +13,15 @@
Next, create a connection to the Application Gateway Service:
```ruby
azure_application_gateway_service = Fog::ApplicationGateway::AzureRM.new(
- tenant_id: '<Tenantid>', # Tenant id of Azure Active Directory Application
- client_id: '<Clientid>', # Client id of Azure Active Directory Application
- client_secret: '<ClientSecret>', # Client Secret of Azure Active Directory Application
- subscription_id: '<Subscriptionid>', # Subscription id of an Azure Account
- :environment => '<AzureCloud/AzureChinaCloud/AzureUSGovernment/AzureGermanCloud>' # Azure cloud environment. Default is AzureCloud.
+ tenant_id: '<TenantId>', # Tenant id of Azure Active Directory Application
+ client_id: '<ClientId>', # Client id of Azure Active Directory Application
+ client_secret: '<ClientSecret>', # Client Secret of Azure Active Directory Application
+ subscription_id: '<SubscriptionId>', # Subscription id of an Azure Account
+ environment: '<AzureCloud/AzureChinaCloud/AzureUSGovernment/AzureGermanCloud>' # Azure cloud environment. Default is AzureCloud.
)
```
## Check Application Gateway Existence
@@ -36,10 +36,11 @@
```ruby
gateway = azure_application_gateway_service.gateways.create(
name: '<Gateway Name>',
location: 'eastus',
resource_group: '<Resource Group name>',
+ tags: { key1: "value1", key2: "value2", keyN: "valueN" }, # [Optional]
sku_name: 'Standard_Medium',
sku_tier: 'Standard',
sku_capacity: '2',
gateway_ip_configurations:
[
@@ -105,11 +106,9 @@
backend_address_pool_id: '/subscriptions/<Subscription_id>/resourceGroups/<Resource Group name>/providers/Microsoft.Network/applicationGateways/<Gateway Name>/backendAddressPools/backendAddressPool',
backend_http_settings_id: '/subscriptions/<Subscription_id>/resourceGroups/<Resource Group name>/providers/Microsoft.Network/applicationGateways/<Gateway Name>/backendHttpSettingsCollection/gateway_settings',
url_path_map: ''
}
]
-
-
)
```
There can be two ways of giving `frontend_ip_configurations` while creating application gateway