azure::public-ip-address

Creates a public ip address.

Example

azure::public-ip-address public-ip-address-example
     name: "public-ip-address-example"
     resource-group: $(azure::resource-group resource-group-public-ip-address-example)
     idle-timeout-in-minute: 4

     tags: {
         Name: "public-ip-address-example"
     }
end

Attributes

Attribute Description
name Name of the Public IP Address. (Required)
resource-group The resource group under which this would reside. (Required)
sku-type Specify Sku type. Defaults to BASIC. Valid values are BASIC or STANDARD.
idle-timeout-in-minute Specify the idle time in minutes before time out. Valid values are between 4 to 30. (Required)
availability-zone-ids set The availability zone of the Public IP Address.
domain-label The domain prefix of the Public IP Address.
tags map The tags for the Public IP Address.
ip-tags map A set of IP tags for the Public IP Address.
reverse-fqdn The reverse FQDN for the Public IP Address.

Outputs

Attribute Description
is-dynamic Specifies if the Public IP Address is using Dynamic IP or Static IP.
id The ID of the Public IP Address.
ip-address The IP of the Public IP Address.
fqdn The FQDN for the Public IP Address.
has-assigned-load-balancer Specifies if the Public IP Address is associated with any Load Balancer.
has-assigned-network-interface Specifies if the Public IP Address is associated with any Network Interface.
version The Public IP Address version being IPV4 or IPV6.