IpAddress Class
IP address for the container group.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
Constructor
IpAddress(*, ports: List[_models.Port], type: str | _models.ContainerGroupIpAddressType, ip: str | None = None, dns_name_label: str | None = None, auto_generated_domain_name_label_scope: str | _models.DnsNameLabelReusePolicy = 'Unsecure', **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
ports
|
The list of ports exposed on the container group. Required. |
|
type
|
Specifies if the IP is exposed to the public internet or private VNET. Required. Known values are: "Public" and "Private". |
|
ip
|
The IP exposed to the public internet. Default value: None
|
|
dns_name_label
|
The Dns name label for the IP. Default value: None
|
|
auto_generated_domain_name_label_scope
|
The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant. Known values are: "Unsecure", "TenantReuse", "SubscriptionReuse", "ResourceGroupReuse", and "Noreuse". Default value: Unsecure
|
Variables
| Name | Description |
|---|---|
|
ports
|
The list of ports exposed on the container group. Required. |
|
type
|
Specifies if the IP is exposed to the public internet or private VNET. Required. Known values are: "Public" and "Private". |
|
ip
|
The IP exposed to the public internet. |
|
dns_name_label
|
The Dns name label for the IP. |
|
auto_generated_domain_name_label_scope
|
The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant. Known values are: "Unsecure", "TenantReuse", "SubscriptionReuse", "ResourceGroupReuse", and "Noreuse". |
|
fqdn
|
The FQDN for the IP. |