NOTE: The Azure Service Management Provider has been superseded by the Azure Resource Manager Provider and is no longer being actively developed by HashiCorp employees. It continues to be supported by the community. We recommend using the Azure Resource Manager based Microsoft Azure Provider if possible.
azure_hosted_service
Creates a new hosted service on Azure with its own .cloudapp.net domain.
Example Usage
resource "azure_hosted_service" "terraform-service" { name = "terraform-service" location = "North Europe" ephemeral_contents = false description = "Hosted service created by Terraform." label = "tf-hs-01" }
Argument Reference
The following arguments are supported:
-
name
- (Required) The name of the hosted service. Must be unique on Azure. -
location
- (Required) The location where the hosted service should be created. For a list of all Azure locations, please consult this link. -
ephemeral_contents
- (Required) A boolean value (true|false), specifying whether all the resources present in the hosted hosted service should be destroyed following the hosted service's destruction. -
reverse_dns_fqdn
- (Optional) The reverse of the fully qualified domain name for the hosted service. -
label
- (Optional) A label to be used for tracking purposes. Must be non-void. Defaults toMade by Terraform.
. -
description
- (Optional) A description for the hosted service.
Attributes Reference
The following attributes are exported:
-
id
- The hosted service ID. Coincides with the givenname
.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/azure/r/hosted_service.html