Documentation ¶
Index ¶
- type AAAARecord
- type AAAARecordArgs
- type AAAARecordArray
- type AAAARecordArrayInput
- type AAAARecordArrayOutput
- func (AAAARecordArrayOutput) ElementType() reflect.Type
- func (o AAAARecordArrayOutput) Index(i pulumi.IntInput) AAAARecordOutput
- func (o AAAARecordArrayOutput) ToAAAARecordArrayOutput() AAAARecordArrayOutput
- func (o AAAARecordArrayOutput) ToAAAARecordArrayOutputWithContext(ctx context.Context) AAAARecordArrayOutput
- type AAAARecordInput
- type AAAARecordMap
- type AAAARecordMapInput
- type AAAARecordMapOutput
- func (AAAARecordMapOutput) ElementType() reflect.Type
- func (o AAAARecordMapOutput) MapIndex(k pulumi.StringInput) AAAARecordOutput
- func (o AAAARecordMapOutput) ToAAAARecordMapOutput() AAAARecordMapOutput
- func (o AAAARecordMapOutput) ToAAAARecordMapOutputWithContext(ctx context.Context) AAAARecordMapOutput
- type AAAARecordOutput
- func (AAAARecordOutput) ElementType() reflect.Type
- func (o AAAARecordOutput) Fqdn() pulumi.StringOutput
- func (o AAAARecordOutput) Name() pulumi.StringOutput
- func (o AAAARecordOutput) Records() pulumi.StringArrayOutput
- func (o AAAARecordOutput) ResourceGroupName() pulumi.StringOutput
- func (o AAAARecordOutput) Tags() pulumi.StringMapOutput
- func (o AAAARecordOutput) ToAAAARecordOutput() AAAARecordOutput
- func (o AAAARecordOutput) ToAAAARecordOutputWithContext(ctx context.Context) AAAARecordOutput
- func (o AAAARecordOutput) Ttl() pulumi.IntOutput
- func (o AAAARecordOutput) ZoneName() pulumi.StringOutput
- type AAAARecordState
- type ARecord
- type ARecordArgs
- type ARecordArray
- type ARecordArrayInput
- type ARecordArrayOutput
- type ARecordInput
- type ARecordMap
- type ARecordMapInput
- type ARecordMapOutput
- type ARecordOutput
- func (ARecordOutput) ElementType() reflect.Type
- func (o ARecordOutput) Fqdn() pulumi.StringOutput
- func (o ARecordOutput) Name() pulumi.StringOutput
- func (o ARecordOutput) Records() pulumi.StringArrayOutput
- func (o ARecordOutput) ResourceGroupName() pulumi.StringOutput
- func (o ARecordOutput) Tags() pulumi.StringMapOutput
- func (o ARecordOutput) ToARecordOutput() ARecordOutput
- func (o ARecordOutput) ToARecordOutputWithContext(ctx context.Context) ARecordOutput
- func (o ARecordOutput) Ttl() pulumi.IntOutput
- func (o ARecordOutput) ZoneName() pulumi.StringOutput
- type ARecordState
- type CnameRecord
- type CnameRecordArgs
- type CnameRecordArray
- type CnameRecordArrayInput
- type CnameRecordArrayOutput
- func (CnameRecordArrayOutput) ElementType() reflect.Type
- func (o CnameRecordArrayOutput) Index(i pulumi.IntInput) CnameRecordOutput
- func (o CnameRecordArrayOutput) ToCnameRecordArrayOutput() CnameRecordArrayOutput
- func (o CnameRecordArrayOutput) ToCnameRecordArrayOutputWithContext(ctx context.Context) CnameRecordArrayOutput
- type CnameRecordInput
- type CnameRecordMap
- type CnameRecordMapInput
- type CnameRecordMapOutput
- func (CnameRecordMapOutput) ElementType() reflect.Type
- func (o CnameRecordMapOutput) MapIndex(k pulumi.StringInput) CnameRecordOutput
- func (o CnameRecordMapOutput) ToCnameRecordMapOutput() CnameRecordMapOutput
- func (o CnameRecordMapOutput) ToCnameRecordMapOutputWithContext(ctx context.Context) CnameRecordMapOutput
- type CnameRecordOutput
- func (CnameRecordOutput) ElementType() reflect.Type
- func (o CnameRecordOutput) Fqdn() pulumi.StringOutput
- func (o CnameRecordOutput) Name() pulumi.StringOutput
- func (o CnameRecordOutput) Record() pulumi.StringOutput
- func (o CnameRecordOutput) ResourceGroupName() pulumi.StringOutput
- func (o CnameRecordOutput) Tags() pulumi.StringMapOutput
- func (o CnameRecordOutput) ToCnameRecordOutput() CnameRecordOutput
- func (o CnameRecordOutput) ToCnameRecordOutputWithContext(ctx context.Context) CnameRecordOutput
- func (o CnameRecordOutput) Ttl() pulumi.IntOutput
- func (o CnameRecordOutput) ZoneName() pulumi.StringOutput
- type CnameRecordState
- type GetDnsZoneArgs
- type GetDnsZoneOutputArgs
- type GetDnsZoneResult
- type GetDnsZoneResultOutput
- func (GetDnsZoneResultOutput) ElementType() reflect.Type
- func (o GetDnsZoneResultOutput) Id() pulumi.StringOutput
- func (o GetDnsZoneResultOutput) MaxNumberOfRecordSets() pulumi.IntOutput
- func (o GetDnsZoneResultOutput) MaxNumberOfVirtualNetworkLinks() pulumi.IntOutput
- func (o GetDnsZoneResultOutput) MaxNumberOfVirtualNetworkLinksWithRegistration() pulumi.IntOutput
- func (o GetDnsZoneResultOutput) Name() pulumi.StringOutput
- func (o GetDnsZoneResultOutput) NumberOfRecordSets() pulumi.IntOutput
- func (o GetDnsZoneResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o GetDnsZoneResultOutput) Tags() pulumi.StringMapOutput
- func (o GetDnsZoneResultOutput) ToGetDnsZoneResultOutput() GetDnsZoneResultOutput
- func (o GetDnsZoneResultOutput) ToGetDnsZoneResultOutputWithContext(ctx context.Context) GetDnsZoneResultOutput
- type GetMxRecordRecord
- type GetMxRecordRecordArgs
- type GetMxRecordRecordArray
- type GetMxRecordRecordArrayInput
- type GetMxRecordRecordArrayOutput
- func (GetMxRecordRecordArrayOutput) ElementType() reflect.Type
- func (o GetMxRecordRecordArrayOutput) Index(i pulumi.IntInput) GetMxRecordRecordOutput
- func (o GetMxRecordRecordArrayOutput) ToGetMxRecordRecordArrayOutput() GetMxRecordRecordArrayOutput
- func (o GetMxRecordRecordArrayOutput) ToGetMxRecordRecordArrayOutputWithContext(ctx context.Context) GetMxRecordRecordArrayOutput
- type GetMxRecordRecordInput
- type GetMxRecordRecordOutput
- func (GetMxRecordRecordOutput) ElementType() reflect.Type
- func (o GetMxRecordRecordOutput) Exchange() pulumi.StringOutput
- func (o GetMxRecordRecordOutput) Preference() pulumi.IntOutput
- func (o GetMxRecordRecordOutput) ToGetMxRecordRecordOutput() GetMxRecordRecordOutput
- func (o GetMxRecordRecordOutput) ToGetMxRecordRecordOutputWithContext(ctx context.Context) GetMxRecordRecordOutput
- type GetPtrRecordArgs
- type GetPtrRecordOutputArgs
- type GetPtrRecordResult
- type GetPtrRecordResultOutput
- func (GetPtrRecordResultOutput) ElementType() reflect.Type
- func (o GetPtrRecordResultOutput) Fqdn() pulumi.StringOutput
- func (o GetPtrRecordResultOutput) Id() pulumi.StringOutput
- func (o GetPtrRecordResultOutput) Name() pulumi.StringOutput
- func (o GetPtrRecordResultOutput) Records() pulumi.StringArrayOutput
- func (o GetPtrRecordResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o GetPtrRecordResultOutput) Tags() pulumi.StringMapOutput
- func (o GetPtrRecordResultOutput) ToGetPtrRecordResultOutput() GetPtrRecordResultOutput
- func (o GetPtrRecordResultOutput) ToGetPtrRecordResultOutputWithContext(ctx context.Context) GetPtrRecordResultOutput
- func (o GetPtrRecordResultOutput) Ttl() pulumi.IntOutput
- func (o GetPtrRecordResultOutput) ZoneName() pulumi.StringOutput
- type GetResolverForwardingRuleTargetDnsServer
- type GetResolverForwardingRuleTargetDnsServerArgs
- func (GetResolverForwardingRuleTargetDnsServerArgs) ElementType() reflect.Type
- func (i GetResolverForwardingRuleTargetDnsServerArgs) ToGetResolverForwardingRuleTargetDnsServerOutput() GetResolverForwardingRuleTargetDnsServerOutput
- func (i GetResolverForwardingRuleTargetDnsServerArgs) ToGetResolverForwardingRuleTargetDnsServerOutputWithContext(ctx context.Context) GetResolverForwardingRuleTargetDnsServerOutput
- type GetResolverForwardingRuleTargetDnsServerArray
- func (GetResolverForwardingRuleTargetDnsServerArray) ElementType() reflect.Type
- func (i GetResolverForwardingRuleTargetDnsServerArray) ToGetResolverForwardingRuleTargetDnsServerArrayOutput() GetResolverForwardingRuleTargetDnsServerArrayOutput
- func (i GetResolverForwardingRuleTargetDnsServerArray) ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext(ctx context.Context) GetResolverForwardingRuleTargetDnsServerArrayOutput
- type GetResolverForwardingRuleTargetDnsServerArrayInput
- type GetResolverForwardingRuleTargetDnsServerArrayOutput
- func (GetResolverForwardingRuleTargetDnsServerArrayOutput) ElementType() reflect.Type
- func (o GetResolverForwardingRuleTargetDnsServerArrayOutput) Index(i pulumi.IntInput) GetResolverForwardingRuleTargetDnsServerOutput
- func (o GetResolverForwardingRuleTargetDnsServerArrayOutput) ToGetResolverForwardingRuleTargetDnsServerArrayOutput() GetResolverForwardingRuleTargetDnsServerArrayOutput
- func (o GetResolverForwardingRuleTargetDnsServerArrayOutput) ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext(ctx context.Context) GetResolverForwardingRuleTargetDnsServerArrayOutput
- type GetResolverForwardingRuleTargetDnsServerInput
- type GetResolverForwardingRuleTargetDnsServerOutput
- func (GetResolverForwardingRuleTargetDnsServerOutput) ElementType() reflect.Type
- func (o GetResolverForwardingRuleTargetDnsServerOutput) IpAddress() pulumi.StringOutput
- func (o GetResolverForwardingRuleTargetDnsServerOutput) Port() pulumi.IntOutput
- func (o GetResolverForwardingRuleTargetDnsServerOutput) ToGetResolverForwardingRuleTargetDnsServerOutput() GetResolverForwardingRuleTargetDnsServerOutput
- func (o GetResolverForwardingRuleTargetDnsServerOutput) ToGetResolverForwardingRuleTargetDnsServerOutputWithContext(ctx context.Context) GetResolverForwardingRuleTargetDnsServerOutput
- type GetResolverInboundEndpointIpConfiguration
- type GetResolverInboundEndpointIpConfigurationArgs
- func (GetResolverInboundEndpointIpConfigurationArgs) ElementType() reflect.Type
- func (i GetResolverInboundEndpointIpConfigurationArgs) ToGetResolverInboundEndpointIpConfigurationOutput() GetResolverInboundEndpointIpConfigurationOutput
- func (i GetResolverInboundEndpointIpConfigurationArgs) ToGetResolverInboundEndpointIpConfigurationOutputWithContext(ctx context.Context) GetResolverInboundEndpointIpConfigurationOutput
- type GetResolverInboundEndpointIpConfigurationArray
- func (GetResolverInboundEndpointIpConfigurationArray) ElementType() reflect.Type
- func (i GetResolverInboundEndpointIpConfigurationArray) ToGetResolverInboundEndpointIpConfigurationArrayOutput() GetResolverInboundEndpointIpConfigurationArrayOutput
- func (i GetResolverInboundEndpointIpConfigurationArray) ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext(ctx context.Context) GetResolverInboundEndpointIpConfigurationArrayOutput
- type GetResolverInboundEndpointIpConfigurationArrayInput
- type GetResolverInboundEndpointIpConfigurationArrayOutput
- func (GetResolverInboundEndpointIpConfigurationArrayOutput) ElementType() reflect.Type
- func (o GetResolverInboundEndpointIpConfigurationArrayOutput) Index(i pulumi.IntInput) GetResolverInboundEndpointIpConfigurationOutput
- func (o GetResolverInboundEndpointIpConfigurationArrayOutput) ToGetResolverInboundEndpointIpConfigurationArrayOutput() GetResolverInboundEndpointIpConfigurationArrayOutput
- func (o GetResolverInboundEndpointIpConfigurationArrayOutput) ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext(ctx context.Context) GetResolverInboundEndpointIpConfigurationArrayOutput
- type GetResolverInboundEndpointIpConfigurationInput
- type GetResolverInboundEndpointIpConfigurationOutput
- func (GetResolverInboundEndpointIpConfigurationOutput) ElementType() reflect.Type
- func (o GetResolverInboundEndpointIpConfigurationOutput) PrivateIpAddress() pulumi.StringOutput
- func (o GetResolverInboundEndpointIpConfigurationOutput) PrivateIpAllocationMethod() pulumi.StringOutput
- func (o GetResolverInboundEndpointIpConfigurationOutput) SubnetId() pulumi.StringOutput
- func (o GetResolverInboundEndpointIpConfigurationOutput) ToGetResolverInboundEndpointIpConfigurationOutput() GetResolverInboundEndpointIpConfigurationOutput
- func (o GetResolverInboundEndpointIpConfigurationOutput) ToGetResolverInboundEndpointIpConfigurationOutputWithContext(ctx context.Context) GetResolverInboundEndpointIpConfigurationOutput
- type GetSoaRecordArgs
- type GetSoaRecordOutputArgs
- type GetSoaRecordResult
- type GetSoaRecordResultOutput
- func (GetSoaRecordResultOutput) ElementType() reflect.Type
- func (o GetSoaRecordResultOutput) Email() pulumi.StringOutput
- func (o GetSoaRecordResultOutput) ExpireTime() pulumi.IntOutput
- func (o GetSoaRecordResultOutput) Fqdn() pulumi.StringOutput
- func (o GetSoaRecordResultOutput) HostName() pulumi.StringOutput
- func (o GetSoaRecordResultOutput) Id() pulumi.StringOutput
- func (o GetSoaRecordResultOutput) MinimumTtl() pulumi.IntOutput
- func (o GetSoaRecordResultOutput) Name() pulumi.StringPtrOutput
- func (o GetSoaRecordResultOutput) RefreshTime() pulumi.IntOutput
- func (o GetSoaRecordResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o GetSoaRecordResultOutput) RetryTime() pulumi.IntOutput
- func (o GetSoaRecordResultOutput) SerialNumber() pulumi.IntOutput
- func (o GetSoaRecordResultOutput) Tags() pulumi.StringMapOutput
- func (o GetSoaRecordResultOutput) ToGetSoaRecordResultOutput() GetSoaRecordResultOutput
- func (o GetSoaRecordResultOutput) ToGetSoaRecordResultOutputWithContext(ctx context.Context) GetSoaRecordResultOutput
- func (o GetSoaRecordResultOutput) Ttl() pulumi.IntOutput
- func (o GetSoaRecordResultOutput) ZoneName() pulumi.StringOutput
- type GetSrvRecordArgs
- type GetSrvRecordOutputArgs
- type GetSrvRecordRecord
- type GetSrvRecordRecordArgs
- type GetSrvRecordRecordArray
- type GetSrvRecordRecordArrayInput
- type GetSrvRecordRecordArrayOutput
- func (GetSrvRecordRecordArrayOutput) ElementType() reflect.Type
- func (o GetSrvRecordRecordArrayOutput) Index(i pulumi.IntInput) GetSrvRecordRecordOutput
- func (o GetSrvRecordRecordArrayOutput) ToGetSrvRecordRecordArrayOutput() GetSrvRecordRecordArrayOutput
- func (o GetSrvRecordRecordArrayOutput) ToGetSrvRecordRecordArrayOutputWithContext(ctx context.Context) GetSrvRecordRecordArrayOutput
- type GetSrvRecordRecordInput
- type GetSrvRecordRecordOutput
- func (GetSrvRecordRecordOutput) ElementType() reflect.Type
- func (o GetSrvRecordRecordOutput) Port() pulumi.IntOutput
- func (o GetSrvRecordRecordOutput) Priority() pulumi.IntOutput
- func (o GetSrvRecordRecordOutput) Target() pulumi.StringOutput
- func (o GetSrvRecordRecordOutput) ToGetSrvRecordRecordOutput() GetSrvRecordRecordOutput
- func (o GetSrvRecordRecordOutput) ToGetSrvRecordRecordOutputWithContext(ctx context.Context) GetSrvRecordRecordOutput
- func (o GetSrvRecordRecordOutput) Weight() pulumi.IntOutput
- type GetSrvRecordResult
- type GetSrvRecordResultOutput
- func (GetSrvRecordResultOutput) ElementType() reflect.Type
- func (o GetSrvRecordResultOutput) Fqdn() pulumi.StringOutput
- func (o GetSrvRecordResultOutput) Id() pulumi.StringOutput
- func (o GetSrvRecordResultOutput) Name() pulumi.StringOutput
- func (o GetSrvRecordResultOutput) Records() GetSrvRecordRecordArrayOutput
- func (o GetSrvRecordResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o GetSrvRecordResultOutput) Tags() pulumi.StringMapOutput
- func (o GetSrvRecordResultOutput) ToGetSrvRecordResultOutput() GetSrvRecordResultOutput
- func (o GetSrvRecordResultOutput) ToGetSrvRecordResultOutputWithContext(ctx context.Context) GetSrvRecordResultOutput
- func (o GetSrvRecordResultOutput) Ttl() pulumi.IntOutput
- func (o GetSrvRecordResultOutput) ZoneName() pulumi.StringOutput
- type GetTxtRecordRecord
- type GetTxtRecordRecordArgs
- type GetTxtRecordRecordArray
- type GetTxtRecordRecordArrayInput
- type GetTxtRecordRecordArrayOutput
- func (GetTxtRecordRecordArrayOutput) ElementType() reflect.Type
- func (o GetTxtRecordRecordArrayOutput) Index(i pulumi.IntInput) GetTxtRecordRecordOutput
- func (o GetTxtRecordRecordArrayOutput) ToGetTxtRecordRecordArrayOutput() GetTxtRecordRecordArrayOutput
- func (o GetTxtRecordRecordArrayOutput) ToGetTxtRecordRecordArrayOutputWithContext(ctx context.Context) GetTxtRecordRecordArrayOutput
- type GetTxtRecordRecordInput
- type GetTxtRecordRecordOutput
- func (GetTxtRecordRecordOutput) ElementType() reflect.Type
- func (o GetTxtRecordRecordOutput) ToGetTxtRecordRecordOutput() GetTxtRecordRecordOutput
- func (o GetTxtRecordRecordOutput) ToGetTxtRecordRecordOutputWithContext(ctx context.Context) GetTxtRecordRecordOutput
- func (o GetTxtRecordRecordOutput) Value() pulumi.StringOutput
- type LinkService
- type LinkServiceArgs
- type LinkServiceArray
- type LinkServiceArrayInput
- type LinkServiceArrayOutput
- func (LinkServiceArrayOutput) ElementType() reflect.Type
- func (o LinkServiceArrayOutput) Index(i pulumi.IntInput) LinkServiceOutput
- func (o LinkServiceArrayOutput) ToLinkServiceArrayOutput() LinkServiceArrayOutput
- func (o LinkServiceArrayOutput) ToLinkServiceArrayOutputWithContext(ctx context.Context) LinkServiceArrayOutput
- type LinkServiceInput
- type LinkServiceMap
- type LinkServiceMapInput
- type LinkServiceMapOutput
- func (LinkServiceMapOutput) ElementType() reflect.Type
- func (o LinkServiceMapOutput) MapIndex(k pulumi.StringInput) LinkServiceOutput
- func (o LinkServiceMapOutput) ToLinkServiceMapOutput() LinkServiceMapOutput
- func (o LinkServiceMapOutput) ToLinkServiceMapOutputWithContext(ctx context.Context) LinkServiceMapOutput
- type LinkServiceNatIpConfiguration
- type LinkServiceNatIpConfigurationArgs
- func (LinkServiceNatIpConfigurationArgs) ElementType() reflect.Type
- func (i LinkServiceNatIpConfigurationArgs) ToLinkServiceNatIpConfigurationOutput() LinkServiceNatIpConfigurationOutput
- func (i LinkServiceNatIpConfigurationArgs) ToLinkServiceNatIpConfigurationOutputWithContext(ctx context.Context) LinkServiceNatIpConfigurationOutput
- type LinkServiceNatIpConfigurationArray
- func (LinkServiceNatIpConfigurationArray) ElementType() reflect.Type
- func (i LinkServiceNatIpConfigurationArray) ToLinkServiceNatIpConfigurationArrayOutput() LinkServiceNatIpConfigurationArrayOutput
- func (i LinkServiceNatIpConfigurationArray) ToLinkServiceNatIpConfigurationArrayOutputWithContext(ctx context.Context) LinkServiceNatIpConfigurationArrayOutput
- type LinkServiceNatIpConfigurationArrayInput
- type LinkServiceNatIpConfigurationArrayOutput
- func (LinkServiceNatIpConfigurationArrayOutput) ElementType() reflect.Type
- func (o LinkServiceNatIpConfigurationArrayOutput) Index(i pulumi.IntInput) LinkServiceNatIpConfigurationOutput
- func (o LinkServiceNatIpConfigurationArrayOutput) ToLinkServiceNatIpConfigurationArrayOutput() LinkServiceNatIpConfigurationArrayOutput
- func (o LinkServiceNatIpConfigurationArrayOutput) ToLinkServiceNatIpConfigurationArrayOutputWithContext(ctx context.Context) LinkServiceNatIpConfigurationArrayOutput
- type LinkServiceNatIpConfigurationInput
- type LinkServiceNatIpConfigurationOutput
- func (LinkServiceNatIpConfigurationOutput) ElementType() reflect.Type
- func (o LinkServiceNatIpConfigurationOutput) Name() pulumi.StringOutput
- func (o LinkServiceNatIpConfigurationOutput) Primary() pulumi.BoolOutput
- func (o LinkServiceNatIpConfigurationOutput) PrivateIpAddress() pulumi.StringPtrOutput
- func (o LinkServiceNatIpConfigurationOutput) PrivateIpAddressVersion() pulumi.StringPtrOutput
- func (o LinkServiceNatIpConfigurationOutput) SubnetId() pulumi.StringOutput
- func (o LinkServiceNatIpConfigurationOutput) ToLinkServiceNatIpConfigurationOutput() LinkServiceNatIpConfigurationOutput
- func (o LinkServiceNatIpConfigurationOutput) ToLinkServiceNatIpConfigurationOutputWithContext(ctx context.Context) LinkServiceNatIpConfigurationOutput
- type LinkServiceOutput
- func (o LinkServiceOutput) Alias() pulumi.StringOutput
- func (o LinkServiceOutput) AutoApprovalSubscriptionIds() pulumi.StringArrayOutput
- func (LinkServiceOutput) ElementType() reflect.Type
- func (o LinkServiceOutput) EnableProxyProtocol() pulumi.BoolPtrOutput
- func (o LinkServiceOutput) Fqdns() pulumi.StringArrayOutput
- func (o LinkServiceOutput) LoadBalancerFrontendIpConfigurationIds() pulumi.StringArrayOutput
- func (o LinkServiceOutput) Location() pulumi.StringOutput
- func (o LinkServiceOutput) Name() pulumi.StringOutput
- func (o LinkServiceOutput) NatIpConfigurations() LinkServiceNatIpConfigurationArrayOutput
- func (o LinkServiceOutput) ResourceGroupName() pulumi.StringOutput
- func (o LinkServiceOutput) Tags() pulumi.StringMapOutput
- func (o LinkServiceOutput) ToLinkServiceOutput() LinkServiceOutput
- func (o LinkServiceOutput) ToLinkServiceOutputWithContext(ctx context.Context) LinkServiceOutput
- func (o LinkServiceOutput) VisibilitySubscriptionIds() pulumi.StringArrayOutput
- type LinkServiceState
- type LookupAAAARecordArgs
- type LookupAAAARecordOutputArgs
- type LookupAAAARecordResult
- type LookupAAAARecordResultOutput
- func (LookupAAAARecordResultOutput) ElementType() reflect.Type
- func (o LookupAAAARecordResultOutput) Fqdn() pulumi.StringOutput
- func (o LookupAAAARecordResultOutput) Id() pulumi.StringOutput
- func (o LookupAAAARecordResultOutput) Name() pulumi.StringOutput
- func (o LookupAAAARecordResultOutput) Records() pulumi.StringArrayOutput
- func (o LookupAAAARecordResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupAAAARecordResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupAAAARecordResultOutput) ToLookupAAAARecordResultOutput() LookupAAAARecordResultOutput
- func (o LookupAAAARecordResultOutput) ToLookupAAAARecordResultOutputWithContext(ctx context.Context) LookupAAAARecordResultOutput
- func (o LookupAAAARecordResultOutput) Ttl() pulumi.IntOutput
- func (o LookupAAAARecordResultOutput) ZoneName() pulumi.StringOutput
- type LookupARecordArgs
- type LookupARecordOutputArgs
- type LookupARecordResult
- type LookupARecordResultOutput
- func (LookupARecordResultOutput) ElementType() reflect.Type
- func (o LookupARecordResultOutput) Fqdn() pulumi.StringOutput
- func (o LookupARecordResultOutput) Id() pulumi.StringOutput
- func (o LookupARecordResultOutput) Name() pulumi.StringOutput
- func (o LookupARecordResultOutput) Records() pulumi.StringArrayOutput
- func (o LookupARecordResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupARecordResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupARecordResultOutput) ToLookupARecordResultOutput() LookupARecordResultOutput
- func (o LookupARecordResultOutput) ToLookupARecordResultOutputWithContext(ctx context.Context) LookupARecordResultOutput
- func (o LookupARecordResultOutput) Ttl() pulumi.IntOutput
- func (o LookupARecordResultOutput) ZoneName() pulumi.StringOutput
- type LookupCnameRecordArgs
- type LookupCnameRecordOutputArgs
- type LookupCnameRecordResult
- type LookupCnameRecordResultOutput
- func (LookupCnameRecordResultOutput) ElementType() reflect.Type
- func (o LookupCnameRecordResultOutput) Fqdn() pulumi.StringOutput
- func (o LookupCnameRecordResultOutput) Id() pulumi.StringOutput
- func (o LookupCnameRecordResultOutput) Name() pulumi.StringOutput
- func (o LookupCnameRecordResultOutput) Record() pulumi.StringOutput
- func (o LookupCnameRecordResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupCnameRecordResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupCnameRecordResultOutput) TargetResourceId() pulumi.StringOutput
- func (o LookupCnameRecordResultOutput) ToLookupCnameRecordResultOutput() LookupCnameRecordResultOutput
- func (o LookupCnameRecordResultOutput) ToLookupCnameRecordResultOutputWithContext(ctx context.Context) LookupCnameRecordResultOutput
- func (o LookupCnameRecordResultOutput) Ttl() pulumi.IntOutput
- func (o LookupCnameRecordResultOutput) ZoneName() pulumi.StringOutput
- type LookupMxRecordArgs
- type LookupMxRecordOutputArgs
- type LookupMxRecordResult
- type LookupMxRecordResultOutput
- func (LookupMxRecordResultOutput) ElementType() reflect.Type
- func (o LookupMxRecordResultOutput) Fqdn() pulumi.StringOutput
- func (o LookupMxRecordResultOutput) Id() pulumi.StringOutput
- func (o LookupMxRecordResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupMxRecordResultOutput) Records() GetMxRecordRecordArrayOutput
- func (o LookupMxRecordResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupMxRecordResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupMxRecordResultOutput) ToLookupMxRecordResultOutput() LookupMxRecordResultOutput
- func (o LookupMxRecordResultOutput) ToLookupMxRecordResultOutputWithContext(ctx context.Context) LookupMxRecordResultOutput
- func (o LookupMxRecordResultOutput) Ttl() pulumi.IntOutput
- func (o LookupMxRecordResultOutput) ZoneName() pulumi.StringOutput
- type LookupResolverArgs
- type LookupResolverDnsForwardingRulesetArgs
- type LookupResolverDnsForwardingRulesetOutputArgs
- type LookupResolverDnsForwardingRulesetResult
- type LookupResolverDnsForwardingRulesetResultOutput
- func (LookupResolverDnsForwardingRulesetResultOutput) ElementType() reflect.Type
- func (o LookupResolverDnsForwardingRulesetResultOutput) Id() pulumi.StringOutput
- func (o LookupResolverDnsForwardingRulesetResultOutput) Location() pulumi.StringOutput
- func (o LookupResolverDnsForwardingRulesetResultOutput) Name() pulumi.StringOutput
- func (o LookupResolverDnsForwardingRulesetResultOutput) PrivateDnsResolverOutboundEndpointIds() pulumi.StringArrayOutput
- func (o LookupResolverDnsForwardingRulesetResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupResolverDnsForwardingRulesetResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupResolverDnsForwardingRulesetResultOutput) ToLookupResolverDnsForwardingRulesetResultOutput() LookupResolverDnsForwardingRulesetResultOutput
- func (o LookupResolverDnsForwardingRulesetResultOutput) ToLookupResolverDnsForwardingRulesetResultOutputWithContext(ctx context.Context) LookupResolverDnsForwardingRulesetResultOutput
- type LookupResolverForwardingRuleArgs
- type LookupResolverForwardingRuleOutputArgs
- type LookupResolverForwardingRuleResult
- type LookupResolverForwardingRuleResultOutput
- func (o LookupResolverForwardingRuleResultOutput) DnsForwardingRulesetId() pulumi.StringOutput
- func (o LookupResolverForwardingRuleResultOutput) DomainName() pulumi.StringOutput
- func (LookupResolverForwardingRuleResultOutput) ElementType() reflect.Type
- func (o LookupResolverForwardingRuleResultOutput) Enabled() pulumi.BoolOutput
- func (o LookupResolverForwardingRuleResultOutput) Id() pulumi.StringOutput
- func (o LookupResolverForwardingRuleResultOutput) Metadata() pulumi.StringMapOutput
- func (o LookupResolverForwardingRuleResultOutput) Name() pulumi.StringOutput
- func (o LookupResolverForwardingRuleResultOutput) TargetDnsServers() GetResolverForwardingRuleTargetDnsServerArrayOutput
- func (o LookupResolverForwardingRuleResultOutput) ToLookupResolverForwardingRuleResultOutput() LookupResolverForwardingRuleResultOutput
- func (o LookupResolverForwardingRuleResultOutput) ToLookupResolverForwardingRuleResultOutputWithContext(ctx context.Context) LookupResolverForwardingRuleResultOutput
- type LookupResolverInboundEndpointArgs
- type LookupResolverInboundEndpointOutputArgs
- type LookupResolverInboundEndpointResult
- type LookupResolverInboundEndpointResultOutput
- func (LookupResolverInboundEndpointResultOutput) ElementType() reflect.Type
- func (o LookupResolverInboundEndpointResultOutput) Id() pulumi.StringOutput
- func (o LookupResolverInboundEndpointResultOutput) IpConfigurations() GetResolverInboundEndpointIpConfigurationArrayOutput
- func (o LookupResolverInboundEndpointResultOutput) Location() pulumi.StringOutput
- func (o LookupResolverInboundEndpointResultOutput) Name() pulumi.StringOutput
- func (o LookupResolverInboundEndpointResultOutput) PrivateDnsResolverId() pulumi.StringOutput
- func (o LookupResolverInboundEndpointResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupResolverInboundEndpointResultOutput) ToLookupResolverInboundEndpointResultOutput() LookupResolverInboundEndpointResultOutput
- func (o LookupResolverInboundEndpointResultOutput) ToLookupResolverInboundEndpointResultOutputWithContext(ctx context.Context) LookupResolverInboundEndpointResultOutput
- type LookupResolverOutboundEndpointArgs
- type LookupResolverOutboundEndpointOutputArgs
- type LookupResolverOutboundEndpointResult
- type LookupResolverOutboundEndpointResultOutput
- func (LookupResolverOutboundEndpointResultOutput) ElementType() reflect.Type
- func (o LookupResolverOutboundEndpointResultOutput) Id() pulumi.StringOutput
- func (o LookupResolverOutboundEndpointResultOutput) Location() pulumi.StringOutput
- func (o LookupResolverOutboundEndpointResultOutput) Name() pulumi.StringOutput
- func (o LookupResolverOutboundEndpointResultOutput) PrivateDnsResolverId() pulumi.StringOutput
- func (o LookupResolverOutboundEndpointResultOutput) SubnetId() pulumi.StringOutput
- func (o LookupResolverOutboundEndpointResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupResolverOutboundEndpointResultOutput) ToLookupResolverOutboundEndpointResultOutput() LookupResolverOutboundEndpointResultOutput
- func (o LookupResolverOutboundEndpointResultOutput) ToLookupResolverOutboundEndpointResultOutputWithContext(ctx context.Context) LookupResolverOutboundEndpointResultOutput
- type LookupResolverOutputArgs
- type LookupResolverResult
- type LookupResolverResultOutput
- func (LookupResolverResultOutput) ElementType() reflect.Type
- func (o LookupResolverResultOutput) Id() pulumi.StringOutput
- func (o LookupResolverResultOutput) Location() pulumi.StringOutput
- func (o LookupResolverResultOutput) Name() pulumi.StringOutput
- func (o LookupResolverResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupResolverResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupResolverResultOutput) ToLookupResolverResultOutput() LookupResolverResultOutput
- func (o LookupResolverResultOutput) ToLookupResolverResultOutputWithContext(ctx context.Context) LookupResolverResultOutput
- func (o LookupResolverResultOutput) VirtualNetworkId() pulumi.StringOutput
- type LookupResolverVirtualNetworkLinkArgs
- type LookupResolverVirtualNetworkLinkOutputArgs
- type LookupResolverVirtualNetworkLinkResult
- type LookupResolverVirtualNetworkLinkResultOutput
- func (o LookupResolverVirtualNetworkLinkResultOutput) DnsForwardingRulesetId() pulumi.StringOutput
- func (LookupResolverVirtualNetworkLinkResultOutput) ElementType() reflect.Type
- func (o LookupResolverVirtualNetworkLinkResultOutput) Id() pulumi.StringOutput
- func (o LookupResolverVirtualNetworkLinkResultOutput) Metadata() pulumi.StringMapOutput
- func (o LookupResolverVirtualNetworkLinkResultOutput) Name() pulumi.StringOutput
- func (o LookupResolverVirtualNetworkLinkResultOutput) ToLookupResolverVirtualNetworkLinkResultOutput() LookupResolverVirtualNetworkLinkResultOutput
- func (o LookupResolverVirtualNetworkLinkResultOutput) ToLookupResolverVirtualNetworkLinkResultOutputWithContext(ctx context.Context) LookupResolverVirtualNetworkLinkResultOutput
- func (o LookupResolverVirtualNetworkLinkResultOutput) VirtualNetworkId() pulumi.StringOutput
- type LookupTxtRecordArgs
- type LookupTxtRecordOutputArgs
- type LookupTxtRecordResult
- type LookupTxtRecordResultOutput
- func (LookupTxtRecordResultOutput) ElementType() reflect.Type
- func (o LookupTxtRecordResultOutput) Fqdn() pulumi.StringOutput
- func (o LookupTxtRecordResultOutput) Id() pulumi.StringOutput
- func (o LookupTxtRecordResultOutput) Name() pulumi.StringOutput
- func (o LookupTxtRecordResultOutput) Records() GetTxtRecordRecordArrayOutput
- func (o LookupTxtRecordResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupTxtRecordResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupTxtRecordResultOutput) ToLookupTxtRecordResultOutput() LookupTxtRecordResultOutput
- func (o LookupTxtRecordResultOutput) ToLookupTxtRecordResultOutputWithContext(ctx context.Context) LookupTxtRecordResultOutput
- func (o LookupTxtRecordResultOutput) Ttl() pulumi.IntOutput
- func (o LookupTxtRecordResultOutput) ZoneName() pulumi.StringOutput
- type LookupZoneVirtualNetworkLinkArgs
- type LookupZoneVirtualNetworkLinkOutputArgs
- type LookupZoneVirtualNetworkLinkResult
- type LookupZoneVirtualNetworkLinkResultOutput
- func (LookupZoneVirtualNetworkLinkResultOutput) ElementType() reflect.Type
- func (o LookupZoneVirtualNetworkLinkResultOutput) Id() pulumi.StringOutput
- func (o LookupZoneVirtualNetworkLinkResultOutput) Name() pulumi.StringOutput
- func (o LookupZoneVirtualNetworkLinkResultOutput) PrivateDnsZoneName() pulumi.StringOutput
- func (o LookupZoneVirtualNetworkLinkResultOutput) RegistrationEnabled() pulumi.BoolOutput
- func (o LookupZoneVirtualNetworkLinkResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupZoneVirtualNetworkLinkResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupZoneVirtualNetworkLinkResultOutput) ToLookupZoneVirtualNetworkLinkResultOutput() LookupZoneVirtualNetworkLinkResultOutput
- func (o LookupZoneVirtualNetworkLinkResultOutput) ToLookupZoneVirtualNetworkLinkResultOutputWithContext(ctx context.Context) LookupZoneVirtualNetworkLinkResultOutput
- func (o LookupZoneVirtualNetworkLinkResultOutput) VirtualNetworkId() pulumi.StringOutput
- type MxRecord
- type MxRecordArgs
- type MxRecordArray
- type MxRecordArrayInput
- type MxRecordArrayOutput
- type MxRecordInput
- type MxRecordMap
- type MxRecordMapInput
- type MxRecordMapOutput
- type MxRecordOutput
- func (MxRecordOutput) ElementType() reflect.Type
- func (o MxRecordOutput) Fqdn() pulumi.StringOutput
- func (o MxRecordOutput) Name() pulumi.StringOutput
- func (o MxRecordOutput) Records() MxRecordRecordArrayOutput
- func (o MxRecordOutput) ResourceGroupName() pulumi.StringOutput
- func (o MxRecordOutput) Tags() pulumi.StringMapOutput
- func (o MxRecordOutput) ToMxRecordOutput() MxRecordOutput
- func (o MxRecordOutput) ToMxRecordOutputWithContext(ctx context.Context) MxRecordOutput
- func (o MxRecordOutput) Ttl() pulumi.IntOutput
- func (o MxRecordOutput) ZoneName() pulumi.StringOutput
- type MxRecordRecord
- type MxRecordRecordArgs
- type MxRecordRecordArray
- type MxRecordRecordArrayInput
- type MxRecordRecordArrayOutput
- func (MxRecordRecordArrayOutput) ElementType() reflect.Type
- func (o MxRecordRecordArrayOutput) Index(i pulumi.IntInput) MxRecordRecordOutput
- func (o MxRecordRecordArrayOutput) ToMxRecordRecordArrayOutput() MxRecordRecordArrayOutput
- func (o MxRecordRecordArrayOutput) ToMxRecordRecordArrayOutputWithContext(ctx context.Context) MxRecordRecordArrayOutput
- type MxRecordRecordInput
- type MxRecordRecordOutput
- func (MxRecordRecordOutput) ElementType() reflect.Type
- func (o MxRecordRecordOutput) Exchange() pulumi.StringOutput
- func (o MxRecordRecordOutput) Preference() pulumi.IntOutput
- func (o MxRecordRecordOutput) ToMxRecordRecordOutput() MxRecordRecordOutput
- func (o MxRecordRecordOutput) ToMxRecordRecordOutputWithContext(ctx context.Context) MxRecordRecordOutput
- type MxRecordState
- type PTRRecord
- type PTRRecordArgs
- type PTRRecordArray
- type PTRRecordArrayInput
- type PTRRecordArrayOutput
- func (PTRRecordArrayOutput) ElementType() reflect.Type
- func (o PTRRecordArrayOutput) Index(i pulumi.IntInput) PTRRecordOutput
- func (o PTRRecordArrayOutput) ToPTRRecordArrayOutput() PTRRecordArrayOutput
- func (o PTRRecordArrayOutput) ToPTRRecordArrayOutputWithContext(ctx context.Context) PTRRecordArrayOutput
- type PTRRecordInput
- type PTRRecordMap
- type PTRRecordMapInput
- type PTRRecordMapOutput
- type PTRRecordOutput
- func (PTRRecordOutput) ElementType() reflect.Type
- func (o PTRRecordOutput) Fqdn() pulumi.StringOutput
- func (o PTRRecordOutput) Name() pulumi.StringOutput
- func (o PTRRecordOutput) Records() pulumi.StringArrayOutput
- func (o PTRRecordOutput) ResourceGroupName() pulumi.StringOutput
- func (o PTRRecordOutput) Tags() pulumi.StringMapOutput
- func (o PTRRecordOutput) ToPTRRecordOutput() PTRRecordOutput
- func (o PTRRecordOutput) ToPTRRecordOutputWithContext(ctx context.Context) PTRRecordOutput
- func (o PTRRecordOutput) Ttl() pulumi.IntOutput
- func (o PTRRecordOutput) ZoneName() pulumi.StringOutput
- type PTRRecordState
- type Resolver
- type ResolverArgs
- type ResolverArray
- type ResolverArrayInput
- type ResolverArrayOutput
- type ResolverDnsForwardingRuleset
- func (*ResolverDnsForwardingRuleset) ElementType() reflect.Type
- func (i *ResolverDnsForwardingRuleset) ToResolverDnsForwardingRulesetOutput() ResolverDnsForwardingRulesetOutput
- func (i *ResolverDnsForwardingRuleset) ToResolverDnsForwardingRulesetOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetOutput
- type ResolverDnsForwardingRulesetArgs
- type ResolverDnsForwardingRulesetArray
- func (ResolverDnsForwardingRulesetArray) ElementType() reflect.Type
- func (i ResolverDnsForwardingRulesetArray) ToResolverDnsForwardingRulesetArrayOutput() ResolverDnsForwardingRulesetArrayOutput
- func (i ResolverDnsForwardingRulesetArray) ToResolverDnsForwardingRulesetArrayOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetArrayOutput
- type ResolverDnsForwardingRulesetArrayInput
- type ResolverDnsForwardingRulesetArrayOutput
- func (ResolverDnsForwardingRulesetArrayOutput) ElementType() reflect.Type
- func (o ResolverDnsForwardingRulesetArrayOutput) Index(i pulumi.IntInput) ResolverDnsForwardingRulesetOutput
- func (o ResolverDnsForwardingRulesetArrayOutput) ToResolverDnsForwardingRulesetArrayOutput() ResolverDnsForwardingRulesetArrayOutput
- func (o ResolverDnsForwardingRulesetArrayOutput) ToResolverDnsForwardingRulesetArrayOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetArrayOutput
- type ResolverDnsForwardingRulesetInput
- type ResolverDnsForwardingRulesetMap
- func (ResolverDnsForwardingRulesetMap) ElementType() reflect.Type
- func (i ResolverDnsForwardingRulesetMap) ToResolverDnsForwardingRulesetMapOutput() ResolverDnsForwardingRulesetMapOutput
- func (i ResolverDnsForwardingRulesetMap) ToResolverDnsForwardingRulesetMapOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetMapOutput
- type ResolverDnsForwardingRulesetMapInput
- type ResolverDnsForwardingRulesetMapOutput
- func (ResolverDnsForwardingRulesetMapOutput) ElementType() reflect.Type
- func (o ResolverDnsForwardingRulesetMapOutput) MapIndex(k pulumi.StringInput) ResolverDnsForwardingRulesetOutput
- func (o ResolverDnsForwardingRulesetMapOutput) ToResolverDnsForwardingRulesetMapOutput() ResolverDnsForwardingRulesetMapOutput
- func (o ResolverDnsForwardingRulesetMapOutput) ToResolverDnsForwardingRulesetMapOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetMapOutput
- type ResolverDnsForwardingRulesetOutput
- func (ResolverDnsForwardingRulesetOutput) ElementType() reflect.Type
- func (o ResolverDnsForwardingRulesetOutput) Location() pulumi.StringOutput
- func (o ResolverDnsForwardingRulesetOutput) Name() pulumi.StringOutput
- func (o ResolverDnsForwardingRulesetOutput) PrivateDnsResolverOutboundEndpointIds() pulumi.StringArrayOutput
- func (o ResolverDnsForwardingRulesetOutput) ResourceGroupName() pulumi.StringOutput
- func (o ResolverDnsForwardingRulesetOutput) Tags() pulumi.StringMapOutput
- func (o ResolverDnsForwardingRulesetOutput) ToResolverDnsForwardingRulesetOutput() ResolverDnsForwardingRulesetOutput
- func (o ResolverDnsForwardingRulesetOutput) ToResolverDnsForwardingRulesetOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetOutput
- type ResolverDnsForwardingRulesetState
- type ResolverForwardingRule
- type ResolverForwardingRuleArgs
- type ResolverForwardingRuleArray
- func (ResolverForwardingRuleArray) ElementType() reflect.Type
- func (i ResolverForwardingRuleArray) ToResolverForwardingRuleArrayOutput() ResolverForwardingRuleArrayOutput
- func (i ResolverForwardingRuleArray) ToResolverForwardingRuleArrayOutputWithContext(ctx context.Context) ResolverForwardingRuleArrayOutput
- type ResolverForwardingRuleArrayInput
- type ResolverForwardingRuleArrayOutput
- func (ResolverForwardingRuleArrayOutput) ElementType() reflect.Type
- func (o ResolverForwardingRuleArrayOutput) Index(i pulumi.IntInput) ResolverForwardingRuleOutput
- func (o ResolverForwardingRuleArrayOutput) ToResolverForwardingRuleArrayOutput() ResolverForwardingRuleArrayOutput
- func (o ResolverForwardingRuleArrayOutput) ToResolverForwardingRuleArrayOutputWithContext(ctx context.Context) ResolverForwardingRuleArrayOutput
- type ResolverForwardingRuleInput
- type ResolverForwardingRuleMap
- type ResolverForwardingRuleMapInput
- type ResolverForwardingRuleMapOutput
- func (ResolverForwardingRuleMapOutput) ElementType() reflect.Type
- func (o ResolverForwardingRuleMapOutput) MapIndex(k pulumi.StringInput) ResolverForwardingRuleOutput
- func (o ResolverForwardingRuleMapOutput) ToResolverForwardingRuleMapOutput() ResolverForwardingRuleMapOutput
- func (o ResolverForwardingRuleMapOutput) ToResolverForwardingRuleMapOutputWithContext(ctx context.Context) ResolverForwardingRuleMapOutput
- type ResolverForwardingRuleOutput
- func (o ResolverForwardingRuleOutput) DnsForwardingRulesetId() pulumi.StringOutput
- func (o ResolverForwardingRuleOutput) DomainName() pulumi.StringOutput
- func (ResolverForwardingRuleOutput) ElementType() reflect.Type
- func (o ResolverForwardingRuleOutput) Enabled() pulumi.BoolPtrOutput
- func (o ResolverForwardingRuleOutput) Metadata() pulumi.StringMapOutput
- func (o ResolverForwardingRuleOutput) Name() pulumi.StringOutput
- func (o ResolverForwardingRuleOutput) TargetDnsServers() ResolverForwardingRuleTargetDnsServerArrayOutput
- func (o ResolverForwardingRuleOutput) ToResolverForwardingRuleOutput() ResolverForwardingRuleOutput
- func (o ResolverForwardingRuleOutput) ToResolverForwardingRuleOutputWithContext(ctx context.Context) ResolverForwardingRuleOutput
- type ResolverForwardingRuleState
- type ResolverForwardingRuleTargetDnsServer
- type ResolverForwardingRuleTargetDnsServerArgs
- func (ResolverForwardingRuleTargetDnsServerArgs) ElementType() reflect.Type
- func (i ResolverForwardingRuleTargetDnsServerArgs) ToResolverForwardingRuleTargetDnsServerOutput() ResolverForwardingRuleTargetDnsServerOutput
- func (i ResolverForwardingRuleTargetDnsServerArgs) ToResolverForwardingRuleTargetDnsServerOutputWithContext(ctx context.Context) ResolverForwardingRuleTargetDnsServerOutput
- type ResolverForwardingRuleTargetDnsServerArray
- func (ResolverForwardingRuleTargetDnsServerArray) ElementType() reflect.Type
- func (i ResolverForwardingRuleTargetDnsServerArray) ToResolverForwardingRuleTargetDnsServerArrayOutput() ResolverForwardingRuleTargetDnsServerArrayOutput
- func (i ResolverForwardingRuleTargetDnsServerArray) ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext(ctx context.Context) ResolverForwardingRuleTargetDnsServerArrayOutput
- type ResolverForwardingRuleTargetDnsServerArrayInput
- type ResolverForwardingRuleTargetDnsServerArrayOutput
- func (ResolverForwardingRuleTargetDnsServerArrayOutput) ElementType() reflect.Type
- func (o ResolverForwardingRuleTargetDnsServerArrayOutput) Index(i pulumi.IntInput) ResolverForwardingRuleTargetDnsServerOutput
- func (o ResolverForwardingRuleTargetDnsServerArrayOutput) ToResolverForwardingRuleTargetDnsServerArrayOutput() ResolverForwardingRuleTargetDnsServerArrayOutput
- func (o ResolverForwardingRuleTargetDnsServerArrayOutput) ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext(ctx context.Context) ResolverForwardingRuleTargetDnsServerArrayOutput
- type ResolverForwardingRuleTargetDnsServerInput
- type ResolverForwardingRuleTargetDnsServerOutput
- func (ResolverForwardingRuleTargetDnsServerOutput) ElementType() reflect.Type
- func (o ResolverForwardingRuleTargetDnsServerOutput) IpAddress() pulumi.StringOutput
- func (o ResolverForwardingRuleTargetDnsServerOutput) Port() pulumi.IntPtrOutput
- func (o ResolverForwardingRuleTargetDnsServerOutput) ToResolverForwardingRuleTargetDnsServerOutput() ResolverForwardingRuleTargetDnsServerOutput
- func (o ResolverForwardingRuleTargetDnsServerOutput) ToResolverForwardingRuleTargetDnsServerOutputWithContext(ctx context.Context) ResolverForwardingRuleTargetDnsServerOutput
- type ResolverInboundEndpoint
- type ResolverInboundEndpointArgs
- type ResolverInboundEndpointArray
- func (ResolverInboundEndpointArray) ElementType() reflect.Type
- func (i ResolverInboundEndpointArray) ToResolverInboundEndpointArrayOutput() ResolverInboundEndpointArrayOutput
- func (i ResolverInboundEndpointArray) ToResolverInboundEndpointArrayOutputWithContext(ctx context.Context) ResolverInboundEndpointArrayOutput
- type ResolverInboundEndpointArrayInput
- type ResolverInboundEndpointArrayOutput
- func (ResolverInboundEndpointArrayOutput) ElementType() reflect.Type
- func (o ResolverInboundEndpointArrayOutput) Index(i pulumi.IntInput) ResolverInboundEndpointOutput
- func (o ResolverInboundEndpointArrayOutput) ToResolverInboundEndpointArrayOutput() ResolverInboundEndpointArrayOutput
- func (o ResolverInboundEndpointArrayOutput) ToResolverInboundEndpointArrayOutputWithContext(ctx context.Context) ResolverInboundEndpointArrayOutput
- type ResolverInboundEndpointInput
- type ResolverInboundEndpointIpConfiguration
- type ResolverInboundEndpointIpConfigurationArgs
- func (ResolverInboundEndpointIpConfigurationArgs) ElementType() reflect.Type
- func (i ResolverInboundEndpointIpConfigurationArgs) ToResolverInboundEndpointIpConfigurationOutput() ResolverInboundEndpointIpConfigurationOutput
- func (i ResolverInboundEndpointIpConfigurationArgs) ToResolverInboundEndpointIpConfigurationOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationOutput
- type ResolverInboundEndpointIpConfigurationArray
- func (ResolverInboundEndpointIpConfigurationArray) ElementType() reflect.Type
- func (i ResolverInboundEndpointIpConfigurationArray) ToResolverInboundEndpointIpConfigurationArrayOutput() ResolverInboundEndpointIpConfigurationArrayOutput
- func (i ResolverInboundEndpointIpConfigurationArray) ToResolverInboundEndpointIpConfigurationArrayOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationArrayOutput
- type ResolverInboundEndpointIpConfigurationArrayInput
- type ResolverInboundEndpointIpConfigurationArrayOutput
- func (ResolverInboundEndpointIpConfigurationArrayOutput) ElementType() reflect.Type
- func (o ResolverInboundEndpointIpConfigurationArrayOutput) Index(i pulumi.IntInput) ResolverInboundEndpointIpConfigurationOutput
- func (o ResolverInboundEndpointIpConfigurationArrayOutput) ToResolverInboundEndpointIpConfigurationArrayOutput() ResolverInboundEndpointIpConfigurationArrayOutput
- func (o ResolverInboundEndpointIpConfigurationArrayOutput) ToResolverInboundEndpointIpConfigurationArrayOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationArrayOutput
- type ResolverInboundEndpointIpConfigurationInput
- type ResolverInboundEndpointIpConfigurationOutput
- func (ResolverInboundEndpointIpConfigurationOutput) ElementType() reflect.Type
- func (o ResolverInboundEndpointIpConfigurationOutput) PrivateIpAddress() pulumi.StringPtrOutput
- func (o ResolverInboundEndpointIpConfigurationOutput) PrivateIpAllocationMethod() pulumi.StringPtrOutput
- func (o ResolverInboundEndpointIpConfigurationOutput) SubnetId() pulumi.StringOutput
- func (o ResolverInboundEndpointIpConfigurationOutput) ToResolverInboundEndpointIpConfigurationOutput() ResolverInboundEndpointIpConfigurationOutput
- func (o ResolverInboundEndpointIpConfigurationOutput) ToResolverInboundEndpointIpConfigurationOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationOutput
- type ResolverInboundEndpointMap
- func (ResolverInboundEndpointMap) ElementType() reflect.Type
- func (i ResolverInboundEndpointMap) ToResolverInboundEndpointMapOutput() ResolverInboundEndpointMapOutput
- func (i ResolverInboundEndpointMap) ToResolverInboundEndpointMapOutputWithContext(ctx context.Context) ResolverInboundEndpointMapOutput
- type ResolverInboundEndpointMapInput
- type ResolverInboundEndpointMapOutput
- func (ResolverInboundEndpointMapOutput) ElementType() reflect.Type
- func (o ResolverInboundEndpointMapOutput) MapIndex(k pulumi.StringInput) ResolverInboundEndpointOutput
- func (o ResolverInboundEndpointMapOutput) ToResolverInboundEndpointMapOutput() ResolverInboundEndpointMapOutput
- func (o ResolverInboundEndpointMapOutput) ToResolverInboundEndpointMapOutputWithContext(ctx context.Context) ResolverInboundEndpointMapOutput
- type ResolverInboundEndpointOutput
- func (ResolverInboundEndpointOutput) ElementType() reflect.Type
- func (o ResolverInboundEndpointOutput) IpConfigurations() ResolverInboundEndpointIpConfigurationArrayOutput
- func (o ResolverInboundEndpointOutput) Location() pulumi.StringOutput
- func (o ResolverInboundEndpointOutput) Name() pulumi.StringOutput
- func (o ResolverInboundEndpointOutput) PrivateDnsResolverId() pulumi.StringOutput
- func (o ResolverInboundEndpointOutput) Tags() pulumi.StringMapOutput
- func (o ResolverInboundEndpointOutput) ToResolverInboundEndpointOutput() ResolverInboundEndpointOutput
- func (o ResolverInboundEndpointOutput) ToResolverInboundEndpointOutputWithContext(ctx context.Context) ResolverInboundEndpointOutput
- type ResolverInboundEndpointState
- type ResolverInput
- type ResolverMap
- type ResolverMapInput
- type ResolverMapOutput
- type ResolverOutboundEndpoint
- type ResolverOutboundEndpointArgs
- type ResolverOutboundEndpointArray
- func (ResolverOutboundEndpointArray) ElementType() reflect.Type
- func (i ResolverOutboundEndpointArray) ToResolverOutboundEndpointArrayOutput() ResolverOutboundEndpointArrayOutput
- func (i ResolverOutboundEndpointArray) ToResolverOutboundEndpointArrayOutputWithContext(ctx context.Context) ResolverOutboundEndpointArrayOutput
- type ResolverOutboundEndpointArrayInput
- type ResolverOutboundEndpointArrayOutput
- func (ResolverOutboundEndpointArrayOutput) ElementType() reflect.Type
- func (o ResolverOutboundEndpointArrayOutput) Index(i pulumi.IntInput) ResolverOutboundEndpointOutput
- func (o ResolverOutboundEndpointArrayOutput) ToResolverOutboundEndpointArrayOutput() ResolverOutboundEndpointArrayOutput
- func (o ResolverOutboundEndpointArrayOutput) ToResolverOutboundEndpointArrayOutputWithContext(ctx context.Context) ResolverOutboundEndpointArrayOutput
- type ResolverOutboundEndpointInput
- type ResolverOutboundEndpointMap
- func (ResolverOutboundEndpointMap) ElementType() reflect.Type
- func (i ResolverOutboundEndpointMap) ToResolverOutboundEndpointMapOutput() ResolverOutboundEndpointMapOutput
- func (i ResolverOutboundEndpointMap) ToResolverOutboundEndpointMapOutputWithContext(ctx context.Context) ResolverOutboundEndpointMapOutput
- type ResolverOutboundEndpointMapInput
- type ResolverOutboundEndpointMapOutput
- func (ResolverOutboundEndpointMapOutput) ElementType() reflect.Type
- func (o ResolverOutboundEndpointMapOutput) MapIndex(k pulumi.StringInput) ResolverOutboundEndpointOutput
- func (o ResolverOutboundEndpointMapOutput) ToResolverOutboundEndpointMapOutput() ResolverOutboundEndpointMapOutput
- func (o ResolverOutboundEndpointMapOutput) ToResolverOutboundEndpointMapOutputWithContext(ctx context.Context) ResolverOutboundEndpointMapOutput
- type ResolverOutboundEndpointOutput
- func (ResolverOutboundEndpointOutput) ElementType() reflect.Type
- func (o ResolverOutboundEndpointOutput) Location() pulumi.StringOutput
- func (o ResolverOutboundEndpointOutput) Name() pulumi.StringOutput
- func (o ResolverOutboundEndpointOutput) PrivateDnsResolverId() pulumi.StringOutput
- func (o ResolverOutboundEndpointOutput) SubnetId() pulumi.StringOutput
- func (o ResolverOutboundEndpointOutput) Tags() pulumi.StringMapOutput
- func (o ResolverOutboundEndpointOutput) ToResolverOutboundEndpointOutput() ResolverOutboundEndpointOutput
- func (o ResolverOutboundEndpointOutput) ToResolverOutboundEndpointOutputWithContext(ctx context.Context) ResolverOutboundEndpointOutput
- type ResolverOutboundEndpointState
- type ResolverOutput
- func (ResolverOutput) ElementType() reflect.Type
- func (o ResolverOutput) Location() pulumi.StringOutput
- func (o ResolverOutput) Name() pulumi.StringOutput
- func (o ResolverOutput) ResourceGroupName() pulumi.StringOutput
- func (o ResolverOutput) Tags() pulumi.StringMapOutput
- func (o ResolverOutput) ToResolverOutput() ResolverOutput
- func (o ResolverOutput) ToResolverOutputWithContext(ctx context.Context) ResolverOutput
- func (o ResolverOutput) VirtualNetworkId() pulumi.StringOutput
- type ResolverState
- type ResolverVirtualNetworkLink
- func (*ResolverVirtualNetworkLink) ElementType() reflect.Type
- func (i *ResolverVirtualNetworkLink) ToResolverVirtualNetworkLinkOutput() ResolverVirtualNetworkLinkOutput
- func (i *ResolverVirtualNetworkLink) ToResolverVirtualNetworkLinkOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkOutput
- type ResolverVirtualNetworkLinkArgs
- type ResolverVirtualNetworkLinkArray
- func (ResolverVirtualNetworkLinkArray) ElementType() reflect.Type
- func (i ResolverVirtualNetworkLinkArray) ToResolverVirtualNetworkLinkArrayOutput() ResolverVirtualNetworkLinkArrayOutput
- func (i ResolverVirtualNetworkLinkArray) ToResolverVirtualNetworkLinkArrayOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkArrayOutput
- type ResolverVirtualNetworkLinkArrayInput
- type ResolverVirtualNetworkLinkArrayOutput
- func (ResolverVirtualNetworkLinkArrayOutput) ElementType() reflect.Type
- func (o ResolverVirtualNetworkLinkArrayOutput) Index(i pulumi.IntInput) ResolverVirtualNetworkLinkOutput
- func (o ResolverVirtualNetworkLinkArrayOutput) ToResolverVirtualNetworkLinkArrayOutput() ResolverVirtualNetworkLinkArrayOutput
- func (o ResolverVirtualNetworkLinkArrayOutput) ToResolverVirtualNetworkLinkArrayOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkArrayOutput
- type ResolverVirtualNetworkLinkInput
- type ResolverVirtualNetworkLinkMap
- func (ResolverVirtualNetworkLinkMap) ElementType() reflect.Type
- func (i ResolverVirtualNetworkLinkMap) ToResolverVirtualNetworkLinkMapOutput() ResolverVirtualNetworkLinkMapOutput
- func (i ResolverVirtualNetworkLinkMap) ToResolverVirtualNetworkLinkMapOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkMapOutput
- type ResolverVirtualNetworkLinkMapInput
- type ResolverVirtualNetworkLinkMapOutput
- func (ResolverVirtualNetworkLinkMapOutput) ElementType() reflect.Type
- func (o ResolverVirtualNetworkLinkMapOutput) MapIndex(k pulumi.StringInput) ResolverVirtualNetworkLinkOutput
- func (o ResolverVirtualNetworkLinkMapOutput) ToResolverVirtualNetworkLinkMapOutput() ResolverVirtualNetworkLinkMapOutput
- func (o ResolverVirtualNetworkLinkMapOutput) ToResolverVirtualNetworkLinkMapOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkMapOutput
- type ResolverVirtualNetworkLinkOutput
- func (o ResolverVirtualNetworkLinkOutput) DnsForwardingRulesetId() pulumi.StringOutput
- func (ResolverVirtualNetworkLinkOutput) ElementType() reflect.Type
- func (o ResolverVirtualNetworkLinkOutput) Metadata() pulumi.StringMapOutput
- func (o ResolverVirtualNetworkLinkOutput) Name() pulumi.StringOutput
- func (o ResolverVirtualNetworkLinkOutput) ToResolverVirtualNetworkLinkOutput() ResolverVirtualNetworkLinkOutput
- func (o ResolverVirtualNetworkLinkOutput) ToResolverVirtualNetworkLinkOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkOutput
- func (o ResolverVirtualNetworkLinkOutput) VirtualNetworkId() pulumi.StringOutput
- type ResolverVirtualNetworkLinkState
- type SRVRecord
- type SRVRecordArgs
- type SRVRecordArray
- type SRVRecordArrayInput
- type SRVRecordArrayOutput
- func (SRVRecordArrayOutput) ElementType() reflect.Type
- func (o SRVRecordArrayOutput) Index(i pulumi.IntInput) SRVRecordOutput
- func (o SRVRecordArrayOutput) ToSRVRecordArrayOutput() SRVRecordArrayOutput
- func (o SRVRecordArrayOutput) ToSRVRecordArrayOutputWithContext(ctx context.Context) SRVRecordArrayOutput
- type SRVRecordInput
- type SRVRecordMap
- type SRVRecordMapInput
- type SRVRecordMapOutput
- type SRVRecordOutput
- func (SRVRecordOutput) ElementType() reflect.Type
- func (o SRVRecordOutput) Fqdn() pulumi.StringOutput
- func (o SRVRecordOutput) Name() pulumi.StringOutput
- func (o SRVRecordOutput) Records() SRVRecordRecordArrayOutput
- func (o SRVRecordOutput) ResourceGroupName() pulumi.StringOutput
- func (o SRVRecordOutput) Tags() pulumi.StringMapOutput
- func (o SRVRecordOutput) ToSRVRecordOutput() SRVRecordOutput
- func (o SRVRecordOutput) ToSRVRecordOutputWithContext(ctx context.Context) SRVRecordOutput
- func (o SRVRecordOutput) Ttl() pulumi.IntOutput
- func (o SRVRecordOutput) ZoneName() pulumi.StringOutput
- type SRVRecordRecord
- type SRVRecordRecordArgs
- type SRVRecordRecordArray
- type SRVRecordRecordArrayInput
- type SRVRecordRecordArrayOutput
- func (SRVRecordRecordArrayOutput) ElementType() reflect.Type
- func (o SRVRecordRecordArrayOutput) Index(i pulumi.IntInput) SRVRecordRecordOutput
- func (o SRVRecordRecordArrayOutput) ToSRVRecordRecordArrayOutput() SRVRecordRecordArrayOutput
- func (o SRVRecordRecordArrayOutput) ToSRVRecordRecordArrayOutputWithContext(ctx context.Context) SRVRecordRecordArrayOutput
- type SRVRecordRecordInput
- type SRVRecordRecordOutput
- func (SRVRecordRecordOutput) ElementType() reflect.Type
- func (o SRVRecordRecordOutput) Port() pulumi.IntOutput
- func (o SRVRecordRecordOutput) Priority() pulumi.IntOutput
- func (o SRVRecordRecordOutput) Target() pulumi.StringOutput
- func (o SRVRecordRecordOutput) ToSRVRecordRecordOutput() SRVRecordRecordOutput
- func (o SRVRecordRecordOutput) ToSRVRecordRecordOutputWithContext(ctx context.Context) SRVRecordRecordOutput
- func (o SRVRecordRecordOutput) Weight() pulumi.IntOutput
- type SRVRecordState
- type TxtRecord
- type TxtRecordArgs
- type TxtRecordArray
- type TxtRecordArrayInput
- type TxtRecordArrayOutput
- func (TxtRecordArrayOutput) ElementType() reflect.Type
- func (o TxtRecordArrayOutput) Index(i pulumi.IntInput) TxtRecordOutput
- func (o TxtRecordArrayOutput) ToTxtRecordArrayOutput() TxtRecordArrayOutput
- func (o TxtRecordArrayOutput) ToTxtRecordArrayOutputWithContext(ctx context.Context) TxtRecordArrayOutput
- type TxtRecordInput
- type TxtRecordMap
- type TxtRecordMapInput
- type TxtRecordMapOutput
- type TxtRecordOutput
- func (TxtRecordOutput) ElementType() reflect.Type
- func (o TxtRecordOutput) Fqdn() pulumi.StringOutput
- func (o TxtRecordOutput) Name() pulumi.StringOutput
- func (o TxtRecordOutput) Records() TxtRecordRecordArrayOutput
- func (o TxtRecordOutput) ResourceGroupName() pulumi.StringOutput
- func (o TxtRecordOutput) Tags() pulumi.StringMapOutput
- func (o TxtRecordOutput) ToTxtRecordOutput() TxtRecordOutput
- func (o TxtRecordOutput) ToTxtRecordOutputWithContext(ctx context.Context) TxtRecordOutput
- func (o TxtRecordOutput) Ttl() pulumi.IntOutput
- func (o TxtRecordOutput) ZoneName() pulumi.StringOutput
- type TxtRecordRecord
- type TxtRecordRecordArgs
- type TxtRecordRecordArray
- type TxtRecordRecordArrayInput
- type TxtRecordRecordArrayOutput
- func (TxtRecordRecordArrayOutput) ElementType() reflect.Type
- func (o TxtRecordRecordArrayOutput) Index(i pulumi.IntInput) TxtRecordRecordOutput
- func (o TxtRecordRecordArrayOutput) ToTxtRecordRecordArrayOutput() TxtRecordRecordArrayOutput
- func (o TxtRecordRecordArrayOutput) ToTxtRecordRecordArrayOutputWithContext(ctx context.Context) TxtRecordRecordArrayOutput
- type TxtRecordRecordInput
- type TxtRecordRecordOutput
- func (TxtRecordRecordOutput) ElementType() reflect.Type
- func (o TxtRecordRecordOutput) ToTxtRecordRecordOutput() TxtRecordRecordOutput
- func (o TxtRecordRecordOutput) ToTxtRecordRecordOutputWithContext(ctx context.Context) TxtRecordRecordOutput
- func (o TxtRecordRecordOutput) Value() pulumi.StringOutput
- type TxtRecordState
- type Zone
- type ZoneArgs
- type ZoneArray
- type ZoneArrayInput
- type ZoneArrayOutput
- type ZoneInput
- type ZoneMap
- type ZoneMapInput
- type ZoneMapOutput
- type ZoneOutput
- func (ZoneOutput) ElementType() reflect.Type
- func (o ZoneOutput) MaxNumberOfRecordSets() pulumi.IntOutput
- func (o ZoneOutput) MaxNumberOfVirtualNetworkLinks() pulumi.IntOutput
- func (o ZoneOutput) MaxNumberOfVirtualNetworkLinksWithRegistration() pulumi.IntOutput
- func (o ZoneOutput) Name() pulumi.StringOutput
- func (o ZoneOutput) NumberOfRecordSets() pulumi.IntOutput
- func (o ZoneOutput) ResourceGroupName() pulumi.StringOutput
- func (o ZoneOutput) SoaRecord() ZoneSoaRecordOutput
- func (o ZoneOutput) Tags() pulumi.StringMapOutput
- func (o ZoneOutput) ToZoneOutput() ZoneOutput
- func (o ZoneOutput) ToZoneOutputWithContext(ctx context.Context) ZoneOutput
- type ZoneSoaRecord
- type ZoneSoaRecordArgs
- func (ZoneSoaRecordArgs) ElementType() reflect.Type
- func (i ZoneSoaRecordArgs) ToZoneSoaRecordOutput() ZoneSoaRecordOutput
- func (i ZoneSoaRecordArgs) ToZoneSoaRecordOutputWithContext(ctx context.Context) ZoneSoaRecordOutput
- func (i ZoneSoaRecordArgs) ToZoneSoaRecordPtrOutput() ZoneSoaRecordPtrOutput
- func (i ZoneSoaRecordArgs) ToZoneSoaRecordPtrOutputWithContext(ctx context.Context) ZoneSoaRecordPtrOutput
- type ZoneSoaRecordInput
- type ZoneSoaRecordOutput
- func (ZoneSoaRecordOutput) ElementType() reflect.Type
- func (o ZoneSoaRecordOutput) Email() pulumi.StringOutput
- func (o ZoneSoaRecordOutput) ExpireTime() pulumi.IntPtrOutput
- func (o ZoneSoaRecordOutput) Fqdn() pulumi.StringPtrOutput
- func (o ZoneSoaRecordOutput) HostName() pulumi.StringPtrOutput
- func (o ZoneSoaRecordOutput) MinimumTtl() pulumi.IntPtrOutput
- func (o ZoneSoaRecordOutput) RefreshTime() pulumi.IntPtrOutput
- func (o ZoneSoaRecordOutput) RetryTime() pulumi.IntPtrOutput
- func (o ZoneSoaRecordOutput) SerialNumber() pulumi.IntPtrOutput
- func (o ZoneSoaRecordOutput) Tags() pulumi.StringMapOutput
- func (o ZoneSoaRecordOutput) ToZoneSoaRecordOutput() ZoneSoaRecordOutput
- func (o ZoneSoaRecordOutput) ToZoneSoaRecordOutputWithContext(ctx context.Context) ZoneSoaRecordOutput
- func (o ZoneSoaRecordOutput) ToZoneSoaRecordPtrOutput() ZoneSoaRecordPtrOutput
- func (o ZoneSoaRecordOutput) ToZoneSoaRecordPtrOutputWithContext(ctx context.Context) ZoneSoaRecordPtrOutput
- func (o ZoneSoaRecordOutput) Ttl() pulumi.IntPtrOutput
- type ZoneSoaRecordPtrInput
- type ZoneSoaRecordPtrOutput
- func (o ZoneSoaRecordPtrOutput) Elem() ZoneSoaRecordOutput
- func (ZoneSoaRecordPtrOutput) ElementType() reflect.Type
- func (o ZoneSoaRecordPtrOutput) Email() pulumi.StringPtrOutput
- func (o ZoneSoaRecordPtrOutput) ExpireTime() pulumi.IntPtrOutput
- func (o ZoneSoaRecordPtrOutput) Fqdn() pulumi.StringPtrOutput
- func (o ZoneSoaRecordPtrOutput) HostName() pulumi.StringPtrOutput
- func (o ZoneSoaRecordPtrOutput) MinimumTtl() pulumi.IntPtrOutput
- func (o ZoneSoaRecordPtrOutput) RefreshTime() pulumi.IntPtrOutput
- func (o ZoneSoaRecordPtrOutput) RetryTime() pulumi.IntPtrOutput
- func (o ZoneSoaRecordPtrOutput) SerialNumber() pulumi.IntPtrOutput
- func (o ZoneSoaRecordPtrOutput) Tags() pulumi.StringMapOutput
- func (o ZoneSoaRecordPtrOutput) ToZoneSoaRecordPtrOutput() ZoneSoaRecordPtrOutput
- func (o ZoneSoaRecordPtrOutput) ToZoneSoaRecordPtrOutputWithContext(ctx context.Context) ZoneSoaRecordPtrOutput
- func (o ZoneSoaRecordPtrOutput) Ttl() pulumi.IntPtrOutput
- type ZoneState
- type ZoneVirtualNetworkLink
- type ZoneVirtualNetworkLinkArgs
- type ZoneVirtualNetworkLinkArray
- func (ZoneVirtualNetworkLinkArray) ElementType() reflect.Type
- func (i ZoneVirtualNetworkLinkArray) ToZoneVirtualNetworkLinkArrayOutput() ZoneVirtualNetworkLinkArrayOutput
- func (i ZoneVirtualNetworkLinkArray) ToZoneVirtualNetworkLinkArrayOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkArrayOutput
- type ZoneVirtualNetworkLinkArrayInput
- type ZoneVirtualNetworkLinkArrayOutput
- func (ZoneVirtualNetworkLinkArrayOutput) ElementType() reflect.Type
- func (o ZoneVirtualNetworkLinkArrayOutput) Index(i pulumi.IntInput) ZoneVirtualNetworkLinkOutput
- func (o ZoneVirtualNetworkLinkArrayOutput) ToZoneVirtualNetworkLinkArrayOutput() ZoneVirtualNetworkLinkArrayOutput
- func (o ZoneVirtualNetworkLinkArrayOutput) ToZoneVirtualNetworkLinkArrayOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkArrayOutput
- type ZoneVirtualNetworkLinkInput
- type ZoneVirtualNetworkLinkMap
- type ZoneVirtualNetworkLinkMapInput
- type ZoneVirtualNetworkLinkMapOutput
- func (ZoneVirtualNetworkLinkMapOutput) ElementType() reflect.Type
- func (o ZoneVirtualNetworkLinkMapOutput) MapIndex(k pulumi.StringInput) ZoneVirtualNetworkLinkOutput
- func (o ZoneVirtualNetworkLinkMapOutput) ToZoneVirtualNetworkLinkMapOutput() ZoneVirtualNetworkLinkMapOutput
- func (o ZoneVirtualNetworkLinkMapOutput) ToZoneVirtualNetworkLinkMapOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkMapOutput
- type ZoneVirtualNetworkLinkOutput
- func (ZoneVirtualNetworkLinkOutput) ElementType() reflect.Type
- func (o ZoneVirtualNetworkLinkOutput) Name() pulumi.StringOutput
- func (o ZoneVirtualNetworkLinkOutput) PrivateDnsZoneName() pulumi.StringOutput
- func (o ZoneVirtualNetworkLinkOutput) RegistrationEnabled() pulumi.BoolPtrOutput
- func (o ZoneVirtualNetworkLinkOutput) ResourceGroupName() pulumi.StringOutput
- func (o ZoneVirtualNetworkLinkOutput) Tags() pulumi.StringMapOutput
- func (o ZoneVirtualNetworkLinkOutput) ToZoneVirtualNetworkLinkOutput() ZoneVirtualNetworkLinkOutput
- func (o ZoneVirtualNetworkLinkOutput) ToZoneVirtualNetworkLinkOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkOutput
- func (o ZoneVirtualNetworkLinkOutput) VirtualNetworkId() pulumi.StringOutput
- type ZoneVirtualNetworkLinkState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AAAARecord ¶
type AAAARecord struct { pulumi.CustomResourceState // The FQDN of the DNS AAAA Record. Fqdn pulumi.StringOutput `pulumi:"fqdn"` // The name of the DNS A Record. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // A list of IPv6 Addresses. Records pulumi.StringArrayOutput `pulumi:"records"` // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntOutput `pulumi:"ttl"` // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringOutput `pulumi:"zoneName"` }
Enables you to manage DNS AAAA Records within Azure Private DNS.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } testZone, err := privatedns.NewZone(ctx, "testZone", &privatedns.ZoneArgs{ ResourceGroupName: example.Name, }) if err != nil { return err } _, err = privatedns.NewAAAARecord(ctx, "testAAAARecord", &privatedns.AAAARecordArgs{ ZoneName: testZone.Name, ResourceGroupName: example.Name, Ttl: pulumi.Int(300), Records: pulumi.StringArray{ pulumi.String("fd5d:70bc:930e:d008:0000:0000:0000:7334"), pulumi.String("fd5d:70bc:930e:d008::7335"), }, }) if err != nil { return err } return nil }) }
```
## Import
Private DNS AAAA Records can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:privatedns/aAAARecord:AAAARecord test /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/zone1/AAAA/myrecord1
```
func GetAAAARecord ¶
func GetAAAARecord(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AAAARecordState, opts ...pulumi.ResourceOption) (*AAAARecord, error)
GetAAAARecord gets an existing AAAARecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAAAARecord ¶
func NewAAAARecord(ctx *pulumi.Context, name string, args *AAAARecordArgs, opts ...pulumi.ResourceOption) (*AAAARecord, error)
NewAAAARecord registers a new resource with the given unique name, arguments, and options.
func (*AAAARecord) ElementType ¶
func (*AAAARecord) ElementType() reflect.Type
func (*AAAARecord) ToAAAARecordOutput ¶
func (i *AAAARecord) ToAAAARecordOutput() AAAARecordOutput
func (*AAAARecord) ToAAAARecordOutputWithContext ¶
func (i *AAAARecord) ToAAAARecordOutputWithContext(ctx context.Context) AAAARecordOutput
type AAAARecordArgs ¶
type AAAARecordArgs struct { // The name of the DNS A Record. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A list of IPv6 Addresses. Records pulumi.StringArrayInput // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntInput // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringInput }
The set of arguments for constructing a AAAARecord resource.
func (AAAARecordArgs) ElementType ¶
func (AAAARecordArgs) ElementType() reflect.Type
type AAAARecordArray ¶
type AAAARecordArray []AAAARecordInput
func (AAAARecordArray) ElementType ¶
func (AAAARecordArray) ElementType() reflect.Type
func (AAAARecordArray) ToAAAARecordArrayOutput ¶
func (i AAAARecordArray) ToAAAARecordArrayOutput() AAAARecordArrayOutput
func (AAAARecordArray) ToAAAARecordArrayOutputWithContext ¶
func (i AAAARecordArray) ToAAAARecordArrayOutputWithContext(ctx context.Context) AAAARecordArrayOutput
type AAAARecordArrayInput ¶
type AAAARecordArrayInput interface { pulumi.Input ToAAAARecordArrayOutput() AAAARecordArrayOutput ToAAAARecordArrayOutputWithContext(context.Context) AAAARecordArrayOutput }
AAAARecordArrayInput is an input type that accepts AAAARecordArray and AAAARecordArrayOutput values. You can construct a concrete instance of `AAAARecordArrayInput` via:
AAAARecordArray{ AAAARecordArgs{...} }
type AAAARecordArrayOutput ¶
type AAAARecordArrayOutput struct{ *pulumi.OutputState }
func (AAAARecordArrayOutput) ElementType ¶
func (AAAARecordArrayOutput) ElementType() reflect.Type
func (AAAARecordArrayOutput) Index ¶
func (o AAAARecordArrayOutput) Index(i pulumi.IntInput) AAAARecordOutput
func (AAAARecordArrayOutput) ToAAAARecordArrayOutput ¶
func (o AAAARecordArrayOutput) ToAAAARecordArrayOutput() AAAARecordArrayOutput
func (AAAARecordArrayOutput) ToAAAARecordArrayOutputWithContext ¶
func (o AAAARecordArrayOutput) ToAAAARecordArrayOutputWithContext(ctx context.Context) AAAARecordArrayOutput
type AAAARecordInput ¶
type AAAARecordInput interface { pulumi.Input ToAAAARecordOutput() AAAARecordOutput ToAAAARecordOutputWithContext(ctx context.Context) AAAARecordOutput }
type AAAARecordMap ¶
type AAAARecordMap map[string]AAAARecordInput
func (AAAARecordMap) ElementType ¶
func (AAAARecordMap) ElementType() reflect.Type
func (AAAARecordMap) ToAAAARecordMapOutput ¶
func (i AAAARecordMap) ToAAAARecordMapOutput() AAAARecordMapOutput
func (AAAARecordMap) ToAAAARecordMapOutputWithContext ¶
func (i AAAARecordMap) ToAAAARecordMapOutputWithContext(ctx context.Context) AAAARecordMapOutput
type AAAARecordMapInput ¶
type AAAARecordMapInput interface { pulumi.Input ToAAAARecordMapOutput() AAAARecordMapOutput ToAAAARecordMapOutputWithContext(context.Context) AAAARecordMapOutput }
AAAARecordMapInput is an input type that accepts AAAARecordMap and AAAARecordMapOutput values. You can construct a concrete instance of `AAAARecordMapInput` via:
AAAARecordMap{ "key": AAAARecordArgs{...} }
type AAAARecordMapOutput ¶
type AAAARecordMapOutput struct{ *pulumi.OutputState }
func (AAAARecordMapOutput) ElementType ¶
func (AAAARecordMapOutput) ElementType() reflect.Type
func (AAAARecordMapOutput) MapIndex ¶
func (o AAAARecordMapOutput) MapIndex(k pulumi.StringInput) AAAARecordOutput
func (AAAARecordMapOutput) ToAAAARecordMapOutput ¶
func (o AAAARecordMapOutput) ToAAAARecordMapOutput() AAAARecordMapOutput
func (AAAARecordMapOutput) ToAAAARecordMapOutputWithContext ¶
func (o AAAARecordMapOutput) ToAAAARecordMapOutputWithContext(ctx context.Context) AAAARecordMapOutput
type AAAARecordOutput ¶
type AAAARecordOutput struct{ *pulumi.OutputState }
func (AAAARecordOutput) ElementType ¶
func (AAAARecordOutput) ElementType() reflect.Type
func (AAAARecordOutput) Fqdn ¶ added in v5.5.0
func (o AAAARecordOutput) Fqdn() pulumi.StringOutput
The FQDN of the DNS AAAA Record.
func (AAAARecordOutput) Name ¶ added in v5.5.0
func (o AAAARecordOutput) Name() pulumi.StringOutput
The name of the DNS A Record. Changing this forces a new resource to be created.
func (AAAARecordOutput) Records ¶ added in v5.5.0
func (o AAAARecordOutput) Records() pulumi.StringArrayOutput
A list of IPv6 Addresses.
func (AAAARecordOutput) ResourceGroupName ¶ added in v5.5.0
func (o AAAARecordOutput) ResourceGroupName() pulumi.StringOutput
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
func (AAAARecordOutput) Tags ¶ added in v5.5.0
func (o AAAARecordOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (AAAARecordOutput) ToAAAARecordOutput ¶
func (o AAAARecordOutput) ToAAAARecordOutput() AAAARecordOutput
func (AAAARecordOutput) ToAAAARecordOutputWithContext ¶
func (o AAAARecordOutput) ToAAAARecordOutputWithContext(ctx context.Context) AAAARecordOutput
func (AAAARecordOutput) Ttl ¶ added in v5.5.0
func (o AAAARecordOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the DNS record in seconds.
func (AAAARecordOutput) ZoneName ¶ added in v5.5.0
func (o AAAARecordOutput) ZoneName() pulumi.StringOutput
Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
type AAAARecordState ¶
type AAAARecordState struct { // The FQDN of the DNS AAAA Record. Fqdn pulumi.StringPtrInput // The name of the DNS A Record. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A list of IPv6 Addresses. Records pulumi.StringArrayInput // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntPtrInput // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringPtrInput }
func (AAAARecordState) ElementType ¶
func (AAAARecordState) ElementType() reflect.Type
type ARecord ¶
type ARecord struct { pulumi.CustomResourceState // The FQDN of the DNS A Record. Fqdn pulumi.StringOutput `pulumi:"fqdn"` // The name of the DNS A Record. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // List of IPv4 Addresses. Records pulumi.StringArrayOutput `pulumi:"records"` // Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntOutput `pulumi:"ttl"` // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringOutput `pulumi:"zoneName"` }
Enables you to manage DNS A Records within Azure Private DNS.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleZone, err := privatedns.NewZone(ctx, "exampleZone", &privatedns.ZoneArgs{ ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } _, err = privatedns.NewARecord(ctx, "exampleARecord", &privatedns.ARecordArgs{ ZoneName: exampleZone.Name, ResourceGroupName: exampleResourceGroup.Name, Ttl: pulumi.Int(300), Records: pulumi.StringArray{ pulumi.String("10.0.180.17"), }, }) if err != nil { return err } return nil }) }
```
## Import
Private DNS A Records can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:privatedns/aRecord:ARecord example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/zone1/A/myrecord1
```
func GetARecord ¶
func GetARecord(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ARecordState, opts ...pulumi.ResourceOption) (*ARecord, error)
GetARecord gets an existing ARecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewARecord ¶
func NewARecord(ctx *pulumi.Context, name string, args *ARecordArgs, opts ...pulumi.ResourceOption) (*ARecord, error)
NewARecord registers a new resource with the given unique name, arguments, and options.
func (*ARecord) ElementType ¶
func (*ARecord) ToARecordOutput ¶
func (i *ARecord) ToARecordOutput() ARecordOutput
func (*ARecord) ToARecordOutputWithContext ¶
func (i *ARecord) ToARecordOutputWithContext(ctx context.Context) ARecordOutput
type ARecordArgs ¶
type ARecordArgs struct { // The name of the DNS A Record. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // List of IPv4 Addresses. Records pulumi.StringArrayInput // Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntInput // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringInput }
The set of arguments for constructing a ARecord resource.
func (ARecordArgs) ElementType ¶
func (ARecordArgs) ElementType() reflect.Type
type ARecordArray ¶
type ARecordArray []ARecordInput
func (ARecordArray) ElementType ¶
func (ARecordArray) ElementType() reflect.Type
func (ARecordArray) ToARecordArrayOutput ¶
func (i ARecordArray) ToARecordArrayOutput() ARecordArrayOutput
func (ARecordArray) ToARecordArrayOutputWithContext ¶
func (i ARecordArray) ToARecordArrayOutputWithContext(ctx context.Context) ARecordArrayOutput
type ARecordArrayInput ¶
type ARecordArrayInput interface { pulumi.Input ToARecordArrayOutput() ARecordArrayOutput ToARecordArrayOutputWithContext(context.Context) ARecordArrayOutput }
ARecordArrayInput is an input type that accepts ARecordArray and ARecordArrayOutput values. You can construct a concrete instance of `ARecordArrayInput` via:
ARecordArray{ ARecordArgs{...} }
type ARecordArrayOutput ¶
type ARecordArrayOutput struct{ *pulumi.OutputState }
func (ARecordArrayOutput) ElementType ¶
func (ARecordArrayOutput) ElementType() reflect.Type
func (ARecordArrayOutput) Index ¶
func (o ARecordArrayOutput) Index(i pulumi.IntInput) ARecordOutput
func (ARecordArrayOutput) ToARecordArrayOutput ¶
func (o ARecordArrayOutput) ToARecordArrayOutput() ARecordArrayOutput
func (ARecordArrayOutput) ToARecordArrayOutputWithContext ¶
func (o ARecordArrayOutput) ToARecordArrayOutputWithContext(ctx context.Context) ARecordArrayOutput
type ARecordInput ¶
type ARecordInput interface { pulumi.Input ToARecordOutput() ARecordOutput ToARecordOutputWithContext(ctx context.Context) ARecordOutput }
type ARecordMap ¶
type ARecordMap map[string]ARecordInput
func (ARecordMap) ElementType ¶
func (ARecordMap) ElementType() reflect.Type
func (ARecordMap) ToARecordMapOutput ¶
func (i ARecordMap) ToARecordMapOutput() ARecordMapOutput
func (ARecordMap) ToARecordMapOutputWithContext ¶
func (i ARecordMap) ToARecordMapOutputWithContext(ctx context.Context) ARecordMapOutput
type ARecordMapInput ¶
type ARecordMapInput interface { pulumi.Input ToARecordMapOutput() ARecordMapOutput ToARecordMapOutputWithContext(context.Context) ARecordMapOutput }
ARecordMapInput is an input type that accepts ARecordMap and ARecordMapOutput values. You can construct a concrete instance of `ARecordMapInput` via:
ARecordMap{ "key": ARecordArgs{...} }
type ARecordMapOutput ¶
type ARecordMapOutput struct{ *pulumi.OutputState }
func (ARecordMapOutput) ElementType ¶
func (ARecordMapOutput) ElementType() reflect.Type
func (ARecordMapOutput) MapIndex ¶
func (o ARecordMapOutput) MapIndex(k pulumi.StringInput) ARecordOutput
func (ARecordMapOutput) ToARecordMapOutput ¶
func (o ARecordMapOutput) ToARecordMapOutput() ARecordMapOutput
func (ARecordMapOutput) ToARecordMapOutputWithContext ¶
func (o ARecordMapOutput) ToARecordMapOutputWithContext(ctx context.Context) ARecordMapOutput
type ARecordOutput ¶
type ARecordOutput struct{ *pulumi.OutputState }
func (ARecordOutput) ElementType ¶
func (ARecordOutput) ElementType() reflect.Type
func (ARecordOutput) Fqdn ¶ added in v5.5.0
func (o ARecordOutput) Fqdn() pulumi.StringOutput
The FQDN of the DNS A Record.
func (ARecordOutput) Name ¶ added in v5.5.0
func (o ARecordOutput) Name() pulumi.StringOutput
The name of the DNS A Record. Changing this forces a new resource to be created.
func (ARecordOutput) Records ¶ added in v5.5.0
func (o ARecordOutput) Records() pulumi.StringArrayOutput
List of IPv4 Addresses.
func (ARecordOutput) ResourceGroupName ¶ added in v5.5.0
func (o ARecordOutput) ResourceGroupName() pulumi.StringOutput
Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
func (ARecordOutput) Tags ¶ added in v5.5.0
func (o ARecordOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (ARecordOutput) ToARecordOutput ¶
func (o ARecordOutput) ToARecordOutput() ARecordOutput
func (ARecordOutput) ToARecordOutputWithContext ¶
func (o ARecordOutput) ToARecordOutputWithContext(ctx context.Context) ARecordOutput
func (ARecordOutput) Ttl ¶ added in v5.5.0
func (o ARecordOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the DNS record in seconds.
func (ARecordOutput) ZoneName ¶ added in v5.5.0
func (o ARecordOutput) ZoneName() pulumi.StringOutput
Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
type ARecordState ¶
type ARecordState struct { // The FQDN of the DNS A Record. Fqdn pulumi.StringPtrInput // The name of the DNS A Record. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // List of IPv4 Addresses. Records pulumi.StringArrayInput // Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntPtrInput // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringPtrInput }
func (ARecordState) ElementType ¶
func (ARecordState) ElementType() reflect.Type
type CnameRecord ¶
type CnameRecord struct { pulumi.CustomResourceState // The FQDN of the DNS CNAME Record. Fqdn pulumi.StringOutput `pulumi:"fqdn"` // The name of the DNS CNAME Record. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The target of the CNAME. Record pulumi.StringOutput `pulumi:"record"` // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The Time To Live (TTL) of the DNS record in seconds. Possible values are between `0` and `2147483647`. Ttl pulumi.IntOutput `pulumi:"ttl"` // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringOutput `pulumi:"zoneName"` }
Enables you to manage DNS CNAME Records within Azure Private DNS.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleZone, err := privatedns.NewZone(ctx, "exampleZone", &privatedns.ZoneArgs{ ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } _, err = privatedns.NewCnameRecord(ctx, "exampleCnameRecord", &privatedns.CnameRecordArgs{ ZoneName: exampleZone.Name, ResourceGroupName: exampleResourceGroup.Name, Ttl: pulumi.Int(300), Record: pulumi.String("contoso.com"), }) if err != nil { return err } return nil }) }
```
## Import
Private DNS CName Records can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:privatedns/cnameRecord:CnameRecord example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/zone1/CNAME/myrecord1
```
func GetCnameRecord ¶
func GetCnameRecord(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CnameRecordState, opts ...pulumi.ResourceOption) (*CnameRecord, error)
GetCnameRecord gets an existing CnameRecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCnameRecord ¶
func NewCnameRecord(ctx *pulumi.Context, name string, args *CnameRecordArgs, opts ...pulumi.ResourceOption) (*CnameRecord, error)
NewCnameRecord registers a new resource with the given unique name, arguments, and options.
func (*CnameRecord) ElementType ¶
func (*CnameRecord) ElementType() reflect.Type
func (*CnameRecord) ToCnameRecordOutput ¶
func (i *CnameRecord) ToCnameRecordOutput() CnameRecordOutput
func (*CnameRecord) ToCnameRecordOutputWithContext ¶
func (i *CnameRecord) ToCnameRecordOutputWithContext(ctx context.Context) CnameRecordOutput
type CnameRecordArgs ¶
type CnameRecordArgs struct { // The name of the DNS CNAME Record. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The target of the CNAME. Record pulumi.StringInput // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Time To Live (TTL) of the DNS record in seconds. Possible values are between `0` and `2147483647`. Ttl pulumi.IntInput // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringInput }
The set of arguments for constructing a CnameRecord resource.
func (CnameRecordArgs) ElementType ¶
func (CnameRecordArgs) ElementType() reflect.Type
type CnameRecordArray ¶
type CnameRecordArray []CnameRecordInput
func (CnameRecordArray) ElementType ¶
func (CnameRecordArray) ElementType() reflect.Type
func (CnameRecordArray) ToCnameRecordArrayOutput ¶
func (i CnameRecordArray) ToCnameRecordArrayOutput() CnameRecordArrayOutput
func (CnameRecordArray) ToCnameRecordArrayOutputWithContext ¶
func (i CnameRecordArray) ToCnameRecordArrayOutputWithContext(ctx context.Context) CnameRecordArrayOutput
type CnameRecordArrayInput ¶
type CnameRecordArrayInput interface { pulumi.Input ToCnameRecordArrayOutput() CnameRecordArrayOutput ToCnameRecordArrayOutputWithContext(context.Context) CnameRecordArrayOutput }
CnameRecordArrayInput is an input type that accepts CnameRecordArray and CnameRecordArrayOutput values. You can construct a concrete instance of `CnameRecordArrayInput` via:
CnameRecordArray{ CnameRecordArgs{...} }
type CnameRecordArrayOutput ¶
type CnameRecordArrayOutput struct{ *pulumi.OutputState }
func (CnameRecordArrayOutput) ElementType ¶
func (CnameRecordArrayOutput) ElementType() reflect.Type
func (CnameRecordArrayOutput) Index ¶
func (o CnameRecordArrayOutput) Index(i pulumi.IntInput) CnameRecordOutput
func (CnameRecordArrayOutput) ToCnameRecordArrayOutput ¶
func (o CnameRecordArrayOutput) ToCnameRecordArrayOutput() CnameRecordArrayOutput
func (CnameRecordArrayOutput) ToCnameRecordArrayOutputWithContext ¶
func (o CnameRecordArrayOutput) ToCnameRecordArrayOutputWithContext(ctx context.Context) CnameRecordArrayOutput
type CnameRecordInput ¶
type CnameRecordInput interface { pulumi.Input ToCnameRecordOutput() CnameRecordOutput ToCnameRecordOutputWithContext(ctx context.Context) CnameRecordOutput }
type CnameRecordMap ¶
type CnameRecordMap map[string]CnameRecordInput
func (CnameRecordMap) ElementType ¶
func (CnameRecordMap) ElementType() reflect.Type
func (CnameRecordMap) ToCnameRecordMapOutput ¶
func (i CnameRecordMap) ToCnameRecordMapOutput() CnameRecordMapOutput
func (CnameRecordMap) ToCnameRecordMapOutputWithContext ¶
func (i CnameRecordMap) ToCnameRecordMapOutputWithContext(ctx context.Context) CnameRecordMapOutput
type CnameRecordMapInput ¶
type CnameRecordMapInput interface { pulumi.Input ToCnameRecordMapOutput() CnameRecordMapOutput ToCnameRecordMapOutputWithContext(context.Context) CnameRecordMapOutput }
CnameRecordMapInput is an input type that accepts CnameRecordMap and CnameRecordMapOutput values. You can construct a concrete instance of `CnameRecordMapInput` via:
CnameRecordMap{ "key": CnameRecordArgs{...} }
type CnameRecordMapOutput ¶
type CnameRecordMapOutput struct{ *pulumi.OutputState }
func (CnameRecordMapOutput) ElementType ¶
func (CnameRecordMapOutput) ElementType() reflect.Type
func (CnameRecordMapOutput) MapIndex ¶
func (o CnameRecordMapOutput) MapIndex(k pulumi.StringInput) CnameRecordOutput
func (CnameRecordMapOutput) ToCnameRecordMapOutput ¶
func (o CnameRecordMapOutput) ToCnameRecordMapOutput() CnameRecordMapOutput
func (CnameRecordMapOutput) ToCnameRecordMapOutputWithContext ¶
func (o CnameRecordMapOutput) ToCnameRecordMapOutputWithContext(ctx context.Context) CnameRecordMapOutput
type CnameRecordOutput ¶
type CnameRecordOutput struct{ *pulumi.OutputState }
func (CnameRecordOutput) ElementType ¶
func (CnameRecordOutput) ElementType() reflect.Type
func (CnameRecordOutput) Fqdn ¶ added in v5.5.0
func (o CnameRecordOutput) Fqdn() pulumi.StringOutput
The FQDN of the DNS CNAME Record.
func (CnameRecordOutput) Name ¶ added in v5.5.0
func (o CnameRecordOutput) Name() pulumi.StringOutput
The name of the DNS CNAME Record. Changing this forces a new resource to be created.
func (CnameRecordOutput) Record ¶ added in v5.5.0
func (o CnameRecordOutput) Record() pulumi.StringOutput
The target of the CNAME.
func (CnameRecordOutput) ResourceGroupName ¶ added in v5.5.0
func (o CnameRecordOutput) ResourceGroupName() pulumi.StringOutput
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
func (CnameRecordOutput) Tags ¶ added in v5.5.0
func (o CnameRecordOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (CnameRecordOutput) ToCnameRecordOutput ¶
func (o CnameRecordOutput) ToCnameRecordOutput() CnameRecordOutput
func (CnameRecordOutput) ToCnameRecordOutputWithContext ¶
func (o CnameRecordOutput) ToCnameRecordOutputWithContext(ctx context.Context) CnameRecordOutput
func (CnameRecordOutput) Ttl ¶ added in v5.5.0
func (o CnameRecordOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the DNS record in seconds. Possible values are between `0` and `2147483647`.
func (CnameRecordOutput) ZoneName ¶ added in v5.5.0
func (o CnameRecordOutput) ZoneName() pulumi.StringOutput
Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
type CnameRecordState ¶
type CnameRecordState struct { // The FQDN of the DNS CNAME Record. Fqdn pulumi.StringPtrInput // The name of the DNS CNAME Record. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The target of the CNAME. Record pulumi.StringPtrInput // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Time To Live (TTL) of the DNS record in seconds. Possible values are between `0` and `2147483647`. Ttl pulumi.IntPtrInput // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringPtrInput }
func (CnameRecordState) ElementType ¶
func (CnameRecordState) ElementType() reflect.Type
type GetDnsZoneArgs ¶
type GetDnsZoneArgs struct { // The name of the Private DNS Zone. Name string `pulumi:"name"` // The Name of the Resource Group where the Private DNS Zone exists. // If the Name of the Resource Group is not provided, the first Private DNS Zone from the list of Private // DNS Zones in your subscription that matches `name` will be returned. ResourceGroupName *string `pulumi:"resourceGroupName"` // A mapping of tags for the zone. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getDnsZone.
type GetDnsZoneOutputArgs ¶
type GetDnsZoneOutputArgs struct { // The name of the Private DNS Zone. Name pulumi.StringInput `pulumi:"name"` // The Name of the Resource Group where the Private DNS Zone exists. // If the Name of the Resource Group is not provided, the first Private DNS Zone from the list of Private // DNS Zones in your subscription that matches `name` will be returned. ResourceGroupName pulumi.StringPtrInput `pulumi:"resourceGroupName"` // A mapping of tags for the zone. Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getDnsZone.
func (GetDnsZoneOutputArgs) ElementType ¶
func (GetDnsZoneOutputArgs) ElementType() reflect.Type
type GetDnsZoneResult ¶
type GetDnsZoneResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Maximum number of recordsets that can be created in this Private Zone. MaxNumberOfRecordSets int `pulumi:"maxNumberOfRecordSets"` // Maximum number of Virtual Networks that can be linked to this Private Zone. MaxNumberOfVirtualNetworkLinks int `pulumi:"maxNumberOfVirtualNetworkLinks"` // Maximum number of Virtual Networks that can be linked to this Private Zone with registration enabled. MaxNumberOfVirtualNetworkLinksWithRegistration int `pulumi:"maxNumberOfVirtualNetworkLinksWithRegistration"` Name string `pulumi:"name"` // The number of recordsets currently in the zone. NumberOfRecordSets int `pulumi:"numberOfRecordSets"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags for the zone. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getDnsZone.
func GetDnsZone ¶
func GetDnsZone(ctx *pulumi.Context, args *GetDnsZoneArgs, opts ...pulumi.InvokeOption) (*GetDnsZoneResult, error)
Use this data source to access information about an existing Private DNS Zone.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := privatedns.GetDnsZone(ctx, &privatedns.GetDnsZoneArgs{ Name: "contoso.internal", ResourceGroupName: pulumi.StringRef("contoso-dns"), }, nil) if err != nil { return err } ctx.Export("privateDnsZoneId", example.Id) return nil }) }
```
type GetDnsZoneResultOutput ¶
type GetDnsZoneResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDnsZone.
func GetDnsZoneOutput ¶
func GetDnsZoneOutput(ctx *pulumi.Context, args GetDnsZoneOutputArgs, opts ...pulumi.InvokeOption) GetDnsZoneResultOutput
func (GetDnsZoneResultOutput) ElementType ¶
func (GetDnsZoneResultOutput) ElementType() reflect.Type
func (GetDnsZoneResultOutput) Id ¶
func (o GetDnsZoneResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDnsZoneResultOutput) MaxNumberOfRecordSets ¶
func (o GetDnsZoneResultOutput) MaxNumberOfRecordSets() pulumi.IntOutput
Maximum number of recordsets that can be created in this Private Zone.
func (GetDnsZoneResultOutput) MaxNumberOfVirtualNetworkLinks ¶
func (o GetDnsZoneResultOutput) MaxNumberOfVirtualNetworkLinks() pulumi.IntOutput
Maximum number of Virtual Networks that can be linked to this Private Zone.
func (GetDnsZoneResultOutput) MaxNumberOfVirtualNetworkLinksWithRegistration ¶
func (o GetDnsZoneResultOutput) MaxNumberOfVirtualNetworkLinksWithRegistration() pulumi.IntOutput
Maximum number of Virtual Networks that can be linked to this Private Zone with registration enabled.
func (GetDnsZoneResultOutput) Name ¶
func (o GetDnsZoneResultOutput) Name() pulumi.StringOutput
func (GetDnsZoneResultOutput) NumberOfRecordSets ¶
func (o GetDnsZoneResultOutput) NumberOfRecordSets() pulumi.IntOutput
The number of recordsets currently in the zone.
func (GetDnsZoneResultOutput) ResourceGroupName ¶
func (o GetDnsZoneResultOutput) ResourceGroupName() pulumi.StringOutput
func (GetDnsZoneResultOutput) Tags ¶
func (o GetDnsZoneResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags for the zone.
func (GetDnsZoneResultOutput) ToGetDnsZoneResultOutput ¶
func (o GetDnsZoneResultOutput) ToGetDnsZoneResultOutput() GetDnsZoneResultOutput
func (GetDnsZoneResultOutput) ToGetDnsZoneResultOutputWithContext ¶
func (o GetDnsZoneResultOutput) ToGetDnsZoneResultOutputWithContext(ctx context.Context) GetDnsZoneResultOutput
type GetMxRecordRecord ¶ added in v5.16.0
type GetMxRecordRecordArgs ¶ added in v5.16.0
type GetMxRecordRecordArgs struct { // The mail server responsible for the domain covered by the MX record. Exchange pulumi.StringInput `pulumi:"exchange"` // String representing the "preference” value of the MX records. Records with lower preference value take priority. Preference pulumi.IntInput `pulumi:"preference"` }
func (GetMxRecordRecordArgs) ElementType ¶ added in v5.16.0
func (GetMxRecordRecordArgs) ElementType() reflect.Type
func (GetMxRecordRecordArgs) ToGetMxRecordRecordOutput ¶ added in v5.16.0
func (i GetMxRecordRecordArgs) ToGetMxRecordRecordOutput() GetMxRecordRecordOutput
func (GetMxRecordRecordArgs) ToGetMxRecordRecordOutputWithContext ¶ added in v5.16.0
func (i GetMxRecordRecordArgs) ToGetMxRecordRecordOutputWithContext(ctx context.Context) GetMxRecordRecordOutput
type GetMxRecordRecordArray ¶ added in v5.16.0
type GetMxRecordRecordArray []GetMxRecordRecordInput
func (GetMxRecordRecordArray) ElementType ¶ added in v5.16.0
func (GetMxRecordRecordArray) ElementType() reflect.Type
func (GetMxRecordRecordArray) ToGetMxRecordRecordArrayOutput ¶ added in v5.16.0
func (i GetMxRecordRecordArray) ToGetMxRecordRecordArrayOutput() GetMxRecordRecordArrayOutput
func (GetMxRecordRecordArray) ToGetMxRecordRecordArrayOutputWithContext ¶ added in v5.16.0
func (i GetMxRecordRecordArray) ToGetMxRecordRecordArrayOutputWithContext(ctx context.Context) GetMxRecordRecordArrayOutput
type GetMxRecordRecordArrayInput ¶ added in v5.16.0
type GetMxRecordRecordArrayInput interface { pulumi.Input ToGetMxRecordRecordArrayOutput() GetMxRecordRecordArrayOutput ToGetMxRecordRecordArrayOutputWithContext(context.Context) GetMxRecordRecordArrayOutput }
GetMxRecordRecordArrayInput is an input type that accepts GetMxRecordRecordArray and GetMxRecordRecordArrayOutput values. You can construct a concrete instance of `GetMxRecordRecordArrayInput` via:
GetMxRecordRecordArray{ GetMxRecordRecordArgs{...} }
type GetMxRecordRecordArrayOutput ¶ added in v5.16.0
type GetMxRecordRecordArrayOutput struct{ *pulumi.OutputState }
func (GetMxRecordRecordArrayOutput) ElementType ¶ added in v5.16.0
func (GetMxRecordRecordArrayOutput) ElementType() reflect.Type
func (GetMxRecordRecordArrayOutput) Index ¶ added in v5.16.0
func (o GetMxRecordRecordArrayOutput) Index(i pulumi.IntInput) GetMxRecordRecordOutput
func (GetMxRecordRecordArrayOutput) ToGetMxRecordRecordArrayOutput ¶ added in v5.16.0
func (o GetMxRecordRecordArrayOutput) ToGetMxRecordRecordArrayOutput() GetMxRecordRecordArrayOutput
func (GetMxRecordRecordArrayOutput) ToGetMxRecordRecordArrayOutputWithContext ¶ added in v5.16.0
func (o GetMxRecordRecordArrayOutput) ToGetMxRecordRecordArrayOutputWithContext(ctx context.Context) GetMxRecordRecordArrayOutput
type GetMxRecordRecordInput ¶ added in v5.16.0
type GetMxRecordRecordInput interface { pulumi.Input ToGetMxRecordRecordOutput() GetMxRecordRecordOutput ToGetMxRecordRecordOutputWithContext(context.Context) GetMxRecordRecordOutput }
GetMxRecordRecordInput is an input type that accepts GetMxRecordRecordArgs and GetMxRecordRecordOutput values. You can construct a concrete instance of `GetMxRecordRecordInput` via:
GetMxRecordRecordArgs{...}
type GetMxRecordRecordOutput ¶ added in v5.16.0
type GetMxRecordRecordOutput struct{ *pulumi.OutputState }
func (GetMxRecordRecordOutput) ElementType ¶ added in v5.16.0
func (GetMxRecordRecordOutput) ElementType() reflect.Type
func (GetMxRecordRecordOutput) Exchange ¶ added in v5.16.0
func (o GetMxRecordRecordOutput) Exchange() pulumi.StringOutput
The mail server responsible for the domain covered by the MX record.
func (GetMxRecordRecordOutput) Preference ¶ added in v5.16.0
func (o GetMxRecordRecordOutput) Preference() pulumi.IntOutput
String representing the "preference” value of the MX records. Records with lower preference value take priority.
func (GetMxRecordRecordOutput) ToGetMxRecordRecordOutput ¶ added in v5.16.0
func (o GetMxRecordRecordOutput) ToGetMxRecordRecordOutput() GetMxRecordRecordOutput
func (GetMxRecordRecordOutput) ToGetMxRecordRecordOutputWithContext ¶ added in v5.16.0
func (o GetMxRecordRecordOutput) ToGetMxRecordRecordOutputWithContext(ctx context.Context) GetMxRecordRecordOutput
type GetPtrRecordArgs ¶ added in v5.16.0
type GetPtrRecordArgs struct { // The name of the Private DNS PTR Record. Name string `pulumi:"name"` // Specifies the resource group where the Private DNS Zone (parent resource) exists. ResourceGroupName string `pulumi:"resourceGroupName"` // Specifies the Private DNS Zone where the resource exists. ZoneName string `pulumi:"zoneName"` }
A collection of arguments for invoking getPtrRecord.
type GetPtrRecordOutputArgs ¶ added in v5.16.0
type GetPtrRecordOutputArgs struct { // The name of the Private DNS PTR Record. Name pulumi.StringInput `pulumi:"name"` // Specifies the resource group where the Private DNS Zone (parent resource) exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // Specifies the Private DNS Zone where the resource exists. ZoneName pulumi.StringInput `pulumi:"zoneName"` }
A collection of arguments for invoking getPtrRecord.
func (GetPtrRecordOutputArgs) ElementType ¶ added in v5.16.0
func (GetPtrRecordOutputArgs) ElementType() reflect.Type
type GetPtrRecordResult ¶ added in v5.16.0
type GetPtrRecordResult struct { // The FQDN of the Private DNS PTR Record. Fqdn string `pulumi:"fqdn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // List of Fully Qualified Domain Names. Records []string `pulumi:"records"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` // The Time To Live (TTL) of the Private DNS record in seconds. Ttl int `pulumi:"ttl"` ZoneName string `pulumi:"zoneName"` }
A collection of values returned by getPtrRecord.
func GetPtrRecord ¶ added in v5.16.0
func GetPtrRecord(ctx *pulumi.Context, args *GetPtrRecordArgs, opts ...pulumi.InvokeOption) (*GetPtrRecordResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := privatedns.NewPTRRecord(ctx, "example", &privatedns.PTRRecordArgs{ ZoneName: pulumi.String("test-zone"), ResourceGroupName: pulumi.String("test-rg"), }) if err != nil { return err } ctx.Export("privateDnsPtrRecordId", example.ID()) return nil }) }
```
type GetPtrRecordResultOutput ¶ added in v5.16.0
type GetPtrRecordResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPtrRecord.
func GetPtrRecordOutput ¶ added in v5.16.0
func GetPtrRecordOutput(ctx *pulumi.Context, args GetPtrRecordOutputArgs, opts ...pulumi.InvokeOption) GetPtrRecordResultOutput
func (GetPtrRecordResultOutput) ElementType ¶ added in v5.16.0
func (GetPtrRecordResultOutput) ElementType() reflect.Type
func (GetPtrRecordResultOutput) Fqdn ¶ added in v5.16.0
func (o GetPtrRecordResultOutput) Fqdn() pulumi.StringOutput
The FQDN of the Private DNS PTR Record.
func (GetPtrRecordResultOutput) Id ¶ added in v5.16.0
func (o GetPtrRecordResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPtrRecordResultOutput) Name ¶ added in v5.16.0
func (o GetPtrRecordResultOutput) Name() pulumi.StringOutput
func (GetPtrRecordResultOutput) Records ¶ added in v5.16.0
func (o GetPtrRecordResultOutput) Records() pulumi.StringArrayOutput
List of Fully Qualified Domain Names.
func (GetPtrRecordResultOutput) ResourceGroupName ¶ added in v5.16.0
func (o GetPtrRecordResultOutput) ResourceGroupName() pulumi.StringOutput
func (GetPtrRecordResultOutput) Tags ¶ added in v5.16.0
func (o GetPtrRecordResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (GetPtrRecordResultOutput) ToGetPtrRecordResultOutput ¶ added in v5.16.0
func (o GetPtrRecordResultOutput) ToGetPtrRecordResultOutput() GetPtrRecordResultOutput
func (GetPtrRecordResultOutput) ToGetPtrRecordResultOutputWithContext ¶ added in v5.16.0
func (o GetPtrRecordResultOutput) ToGetPtrRecordResultOutputWithContext(ctx context.Context) GetPtrRecordResultOutput
func (GetPtrRecordResultOutput) Ttl ¶ added in v5.16.0
func (o GetPtrRecordResultOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the Private DNS record in seconds.
func (GetPtrRecordResultOutput) ZoneName ¶ added in v5.16.0
func (o GetPtrRecordResultOutput) ZoneName() pulumi.StringOutput
type GetResolverForwardingRuleTargetDnsServer ¶ added in v5.31.0
type GetResolverForwardingRuleTargetDnsServerArgs ¶ added in v5.31.0
type GetResolverForwardingRuleTargetDnsServerArgs struct { // The DNS server IP address. IpAddress pulumi.StringInput `pulumi:"ipAddress"` // The DNS server port. Port pulumi.IntInput `pulumi:"port"` }
func (GetResolverForwardingRuleTargetDnsServerArgs) ElementType ¶ added in v5.31.0
func (GetResolverForwardingRuleTargetDnsServerArgs) ElementType() reflect.Type
func (GetResolverForwardingRuleTargetDnsServerArgs) ToGetResolverForwardingRuleTargetDnsServerOutput ¶ added in v5.31.0
func (i GetResolverForwardingRuleTargetDnsServerArgs) ToGetResolverForwardingRuleTargetDnsServerOutput() GetResolverForwardingRuleTargetDnsServerOutput
func (GetResolverForwardingRuleTargetDnsServerArgs) ToGetResolverForwardingRuleTargetDnsServerOutputWithContext ¶ added in v5.31.0
func (i GetResolverForwardingRuleTargetDnsServerArgs) ToGetResolverForwardingRuleTargetDnsServerOutputWithContext(ctx context.Context) GetResolverForwardingRuleTargetDnsServerOutput
type GetResolverForwardingRuleTargetDnsServerArray ¶ added in v5.31.0
type GetResolverForwardingRuleTargetDnsServerArray []GetResolverForwardingRuleTargetDnsServerInput
func (GetResolverForwardingRuleTargetDnsServerArray) ElementType ¶ added in v5.31.0
func (GetResolverForwardingRuleTargetDnsServerArray) ElementType() reflect.Type
func (GetResolverForwardingRuleTargetDnsServerArray) ToGetResolverForwardingRuleTargetDnsServerArrayOutput ¶ added in v5.31.0
func (i GetResolverForwardingRuleTargetDnsServerArray) ToGetResolverForwardingRuleTargetDnsServerArrayOutput() GetResolverForwardingRuleTargetDnsServerArrayOutput
func (GetResolverForwardingRuleTargetDnsServerArray) ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext ¶ added in v5.31.0
func (i GetResolverForwardingRuleTargetDnsServerArray) ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext(ctx context.Context) GetResolverForwardingRuleTargetDnsServerArrayOutput
type GetResolverForwardingRuleTargetDnsServerArrayInput ¶ added in v5.31.0
type GetResolverForwardingRuleTargetDnsServerArrayInput interface { pulumi.Input ToGetResolverForwardingRuleTargetDnsServerArrayOutput() GetResolverForwardingRuleTargetDnsServerArrayOutput ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext(context.Context) GetResolverForwardingRuleTargetDnsServerArrayOutput }
GetResolverForwardingRuleTargetDnsServerArrayInput is an input type that accepts GetResolverForwardingRuleTargetDnsServerArray and GetResolverForwardingRuleTargetDnsServerArrayOutput values. You can construct a concrete instance of `GetResolverForwardingRuleTargetDnsServerArrayInput` via:
GetResolverForwardingRuleTargetDnsServerArray{ GetResolverForwardingRuleTargetDnsServerArgs{...} }
type GetResolverForwardingRuleTargetDnsServerArrayOutput ¶ added in v5.31.0
type GetResolverForwardingRuleTargetDnsServerArrayOutput struct{ *pulumi.OutputState }
func (GetResolverForwardingRuleTargetDnsServerArrayOutput) ElementType ¶ added in v5.31.0
func (GetResolverForwardingRuleTargetDnsServerArrayOutput) ElementType() reflect.Type
func (GetResolverForwardingRuleTargetDnsServerArrayOutput) ToGetResolverForwardingRuleTargetDnsServerArrayOutput ¶ added in v5.31.0
func (o GetResolverForwardingRuleTargetDnsServerArrayOutput) ToGetResolverForwardingRuleTargetDnsServerArrayOutput() GetResolverForwardingRuleTargetDnsServerArrayOutput
func (GetResolverForwardingRuleTargetDnsServerArrayOutput) ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext ¶ added in v5.31.0
func (o GetResolverForwardingRuleTargetDnsServerArrayOutput) ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext(ctx context.Context) GetResolverForwardingRuleTargetDnsServerArrayOutput
type GetResolverForwardingRuleTargetDnsServerInput ¶ added in v5.31.0
type GetResolverForwardingRuleTargetDnsServerInput interface { pulumi.Input ToGetResolverForwardingRuleTargetDnsServerOutput() GetResolverForwardingRuleTargetDnsServerOutput ToGetResolverForwardingRuleTargetDnsServerOutputWithContext(context.Context) GetResolverForwardingRuleTargetDnsServerOutput }
GetResolverForwardingRuleTargetDnsServerInput is an input type that accepts GetResolverForwardingRuleTargetDnsServerArgs and GetResolverForwardingRuleTargetDnsServerOutput values. You can construct a concrete instance of `GetResolverForwardingRuleTargetDnsServerInput` via:
GetResolverForwardingRuleTargetDnsServerArgs{...}
type GetResolverForwardingRuleTargetDnsServerOutput ¶ added in v5.31.0
type GetResolverForwardingRuleTargetDnsServerOutput struct{ *pulumi.OutputState }
func (GetResolverForwardingRuleTargetDnsServerOutput) ElementType ¶ added in v5.31.0
func (GetResolverForwardingRuleTargetDnsServerOutput) ElementType() reflect.Type
func (GetResolverForwardingRuleTargetDnsServerOutput) IpAddress ¶ added in v5.31.0
func (o GetResolverForwardingRuleTargetDnsServerOutput) IpAddress() pulumi.StringOutput
The DNS server IP address.
func (GetResolverForwardingRuleTargetDnsServerOutput) Port ¶ added in v5.31.0
func (o GetResolverForwardingRuleTargetDnsServerOutput) Port() pulumi.IntOutput
The DNS server port.
func (GetResolverForwardingRuleTargetDnsServerOutput) ToGetResolverForwardingRuleTargetDnsServerOutput ¶ added in v5.31.0
func (o GetResolverForwardingRuleTargetDnsServerOutput) ToGetResolverForwardingRuleTargetDnsServerOutput() GetResolverForwardingRuleTargetDnsServerOutput
func (GetResolverForwardingRuleTargetDnsServerOutput) ToGetResolverForwardingRuleTargetDnsServerOutputWithContext ¶ added in v5.31.0
func (o GetResolverForwardingRuleTargetDnsServerOutput) ToGetResolverForwardingRuleTargetDnsServerOutputWithContext(ctx context.Context) GetResolverForwardingRuleTargetDnsServerOutput
type GetResolverInboundEndpointIpConfiguration ¶ added in v5.31.0
type GetResolverInboundEndpointIpConfiguration struct { // The private IP address of the IP configuration. PrivateIpAddress string `pulumi:"privateIpAddress"` // The private IP address allocation method. PrivateIpAllocationMethod string `pulumi:"privateIpAllocationMethod"` // The subnet ID of the IP configuration. SubnetId string `pulumi:"subnetId"` }
type GetResolverInboundEndpointIpConfigurationArgs ¶ added in v5.31.0
type GetResolverInboundEndpointIpConfigurationArgs struct { // The private IP address of the IP configuration. PrivateIpAddress pulumi.StringInput `pulumi:"privateIpAddress"` // The private IP address allocation method. PrivateIpAllocationMethod pulumi.StringInput `pulumi:"privateIpAllocationMethod"` // The subnet ID of the IP configuration. SubnetId pulumi.StringInput `pulumi:"subnetId"` }
func (GetResolverInboundEndpointIpConfigurationArgs) ElementType ¶ added in v5.31.0
func (GetResolverInboundEndpointIpConfigurationArgs) ElementType() reflect.Type
func (GetResolverInboundEndpointIpConfigurationArgs) ToGetResolverInboundEndpointIpConfigurationOutput ¶ added in v5.31.0
func (i GetResolverInboundEndpointIpConfigurationArgs) ToGetResolverInboundEndpointIpConfigurationOutput() GetResolverInboundEndpointIpConfigurationOutput
func (GetResolverInboundEndpointIpConfigurationArgs) ToGetResolverInboundEndpointIpConfigurationOutputWithContext ¶ added in v5.31.0
func (i GetResolverInboundEndpointIpConfigurationArgs) ToGetResolverInboundEndpointIpConfigurationOutputWithContext(ctx context.Context) GetResolverInboundEndpointIpConfigurationOutput
type GetResolverInboundEndpointIpConfigurationArray ¶ added in v5.31.0
type GetResolverInboundEndpointIpConfigurationArray []GetResolverInboundEndpointIpConfigurationInput
func (GetResolverInboundEndpointIpConfigurationArray) ElementType ¶ added in v5.31.0
func (GetResolverInboundEndpointIpConfigurationArray) ElementType() reflect.Type
func (GetResolverInboundEndpointIpConfigurationArray) ToGetResolverInboundEndpointIpConfigurationArrayOutput ¶ added in v5.31.0
func (i GetResolverInboundEndpointIpConfigurationArray) ToGetResolverInboundEndpointIpConfigurationArrayOutput() GetResolverInboundEndpointIpConfigurationArrayOutput
func (GetResolverInboundEndpointIpConfigurationArray) ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext ¶ added in v5.31.0
func (i GetResolverInboundEndpointIpConfigurationArray) ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext(ctx context.Context) GetResolverInboundEndpointIpConfigurationArrayOutput
type GetResolverInboundEndpointIpConfigurationArrayInput ¶ added in v5.31.0
type GetResolverInboundEndpointIpConfigurationArrayInput interface { pulumi.Input ToGetResolverInboundEndpointIpConfigurationArrayOutput() GetResolverInboundEndpointIpConfigurationArrayOutput ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext(context.Context) GetResolverInboundEndpointIpConfigurationArrayOutput }
GetResolverInboundEndpointIpConfigurationArrayInput is an input type that accepts GetResolverInboundEndpointIpConfigurationArray and GetResolverInboundEndpointIpConfigurationArrayOutput values. You can construct a concrete instance of `GetResolverInboundEndpointIpConfigurationArrayInput` via:
GetResolverInboundEndpointIpConfigurationArray{ GetResolverInboundEndpointIpConfigurationArgs{...} }
type GetResolverInboundEndpointIpConfigurationArrayOutput ¶ added in v5.31.0
type GetResolverInboundEndpointIpConfigurationArrayOutput struct{ *pulumi.OutputState }
func (GetResolverInboundEndpointIpConfigurationArrayOutput) ElementType ¶ added in v5.31.0
func (GetResolverInboundEndpointIpConfigurationArrayOutput) ElementType() reflect.Type
func (GetResolverInboundEndpointIpConfigurationArrayOutput) ToGetResolverInboundEndpointIpConfigurationArrayOutput ¶ added in v5.31.0
func (o GetResolverInboundEndpointIpConfigurationArrayOutput) ToGetResolverInboundEndpointIpConfigurationArrayOutput() GetResolverInboundEndpointIpConfigurationArrayOutput
func (GetResolverInboundEndpointIpConfigurationArrayOutput) ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext ¶ added in v5.31.0
func (o GetResolverInboundEndpointIpConfigurationArrayOutput) ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext(ctx context.Context) GetResolverInboundEndpointIpConfigurationArrayOutput
type GetResolverInboundEndpointIpConfigurationInput ¶ added in v5.31.0
type GetResolverInboundEndpointIpConfigurationInput interface { pulumi.Input ToGetResolverInboundEndpointIpConfigurationOutput() GetResolverInboundEndpointIpConfigurationOutput ToGetResolverInboundEndpointIpConfigurationOutputWithContext(context.Context) GetResolverInboundEndpointIpConfigurationOutput }
GetResolverInboundEndpointIpConfigurationInput is an input type that accepts GetResolverInboundEndpointIpConfigurationArgs and GetResolverInboundEndpointIpConfigurationOutput values. You can construct a concrete instance of `GetResolverInboundEndpointIpConfigurationInput` via:
GetResolverInboundEndpointIpConfigurationArgs{...}
type GetResolverInboundEndpointIpConfigurationOutput ¶ added in v5.31.0
type GetResolverInboundEndpointIpConfigurationOutput struct{ *pulumi.OutputState }
func (GetResolverInboundEndpointIpConfigurationOutput) ElementType ¶ added in v5.31.0
func (GetResolverInboundEndpointIpConfigurationOutput) ElementType() reflect.Type
func (GetResolverInboundEndpointIpConfigurationOutput) PrivateIpAddress ¶ added in v5.31.0
func (o GetResolverInboundEndpointIpConfigurationOutput) PrivateIpAddress() pulumi.StringOutput
The private IP address of the IP configuration.
func (GetResolverInboundEndpointIpConfigurationOutput) PrivateIpAllocationMethod ¶ added in v5.31.0
func (o GetResolverInboundEndpointIpConfigurationOutput) PrivateIpAllocationMethod() pulumi.StringOutput
The private IP address allocation method.
func (GetResolverInboundEndpointIpConfigurationOutput) SubnetId ¶ added in v5.31.0
func (o GetResolverInboundEndpointIpConfigurationOutput) SubnetId() pulumi.StringOutput
The subnet ID of the IP configuration.
func (GetResolverInboundEndpointIpConfigurationOutput) ToGetResolverInboundEndpointIpConfigurationOutput ¶ added in v5.31.0
func (o GetResolverInboundEndpointIpConfigurationOutput) ToGetResolverInboundEndpointIpConfigurationOutput() GetResolverInboundEndpointIpConfigurationOutput
func (GetResolverInboundEndpointIpConfigurationOutput) ToGetResolverInboundEndpointIpConfigurationOutputWithContext ¶ added in v5.31.0
func (o GetResolverInboundEndpointIpConfigurationOutput) ToGetResolverInboundEndpointIpConfigurationOutputWithContext(ctx context.Context) GetResolverInboundEndpointIpConfigurationOutput
type GetSoaRecordArgs ¶ added in v5.16.0
type GetSoaRecordArgs struct { // The name of the Private DNS SOA Record. Name *string `pulumi:"name"` // Specifies the resource group where the Private DNS Zone (parent resource) exists. ResourceGroupName string `pulumi:"resourceGroupName"` // Specifies the Private DNS Zone where the resource exists. ZoneName string `pulumi:"zoneName"` }
A collection of arguments for invoking getSoaRecord.
type GetSoaRecordOutputArgs ¶ added in v5.16.0
type GetSoaRecordOutputArgs struct { // The name of the Private DNS SOA Record. Name pulumi.StringPtrInput `pulumi:"name"` // Specifies the resource group where the Private DNS Zone (parent resource) exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // Specifies the Private DNS Zone where the resource exists. ZoneName pulumi.StringInput `pulumi:"zoneName"` }
A collection of arguments for invoking getSoaRecord.
func (GetSoaRecordOutputArgs) ElementType ¶ added in v5.16.0
func (GetSoaRecordOutputArgs) ElementType() reflect.Type
type GetSoaRecordResult ¶ added in v5.16.0
type GetSoaRecordResult struct { // The email contact for the SOA record. Email string `pulumi:"email"` // The expire time for the SOA record. ExpireTime int `pulumi:"expireTime"` // The FQDN of the Private DNS SOA Record. Fqdn string `pulumi:"fqdn"` // The domain name of the authoritative name server for the SOA record. HostName string `pulumi:"hostName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration. MinimumTtl int `pulumi:"minimumTtl"` // The name of the Private DNS SOA Record. Name *string `pulumi:"name"` // The refresh time for the SOA record. RefreshTime int `pulumi:"refreshTime"` ResourceGroupName string `pulumi:"resourceGroupName"` // The retry time for the SOA record. RetryTime int `pulumi:"retryTime"` // The serial number for the SOA record. SerialNumber int `pulumi:"serialNumber"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` // The Time To Live (TTL) of the Private DNS record in seconds. Ttl int `pulumi:"ttl"` ZoneName string `pulumi:"zoneName"` }
A collection of values returned by getSoaRecord.
func GetSoaRecord ¶ added in v5.16.0
func GetSoaRecord(ctx *pulumi.Context, args *GetSoaRecordArgs, opts ...pulumi.InvokeOption) (*GetSoaRecordResult, error)
type GetSoaRecordResultOutput ¶ added in v5.16.0
type GetSoaRecordResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSoaRecord.
func GetSoaRecordOutput ¶ added in v5.16.0
func GetSoaRecordOutput(ctx *pulumi.Context, args GetSoaRecordOutputArgs, opts ...pulumi.InvokeOption) GetSoaRecordResultOutput
func (GetSoaRecordResultOutput) ElementType ¶ added in v5.16.0
func (GetSoaRecordResultOutput) ElementType() reflect.Type
func (GetSoaRecordResultOutput) Email ¶ added in v5.16.0
func (o GetSoaRecordResultOutput) Email() pulumi.StringOutput
The email contact for the SOA record.
func (GetSoaRecordResultOutput) ExpireTime ¶ added in v5.16.0
func (o GetSoaRecordResultOutput) ExpireTime() pulumi.IntOutput
The expire time for the SOA record.
func (GetSoaRecordResultOutput) Fqdn ¶ added in v5.16.0
func (o GetSoaRecordResultOutput) Fqdn() pulumi.StringOutput
The FQDN of the Private DNS SOA Record.
func (GetSoaRecordResultOutput) HostName ¶ added in v5.16.0
func (o GetSoaRecordResultOutput) HostName() pulumi.StringOutput
The domain name of the authoritative name server for the SOA record.
func (GetSoaRecordResultOutput) Id ¶ added in v5.16.0
func (o GetSoaRecordResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSoaRecordResultOutput) MinimumTtl ¶ added in v5.16.0
func (o GetSoaRecordResultOutput) MinimumTtl() pulumi.IntOutput
The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration.
func (GetSoaRecordResultOutput) Name ¶ added in v5.16.0
func (o GetSoaRecordResultOutput) Name() pulumi.StringPtrOutput
The name of the Private DNS SOA Record.
func (GetSoaRecordResultOutput) RefreshTime ¶ added in v5.16.0
func (o GetSoaRecordResultOutput) RefreshTime() pulumi.IntOutput
The refresh time for the SOA record.
func (GetSoaRecordResultOutput) ResourceGroupName ¶ added in v5.16.0
func (o GetSoaRecordResultOutput) ResourceGroupName() pulumi.StringOutput
func (GetSoaRecordResultOutput) RetryTime ¶ added in v5.16.0
func (o GetSoaRecordResultOutput) RetryTime() pulumi.IntOutput
The retry time for the SOA record.
func (GetSoaRecordResultOutput) SerialNumber ¶ added in v5.16.0
func (o GetSoaRecordResultOutput) SerialNumber() pulumi.IntOutput
The serial number for the SOA record.
func (GetSoaRecordResultOutput) Tags ¶ added in v5.16.0
func (o GetSoaRecordResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (GetSoaRecordResultOutput) ToGetSoaRecordResultOutput ¶ added in v5.16.0
func (o GetSoaRecordResultOutput) ToGetSoaRecordResultOutput() GetSoaRecordResultOutput
func (GetSoaRecordResultOutput) ToGetSoaRecordResultOutputWithContext ¶ added in v5.16.0
func (o GetSoaRecordResultOutput) ToGetSoaRecordResultOutputWithContext(ctx context.Context) GetSoaRecordResultOutput
func (GetSoaRecordResultOutput) Ttl ¶ added in v5.16.0
func (o GetSoaRecordResultOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the Private DNS record in seconds.
func (GetSoaRecordResultOutput) ZoneName ¶ added in v5.16.0
func (o GetSoaRecordResultOutput) ZoneName() pulumi.StringOutput
type GetSrvRecordArgs ¶ added in v5.16.0
type GetSrvRecordArgs struct { // The name of the Private DNS SRV Record. Name string `pulumi:"name"` // Specifies the resource group where the Private DNS Zone (parent resource) exists. ResourceGroupName string `pulumi:"resourceGroupName"` // Specifies the Private DNS Zone where the resource exists. ZoneName string `pulumi:"zoneName"` }
A collection of arguments for invoking getSrvRecord.
type GetSrvRecordOutputArgs ¶ added in v5.16.0
type GetSrvRecordOutputArgs struct { // The name of the Private DNS SRV Record. Name pulumi.StringInput `pulumi:"name"` // Specifies the resource group where the Private DNS Zone (parent resource) exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // Specifies the Private DNS Zone where the resource exists. ZoneName pulumi.StringInput `pulumi:"zoneName"` }
A collection of arguments for invoking getSrvRecord.
func (GetSrvRecordOutputArgs) ElementType ¶ added in v5.16.0
func (GetSrvRecordOutputArgs) ElementType() reflect.Type
type GetSrvRecordRecord ¶ added in v5.16.0
type GetSrvRecordRecordArgs ¶ added in v5.16.0
type GetSrvRecordRecordArgs struct { // Port the service is listening on. Port pulumi.IntInput `pulumi:"port"` // Priority of the SRV record. Priority pulumi.IntInput `pulumi:"priority"` // FQDN of the service. Target pulumi.StringInput `pulumi:"target"` // Weight of the SRV record. Weight pulumi.IntInput `pulumi:"weight"` }
func (GetSrvRecordRecordArgs) ElementType ¶ added in v5.16.0
func (GetSrvRecordRecordArgs) ElementType() reflect.Type
func (GetSrvRecordRecordArgs) ToGetSrvRecordRecordOutput ¶ added in v5.16.0
func (i GetSrvRecordRecordArgs) ToGetSrvRecordRecordOutput() GetSrvRecordRecordOutput
func (GetSrvRecordRecordArgs) ToGetSrvRecordRecordOutputWithContext ¶ added in v5.16.0
func (i GetSrvRecordRecordArgs) ToGetSrvRecordRecordOutputWithContext(ctx context.Context) GetSrvRecordRecordOutput
type GetSrvRecordRecordArray ¶ added in v5.16.0
type GetSrvRecordRecordArray []GetSrvRecordRecordInput
func (GetSrvRecordRecordArray) ElementType ¶ added in v5.16.0
func (GetSrvRecordRecordArray) ElementType() reflect.Type
func (GetSrvRecordRecordArray) ToGetSrvRecordRecordArrayOutput ¶ added in v5.16.0
func (i GetSrvRecordRecordArray) ToGetSrvRecordRecordArrayOutput() GetSrvRecordRecordArrayOutput
func (GetSrvRecordRecordArray) ToGetSrvRecordRecordArrayOutputWithContext ¶ added in v5.16.0
func (i GetSrvRecordRecordArray) ToGetSrvRecordRecordArrayOutputWithContext(ctx context.Context) GetSrvRecordRecordArrayOutput
type GetSrvRecordRecordArrayInput ¶ added in v5.16.0
type GetSrvRecordRecordArrayInput interface { pulumi.Input ToGetSrvRecordRecordArrayOutput() GetSrvRecordRecordArrayOutput ToGetSrvRecordRecordArrayOutputWithContext(context.Context) GetSrvRecordRecordArrayOutput }
GetSrvRecordRecordArrayInput is an input type that accepts GetSrvRecordRecordArray and GetSrvRecordRecordArrayOutput values. You can construct a concrete instance of `GetSrvRecordRecordArrayInput` via:
GetSrvRecordRecordArray{ GetSrvRecordRecordArgs{...} }
type GetSrvRecordRecordArrayOutput ¶ added in v5.16.0
type GetSrvRecordRecordArrayOutput struct{ *pulumi.OutputState }
func (GetSrvRecordRecordArrayOutput) ElementType ¶ added in v5.16.0
func (GetSrvRecordRecordArrayOutput) ElementType() reflect.Type
func (GetSrvRecordRecordArrayOutput) Index ¶ added in v5.16.0
func (o GetSrvRecordRecordArrayOutput) Index(i pulumi.IntInput) GetSrvRecordRecordOutput
func (GetSrvRecordRecordArrayOutput) ToGetSrvRecordRecordArrayOutput ¶ added in v5.16.0
func (o GetSrvRecordRecordArrayOutput) ToGetSrvRecordRecordArrayOutput() GetSrvRecordRecordArrayOutput
func (GetSrvRecordRecordArrayOutput) ToGetSrvRecordRecordArrayOutputWithContext ¶ added in v5.16.0
func (o GetSrvRecordRecordArrayOutput) ToGetSrvRecordRecordArrayOutputWithContext(ctx context.Context) GetSrvRecordRecordArrayOutput
type GetSrvRecordRecordInput ¶ added in v5.16.0
type GetSrvRecordRecordInput interface { pulumi.Input ToGetSrvRecordRecordOutput() GetSrvRecordRecordOutput ToGetSrvRecordRecordOutputWithContext(context.Context) GetSrvRecordRecordOutput }
GetSrvRecordRecordInput is an input type that accepts GetSrvRecordRecordArgs and GetSrvRecordRecordOutput values. You can construct a concrete instance of `GetSrvRecordRecordInput` via:
GetSrvRecordRecordArgs{...}
type GetSrvRecordRecordOutput ¶ added in v5.16.0
type GetSrvRecordRecordOutput struct{ *pulumi.OutputState }
func (GetSrvRecordRecordOutput) ElementType ¶ added in v5.16.0
func (GetSrvRecordRecordOutput) ElementType() reflect.Type
func (GetSrvRecordRecordOutput) Port ¶ added in v5.16.0
func (o GetSrvRecordRecordOutput) Port() pulumi.IntOutput
Port the service is listening on.
func (GetSrvRecordRecordOutput) Priority ¶ added in v5.16.0
func (o GetSrvRecordRecordOutput) Priority() pulumi.IntOutput
Priority of the SRV record.
func (GetSrvRecordRecordOutput) Target ¶ added in v5.16.0
func (o GetSrvRecordRecordOutput) Target() pulumi.StringOutput
FQDN of the service.
func (GetSrvRecordRecordOutput) ToGetSrvRecordRecordOutput ¶ added in v5.16.0
func (o GetSrvRecordRecordOutput) ToGetSrvRecordRecordOutput() GetSrvRecordRecordOutput
func (GetSrvRecordRecordOutput) ToGetSrvRecordRecordOutputWithContext ¶ added in v5.16.0
func (o GetSrvRecordRecordOutput) ToGetSrvRecordRecordOutputWithContext(ctx context.Context) GetSrvRecordRecordOutput
func (GetSrvRecordRecordOutput) Weight ¶ added in v5.16.0
func (o GetSrvRecordRecordOutput) Weight() pulumi.IntOutput
Weight of the SRV record.
type GetSrvRecordResult ¶ added in v5.16.0
type GetSrvRecordResult struct { // The FQDN of the Private DNS SRV Record. Fqdn string `pulumi:"fqdn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // A list of values that make up the SRV record. Each `record` block supports fields documented below. Records []GetSrvRecordRecord `pulumi:"records"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` // The Time To Live (TTL) of the Private DNS record in seconds. Ttl int `pulumi:"ttl"` ZoneName string `pulumi:"zoneName"` }
A collection of values returned by getSrvRecord.
func GetSrvRecord ¶ added in v5.16.0
func GetSrvRecord(ctx *pulumi.Context, args *GetSrvRecordArgs, opts ...pulumi.InvokeOption) (*GetSrvRecordResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := privatedns.NewSRVRecord(ctx, "example", &privatedns.SRVRecordArgs{ ZoneName: pulumi.String("test-zone"), ResourceGroupName: pulumi.String("test-rg"), }) if err != nil { return err } ctx.Export("privateDnsSrvRecordId", example.ID()) return nil }) }
```
type GetSrvRecordResultOutput ¶ added in v5.16.0
type GetSrvRecordResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSrvRecord.
func GetSrvRecordOutput ¶ added in v5.16.0
func GetSrvRecordOutput(ctx *pulumi.Context, args GetSrvRecordOutputArgs, opts ...pulumi.InvokeOption) GetSrvRecordResultOutput
func (GetSrvRecordResultOutput) ElementType ¶ added in v5.16.0
func (GetSrvRecordResultOutput) ElementType() reflect.Type
func (GetSrvRecordResultOutput) Fqdn ¶ added in v5.16.0
func (o GetSrvRecordResultOutput) Fqdn() pulumi.StringOutput
The FQDN of the Private DNS SRV Record.
func (GetSrvRecordResultOutput) Id ¶ added in v5.16.0
func (o GetSrvRecordResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSrvRecordResultOutput) Name ¶ added in v5.16.0
func (o GetSrvRecordResultOutput) Name() pulumi.StringOutput
func (GetSrvRecordResultOutput) Records ¶ added in v5.16.0
func (o GetSrvRecordResultOutput) Records() GetSrvRecordRecordArrayOutput
A list of values that make up the SRV record. Each `record` block supports fields documented below.
func (GetSrvRecordResultOutput) ResourceGroupName ¶ added in v5.16.0
func (o GetSrvRecordResultOutput) ResourceGroupName() pulumi.StringOutput
func (GetSrvRecordResultOutput) Tags ¶ added in v5.16.0
func (o GetSrvRecordResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (GetSrvRecordResultOutput) ToGetSrvRecordResultOutput ¶ added in v5.16.0
func (o GetSrvRecordResultOutput) ToGetSrvRecordResultOutput() GetSrvRecordResultOutput
func (GetSrvRecordResultOutput) ToGetSrvRecordResultOutputWithContext ¶ added in v5.16.0
func (o GetSrvRecordResultOutput) ToGetSrvRecordResultOutputWithContext(ctx context.Context) GetSrvRecordResultOutput
func (GetSrvRecordResultOutput) Ttl ¶ added in v5.16.0
func (o GetSrvRecordResultOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the Private DNS record in seconds.
func (GetSrvRecordResultOutput) ZoneName ¶ added in v5.16.0
func (o GetSrvRecordResultOutput) ZoneName() pulumi.StringOutput
type GetTxtRecordRecord ¶ added in v5.16.0
type GetTxtRecordRecord struct { // The value of the record. Max length: 1024 characters Value string `pulumi:"value"` }
type GetTxtRecordRecordArgs ¶ added in v5.16.0
type GetTxtRecordRecordArgs struct { // The value of the record. Max length: 1024 characters Value pulumi.StringInput `pulumi:"value"` }
func (GetTxtRecordRecordArgs) ElementType ¶ added in v5.16.0
func (GetTxtRecordRecordArgs) ElementType() reflect.Type
func (GetTxtRecordRecordArgs) ToGetTxtRecordRecordOutput ¶ added in v5.16.0
func (i GetTxtRecordRecordArgs) ToGetTxtRecordRecordOutput() GetTxtRecordRecordOutput
func (GetTxtRecordRecordArgs) ToGetTxtRecordRecordOutputWithContext ¶ added in v5.16.0
func (i GetTxtRecordRecordArgs) ToGetTxtRecordRecordOutputWithContext(ctx context.Context) GetTxtRecordRecordOutput
type GetTxtRecordRecordArray ¶ added in v5.16.0
type GetTxtRecordRecordArray []GetTxtRecordRecordInput
func (GetTxtRecordRecordArray) ElementType ¶ added in v5.16.0
func (GetTxtRecordRecordArray) ElementType() reflect.Type
func (GetTxtRecordRecordArray) ToGetTxtRecordRecordArrayOutput ¶ added in v5.16.0
func (i GetTxtRecordRecordArray) ToGetTxtRecordRecordArrayOutput() GetTxtRecordRecordArrayOutput
func (GetTxtRecordRecordArray) ToGetTxtRecordRecordArrayOutputWithContext ¶ added in v5.16.0
func (i GetTxtRecordRecordArray) ToGetTxtRecordRecordArrayOutputWithContext(ctx context.Context) GetTxtRecordRecordArrayOutput
type GetTxtRecordRecordArrayInput ¶ added in v5.16.0
type GetTxtRecordRecordArrayInput interface { pulumi.Input ToGetTxtRecordRecordArrayOutput() GetTxtRecordRecordArrayOutput ToGetTxtRecordRecordArrayOutputWithContext(context.Context) GetTxtRecordRecordArrayOutput }
GetTxtRecordRecordArrayInput is an input type that accepts GetTxtRecordRecordArray and GetTxtRecordRecordArrayOutput values. You can construct a concrete instance of `GetTxtRecordRecordArrayInput` via:
GetTxtRecordRecordArray{ GetTxtRecordRecordArgs{...} }
type GetTxtRecordRecordArrayOutput ¶ added in v5.16.0
type GetTxtRecordRecordArrayOutput struct{ *pulumi.OutputState }
func (GetTxtRecordRecordArrayOutput) ElementType ¶ added in v5.16.0
func (GetTxtRecordRecordArrayOutput) ElementType() reflect.Type
func (GetTxtRecordRecordArrayOutput) Index ¶ added in v5.16.0
func (o GetTxtRecordRecordArrayOutput) Index(i pulumi.IntInput) GetTxtRecordRecordOutput
func (GetTxtRecordRecordArrayOutput) ToGetTxtRecordRecordArrayOutput ¶ added in v5.16.0
func (o GetTxtRecordRecordArrayOutput) ToGetTxtRecordRecordArrayOutput() GetTxtRecordRecordArrayOutput
func (GetTxtRecordRecordArrayOutput) ToGetTxtRecordRecordArrayOutputWithContext ¶ added in v5.16.0
func (o GetTxtRecordRecordArrayOutput) ToGetTxtRecordRecordArrayOutputWithContext(ctx context.Context) GetTxtRecordRecordArrayOutput
type GetTxtRecordRecordInput ¶ added in v5.16.0
type GetTxtRecordRecordInput interface { pulumi.Input ToGetTxtRecordRecordOutput() GetTxtRecordRecordOutput ToGetTxtRecordRecordOutputWithContext(context.Context) GetTxtRecordRecordOutput }
GetTxtRecordRecordInput is an input type that accepts GetTxtRecordRecordArgs and GetTxtRecordRecordOutput values. You can construct a concrete instance of `GetTxtRecordRecordInput` via:
GetTxtRecordRecordArgs{...}
type GetTxtRecordRecordOutput ¶ added in v5.16.0
type GetTxtRecordRecordOutput struct{ *pulumi.OutputState }
func (GetTxtRecordRecordOutput) ElementType ¶ added in v5.16.0
func (GetTxtRecordRecordOutput) ElementType() reflect.Type
func (GetTxtRecordRecordOutput) ToGetTxtRecordRecordOutput ¶ added in v5.16.0
func (o GetTxtRecordRecordOutput) ToGetTxtRecordRecordOutput() GetTxtRecordRecordOutput
func (GetTxtRecordRecordOutput) ToGetTxtRecordRecordOutputWithContext ¶ added in v5.16.0
func (o GetTxtRecordRecordOutput) ToGetTxtRecordRecordOutputWithContext(ctx context.Context) GetTxtRecordRecordOutput
func (GetTxtRecordRecordOutput) Value ¶ added in v5.16.0
func (o GetTxtRecordRecordOutput) Value() pulumi.StringOutput
The value of the record. Max length: 1024 characters
type LinkService ¶
type LinkService struct { pulumi.CustomResourceState // A globally unique DNS Name for your Private Link Service. You can use this alias to request a connection to your Private Link Service. Alias pulumi.StringOutput `pulumi:"alias"` // A list of Subscription UUID/GUID's that will be automatically be able to use this Private Link Service. AutoApprovalSubscriptionIds pulumi.StringArrayOutput `pulumi:"autoApprovalSubscriptionIds"` // Should the Private Link Service support the Proxy Protocol? EnableProxyProtocol pulumi.BoolPtrOutput `pulumi:"enableProxyProtocol"` // List of FQDNs allowed for the Private Link Service. Fqdns pulumi.StringArrayOutput `pulumi:"fqdns"` // A list of Frontend IP Configuration IDs from a Standard Load Balancer, where traffic from the Private Link Service should be routed. You can use Load Balancer Rules to direct this traffic to appropriate backend pools where your applications are running. Changing this forces a new resource to be created. LoadBalancerFrontendIpConfigurationIds pulumi.StringArrayOutput `pulumi:"loadBalancerFrontendIpConfigurationIds"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of this Private Link Service. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // One or more (up to 8) `natIpConfiguration` block as defined below. NatIpConfigurations LinkServiceNatIpConfigurationArrayOutput `pulumi:"natIpConfigurations"` // The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // A list of Subscription UUID/GUID's that will be able to see this Private Link Service. // // > **NOTE:** If no Subscription IDs are specified then Azure allows every Subscription to see this Private Link Service. VisibilitySubscriptionIds pulumi.StringArrayOutput `pulumi:"visibilitySubscriptionIds"` }
Manages a Private Link Service.
> **NOTE** Private Link is now in [GA](https://docs.microsoft.com/en-gb/azure/private-link/).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/lb" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AddressSpaces: pulumi.StringArray{ pulumi.String("10.5.0.0/16"), }, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.5.1.0/24"), }, EnforcePrivateLinkServiceNetworkPolicies: pulumi.Bool(true), }) if err != nil { return err } examplePublicIp, err := network.NewPublicIp(ctx, "examplePublicIp", &network.PublicIpArgs{ Sku: pulumi.String("Standard"), Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AllocationMethod: pulumi.String("Static"), }) if err != nil { return err } exampleLoadBalancer, err := lb.NewLoadBalancer(ctx, "exampleLoadBalancer", &lb.LoadBalancerArgs{ Sku: pulumi.String("Standard"), Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, FrontendIpConfigurations: lb.LoadBalancerFrontendIpConfigurationArray{ &lb.LoadBalancerFrontendIpConfigurationArgs{ Name: examplePublicIp.Name, PublicIpAddressId: examplePublicIp.ID(), }, }, }) if err != nil { return err } _, err = privatedns.NewLinkService(ctx, "exampleLinkService", &privatedns.LinkServiceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AutoApprovalSubscriptionIds: pulumi.StringArray{ pulumi.String("00000000-0000-0000-0000-000000000000"), }, VisibilitySubscriptionIds: pulumi.StringArray{ pulumi.String("00000000-0000-0000-0000-000000000000"), }, LoadBalancerFrontendIpConfigurationIds: pulumi.StringArray{ exampleLoadBalancer.FrontendIpConfigurations.ApplyT(func(frontendIpConfigurations []lb.LoadBalancerFrontendIpConfiguration) (*string, error) { return &frontendIpConfigurations[0].Id, nil }).(pulumi.StringPtrOutput), }, NatIpConfigurations: privatedns.LinkServiceNatIpConfigurationArray{ &privatedns.LinkServiceNatIpConfigurationArgs{ Name: pulumi.String("primary"), PrivateIpAddress: pulumi.String("10.5.1.17"), PrivateIpAddressVersion: pulumi.String("IPv4"), SubnetId: exampleSubnet.ID(), Primary: pulumi.Bool(true), }, &privatedns.LinkServiceNatIpConfigurationArgs{ Name: pulumi.String("secondary"), PrivateIpAddress: pulumi.String("10.5.1.18"), PrivateIpAddressVersion: pulumi.String("IPv4"), SubnetId: exampleSubnet.ID(), Primary: pulumi.Bool(false), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Private Link Services can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:privatedns/linkService:LinkService example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/privateLinkServices/service1
```
func GetLinkService ¶
func GetLinkService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LinkServiceState, opts ...pulumi.ResourceOption) (*LinkService, error)
GetLinkService gets an existing LinkService resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLinkService ¶
func NewLinkService(ctx *pulumi.Context, name string, args *LinkServiceArgs, opts ...pulumi.ResourceOption) (*LinkService, error)
NewLinkService registers a new resource with the given unique name, arguments, and options.
func (*LinkService) ElementType ¶
func (*LinkService) ElementType() reflect.Type
func (*LinkService) ToLinkServiceOutput ¶
func (i *LinkService) ToLinkServiceOutput() LinkServiceOutput
func (*LinkService) ToLinkServiceOutputWithContext ¶
func (i *LinkService) ToLinkServiceOutputWithContext(ctx context.Context) LinkServiceOutput
type LinkServiceArgs ¶
type LinkServiceArgs struct { // A list of Subscription UUID/GUID's that will be automatically be able to use this Private Link Service. AutoApprovalSubscriptionIds pulumi.StringArrayInput // Should the Private Link Service support the Proxy Protocol? EnableProxyProtocol pulumi.BoolPtrInput // List of FQDNs allowed for the Private Link Service. Fqdns pulumi.StringArrayInput // A list of Frontend IP Configuration IDs from a Standard Load Balancer, where traffic from the Private Link Service should be routed. You can use Load Balancer Rules to direct this traffic to appropriate backend pools where your applications are running. Changing this forces a new resource to be created. LoadBalancerFrontendIpConfigurationIds pulumi.StringArrayInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of this Private Link Service. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // One or more (up to 8) `natIpConfiguration` block as defined below. NatIpConfigurations LinkServiceNatIpConfigurationArrayInput // The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // A list of Subscription UUID/GUID's that will be able to see this Private Link Service. // // > **NOTE:** If no Subscription IDs are specified then Azure allows every Subscription to see this Private Link Service. VisibilitySubscriptionIds pulumi.StringArrayInput }
The set of arguments for constructing a LinkService resource.
func (LinkServiceArgs) ElementType ¶
func (LinkServiceArgs) ElementType() reflect.Type
type LinkServiceArray ¶
type LinkServiceArray []LinkServiceInput
func (LinkServiceArray) ElementType ¶
func (LinkServiceArray) ElementType() reflect.Type
func (LinkServiceArray) ToLinkServiceArrayOutput ¶
func (i LinkServiceArray) ToLinkServiceArrayOutput() LinkServiceArrayOutput
func (LinkServiceArray) ToLinkServiceArrayOutputWithContext ¶
func (i LinkServiceArray) ToLinkServiceArrayOutputWithContext(ctx context.Context) LinkServiceArrayOutput
type LinkServiceArrayInput ¶
type LinkServiceArrayInput interface { pulumi.Input ToLinkServiceArrayOutput() LinkServiceArrayOutput ToLinkServiceArrayOutputWithContext(context.Context) LinkServiceArrayOutput }
LinkServiceArrayInput is an input type that accepts LinkServiceArray and LinkServiceArrayOutput values. You can construct a concrete instance of `LinkServiceArrayInput` via:
LinkServiceArray{ LinkServiceArgs{...} }
type LinkServiceArrayOutput ¶
type LinkServiceArrayOutput struct{ *pulumi.OutputState }
func (LinkServiceArrayOutput) ElementType ¶
func (LinkServiceArrayOutput) ElementType() reflect.Type
func (LinkServiceArrayOutput) Index ¶
func (o LinkServiceArrayOutput) Index(i pulumi.IntInput) LinkServiceOutput
func (LinkServiceArrayOutput) ToLinkServiceArrayOutput ¶
func (o LinkServiceArrayOutput) ToLinkServiceArrayOutput() LinkServiceArrayOutput
func (LinkServiceArrayOutput) ToLinkServiceArrayOutputWithContext ¶
func (o LinkServiceArrayOutput) ToLinkServiceArrayOutputWithContext(ctx context.Context) LinkServiceArrayOutput
type LinkServiceInput ¶
type LinkServiceInput interface { pulumi.Input ToLinkServiceOutput() LinkServiceOutput ToLinkServiceOutputWithContext(ctx context.Context) LinkServiceOutput }
type LinkServiceMap ¶
type LinkServiceMap map[string]LinkServiceInput
func (LinkServiceMap) ElementType ¶
func (LinkServiceMap) ElementType() reflect.Type
func (LinkServiceMap) ToLinkServiceMapOutput ¶
func (i LinkServiceMap) ToLinkServiceMapOutput() LinkServiceMapOutput
func (LinkServiceMap) ToLinkServiceMapOutputWithContext ¶
func (i LinkServiceMap) ToLinkServiceMapOutputWithContext(ctx context.Context) LinkServiceMapOutput
type LinkServiceMapInput ¶
type LinkServiceMapInput interface { pulumi.Input ToLinkServiceMapOutput() LinkServiceMapOutput ToLinkServiceMapOutputWithContext(context.Context) LinkServiceMapOutput }
LinkServiceMapInput is an input type that accepts LinkServiceMap and LinkServiceMapOutput values. You can construct a concrete instance of `LinkServiceMapInput` via:
LinkServiceMap{ "key": LinkServiceArgs{...} }
type LinkServiceMapOutput ¶
type LinkServiceMapOutput struct{ *pulumi.OutputState }
func (LinkServiceMapOutput) ElementType ¶
func (LinkServiceMapOutput) ElementType() reflect.Type
func (LinkServiceMapOutput) MapIndex ¶
func (o LinkServiceMapOutput) MapIndex(k pulumi.StringInput) LinkServiceOutput
func (LinkServiceMapOutput) ToLinkServiceMapOutput ¶
func (o LinkServiceMapOutput) ToLinkServiceMapOutput() LinkServiceMapOutput
func (LinkServiceMapOutput) ToLinkServiceMapOutputWithContext ¶
func (o LinkServiceMapOutput) ToLinkServiceMapOutputWithContext(ctx context.Context) LinkServiceMapOutput
type LinkServiceNatIpConfiguration ¶
type LinkServiceNatIpConfiguration struct { // Specifies the name which should be used for the NAT IP Configuration. Changing this forces a new resource to be created. Name string `pulumi:"name"` // Is this is the Primary IP Configuration? Changing this forces a new resource to be created. Primary bool `pulumi:"primary"` // Specifies a Private Static IP Address for this IP Configuration. PrivateIpAddress *string `pulumi:"privateIpAddress"` // The version of the IP Protocol which should be used. At this time the only supported value is `IPv4`. Defaults to `IPv4`. PrivateIpAddressVersion *string `pulumi:"privateIpAddressVersion"` // Specifies the ID of the Subnet which should be used for the Private Link Service. // // > **NOTE:** Verify that the Subnet's `enforcePrivateLinkServiceNetworkPolicies` attribute is set to `true`. SubnetId string `pulumi:"subnetId"` }
type LinkServiceNatIpConfigurationArgs ¶
type LinkServiceNatIpConfigurationArgs struct { // Specifies the name which should be used for the NAT IP Configuration. Changing this forces a new resource to be created. Name pulumi.StringInput `pulumi:"name"` // Is this is the Primary IP Configuration? Changing this forces a new resource to be created. Primary pulumi.BoolInput `pulumi:"primary"` // Specifies a Private Static IP Address for this IP Configuration. PrivateIpAddress pulumi.StringPtrInput `pulumi:"privateIpAddress"` // The version of the IP Protocol which should be used. At this time the only supported value is `IPv4`. Defaults to `IPv4`. PrivateIpAddressVersion pulumi.StringPtrInput `pulumi:"privateIpAddressVersion"` // Specifies the ID of the Subnet which should be used for the Private Link Service. // // > **NOTE:** Verify that the Subnet's `enforcePrivateLinkServiceNetworkPolicies` attribute is set to `true`. SubnetId pulumi.StringInput `pulumi:"subnetId"` }
func (LinkServiceNatIpConfigurationArgs) ElementType ¶
func (LinkServiceNatIpConfigurationArgs) ElementType() reflect.Type
func (LinkServiceNatIpConfigurationArgs) ToLinkServiceNatIpConfigurationOutput ¶
func (i LinkServiceNatIpConfigurationArgs) ToLinkServiceNatIpConfigurationOutput() LinkServiceNatIpConfigurationOutput
func (LinkServiceNatIpConfigurationArgs) ToLinkServiceNatIpConfigurationOutputWithContext ¶
func (i LinkServiceNatIpConfigurationArgs) ToLinkServiceNatIpConfigurationOutputWithContext(ctx context.Context) LinkServiceNatIpConfigurationOutput
type LinkServiceNatIpConfigurationArray ¶
type LinkServiceNatIpConfigurationArray []LinkServiceNatIpConfigurationInput
func (LinkServiceNatIpConfigurationArray) ElementType ¶
func (LinkServiceNatIpConfigurationArray) ElementType() reflect.Type
func (LinkServiceNatIpConfigurationArray) ToLinkServiceNatIpConfigurationArrayOutput ¶
func (i LinkServiceNatIpConfigurationArray) ToLinkServiceNatIpConfigurationArrayOutput() LinkServiceNatIpConfigurationArrayOutput
func (LinkServiceNatIpConfigurationArray) ToLinkServiceNatIpConfigurationArrayOutputWithContext ¶
func (i LinkServiceNatIpConfigurationArray) ToLinkServiceNatIpConfigurationArrayOutputWithContext(ctx context.Context) LinkServiceNatIpConfigurationArrayOutput
type LinkServiceNatIpConfigurationArrayInput ¶
type LinkServiceNatIpConfigurationArrayInput interface { pulumi.Input ToLinkServiceNatIpConfigurationArrayOutput() LinkServiceNatIpConfigurationArrayOutput ToLinkServiceNatIpConfigurationArrayOutputWithContext(context.Context) LinkServiceNatIpConfigurationArrayOutput }
LinkServiceNatIpConfigurationArrayInput is an input type that accepts LinkServiceNatIpConfigurationArray and LinkServiceNatIpConfigurationArrayOutput values. You can construct a concrete instance of `LinkServiceNatIpConfigurationArrayInput` via:
LinkServiceNatIpConfigurationArray{ LinkServiceNatIpConfigurationArgs{...} }
type LinkServiceNatIpConfigurationArrayOutput ¶
type LinkServiceNatIpConfigurationArrayOutput struct{ *pulumi.OutputState }
func (LinkServiceNatIpConfigurationArrayOutput) ElementType ¶
func (LinkServiceNatIpConfigurationArrayOutput) ElementType() reflect.Type
func (LinkServiceNatIpConfigurationArrayOutput) ToLinkServiceNatIpConfigurationArrayOutput ¶
func (o LinkServiceNatIpConfigurationArrayOutput) ToLinkServiceNatIpConfigurationArrayOutput() LinkServiceNatIpConfigurationArrayOutput
func (LinkServiceNatIpConfigurationArrayOutput) ToLinkServiceNatIpConfigurationArrayOutputWithContext ¶
func (o LinkServiceNatIpConfigurationArrayOutput) ToLinkServiceNatIpConfigurationArrayOutputWithContext(ctx context.Context) LinkServiceNatIpConfigurationArrayOutput
type LinkServiceNatIpConfigurationInput ¶
type LinkServiceNatIpConfigurationInput interface { pulumi.Input ToLinkServiceNatIpConfigurationOutput() LinkServiceNatIpConfigurationOutput ToLinkServiceNatIpConfigurationOutputWithContext(context.Context) LinkServiceNatIpConfigurationOutput }
LinkServiceNatIpConfigurationInput is an input type that accepts LinkServiceNatIpConfigurationArgs and LinkServiceNatIpConfigurationOutput values. You can construct a concrete instance of `LinkServiceNatIpConfigurationInput` via:
LinkServiceNatIpConfigurationArgs{...}
type LinkServiceNatIpConfigurationOutput ¶
type LinkServiceNatIpConfigurationOutput struct{ *pulumi.OutputState }
func (LinkServiceNatIpConfigurationOutput) ElementType ¶
func (LinkServiceNatIpConfigurationOutput) ElementType() reflect.Type
func (LinkServiceNatIpConfigurationOutput) Name ¶
func (o LinkServiceNatIpConfigurationOutput) Name() pulumi.StringOutput
Specifies the name which should be used for the NAT IP Configuration. Changing this forces a new resource to be created.
func (LinkServiceNatIpConfigurationOutput) Primary ¶
func (o LinkServiceNatIpConfigurationOutput) Primary() pulumi.BoolOutput
Is this is the Primary IP Configuration? Changing this forces a new resource to be created.
func (LinkServiceNatIpConfigurationOutput) PrivateIpAddress ¶
func (o LinkServiceNatIpConfigurationOutput) PrivateIpAddress() pulumi.StringPtrOutput
Specifies a Private Static IP Address for this IP Configuration.
func (LinkServiceNatIpConfigurationOutput) PrivateIpAddressVersion ¶
func (o LinkServiceNatIpConfigurationOutput) PrivateIpAddressVersion() pulumi.StringPtrOutput
The version of the IP Protocol which should be used. At this time the only supported value is `IPv4`. Defaults to `IPv4`.
func (LinkServiceNatIpConfigurationOutput) SubnetId ¶
func (o LinkServiceNatIpConfigurationOutput) SubnetId() pulumi.StringOutput
Specifies the ID of the Subnet which should be used for the Private Link Service.
> **NOTE:** Verify that the Subnet's `enforcePrivateLinkServiceNetworkPolicies` attribute is set to `true`.
func (LinkServiceNatIpConfigurationOutput) ToLinkServiceNatIpConfigurationOutput ¶
func (o LinkServiceNatIpConfigurationOutput) ToLinkServiceNatIpConfigurationOutput() LinkServiceNatIpConfigurationOutput
func (LinkServiceNatIpConfigurationOutput) ToLinkServiceNatIpConfigurationOutputWithContext ¶
func (o LinkServiceNatIpConfigurationOutput) ToLinkServiceNatIpConfigurationOutputWithContext(ctx context.Context) LinkServiceNatIpConfigurationOutput
type LinkServiceOutput ¶
type LinkServiceOutput struct{ *pulumi.OutputState }
func (LinkServiceOutput) Alias ¶ added in v5.5.0
func (o LinkServiceOutput) Alias() pulumi.StringOutput
A globally unique DNS Name for your Private Link Service. You can use this alias to request a connection to your Private Link Service.
func (LinkServiceOutput) AutoApprovalSubscriptionIds ¶ added in v5.5.0
func (o LinkServiceOutput) AutoApprovalSubscriptionIds() pulumi.StringArrayOutput
A list of Subscription UUID/GUID's that will be automatically be able to use this Private Link Service.
func (LinkServiceOutput) ElementType ¶
func (LinkServiceOutput) ElementType() reflect.Type
func (LinkServiceOutput) EnableProxyProtocol ¶ added in v5.5.0
func (o LinkServiceOutput) EnableProxyProtocol() pulumi.BoolPtrOutput
Should the Private Link Service support the Proxy Protocol?
func (LinkServiceOutput) Fqdns ¶ added in v5.12.0
func (o LinkServiceOutput) Fqdns() pulumi.StringArrayOutput
List of FQDNs allowed for the Private Link Service.
func (LinkServiceOutput) LoadBalancerFrontendIpConfigurationIds ¶ added in v5.5.0
func (o LinkServiceOutput) LoadBalancerFrontendIpConfigurationIds() pulumi.StringArrayOutput
A list of Frontend IP Configuration IDs from a Standard Load Balancer, where traffic from the Private Link Service should be routed. You can use Load Balancer Rules to direct this traffic to appropriate backend pools where your applications are running. Changing this forces a new resource to be created.
func (LinkServiceOutput) Location ¶ added in v5.5.0
func (o LinkServiceOutput) Location() pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (LinkServiceOutput) Name ¶ added in v5.5.0
func (o LinkServiceOutput) Name() pulumi.StringOutput
Specifies the name of this Private Link Service. Changing this forces a new resource to be created.
func (LinkServiceOutput) NatIpConfigurations ¶ added in v5.5.0
func (o LinkServiceOutput) NatIpConfigurations() LinkServiceNatIpConfigurationArrayOutput
One or more (up to 8) `natIpConfiguration` block as defined below.
func (LinkServiceOutput) ResourceGroupName ¶ added in v5.5.0
func (o LinkServiceOutput) ResourceGroupName() pulumi.StringOutput
The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created.
func (LinkServiceOutput) Tags ¶ added in v5.5.0
func (o LinkServiceOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (LinkServiceOutput) ToLinkServiceOutput ¶
func (o LinkServiceOutput) ToLinkServiceOutput() LinkServiceOutput
func (LinkServiceOutput) ToLinkServiceOutputWithContext ¶
func (o LinkServiceOutput) ToLinkServiceOutputWithContext(ctx context.Context) LinkServiceOutput
func (LinkServiceOutput) VisibilitySubscriptionIds ¶ added in v5.5.0
func (o LinkServiceOutput) VisibilitySubscriptionIds() pulumi.StringArrayOutput
A list of Subscription UUID/GUID's that will be able to see this Private Link Service.
> **NOTE:** If no Subscription IDs are specified then Azure allows every Subscription to see this Private Link Service.
type LinkServiceState ¶
type LinkServiceState struct { // A globally unique DNS Name for your Private Link Service. You can use this alias to request a connection to your Private Link Service. Alias pulumi.StringPtrInput // A list of Subscription UUID/GUID's that will be automatically be able to use this Private Link Service. AutoApprovalSubscriptionIds pulumi.StringArrayInput // Should the Private Link Service support the Proxy Protocol? EnableProxyProtocol pulumi.BoolPtrInput // List of FQDNs allowed for the Private Link Service. Fqdns pulumi.StringArrayInput // A list of Frontend IP Configuration IDs from a Standard Load Balancer, where traffic from the Private Link Service should be routed. You can use Load Balancer Rules to direct this traffic to appropriate backend pools where your applications are running. Changing this forces a new resource to be created. LoadBalancerFrontendIpConfigurationIds pulumi.StringArrayInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of this Private Link Service. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // One or more (up to 8) `natIpConfiguration` block as defined below. NatIpConfigurations LinkServiceNatIpConfigurationArrayInput // The name of the Resource Group where the Private Link Service should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // A list of Subscription UUID/GUID's that will be able to see this Private Link Service. // // > **NOTE:** If no Subscription IDs are specified then Azure allows every Subscription to see this Private Link Service. VisibilitySubscriptionIds pulumi.StringArrayInput }
func (LinkServiceState) ElementType ¶
func (LinkServiceState) ElementType() reflect.Type
type LookupAAAARecordArgs ¶ added in v5.16.0
type LookupAAAARecordArgs struct { // The name of the Private DNS AAAA Record. Name string `pulumi:"name"` // Specifies the resource group where the Private DNS Zone (parent resource) exists. ResourceGroupName string `pulumi:"resourceGroupName"` // Specifies the Private DNS Zone where the resource exists. ZoneName string `pulumi:"zoneName"` }
A collection of arguments for invoking getAAAARecord.
type LookupAAAARecordOutputArgs ¶ added in v5.16.0
type LookupAAAARecordOutputArgs struct { // The name of the Private DNS AAAA Record. Name pulumi.StringInput `pulumi:"name"` // Specifies the resource group where the Private DNS Zone (parent resource) exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // Specifies the Private DNS Zone where the resource exists. ZoneName pulumi.StringInput `pulumi:"zoneName"` }
A collection of arguments for invoking getAAAARecord.
func (LookupAAAARecordOutputArgs) ElementType ¶ added in v5.16.0
func (LookupAAAARecordOutputArgs) ElementType() reflect.Type
type LookupAAAARecordResult ¶ added in v5.16.0
type LookupAAAARecordResult struct { // The FQDN of the Private DNS AAAA Record. Fqdn string `pulumi:"fqdn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // List of IPv6 Addresses. Records []string `pulumi:"records"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` // The Time To Live (TTL) of the Private DNS record in seconds. Ttl int `pulumi:"ttl"` ZoneName string `pulumi:"zoneName"` }
A collection of values returned by getAAAARecord.
func LookupAAAARecord ¶ added in v5.16.0
func LookupAAAARecord(ctx *pulumi.Context, args *LookupAAAARecordArgs, opts ...pulumi.InvokeOption) (*LookupAAAARecordResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := privatedns.NewAAAARecord(ctx, "example", &privatedns.AAAARecordArgs{ ZoneName: pulumi.String("test-zone"), ResourceGroupName: pulumi.String("test-rg"), }) if err != nil { return err } ctx.Export("privateDnsAaaaRecordId", example.ID()) return nil }) }
```
type LookupAAAARecordResultOutput ¶ added in v5.16.0
type LookupAAAARecordResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAAAARecord.
func LookupAAAARecordOutput ¶ added in v5.16.0
func LookupAAAARecordOutput(ctx *pulumi.Context, args LookupAAAARecordOutputArgs, opts ...pulumi.InvokeOption) LookupAAAARecordResultOutput
func (LookupAAAARecordResultOutput) ElementType ¶ added in v5.16.0
func (LookupAAAARecordResultOutput) ElementType() reflect.Type
func (LookupAAAARecordResultOutput) Fqdn ¶ added in v5.16.0
func (o LookupAAAARecordResultOutput) Fqdn() pulumi.StringOutput
The FQDN of the Private DNS AAAA Record.
func (LookupAAAARecordResultOutput) Id ¶ added in v5.16.0
func (o LookupAAAARecordResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupAAAARecordResultOutput) Name ¶ added in v5.16.0
func (o LookupAAAARecordResultOutput) Name() pulumi.StringOutput
func (LookupAAAARecordResultOutput) Records ¶ added in v5.16.0
func (o LookupAAAARecordResultOutput) Records() pulumi.StringArrayOutput
List of IPv6 Addresses.
func (LookupAAAARecordResultOutput) ResourceGroupName ¶ added in v5.16.0
func (o LookupAAAARecordResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupAAAARecordResultOutput) Tags ¶ added in v5.16.0
func (o LookupAAAARecordResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (LookupAAAARecordResultOutput) ToLookupAAAARecordResultOutput ¶ added in v5.16.0
func (o LookupAAAARecordResultOutput) ToLookupAAAARecordResultOutput() LookupAAAARecordResultOutput
func (LookupAAAARecordResultOutput) ToLookupAAAARecordResultOutputWithContext ¶ added in v5.16.0
func (o LookupAAAARecordResultOutput) ToLookupAAAARecordResultOutputWithContext(ctx context.Context) LookupAAAARecordResultOutput
func (LookupAAAARecordResultOutput) Ttl ¶ added in v5.16.0
func (o LookupAAAARecordResultOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the Private DNS record in seconds.
func (LookupAAAARecordResultOutput) ZoneName ¶ added in v5.16.0
func (o LookupAAAARecordResultOutput) ZoneName() pulumi.StringOutput
type LookupARecordArgs ¶ added in v5.16.0
type LookupARecordArgs struct { // The name of the Private DNS A Record. Name string `pulumi:"name"` // Specifies the resource group where the Private DNS Zone (parent resource) exists. ResourceGroupName string `pulumi:"resourceGroupName"` // Specifies the Private DNS Zone where the resource exists. ZoneName string `pulumi:"zoneName"` }
A collection of arguments for invoking getARecord.
type LookupARecordOutputArgs ¶ added in v5.16.0
type LookupARecordOutputArgs struct { // The name of the Private DNS A Record. Name pulumi.StringInput `pulumi:"name"` // Specifies the resource group where the Private DNS Zone (parent resource) exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // Specifies the Private DNS Zone where the resource exists. ZoneName pulumi.StringInput `pulumi:"zoneName"` }
A collection of arguments for invoking getARecord.
func (LookupARecordOutputArgs) ElementType ¶ added in v5.16.0
func (LookupARecordOutputArgs) ElementType() reflect.Type
type LookupARecordResult ¶ added in v5.16.0
type LookupARecordResult struct { // The FQDN of the Private DNS A Record. Fqdn string `pulumi:"fqdn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // List of IPv4 Addresses. Records []string `pulumi:"records"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the Private DNS A Record. Tags map[string]string `pulumi:"tags"` // The Time To Live (TTL) of the Private DNS record in seconds. Ttl int `pulumi:"ttl"` ZoneName string `pulumi:"zoneName"` }
A collection of values returned by getARecord.
func LookupARecord ¶ added in v5.16.0
func LookupARecord(ctx *pulumi.Context, args *LookupARecordArgs, opts ...pulumi.InvokeOption) (*LookupARecordResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := privatedns.LookupARecord(ctx, &privatedns.LookupARecordArgs{ Name: "test", ZoneName: "test-zone", ResourceGroupName: "test-rg", }, nil) if err != nil { return err } ctx.Export("privateDnsARecordId", example.Id) return nil }) }
```
type LookupARecordResultOutput ¶ added in v5.16.0
type LookupARecordResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getARecord.
func LookupARecordOutput ¶ added in v5.16.0
func LookupARecordOutput(ctx *pulumi.Context, args LookupARecordOutputArgs, opts ...pulumi.InvokeOption) LookupARecordResultOutput
func (LookupARecordResultOutput) ElementType ¶ added in v5.16.0
func (LookupARecordResultOutput) ElementType() reflect.Type
func (LookupARecordResultOutput) Fqdn ¶ added in v5.16.0
func (o LookupARecordResultOutput) Fqdn() pulumi.StringOutput
The FQDN of the Private DNS A Record.
func (LookupARecordResultOutput) Id ¶ added in v5.16.0
func (o LookupARecordResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupARecordResultOutput) Name ¶ added in v5.16.0
func (o LookupARecordResultOutput) Name() pulumi.StringOutput
func (LookupARecordResultOutput) Records ¶ added in v5.16.0
func (o LookupARecordResultOutput) Records() pulumi.StringArrayOutput
List of IPv4 Addresses.
func (LookupARecordResultOutput) ResourceGroupName ¶ added in v5.16.0
func (o LookupARecordResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupARecordResultOutput) Tags ¶ added in v5.16.0
func (o LookupARecordResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the Private DNS A Record.
func (LookupARecordResultOutput) ToLookupARecordResultOutput ¶ added in v5.16.0
func (o LookupARecordResultOutput) ToLookupARecordResultOutput() LookupARecordResultOutput
func (LookupARecordResultOutput) ToLookupARecordResultOutputWithContext ¶ added in v5.16.0
func (o LookupARecordResultOutput) ToLookupARecordResultOutputWithContext(ctx context.Context) LookupARecordResultOutput
func (LookupARecordResultOutput) Ttl ¶ added in v5.16.0
func (o LookupARecordResultOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the Private DNS record in seconds.
func (LookupARecordResultOutput) ZoneName ¶ added in v5.16.0
func (o LookupARecordResultOutput) ZoneName() pulumi.StringOutput
type LookupCnameRecordArgs ¶ added in v5.16.0
type LookupCnameRecordArgs struct { // The name of the Private DNS CNAME Record. Name string `pulumi:"name"` // Specifies the resource group where the Private DNS Zone (parent resource) exists. ResourceGroupName string `pulumi:"resourceGroupName"` // Specifies the Private DNS Zone where the resource exists. ZoneName string `pulumi:"zoneName"` }
A collection of arguments for invoking getCnameRecord.
type LookupCnameRecordOutputArgs ¶ added in v5.16.0
type LookupCnameRecordOutputArgs struct { // The name of the Private DNS CNAME Record. Name pulumi.StringInput `pulumi:"name"` // Specifies the resource group where the Private DNS Zone (parent resource) exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // Specifies the Private DNS Zone where the resource exists. ZoneName pulumi.StringInput `pulumi:"zoneName"` }
A collection of arguments for invoking getCnameRecord.
func (LookupCnameRecordOutputArgs) ElementType ¶ added in v5.16.0
func (LookupCnameRecordOutputArgs) ElementType() reflect.Type
type LookupCnameRecordResult ¶ added in v5.16.0
type LookupCnameRecordResult struct { // The FQDN of the Private DNS CName Record. Fqdn string `pulumi:"fqdn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // The target of the CNAME. Record string `pulumi:"record"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` TargetResourceId string `pulumi:"targetResourceId"` // The Time To Live (TTL) of the Private DNS record in seconds. Ttl int `pulumi:"ttl"` ZoneName string `pulumi:"zoneName"` }
A collection of values returned by getCnameRecord.
func LookupCnameRecord ¶ added in v5.16.0
func LookupCnameRecord(ctx *pulumi.Context, args *LookupCnameRecordArgs, opts ...pulumi.InvokeOption) (*LookupCnameRecordResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := privatedns.NewCnameRecord(ctx, "example", &privatedns.CnameRecordArgs{ ZoneName: pulumi.String("test-zone"), ResourceGroupName: pulumi.String("test-rg"), }) if err != nil { return err } ctx.Export("privateDnsCnameRecordId", example.ID()) return nil }) }
```
type LookupCnameRecordResultOutput ¶ added in v5.16.0
type LookupCnameRecordResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCnameRecord.
func LookupCnameRecordOutput ¶ added in v5.16.0
func LookupCnameRecordOutput(ctx *pulumi.Context, args LookupCnameRecordOutputArgs, opts ...pulumi.InvokeOption) LookupCnameRecordResultOutput
func (LookupCnameRecordResultOutput) ElementType ¶ added in v5.16.0
func (LookupCnameRecordResultOutput) ElementType() reflect.Type
func (LookupCnameRecordResultOutput) Fqdn ¶ added in v5.16.0
func (o LookupCnameRecordResultOutput) Fqdn() pulumi.StringOutput
The FQDN of the Private DNS CName Record.
func (LookupCnameRecordResultOutput) Id ¶ added in v5.16.0
func (o LookupCnameRecordResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupCnameRecordResultOutput) Name ¶ added in v5.16.0
func (o LookupCnameRecordResultOutput) Name() pulumi.StringOutput
func (LookupCnameRecordResultOutput) Record ¶ added in v5.16.0
func (o LookupCnameRecordResultOutput) Record() pulumi.StringOutput
The target of the CNAME.
func (LookupCnameRecordResultOutput) ResourceGroupName ¶ added in v5.16.0
func (o LookupCnameRecordResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupCnameRecordResultOutput) Tags ¶ added in v5.16.0
func (o LookupCnameRecordResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (LookupCnameRecordResultOutput) TargetResourceId ¶ added in v5.16.0
func (o LookupCnameRecordResultOutput) TargetResourceId() pulumi.StringOutput
func (LookupCnameRecordResultOutput) ToLookupCnameRecordResultOutput ¶ added in v5.16.0
func (o LookupCnameRecordResultOutput) ToLookupCnameRecordResultOutput() LookupCnameRecordResultOutput
func (LookupCnameRecordResultOutput) ToLookupCnameRecordResultOutputWithContext ¶ added in v5.16.0
func (o LookupCnameRecordResultOutput) ToLookupCnameRecordResultOutputWithContext(ctx context.Context) LookupCnameRecordResultOutput
func (LookupCnameRecordResultOutput) Ttl ¶ added in v5.16.0
func (o LookupCnameRecordResultOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the Private DNS record in seconds.
func (LookupCnameRecordResultOutput) ZoneName ¶ added in v5.16.0
func (o LookupCnameRecordResultOutput) ZoneName() pulumi.StringOutput
type LookupMxRecordArgs ¶ added in v5.16.0
type LookupMxRecordArgs struct { // The name of the Private DNS MX Record. Name *string `pulumi:"name"` // Specifies the resource group where the Private DNS Zone (parent resource) exists. ResourceGroupName string `pulumi:"resourceGroupName"` // Specifies the Private DNS Zone where the resource exists. ZoneName string `pulumi:"zoneName"` }
A collection of arguments for invoking getMxRecord.
type LookupMxRecordOutputArgs ¶ added in v5.16.0
type LookupMxRecordOutputArgs struct { // The name of the Private DNS MX Record. Name pulumi.StringPtrInput `pulumi:"name"` // Specifies the resource group where the Private DNS Zone (parent resource) exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // Specifies the Private DNS Zone where the resource exists. ZoneName pulumi.StringInput `pulumi:"zoneName"` }
A collection of arguments for invoking getMxRecord.
func (LookupMxRecordOutputArgs) ElementType ¶ added in v5.16.0
func (LookupMxRecordOutputArgs) ElementType() reflect.Type
type LookupMxRecordResult ¶ added in v5.16.0
type LookupMxRecordResult struct { // The FQDN of the Private DNS MX Record. Fqdn string `pulumi:"fqdn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name *string `pulumi:"name"` // A list of values that make up the MX record. Each `record` block supports fields documented below. Records []GetMxRecordRecord `pulumi:"records"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` // The Time To Live (TTL) of the Private DNS record in seconds. Ttl int `pulumi:"ttl"` ZoneName string `pulumi:"zoneName"` }
A collection of values returned by getMxRecord.
func LookupMxRecord ¶ added in v5.16.0
func LookupMxRecord(ctx *pulumi.Context, args *LookupMxRecordArgs, opts ...pulumi.InvokeOption) (*LookupMxRecordResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := privatedns.NewMxRecord(ctx, "example", &privatedns.MxRecordArgs{ ZoneName: pulumi.String("test-zone"), ResourceGroupName: pulumi.String("test-rg"), }) if err != nil { return err } ctx.Export("privateDnsMxRecordId", example.ID()) return nil }) }
```
type LookupMxRecordResultOutput ¶ added in v5.16.0
type LookupMxRecordResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getMxRecord.
func LookupMxRecordOutput ¶ added in v5.16.0
func LookupMxRecordOutput(ctx *pulumi.Context, args LookupMxRecordOutputArgs, opts ...pulumi.InvokeOption) LookupMxRecordResultOutput
func (LookupMxRecordResultOutput) ElementType ¶ added in v5.16.0
func (LookupMxRecordResultOutput) ElementType() reflect.Type
func (LookupMxRecordResultOutput) Fqdn ¶ added in v5.16.0
func (o LookupMxRecordResultOutput) Fqdn() pulumi.StringOutput
The FQDN of the Private DNS MX Record.
func (LookupMxRecordResultOutput) Id ¶ added in v5.16.0
func (o LookupMxRecordResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupMxRecordResultOutput) Name ¶ added in v5.16.0
func (o LookupMxRecordResultOutput) Name() pulumi.StringPtrOutput
func (LookupMxRecordResultOutput) Records ¶ added in v5.16.0
func (o LookupMxRecordResultOutput) Records() GetMxRecordRecordArrayOutput
A list of values that make up the MX record. Each `record` block supports fields documented below.
func (LookupMxRecordResultOutput) ResourceGroupName ¶ added in v5.16.0
func (o LookupMxRecordResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupMxRecordResultOutput) Tags ¶ added in v5.16.0
func (o LookupMxRecordResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (LookupMxRecordResultOutput) ToLookupMxRecordResultOutput ¶ added in v5.16.0
func (o LookupMxRecordResultOutput) ToLookupMxRecordResultOutput() LookupMxRecordResultOutput
func (LookupMxRecordResultOutput) ToLookupMxRecordResultOutputWithContext ¶ added in v5.16.0
func (o LookupMxRecordResultOutput) ToLookupMxRecordResultOutputWithContext(ctx context.Context) LookupMxRecordResultOutput
func (LookupMxRecordResultOutput) Ttl ¶ added in v5.16.0
func (o LookupMxRecordResultOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the Private DNS record in seconds.
func (LookupMxRecordResultOutput) ZoneName ¶ added in v5.16.0
func (o LookupMxRecordResultOutput) ZoneName() pulumi.StringOutput
type LookupResolverArgs ¶ added in v5.31.0
type LookupResolverArgs struct { // Name of the Private DNS Resolver. Name string `pulumi:"name"` // Name of the Resource Group where the Private DNS Resolver exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getResolver.
type LookupResolverDnsForwardingRulesetArgs ¶ added in v5.31.0
type LookupResolverDnsForwardingRulesetArgs struct { // Name of the existing Private DNS Resolver Dns Forwarding Ruleset. Name string `pulumi:"name"` // Name of the Resource Group where the Private DNS Resolver Dns Forwarding Ruleset exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getResolverDnsForwardingRuleset.
type LookupResolverDnsForwardingRulesetOutputArgs ¶ added in v5.31.0
type LookupResolverDnsForwardingRulesetOutputArgs struct { // Name of the existing Private DNS Resolver Dns Forwarding Ruleset. Name pulumi.StringInput `pulumi:"name"` // Name of the Resource Group where the Private DNS Resolver Dns Forwarding Ruleset exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getResolverDnsForwardingRuleset.
func (LookupResolverDnsForwardingRulesetOutputArgs) ElementType ¶ added in v5.31.0
func (LookupResolverDnsForwardingRulesetOutputArgs) ElementType() reflect.Type
type LookupResolverDnsForwardingRulesetResult ¶ added in v5.31.0
type LookupResolverDnsForwardingRulesetResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure Region where the Private DNS Resolver Dns Forwarding Ruleset exists. Location string `pulumi:"location"` Name string `pulumi:"name"` // The IDs list of the Private DNS Resolver Outbound Endpoints that are linked to the Private DNS Resolver Dns Forwarding Ruleset. PrivateDnsResolverOutboundEndpointIds []string `pulumi:"privateDnsResolverOutboundEndpointIds"` ResourceGroupName string `pulumi:"resourceGroupName"` // The tags assigned to the Private DNS Resolver Dns Forwarding Ruleset. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getResolverDnsForwardingRuleset.
func LookupResolverDnsForwardingRuleset ¶ added in v5.31.0
func LookupResolverDnsForwardingRuleset(ctx *pulumi.Context, args *LookupResolverDnsForwardingRulesetArgs, opts ...pulumi.InvokeOption) (*LookupResolverDnsForwardingRulesetResult, error)
Gets information about an existing Private DNS Resolver Dns Forwarding Ruleset.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := privatedns.LookupResolverDnsForwardingRuleset(ctx, &privatedns.LookupResolverDnsForwardingRulesetArgs{ Name: "example-ruleset", ResourceGroupName: "example-ruleset-resourcegroup", }, nil) if err != nil { return err } return nil }) }
```
type LookupResolverDnsForwardingRulesetResultOutput ¶ added in v5.31.0
type LookupResolverDnsForwardingRulesetResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResolverDnsForwardingRuleset.
func LookupResolverDnsForwardingRulesetOutput ¶ added in v5.31.0
func LookupResolverDnsForwardingRulesetOutput(ctx *pulumi.Context, args LookupResolverDnsForwardingRulesetOutputArgs, opts ...pulumi.InvokeOption) LookupResolverDnsForwardingRulesetResultOutput
func (LookupResolverDnsForwardingRulesetResultOutput) ElementType ¶ added in v5.31.0
func (LookupResolverDnsForwardingRulesetResultOutput) ElementType() reflect.Type
func (LookupResolverDnsForwardingRulesetResultOutput) Id ¶ added in v5.31.0
func (o LookupResolverDnsForwardingRulesetResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupResolverDnsForwardingRulesetResultOutput) Location ¶ added in v5.31.0
func (o LookupResolverDnsForwardingRulesetResultOutput) Location() pulumi.StringOutput
The Azure Region where the Private DNS Resolver Dns Forwarding Ruleset exists.
func (LookupResolverDnsForwardingRulesetResultOutput) Name ¶ added in v5.31.0
func (o LookupResolverDnsForwardingRulesetResultOutput) Name() pulumi.StringOutput
func (LookupResolverDnsForwardingRulesetResultOutput) PrivateDnsResolverOutboundEndpointIds ¶ added in v5.31.0
func (o LookupResolverDnsForwardingRulesetResultOutput) PrivateDnsResolverOutboundEndpointIds() pulumi.StringArrayOutput
The IDs list of the Private DNS Resolver Outbound Endpoints that are linked to the Private DNS Resolver Dns Forwarding Ruleset.
func (LookupResolverDnsForwardingRulesetResultOutput) ResourceGroupName ¶ added in v5.31.0
func (o LookupResolverDnsForwardingRulesetResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupResolverDnsForwardingRulesetResultOutput) Tags ¶ added in v5.31.0
func (o LookupResolverDnsForwardingRulesetResultOutput) Tags() pulumi.StringMapOutput
The tags assigned to the Private DNS Resolver Dns Forwarding Ruleset.
func (LookupResolverDnsForwardingRulesetResultOutput) ToLookupResolverDnsForwardingRulesetResultOutput ¶ added in v5.31.0
func (o LookupResolverDnsForwardingRulesetResultOutput) ToLookupResolverDnsForwardingRulesetResultOutput() LookupResolverDnsForwardingRulesetResultOutput
func (LookupResolverDnsForwardingRulesetResultOutput) ToLookupResolverDnsForwardingRulesetResultOutputWithContext ¶ added in v5.31.0
func (o LookupResolverDnsForwardingRulesetResultOutput) ToLookupResolverDnsForwardingRulesetResultOutputWithContext(ctx context.Context) LookupResolverDnsForwardingRulesetResultOutput
type LookupResolverForwardingRuleArgs ¶ added in v5.31.0
type LookupResolverForwardingRuleArgs struct { // ID of the Private DNS Resolver Forwarding Ruleset. DnsForwardingRulesetId string `pulumi:"dnsForwardingRulesetId"` // Name of the Private DNS Resolver Forwarding Rule. Name string `pulumi:"name"` }
A collection of arguments for invoking getResolverForwardingRule.
type LookupResolverForwardingRuleOutputArgs ¶ added in v5.31.0
type LookupResolverForwardingRuleOutputArgs struct { // ID of the Private DNS Resolver Forwarding Ruleset. DnsForwardingRulesetId pulumi.StringInput `pulumi:"dnsForwardingRulesetId"` // Name of the Private DNS Resolver Forwarding Rule. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getResolverForwardingRule.
func (LookupResolverForwardingRuleOutputArgs) ElementType ¶ added in v5.31.0
func (LookupResolverForwardingRuleOutputArgs) ElementType() reflect.Type
type LookupResolverForwardingRuleResult ¶ added in v5.31.0
type LookupResolverForwardingRuleResult struct { DnsForwardingRulesetId string `pulumi:"dnsForwardingRulesetId"` // The domain name for the Private DNS Resolver Forwarding Rule. DomainName string `pulumi:"domainName"` // Is the Private DNS Resolver Forwarding Rule enabled? Enabled bool `pulumi:"enabled"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The metadata attached to the Private DNS Resolver Forwarding Rule. Metadata map[string]string `pulumi:"metadata"` Name string `pulumi:"name"` // A list of `targetDnsServers` block as defined below. TargetDnsServers []GetResolverForwardingRuleTargetDnsServer `pulumi:"targetDnsServers"` }
A collection of values returned by getResolverForwardingRule.
func LookupResolverForwardingRule ¶ added in v5.31.0
func LookupResolverForwardingRule(ctx *pulumi.Context, args *LookupResolverForwardingRuleArgs, opts ...pulumi.InvokeOption) (*LookupResolverForwardingRuleResult, error)
Gets information about an existing Private DNS Resolver Forwarding Rule.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := privatedns.LookupResolverForwardingRule(ctx, &privatedns.LookupResolverForwardingRuleArgs{ DnsForwardingRulesetId: "example-forwarding-rulset-id", Name: "example-rule", }, nil) if err != nil { return err } return nil }) }
```
type LookupResolverForwardingRuleResultOutput ¶ added in v5.31.0
type LookupResolverForwardingRuleResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResolverForwardingRule.
func LookupResolverForwardingRuleOutput ¶ added in v5.31.0
func LookupResolverForwardingRuleOutput(ctx *pulumi.Context, args LookupResolverForwardingRuleOutputArgs, opts ...pulumi.InvokeOption) LookupResolverForwardingRuleResultOutput
func (LookupResolverForwardingRuleResultOutput) DnsForwardingRulesetId ¶ added in v5.31.0
func (o LookupResolverForwardingRuleResultOutput) DnsForwardingRulesetId() pulumi.StringOutput
func (LookupResolverForwardingRuleResultOutput) DomainName ¶ added in v5.31.0
func (o LookupResolverForwardingRuleResultOutput) DomainName() pulumi.StringOutput
The domain name for the Private DNS Resolver Forwarding Rule.
func (LookupResolverForwardingRuleResultOutput) ElementType ¶ added in v5.31.0
func (LookupResolverForwardingRuleResultOutput) ElementType() reflect.Type
func (LookupResolverForwardingRuleResultOutput) Enabled ¶ added in v5.31.0
func (o LookupResolverForwardingRuleResultOutput) Enabled() pulumi.BoolOutput
Is the Private DNS Resolver Forwarding Rule enabled?
func (LookupResolverForwardingRuleResultOutput) Id ¶ added in v5.31.0
func (o LookupResolverForwardingRuleResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupResolverForwardingRuleResultOutput) Metadata ¶ added in v5.31.0
func (o LookupResolverForwardingRuleResultOutput) Metadata() pulumi.StringMapOutput
The metadata attached to the Private DNS Resolver Forwarding Rule.
func (LookupResolverForwardingRuleResultOutput) Name ¶ added in v5.31.0
func (o LookupResolverForwardingRuleResultOutput) Name() pulumi.StringOutput
func (LookupResolverForwardingRuleResultOutput) TargetDnsServers ¶ added in v5.31.0
func (o LookupResolverForwardingRuleResultOutput) TargetDnsServers() GetResolverForwardingRuleTargetDnsServerArrayOutput
A list of `targetDnsServers` block as defined below.
func (LookupResolverForwardingRuleResultOutput) ToLookupResolverForwardingRuleResultOutput ¶ added in v5.31.0
func (o LookupResolverForwardingRuleResultOutput) ToLookupResolverForwardingRuleResultOutput() LookupResolverForwardingRuleResultOutput
func (LookupResolverForwardingRuleResultOutput) ToLookupResolverForwardingRuleResultOutputWithContext ¶ added in v5.31.0
func (o LookupResolverForwardingRuleResultOutput) ToLookupResolverForwardingRuleResultOutputWithContext(ctx context.Context) LookupResolverForwardingRuleResultOutput
type LookupResolverInboundEndpointArgs ¶ added in v5.31.0
type LookupResolverInboundEndpointArgs struct { // Name of the Private DNS Resolver Inbound Endpoint. Name string `pulumi:"name"` // ID of the Private DNS Resolver. PrivateDnsResolverId string `pulumi:"privateDnsResolverId"` }
A collection of arguments for invoking getResolverInboundEndpoint.
type LookupResolverInboundEndpointOutputArgs ¶ added in v5.31.0
type LookupResolverInboundEndpointOutputArgs struct { // Name of the Private DNS Resolver Inbound Endpoint. Name pulumi.StringInput `pulumi:"name"` // ID of the Private DNS Resolver. PrivateDnsResolverId pulumi.StringInput `pulumi:"privateDnsResolverId"` }
A collection of arguments for invoking getResolverInboundEndpoint.
func (LookupResolverInboundEndpointOutputArgs) ElementType ¶ added in v5.31.0
func (LookupResolverInboundEndpointOutputArgs) ElementType() reflect.Type
type LookupResolverInboundEndpointResult ¶ added in v5.31.0
type LookupResolverInboundEndpointResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of `ipConfigurations` block as defined below. IpConfigurations []GetResolverInboundEndpointIpConfiguration `pulumi:"ipConfigurations"` // The Azure Region where the Private DNS Resolver Inbound Endpoint exists. Location string `pulumi:"location"` Name string `pulumi:"name"` PrivateDnsResolverId string `pulumi:"privateDnsResolverId"` // The tags assigned to the Private DNS Resolver Inbound Endpoint. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getResolverInboundEndpoint.
func LookupResolverInboundEndpoint ¶ added in v5.31.0
func LookupResolverInboundEndpoint(ctx *pulumi.Context, args *LookupResolverInboundEndpointArgs, opts ...pulumi.InvokeOption) (*LookupResolverInboundEndpointResult, error)
Gets information about an existing Private DNS Resolver Inbound Endpoint.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := privatedns.LookupResolverInboundEndpoint(ctx, &privatedns.LookupResolverInboundEndpointArgs{ Name: "example-drie", PrivateDnsResolverId: "example-private-dns-resolver-id", }, nil) if err != nil { return err } return nil }) }
```
type LookupResolverInboundEndpointResultOutput ¶ added in v5.31.0
type LookupResolverInboundEndpointResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResolverInboundEndpoint.
func LookupResolverInboundEndpointOutput ¶ added in v5.31.0
func LookupResolverInboundEndpointOutput(ctx *pulumi.Context, args LookupResolverInboundEndpointOutputArgs, opts ...pulumi.InvokeOption) LookupResolverInboundEndpointResultOutput
func (LookupResolverInboundEndpointResultOutput) ElementType ¶ added in v5.31.0
func (LookupResolverInboundEndpointResultOutput) ElementType() reflect.Type
func (LookupResolverInboundEndpointResultOutput) Id ¶ added in v5.31.0
func (o LookupResolverInboundEndpointResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupResolverInboundEndpointResultOutput) IpConfigurations ¶ added in v5.31.0
func (o LookupResolverInboundEndpointResultOutput) IpConfigurations() GetResolverInboundEndpointIpConfigurationArrayOutput
A list of `ipConfigurations` block as defined below.
func (LookupResolverInboundEndpointResultOutput) Location ¶ added in v5.31.0
func (o LookupResolverInboundEndpointResultOutput) Location() pulumi.StringOutput
The Azure Region where the Private DNS Resolver Inbound Endpoint exists.
func (LookupResolverInboundEndpointResultOutput) Name ¶ added in v5.31.0
func (o LookupResolverInboundEndpointResultOutput) Name() pulumi.StringOutput
func (LookupResolverInboundEndpointResultOutput) PrivateDnsResolverId ¶ added in v5.31.0
func (o LookupResolverInboundEndpointResultOutput) PrivateDnsResolverId() pulumi.StringOutput
func (LookupResolverInboundEndpointResultOutput) Tags ¶ added in v5.31.0
func (o LookupResolverInboundEndpointResultOutput) Tags() pulumi.StringMapOutput
The tags assigned to the Private DNS Resolver Inbound Endpoint.
func (LookupResolverInboundEndpointResultOutput) ToLookupResolverInboundEndpointResultOutput ¶ added in v5.31.0
func (o LookupResolverInboundEndpointResultOutput) ToLookupResolverInboundEndpointResultOutput() LookupResolverInboundEndpointResultOutput
func (LookupResolverInboundEndpointResultOutput) ToLookupResolverInboundEndpointResultOutputWithContext ¶ added in v5.31.0
func (o LookupResolverInboundEndpointResultOutput) ToLookupResolverInboundEndpointResultOutputWithContext(ctx context.Context) LookupResolverInboundEndpointResultOutput
type LookupResolverOutboundEndpointArgs ¶ added in v5.31.0
type LookupResolverOutboundEndpointArgs struct { // Name of the Private DNS Resolver Outbound Endpoint. Name string `pulumi:"name"` // ID of the Private DNS Resolver Outbound Endpoint. PrivateDnsResolverId string `pulumi:"privateDnsResolverId"` }
A collection of arguments for invoking getResolverOutboundEndpoint.
type LookupResolverOutboundEndpointOutputArgs ¶ added in v5.31.0
type LookupResolverOutboundEndpointOutputArgs struct { // Name of the Private DNS Resolver Outbound Endpoint. Name pulumi.StringInput `pulumi:"name"` // ID of the Private DNS Resolver Outbound Endpoint. PrivateDnsResolverId pulumi.StringInput `pulumi:"privateDnsResolverId"` }
A collection of arguments for invoking getResolverOutboundEndpoint.
func (LookupResolverOutboundEndpointOutputArgs) ElementType ¶ added in v5.31.0
func (LookupResolverOutboundEndpointOutputArgs) ElementType() reflect.Type
type LookupResolverOutboundEndpointResult ¶ added in v5.31.0
type LookupResolverOutboundEndpointResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure Region where the Private DNS Resolver Outbound Endpoint exists. Location string `pulumi:"location"` Name string `pulumi:"name"` PrivateDnsResolverId string `pulumi:"privateDnsResolverId"` // The ID of the Subnet that is linked to the Private DNS Resolver Outbound Endpoint. SubnetId string `pulumi:"subnetId"` // The tags assigned to the Private DNS Resolver Outbound Endpoint. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getResolverOutboundEndpoint.
func LookupResolverOutboundEndpoint ¶ added in v5.31.0
func LookupResolverOutboundEndpoint(ctx *pulumi.Context, args *LookupResolverOutboundEndpointArgs, opts ...pulumi.InvokeOption) (*LookupResolverOutboundEndpointResult, error)
Gets information about an existing Private DNS Resolver Outbound Endpoint.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := privatedns.LookupResolverOutboundEndpoint(ctx, &privatedns.LookupResolverOutboundEndpointArgs{ Name: "example-endpoint", PrivateDnsResolverId: "example-private-dns-resolver-id", }, nil) if err != nil { return err } return nil }) }
```
type LookupResolverOutboundEndpointResultOutput ¶ added in v5.31.0
type LookupResolverOutboundEndpointResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResolverOutboundEndpoint.
func LookupResolverOutboundEndpointOutput ¶ added in v5.31.0
func LookupResolverOutboundEndpointOutput(ctx *pulumi.Context, args LookupResolverOutboundEndpointOutputArgs, opts ...pulumi.InvokeOption) LookupResolverOutboundEndpointResultOutput
func (LookupResolverOutboundEndpointResultOutput) ElementType ¶ added in v5.31.0
func (LookupResolverOutboundEndpointResultOutput) ElementType() reflect.Type
func (LookupResolverOutboundEndpointResultOutput) Id ¶ added in v5.31.0
func (o LookupResolverOutboundEndpointResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupResolverOutboundEndpointResultOutput) Location ¶ added in v5.31.0
func (o LookupResolverOutboundEndpointResultOutput) Location() pulumi.StringOutput
The Azure Region where the Private DNS Resolver Outbound Endpoint exists.
func (LookupResolverOutboundEndpointResultOutput) Name ¶ added in v5.31.0
func (o LookupResolverOutboundEndpointResultOutput) Name() pulumi.StringOutput
func (LookupResolverOutboundEndpointResultOutput) PrivateDnsResolverId ¶ added in v5.31.0
func (o LookupResolverOutboundEndpointResultOutput) PrivateDnsResolverId() pulumi.StringOutput
func (LookupResolverOutboundEndpointResultOutput) SubnetId ¶ added in v5.31.0
func (o LookupResolverOutboundEndpointResultOutput) SubnetId() pulumi.StringOutput
The ID of the Subnet that is linked to the Private DNS Resolver Outbound Endpoint.
func (LookupResolverOutboundEndpointResultOutput) Tags ¶ added in v5.31.0
func (o LookupResolverOutboundEndpointResultOutput) Tags() pulumi.StringMapOutput
The tags assigned to the Private DNS Resolver Outbound Endpoint.
func (LookupResolverOutboundEndpointResultOutput) ToLookupResolverOutboundEndpointResultOutput ¶ added in v5.31.0
func (o LookupResolverOutboundEndpointResultOutput) ToLookupResolverOutboundEndpointResultOutput() LookupResolverOutboundEndpointResultOutput
func (LookupResolverOutboundEndpointResultOutput) ToLookupResolverOutboundEndpointResultOutputWithContext ¶ added in v5.31.0
func (o LookupResolverOutboundEndpointResultOutput) ToLookupResolverOutboundEndpointResultOutputWithContext(ctx context.Context) LookupResolverOutboundEndpointResultOutput
type LookupResolverOutputArgs ¶ added in v5.31.0
type LookupResolverOutputArgs struct { // Name of the Private DNS Resolver. Name pulumi.StringInput `pulumi:"name"` // Name of the Resource Group where the Private DNS Resolver exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getResolver.
func (LookupResolverOutputArgs) ElementType ¶ added in v5.31.0
func (LookupResolverOutputArgs) ElementType() reflect.Type
type LookupResolverResult ¶ added in v5.31.0
type LookupResolverResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure Region where the Private DNS Resolver exists. Location string `pulumi:"location"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // The tags assigned to the Private DNS Resolver. Tags map[string]string `pulumi:"tags"` // The ID of the Virtual Network that is linked to the Private DNS Resolver. VirtualNetworkId string `pulumi:"virtualNetworkId"` }
A collection of values returned by getResolver.
func LookupResolver ¶ added in v5.31.0
func LookupResolver(ctx *pulumi.Context, args *LookupResolverArgs, opts ...pulumi.InvokeOption) (*LookupResolverResult, error)
Gets information about an existing Private DNS Resolver.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := privatedns.LookupResolver(ctx, &privatedns.LookupResolverArgs{ Name: "example", ResourceGroupName: "example-resourcegroup-name", }, nil) if err != nil { return err } return nil }) }
```
type LookupResolverResultOutput ¶ added in v5.31.0
type LookupResolverResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResolver.
func LookupResolverOutput ¶ added in v5.31.0
func LookupResolverOutput(ctx *pulumi.Context, args LookupResolverOutputArgs, opts ...pulumi.InvokeOption) LookupResolverResultOutput
func (LookupResolverResultOutput) ElementType ¶ added in v5.31.0
func (LookupResolverResultOutput) ElementType() reflect.Type
func (LookupResolverResultOutput) Id ¶ added in v5.31.0
func (o LookupResolverResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupResolverResultOutput) Location ¶ added in v5.31.0
func (o LookupResolverResultOutput) Location() pulumi.StringOutput
The Azure Region where the Private DNS Resolver exists.
func (LookupResolverResultOutput) Name ¶ added in v5.31.0
func (o LookupResolverResultOutput) Name() pulumi.StringOutput
func (LookupResolverResultOutput) ResourceGroupName ¶ added in v5.31.0
func (o LookupResolverResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupResolverResultOutput) Tags ¶ added in v5.31.0
func (o LookupResolverResultOutput) Tags() pulumi.StringMapOutput
The tags assigned to the Private DNS Resolver.
func (LookupResolverResultOutput) ToLookupResolverResultOutput ¶ added in v5.31.0
func (o LookupResolverResultOutput) ToLookupResolverResultOutput() LookupResolverResultOutput
func (LookupResolverResultOutput) ToLookupResolverResultOutputWithContext ¶ added in v5.31.0
func (o LookupResolverResultOutput) ToLookupResolverResultOutputWithContext(ctx context.Context) LookupResolverResultOutput
func (LookupResolverResultOutput) VirtualNetworkId ¶ added in v5.31.0
func (o LookupResolverResultOutput) VirtualNetworkId() pulumi.StringOutput
The ID of the Virtual Network that is linked to the Private DNS Resolver.
type LookupResolverVirtualNetworkLinkArgs ¶ added in v5.31.0
type LookupResolverVirtualNetworkLinkArgs struct { // ID of the Private DNS Resolver DNS Forwarding Ruleset. DnsForwardingRulesetId string `pulumi:"dnsForwardingRulesetId"` // Name of the Private DNS Resolver Virtual Network Link. Name string `pulumi:"name"` }
A collection of arguments for invoking getResolverVirtualNetworkLink.
type LookupResolverVirtualNetworkLinkOutputArgs ¶ added in v5.31.0
type LookupResolverVirtualNetworkLinkOutputArgs struct { // ID of the Private DNS Resolver DNS Forwarding Ruleset. DnsForwardingRulesetId pulumi.StringInput `pulumi:"dnsForwardingRulesetId"` // Name of the Private DNS Resolver Virtual Network Link. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getResolverVirtualNetworkLink.
func (LookupResolverVirtualNetworkLinkOutputArgs) ElementType ¶ added in v5.31.0
func (LookupResolverVirtualNetworkLinkOutputArgs) ElementType() reflect.Type
type LookupResolverVirtualNetworkLinkResult ¶ added in v5.31.0
type LookupResolverVirtualNetworkLinkResult struct { DnsForwardingRulesetId string `pulumi:"dnsForwardingRulesetId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The metadata attached to the Private DNS Resolver Virtual Network Link. Metadata map[string]string `pulumi:"metadata"` Name string `pulumi:"name"` // The ID of the Virtual Network that is linked to the Private DNS Resolver Virtual Network Link. VirtualNetworkId string `pulumi:"virtualNetworkId"` }
A collection of values returned by getResolverVirtualNetworkLink.
func LookupResolverVirtualNetworkLink ¶ added in v5.31.0
func LookupResolverVirtualNetworkLink(ctx *pulumi.Context, args *LookupResolverVirtualNetworkLinkArgs, opts ...pulumi.InvokeOption) (*LookupResolverVirtualNetworkLinkResult, error)
Gets information about an existing Private DNS Resolver Virtual Network Link.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := privatedns.LookupResolverVirtualNetworkLink(ctx, &privatedns.LookupResolverVirtualNetworkLinkArgs{ DnsForwardingRulesetId: "example-dns-forwarding-ruleset-id", Name: "example-link", }, nil) if err != nil { return err } return nil }) }
```
type LookupResolverVirtualNetworkLinkResultOutput ¶ added in v5.31.0
type LookupResolverVirtualNetworkLinkResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResolverVirtualNetworkLink.
func LookupResolverVirtualNetworkLinkOutput ¶ added in v5.31.0
func LookupResolverVirtualNetworkLinkOutput(ctx *pulumi.Context, args LookupResolverVirtualNetworkLinkOutputArgs, opts ...pulumi.InvokeOption) LookupResolverVirtualNetworkLinkResultOutput
func (LookupResolverVirtualNetworkLinkResultOutput) DnsForwardingRulesetId ¶ added in v5.31.0
func (o LookupResolverVirtualNetworkLinkResultOutput) DnsForwardingRulesetId() pulumi.StringOutput
func (LookupResolverVirtualNetworkLinkResultOutput) ElementType ¶ added in v5.31.0
func (LookupResolverVirtualNetworkLinkResultOutput) ElementType() reflect.Type
func (LookupResolverVirtualNetworkLinkResultOutput) Id ¶ added in v5.31.0
func (o LookupResolverVirtualNetworkLinkResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupResolverVirtualNetworkLinkResultOutput) Metadata ¶ added in v5.31.0
func (o LookupResolverVirtualNetworkLinkResultOutput) Metadata() pulumi.StringMapOutput
The metadata attached to the Private DNS Resolver Virtual Network Link.
func (LookupResolverVirtualNetworkLinkResultOutput) Name ¶ added in v5.31.0
func (o LookupResolverVirtualNetworkLinkResultOutput) Name() pulumi.StringOutput
func (LookupResolverVirtualNetworkLinkResultOutput) ToLookupResolverVirtualNetworkLinkResultOutput ¶ added in v5.31.0
func (o LookupResolverVirtualNetworkLinkResultOutput) ToLookupResolverVirtualNetworkLinkResultOutput() LookupResolverVirtualNetworkLinkResultOutput
func (LookupResolverVirtualNetworkLinkResultOutput) ToLookupResolverVirtualNetworkLinkResultOutputWithContext ¶ added in v5.31.0
func (o LookupResolverVirtualNetworkLinkResultOutput) ToLookupResolverVirtualNetworkLinkResultOutputWithContext(ctx context.Context) LookupResolverVirtualNetworkLinkResultOutput
func (LookupResolverVirtualNetworkLinkResultOutput) VirtualNetworkId ¶ added in v5.31.0
func (o LookupResolverVirtualNetworkLinkResultOutput) VirtualNetworkId() pulumi.StringOutput
The ID of the Virtual Network that is linked to the Private DNS Resolver Virtual Network Link.
type LookupTxtRecordArgs ¶ added in v5.16.0
type LookupTxtRecordArgs struct { // The name of the Private DNS TXT Record. Name string `pulumi:"name"` // Specifies the resource group where the Private DNS Zone (parent resource) exists. ResourceGroupName string `pulumi:"resourceGroupName"` // Specifies the Private DNS Zone where the resource exists. ZoneName string `pulumi:"zoneName"` }
A collection of arguments for invoking getTxtRecord.
type LookupTxtRecordOutputArgs ¶ added in v5.16.0
type LookupTxtRecordOutputArgs struct { // The name of the Private DNS TXT Record. Name pulumi.StringInput `pulumi:"name"` // Specifies the resource group where the Private DNS Zone (parent resource) exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // Specifies the Private DNS Zone where the resource exists. ZoneName pulumi.StringInput `pulumi:"zoneName"` }
A collection of arguments for invoking getTxtRecord.
func (LookupTxtRecordOutputArgs) ElementType ¶ added in v5.16.0
func (LookupTxtRecordOutputArgs) ElementType() reflect.Type
type LookupTxtRecordResult ¶ added in v5.16.0
type LookupTxtRecordResult struct { // The FQDN of the Private DNS TXT Record. Fqdn string `pulumi:"fqdn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // A list of values that make up the txt record. Each `record` block supports fields documented below. Records []GetTxtRecordRecord `pulumi:"records"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` // The Time To Live (TTL) of the Private DNS record in seconds. Ttl int `pulumi:"ttl"` ZoneName string `pulumi:"zoneName"` }
A collection of values returned by getTxtRecord.
func LookupTxtRecord ¶ added in v5.16.0
func LookupTxtRecord(ctx *pulumi.Context, args *LookupTxtRecordArgs, opts ...pulumi.InvokeOption) (*LookupTxtRecordResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := privatedns.NewTxtRecord(ctx, "example", &privatedns.TxtRecordArgs{ ZoneName: pulumi.String("test-zone"), ResourceGroupName: pulumi.String("test-rg"), }) if err != nil { return err } ctx.Export("privateDnsTxtRecordId", example.ID()) return nil }) }
```
type LookupTxtRecordResultOutput ¶ added in v5.16.0
type LookupTxtRecordResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getTxtRecord.
func LookupTxtRecordOutput ¶ added in v5.16.0
func LookupTxtRecordOutput(ctx *pulumi.Context, args LookupTxtRecordOutputArgs, opts ...pulumi.InvokeOption) LookupTxtRecordResultOutput
func (LookupTxtRecordResultOutput) ElementType ¶ added in v5.16.0
func (LookupTxtRecordResultOutput) ElementType() reflect.Type
func (LookupTxtRecordResultOutput) Fqdn ¶ added in v5.16.0
func (o LookupTxtRecordResultOutput) Fqdn() pulumi.StringOutput
The FQDN of the Private DNS TXT Record.
func (LookupTxtRecordResultOutput) Id ¶ added in v5.16.0
func (o LookupTxtRecordResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupTxtRecordResultOutput) Name ¶ added in v5.16.0
func (o LookupTxtRecordResultOutput) Name() pulumi.StringOutput
func (LookupTxtRecordResultOutput) Records ¶ added in v5.16.0
func (o LookupTxtRecordResultOutput) Records() GetTxtRecordRecordArrayOutput
A list of values that make up the txt record. Each `record` block supports fields documented below.
func (LookupTxtRecordResultOutput) ResourceGroupName ¶ added in v5.16.0
func (o LookupTxtRecordResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupTxtRecordResultOutput) Tags ¶ added in v5.16.0
func (o LookupTxtRecordResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (LookupTxtRecordResultOutput) ToLookupTxtRecordResultOutput ¶ added in v5.16.0
func (o LookupTxtRecordResultOutput) ToLookupTxtRecordResultOutput() LookupTxtRecordResultOutput
func (LookupTxtRecordResultOutput) ToLookupTxtRecordResultOutputWithContext ¶ added in v5.16.0
func (o LookupTxtRecordResultOutput) ToLookupTxtRecordResultOutputWithContext(ctx context.Context) LookupTxtRecordResultOutput
func (LookupTxtRecordResultOutput) Ttl ¶ added in v5.16.0
func (o LookupTxtRecordResultOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the Private DNS record in seconds.
func (LookupTxtRecordResultOutput) ZoneName ¶ added in v5.16.0
func (o LookupTxtRecordResultOutput) ZoneName() pulumi.StringOutput
type LookupZoneVirtualNetworkLinkArgs ¶ added in v5.21.0
type LookupZoneVirtualNetworkLinkArgs struct { // The name of the Private DNS Zone Virtual Network Link. Name string `pulumi:"name"` // The name of the Private DNS zone (without a terminating dot). PrivateDnsZoneName string `pulumi:"privateDnsZoneName"` // Specifies the resource group where the Private DNS Zone exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getZoneVirtualNetworkLink.
type LookupZoneVirtualNetworkLinkOutputArgs ¶ added in v5.21.0
type LookupZoneVirtualNetworkLinkOutputArgs struct { // The name of the Private DNS Zone Virtual Network Link. Name pulumi.StringInput `pulumi:"name"` // The name of the Private DNS zone (without a terminating dot). PrivateDnsZoneName pulumi.StringInput `pulumi:"privateDnsZoneName"` // Specifies the resource group where the Private DNS Zone exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getZoneVirtualNetworkLink.
func (LookupZoneVirtualNetworkLinkOutputArgs) ElementType ¶ added in v5.21.0
func (LookupZoneVirtualNetworkLinkOutputArgs) ElementType() reflect.Type
type LookupZoneVirtualNetworkLinkResult ¶ added in v5.21.0
type LookupZoneVirtualNetworkLinkResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` PrivateDnsZoneName string `pulumi:"privateDnsZoneName"` // Whether the auto-registration of virtual machine records in the virtual network in the Private DNS zone is enabled or not. RegistrationEnabled bool `pulumi:"registrationEnabled"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags map[string]string `pulumi:"tags"` // The ID of the Virtual Network that is linked to the DNS Zone. VirtualNetworkId string `pulumi:"virtualNetworkId"` }
A collection of values returned by getZoneVirtualNetworkLink.
func LookupZoneVirtualNetworkLink ¶ added in v5.21.0
func LookupZoneVirtualNetworkLink(ctx *pulumi.Context, args *LookupZoneVirtualNetworkLinkArgs, opts ...pulumi.InvokeOption) (*LookupZoneVirtualNetworkLinkResult, error)
Use this data source to access information about an existing Private DNS zone Virtual Network Link. These Links enable DNS resolution and registration inside Azure Virtual Networks using Azure Private DNS.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := privatedns.LookupZoneVirtualNetworkLink(ctx, &privatedns.LookupZoneVirtualNetworkLinkArgs{ Name: "test", ResourceGroupName: "test-rg", PrivateDnsZoneName: "test-zone", }, nil) if err != nil { return err } ctx.Export("privateDnsARecordId", example.Id) return nil }) }
```
type LookupZoneVirtualNetworkLinkResultOutput ¶ added in v5.21.0
type LookupZoneVirtualNetworkLinkResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getZoneVirtualNetworkLink.
func LookupZoneVirtualNetworkLinkOutput ¶ added in v5.21.0
func LookupZoneVirtualNetworkLinkOutput(ctx *pulumi.Context, args LookupZoneVirtualNetworkLinkOutputArgs, opts ...pulumi.InvokeOption) LookupZoneVirtualNetworkLinkResultOutput
func (LookupZoneVirtualNetworkLinkResultOutput) ElementType ¶ added in v5.21.0
func (LookupZoneVirtualNetworkLinkResultOutput) ElementType() reflect.Type
func (LookupZoneVirtualNetworkLinkResultOutput) Id ¶ added in v5.21.0
func (o LookupZoneVirtualNetworkLinkResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupZoneVirtualNetworkLinkResultOutput) Name ¶ added in v5.21.0
func (o LookupZoneVirtualNetworkLinkResultOutput) Name() pulumi.StringOutput
func (LookupZoneVirtualNetworkLinkResultOutput) PrivateDnsZoneName ¶ added in v5.21.0
func (o LookupZoneVirtualNetworkLinkResultOutput) PrivateDnsZoneName() pulumi.StringOutput
func (LookupZoneVirtualNetworkLinkResultOutput) RegistrationEnabled ¶ added in v5.21.0
func (o LookupZoneVirtualNetworkLinkResultOutput) RegistrationEnabled() pulumi.BoolOutput
Whether the auto-registration of virtual machine records in the virtual network in the Private DNS zone is enabled or not.
func (LookupZoneVirtualNetworkLinkResultOutput) ResourceGroupName ¶ added in v5.21.0
func (o LookupZoneVirtualNetworkLinkResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupZoneVirtualNetworkLinkResultOutput) Tags ¶ added in v5.21.0
func (o LookupZoneVirtualNetworkLinkResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (LookupZoneVirtualNetworkLinkResultOutput) ToLookupZoneVirtualNetworkLinkResultOutput ¶ added in v5.21.0
func (o LookupZoneVirtualNetworkLinkResultOutput) ToLookupZoneVirtualNetworkLinkResultOutput() LookupZoneVirtualNetworkLinkResultOutput
func (LookupZoneVirtualNetworkLinkResultOutput) ToLookupZoneVirtualNetworkLinkResultOutputWithContext ¶ added in v5.21.0
func (o LookupZoneVirtualNetworkLinkResultOutput) ToLookupZoneVirtualNetworkLinkResultOutputWithContext(ctx context.Context) LookupZoneVirtualNetworkLinkResultOutput
func (LookupZoneVirtualNetworkLinkResultOutput) VirtualNetworkId ¶ added in v5.21.0
func (o LookupZoneVirtualNetworkLinkResultOutput) VirtualNetworkId() pulumi.StringOutput
The ID of the Virtual Network that is linked to the DNS Zone.
type MxRecord ¶
type MxRecord struct { pulumi.CustomResourceState // The FQDN of the DNS MX Record. Fqdn pulumi.StringOutput `pulumi:"fqdn"` // The name of the DNS MX Record. Changing this forces a new resource to be created. Default to '@' for root zone entry. Name pulumi.StringOutput `pulumi:"name"` // One or more `record` blocks as defined below. Records MxRecordRecordArrayOutput `pulumi:"records"` // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntOutput `pulumi:"ttl"` // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringOutput `pulumi:"zoneName"` }
Enables you to manage DNS MX Records within Azure Private DNS.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleZone, err := privatedns.NewZone(ctx, "exampleZone", &privatedns.ZoneArgs{ ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } _, err = privatedns.NewMxRecord(ctx, "exampleMxRecord", &privatedns.MxRecordArgs{ ResourceGroupName: exampleResourceGroup.Name, ZoneName: exampleZone.Name, Ttl: pulumi.Int(300), Records: privatedns.MxRecordRecordArray{ &privatedns.MxRecordRecordArgs{ Preference: pulumi.Int(10), Exchange: pulumi.String("mx1.contoso.com"), }, &privatedns.MxRecordRecordArgs{ Preference: pulumi.Int(20), Exchange: pulumi.String("backupmx.contoso.com"), }, }, Tags: pulumi.StringMap{ "Environment": pulumi.String("Production"), }, }) if err != nil { return err } return nil }) }
```
## Import
Private DNS MX Records can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:privatedns/mxRecord:MxRecord example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/contoso.com/MX/@
```
func GetMxRecord ¶
func GetMxRecord(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MxRecordState, opts ...pulumi.ResourceOption) (*MxRecord, error)
GetMxRecord gets an existing MxRecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewMxRecord ¶
func NewMxRecord(ctx *pulumi.Context, name string, args *MxRecordArgs, opts ...pulumi.ResourceOption) (*MxRecord, error)
NewMxRecord registers a new resource with the given unique name, arguments, and options.
func (*MxRecord) ElementType ¶
func (*MxRecord) ToMxRecordOutput ¶
func (i *MxRecord) ToMxRecordOutput() MxRecordOutput
func (*MxRecord) ToMxRecordOutputWithContext ¶
func (i *MxRecord) ToMxRecordOutputWithContext(ctx context.Context) MxRecordOutput
type MxRecordArgs ¶
type MxRecordArgs struct { // The name of the DNS MX Record. Changing this forces a new resource to be created. Default to '@' for root zone entry. Name pulumi.StringPtrInput // One or more `record` blocks as defined below. Records MxRecordRecordArrayInput // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntInput // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringInput }
The set of arguments for constructing a MxRecord resource.
func (MxRecordArgs) ElementType ¶
func (MxRecordArgs) ElementType() reflect.Type
type MxRecordArray ¶
type MxRecordArray []MxRecordInput
func (MxRecordArray) ElementType ¶
func (MxRecordArray) ElementType() reflect.Type
func (MxRecordArray) ToMxRecordArrayOutput ¶
func (i MxRecordArray) ToMxRecordArrayOutput() MxRecordArrayOutput
func (MxRecordArray) ToMxRecordArrayOutputWithContext ¶
func (i MxRecordArray) ToMxRecordArrayOutputWithContext(ctx context.Context) MxRecordArrayOutput
type MxRecordArrayInput ¶
type MxRecordArrayInput interface { pulumi.Input ToMxRecordArrayOutput() MxRecordArrayOutput ToMxRecordArrayOutputWithContext(context.Context) MxRecordArrayOutput }
MxRecordArrayInput is an input type that accepts MxRecordArray and MxRecordArrayOutput values. You can construct a concrete instance of `MxRecordArrayInput` via:
MxRecordArray{ MxRecordArgs{...} }
type MxRecordArrayOutput ¶
type MxRecordArrayOutput struct{ *pulumi.OutputState }
func (MxRecordArrayOutput) ElementType ¶
func (MxRecordArrayOutput) ElementType() reflect.Type
func (MxRecordArrayOutput) Index ¶
func (o MxRecordArrayOutput) Index(i pulumi.IntInput) MxRecordOutput
func (MxRecordArrayOutput) ToMxRecordArrayOutput ¶
func (o MxRecordArrayOutput) ToMxRecordArrayOutput() MxRecordArrayOutput
func (MxRecordArrayOutput) ToMxRecordArrayOutputWithContext ¶
func (o MxRecordArrayOutput) ToMxRecordArrayOutputWithContext(ctx context.Context) MxRecordArrayOutput
type MxRecordInput ¶
type MxRecordInput interface { pulumi.Input ToMxRecordOutput() MxRecordOutput ToMxRecordOutputWithContext(ctx context.Context) MxRecordOutput }
type MxRecordMap ¶
type MxRecordMap map[string]MxRecordInput
func (MxRecordMap) ElementType ¶
func (MxRecordMap) ElementType() reflect.Type
func (MxRecordMap) ToMxRecordMapOutput ¶
func (i MxRecordMap) ToMxRecordMapOutput() MxRecordMapOutput
func (MxRecordMap) ToMxRecordMapOutputWithContext ¶
func (i MxRecordMap) ToMxRecordMapOutputWithContext(ctx context.Context) MxRecordMapOutput
type MxRecordMapInput ¶
type MxRecordMapInput interface { pulumi.Input ToMxRecordMapOutput() MxRecordMapOutput ToMxRecordMapOutputWithContext(context.Context) MxRecordMapOutput }
MxRecordMapInput is an input type that accepts MxRecordMap and MxRecordMapOutput values. You can construct a concrete instance of `MxRecordMapInput` via:
MxRecordMap{ "key": MxRecordArgs{...} }
type MxRecordMapOutput ¶
type MxRecordMapOutput struct{ *pulumi.OutputState }
func (MxRecordMapOutput) ElementType ¶
func (MxRecordMapOutput) ElementType() reflect.Type
func (MxRecordMapOutput) MapIndex ¶
func (o MxRecordMapOutput) MapIndex(k pulumi.StringInput) MxRecordOutput
func (MxRecordMapOutput) ToMxRecordMapOutput ¶
func (o MxRecordMapOutput) ToMxRecordMapOutput() MxRecordMapOutput
func (MxRecordMapOutput) ToMxRecordMapOutputWithContext ¶
func (o MxRecordMapOutput) ToMxRecordMapOutputWithContext(ctx context.Context) MxRecordMapOutput
type MxRecordOutput ¶
type MxRecordOutput struct{ *pulumi.OutputState }
func (MxRecordOutput) ElementType ¶
func (MxRecordOutput) ElementType() reflect.Type
func (MxRecordOutput) Fqdn ¶ added in v5.5.0
func (o MxRecordOutput) Fqdn() pulumi.StringOutput
The FQDN of the DNS MX Record.
func (MxRecordOutput) Name ¶ added in v5.5.0
func (o MxRecordOutput) Name() pulumi.StringOutput
The name of the DNS MX Record. Changing this forces a new resource to be created. Default to '@' for root zone entry.
func (MxRecordOutput) Records ¶ added in v5.5.0
func (o MxRecordOutput) Records() MxRecordRecordArrayOutput
One or more `record` blocks as defined below.
func (MxRecordOutput) ResourceGroupName ¶ added in v5.5.0
func (o MxRecordOutput) ResourceGroupName() pulumi.StringOutput
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
func (MxRecordOutput) Tags ¶ added in v5.5.0
func (o MxRecordOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (MxRecordOutput) ToMxRecordOutput ¶
func (o MxRecordOutput) ToMxRecordOutput() MxRecordOutput
func (MxRecordOutput) ToMxRecordOutputWithContext ¶
func (o MxRecordOutput) ToMxRecordOutputWithContext(ctx context.Context) MxRecordOutput
func (MxRecordOutput) Ttl ¶ added in v5.5.0
func (o MxRecordOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the DNS record in seconds.
func (MxRecordOutput) ZoneName ¶ added in v5.5.0
func (o MxRecordOutput) ZoneName() pulumi.StringOutput
Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
type MxRecordRecord ¶
type MxRecordRecordArgs ¶
type MxRecordRecordArgs struct { // The FQDN of the exchange to MX record points to. Exchange pulumi.StringInput `pulumi:"exchange"` // The preference of the MX record. Preference pulumi.IntInput `pulumi:"preference"` }
func (MxRecordRecordArgs) ElementType ¶
func (MxRecordRecordArgs) ElementType() reflect.Type
func (MxRecordRecordArgs) ToMxRecordRecordOutput ¶
func (i MxRecordRecordArgs) ToMxRecordRecordOutput() MxRecordRecordOutput
func (MxRecordRecordArgs) ToMxRecordRecordOutputWithContext ¶
func (i MxRecordRecordArgs) ToMxRecordRecordOutputWithContext(ctx context.Context) MxRecordRecordOutput
type MxRecordRecordArray ¶
type MxRecordRecordArray []MxRecordRecordInput
func (MxRecordRecordArray) ElementType ¶
func (MxRecordRecordArray) ElementType() reflect.Type
func (MxRecordRecordArray) ToMxRecordRecordArrayOutput ¶
func (i MxRecordRecordArray) ToMxRecordRecordArrayOutput() MxRecordRecordArrayOutput
func (MxRecordRecordArray) ToMxRecordRecordArrayOutputWithContext ¶
func (i MxRecordRecordArray) ToMxRecordRecordArrayOutputWithContext(ctx context.Context) MxRecordRecordArrayOutput
type MxRecordRecordArrayInput ¶
type MxRecordRecordArrayInput interface { pulumi.Input ToMxRecordRecordArrayOutput() MxRecordRecordArrayOutput ToMxRecordRecordArrayOutputWithContext(context.Context) MxRecordRecordArrayOutput }
MxRecordRecordArrayInput is an input type that accepts MxRecordRecordArray and MxRecordRecordArrayOutput values. You can construct a concrete instance of `MxRecordRecordArrayInput` via:
MxRecordRecordArray{ MxRecordRecordArgs{...} }
type MxRecordRecordArrayOutput ¶
type MxRecordRecordArrayOutput struct{ *pulumi.OutputState }
func (MxRecordRecordArrayOutput) ElementType ¶
func (MxRecordRecordArrayOutput) ElementType() reflect.Type
func (MxRecordRecordArrayOutput) Index ¶
func (o MxRecordRecordArrayOutput) Index(i pulumi.IntInput) MxRecordRecordOutput
func (MxRecordRecordArrayOutput) ToMxRecordRecordArrayOutput ¶
func (o MxRecordRecordArrayOutput) ToMxRecordRecordArrayOutput() MxRecordRecordArrayOutput
func (MxRecordRecordArrayOutput) ToMxRecordRecordArrayOutputWithContext ¶
func (o MxRecordRecordArrayOutput) ToMxRecordRecordArrayOutputWithContext(ctx context.Context) MxRecordRecordArrayOutput
type MxRecordRecordInput ¶
type MxRecordRecordInput interface { pulumi.Input ToMxRecordRecordOutput() MxRecordRecordOutput ToMxRecordRecordOutputWithContext(context.Context) MxRecordRecordOutput }
MxRecordRecordInput is an input type that accepts MxRecordRecordArgs and MxRecordRecordOutput values. You can construct a concrete instance of `MxRecordRecordInput` via:
MxRecordRecordArgs{...}
type MxRecordRecordOutput ¶
type MxRecordRecordOutput struct{ *pulumi.OutputState }
func (MxRecordRecordOutput) ElementType ¶
func (MxRecordRecordOutput) ElementType() reflect.Type
func (MxRecordRecordOutput) Exchange ¶
func (o MxRecordRecordOutput) Exchange() pulumi.StringOutput
The FQDN of the exchange to MX record points to.
func (MxRecordRecordOutput) Preference ¶
func (o MxRecordRecordOutput) Preference() pulumi.IntOutput
The preference of the MX record.
func (MxRecordRecordOutput) ToMxRecordRecordOutput ¶
func (o MxRecordRecordOutput) ToMxRecordRecordOutput() MxRecordRecordOutput
func (MxRecordRecordOutput) ToMxRecordRecordOutputWithContext ¶
func (o MxRecordRecordOutput) ToMxRecordRecordOutputWithContext(ctx context.Context) MxRecordRecordOutput
type MxRecordState ¶
type MxRecordState struct { // The FQDN of the DNS MX Record. Fqdn pulumi.StringPtrInput // The name of the DNS MX Record. Changing this forces a new resource to be created. Default to '@' for root zone entry. Name pulumi.StringPtrInput // One or more `record` blocks as defined below. Records MxRecordRecordArrayInput // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntPtrInput // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringPtrInput }
func (MxRecordState) ElementType ¶
func (MxRecordState) ElementType() reflect.Type
type PTRRecord ¶
type PTRRecord struct { pulumi.CustomResourceState // The FQDN of the DNS PTR Record. Fqdn pulumi.StringOutput `pulumi:"fqdn"` // The name of the DNS PTR Record. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // List of Fully Qualified Domain Names. Records pulumi.StringArrayOutput `pulumi:"records"` // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntOutput `pulumi:"ttl"` // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringOutput `pulumi:"zoneName"` }
Enables you to manage DNS PTR Records within Azure Private DNS.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleZone, err := privatedns.NewZone(ctx, "exampleZone", &privatedns.ZoneArgs{ ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } _, err = privatedns.NewPTRRecord(ctx, "examplePTRRecord", &privatedns.PTRRecordArgs{ ZoneName: exampleZone.Name, ResourceGroupName: exampleResourceGroup.Name, Ttl: pulumi.Int(300), Records: pulumi.StringArray{ pulumi.String("test.example.com"), }, }) if err != nil { return err } return nil }) }
```
## Import
Private DNS PTR Records can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:privatedns/pTRRecord:PTRRecord example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/2.0.192.in-addr.arpa/PTR/15
```
func GetPTRRecord ¶
func GetPTRRecord(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PTRRecordState, opts ...pulumi.ResourceOption) (*PTRRecord, error)
GetPTRRecord gets an existing PTRRecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPTRRecord ¶
func NewPTRRecord(ctx *pulumi.Context, name string, args *PTRRecordArgs, opts ...pulumi.ResourceOption) (*PTRRecord, error)
NewPTRRecord registers a new resource with the given unique name, arguments, and options.
func (*PTRRecord) ElementType ¶
func (*PTRRecord) ToPTRRecordOutput ¶
func (i *PTRRecord) ToPTRRecordOutput() PTRRecordOutput
func (*PTRRecord) ToPTRRecordOutputWithContext ¶
func (i *PTRRecord) ToPTRRecordOutputWithContext(ctx context.Context) PTRRecordOutput
type PTRRecordArgs ¶
type PTRRecordArgs struct { // The name of the DNS PTR Record. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // List of Fully Qualified Domain Names. Records pulumi.StringArrayInput // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntInput // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringInput }
The set of arguments for constructing a PTRRecord resource.
func (PTRRecordArgs) ElementType ¶
func (PTRRecordArgs) ElementType() reflect.Type
type PTRRecordArray ¶
type PTRRecordArray []PTRRecordInput
func (PTRRecordArray) ElementType ¶
func (PTRRecordArray) ElementType() reflect.Type
func (PTRRecordArray) ToPTRRecordArrayOutput ¶
func (i PTRRecordArray) ToPTRRecordArrayOutput() PTRRecordArrayOutput
func (PTRRecordArray) ToPTRRecordArrayOutputWithContext ¶
func (i PTRRecordArray) ToPTRRecordArrayOutputWithContext(ctx context.Context) PTRRecordArrayOutput
type PTRRecordArrayInput ¶
type PTRRecordArrayInput interface { pulumi.Input ToPTRRecordArrayOutput() PTRRecordArrayOutput ToPTRRecordArrayOutputWithContext(context.Context) PTRRecordArrayOutput }
PTRRecordArrayInput is an input type that accepts PTRRecordArray and PTRRecordArrayOutput values. You can construct a concrete instance of `PTRRecordArrayInput` via:
PTRRecordArray{ PTRRecordArgs{...} }
type PTRRecordArrayOutput ¶
type PTRRecordArrayOutput struct{ *pulumi.OutputState }
func (PTRRecordArrayOutput) ElementType ¶
func (PTRRecordArrayOutput) ElementType() reflect.Type
func (PTRRecordArrayOutput) Index ¶
func (o PTRRecordArrayOutput) Index(i pulumi.IntInput) PTRRecordOutput
func (PTRRecordArrayOutput) ToPTRRecordArrayOutput ¶
func (o PTRRecordArrayOutput) ToPTRRecordArrayOutput() PTRRecordArrayOutput
func (PTRRecordArrayOutput) ToPTRRecordArrayOutputWithContext ¶
func (o PTRRecordArrayOutput) ToPTRRecordArrayOutputWithContext(ctx context.Context) PTRRecordArrayOutput
type PTRRecordInput ¶
type PTRRecordInput interface { pulumi.Input ToPTRRecordOutput() PTRRecordOutput ToPTRRecordOutputWithContext(ctx context.Context) PTRRecordOutput }
type PTRRecordMap ¶
type PTRRecordMap map[string]PTRRecordInput
func (PTRRecordMap) ElementType ¶
func (PTRRecordMap) ElementType() reflect.Type
func (PTRRecordMap) ToPTRRecordMapOutput ¶
func (i PTRRecordMap) ToPTRRecordMapOutput() PTRRecordMapOutput
func (PTRRecordMap) ToPTRRecordMapOutputWithContext ¶
func (i PTRRecordMap) ToPTRRecordMapOutputWithContext(ctx context.Context) PTRRecordMapOutput
type PTRRecordMapInput ¶
type PTRRecordMapInput interface { pulumi.Input ToPTRRecordMapOutput() PTRRecordMapOutput ToPTRRecordMapOutputWithContext(context.Context) PTRRecordMapOutput }
PTRRecordMapInput is an input type that accepts PTRRecordMap and PTRRecordMapOutput values. You can construct a concrete instance of `PTRRecordMapInput` via:
PTRRecordMap{ "key": PTRRecordArgs{...} }
type PTRRecordMapOutput ¶
type PTRRecordMapOutput struct{ *pulumi.OutputState }
func (PTRRecordMapOutput) ElementType ¶
func (PTRRecordMapOutput) ElementType() reflect.Type
func (PTRRecordMapOutput) MapIndex ¶
func (o PTRRecordMapOutput) MapIndex(k pulumi.StringInput) PTRRecordOutput
func (PTRRecordMapOutput) ToPTRRecordMapOutput ¶
func (o PTRRecordMapOutput) ToPTRRecordMapOutput() PTRRecordMapOutput
func (PTRRecordMapOutput) ToPTRRecordMapOutputWithContext ¶
func (o PTRRecordMapOutput) ToPTRRecordMapOutputWithContext(ctx context.Context) PTRRecordMapOutput
type PTRRecordOutput ¶
type PTRRecordOutput struct{ *pulumi.OutputState }
func (PTRRecordOutput) ElementType ¶
func (PTRRecordOutput) ElementType() reflect.Type
func (PTRRecordOutput) Fqdn ¶ added in v5.5.0
func (o PTRRecordOutput) Fqdn() pulumi.StringOutput
The FQDN of the DNS PTR Record.
func (PTRRecordOutput) Name ¶ added in v5.5.0
func (o PTRRecordOutput) Name() pulumi.StringOutput
The name of the DNS PTR Record. Changing this forces a new resource to be created.
func (PTRRecordOutput) Records ¶ added in v5.5.0
func (o PTRRecordOutput) Records() pulumi.StringArrayOutput
List of Fully Qualified Domain Names.
func (PTRRecordOutput) ResourceGroupName ¶ added in v5.5.0
func (o PTRRecordOutput) ResourceGroupName() pulumi.StringOutput
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
func (PTRRecordOutput) Tags ¶ added in v5.5.0
func (o PTRRecordOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (PTRRecordOutput) ToPTRRecordOutput ¶
func (o PTRRecordOutput) ToPTRRecordOutput() PTRRecordOutput
func (PTRRecordOutput) ToPTRRecordOutputWithContext ¶
func (o PTRRecordOutput) ToPTRRecordOutputWithContext(ctx context.Context) PTRRecordOutput
func (PTRRecordOutput) Ttl ¶ added in v5.5.0
func (o PTRRecordOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the DNS record in seconds.
func (PTRRecordOutput) ZoneName ¶ added in v5.5.0
func (o PTRRecordOutput) ZoneName() pulumi.StringOutput
Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
type PTRRecordState ¶
type PTRRecordState struct { // The FQDN of the DNS PTR Record. Fqdn pulumi.StringPtrInput // The name of the DNS PTR Record. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // List of Fully Qualified Domain Names. Records pulumi.StringArrayInput // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntPtrInput // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringPtrInput }
func (PTRRecordState) ElementType ¶
func (PTRRecordState) ElementType() reflect.Type
type Resolver ¶ added in v5.24.0
type Resolver struct { pulumi.CustomResourceState // Specifies the Azure Region where the Private DNS Resolver should exist. Changing this forces a new Private DNS Resolver to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name which should be used for this Private DNS Resolver. Changing this forces a new Private DNS Resolver to be created. Name pulumi.StringOutput `pulumi:"name"` // Specifies the name of the Resource Group where the Private DNS Resolver should exist. Changing this forces a new Private DNS Resolver to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags which should be assigned to the Private DNS Resolver. Tags pulumi.StringMapOutput `pulumi:"tags"` // The ID of the Virtual Network that is linked to the Private DNS Resolver. Changing this forces a new Private DNS Resolver to be created. VirtualNetworkId pulumi.StringOutput `pulumi:"virtualNetworkId"` }
Manages a Private DNS Resolver.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) if err != nil { return err } _, err = privatedns.NewResolver(ctx, "test", &privatedns.ResolverArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, VirtualNetworkId: exampleVirtualNetwork.ID(), }) if err != nil { return err } return nil }) }
```
## Import
DNS Resolver can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:privatedns/resolver:Resolver example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/dnsResolvers/dnsResolver1
```
func GetResolver ¶ added in v5.24.0
func GetResolver(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResolverState, opts ...pulumi.ResourceOption) (*Resolver, error)
GetResolver gets an existing Resolver resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResolver ¶ added in v5.24.0
func NewResolver(ctx *pulumi.Context, name string, args *ResolverArgs, opts ...pulumi.ResourceOption) (*Resolver, error)
NewResolver registers a new resource with the given unique name, arguments, and options.
func (*Resolver) ElementType ¶ added in v5.24.0
func (*Resolver) ToResolverOutput ¶ added in v5.24.0
func (i *Resolver) ToResolverOutput() ResolverOutput
func (*Resolver) ToResolverOutputWithContext ¶ added in v5.24.0
func (i *Resolver) ToResolverOutputWithContext(ctx context.Context) ResolverOutput
type ResolverArgs ¶ added in v5.24.0
type ResolverArgs struct { // Specifies the Azure Region where the Private DNS Resolver should exist. Changing this forces a new Private DNS Resolver to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this Private DNS Resolver. Changing this forces a new Private DNS Resolver to be created. Name pulumi.StringPtrInput // Specifies the name of the Resource Group where the Private DNS Resolver should exist. Changing this forces a new Private DNS Resolver to be created. ResourceGroupName pulumi.StringInput // A mapping of tags which should be assigned to the Private DNS Resolver. Tags pulumi.StringMapInput // The ID of the Virtual Network that is linked to the Private DNS Resolver. Changing this forces a new Private DNS Resolver to be created. VirtualNetworkId pulumi.StringInput }
The set of arguments for constructing a Resolver resource.
func (ResolverArgs) ElementType ¶ added in v5.24.0
func (ResolverArgs) ElementType() reflect.Type
type ResolverArray ¶ added in v5.24.0
type ResolverArray []ResolverInput
func (ResolverArray) ElementType ¶ added in v5.24.0
func (ResolverArray) ElementType() reflect.Type
func (ResolverArray) ToResolverArrayOutput ¶ added in v5.24.0
func (i ResolverArray) ToResolverArrayOutput() ResolverArrayOutput
func (ResolverArray) ToResolverArrayOutputWithContext ¶ added in v5.24.0
func (i ResolverArray) ToResolverArrayOutputWithContext(ctx context.Context) ResolverArrayOutput
type ResolverArrayInput ¶ added in v5.24.0
type ResolverArrayInput interface { pulumi.Input ToResolverArrayOutput() ResolverArrayOutput ToResolverArrayOutputWithContext(context.Context) ResolverArrayOutput }
ResolverArrayInput is an input type that accepts ResolverArray and ResolverArrayOutput values. You can construct a concrete instance of `ResolverArrayInput` via:
ResolverArray{ ResolverArgs{...} }
type ResolverArrayOutput ¶ added in v5.24.0
type ResolverArrayOutput struct{ *pulumi.OutputState }
func (ResolverArrayOutput) ElementType ¶ added in v5.24.0
func (ResolverArrayOutput) ElementType() reflect.Type
func (ResolverArrayOutput) Index ¶ added in v5.24.0
func (o ResolverArrayOutput) Index(i pulumi.IntInput) ResolverOutput
func (ResolverArrayOutput) ToResolverArrayOutput ¶ added in v5.24.0
func (o ResolverArrayOutput) ToResolverArrayOutput() ResolverArrayOutput
func (ResolverArrayOutput) ToResolverArrayOutputWithContext ¶ added in v5.24.0
func (o ResolverArrayOutput) ToResolverArrayOutputWithContext(ctx context.Context) ResolverArrayOutput
type ResolverDnsForwardingRuleset ¶ added in v5.24.0
type ResolverDnsForwardingRuleset struct { pulumi.CustomResourceState // Specifies the Azure Region where the Private DNS Resolver Dns Forwarding Ruleset should exist. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name which should be used for this Private DNS Resolver Dns Forwarding Ruleset. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created. Name pulumi.StringOutput `pulumi:"name"` // The list of IDs of the Private DNS Resolver Outbound Endpoint that is linked to the Private DNS Resolver Dns Forwarding Ruleset. PrivateDnsResolverOutboundEndpointIds pulumi.StringArrayOutput `pulumi:"privateDnsResolverOutboundEndpointIds"` // Specifies the name of the Resource Group where the Private DNS Resolver Dns Forwarding Ruleset should exist. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the Private DNS Resolver Dns Forwarding Ruleset. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Private DNS Resolver Dns Forwarding Ruleset.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("west europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.0.0.64/28"), }, Delegations: network.SubnetDelegationArray{ &network.SubnetDelegationArgs{ Name: pulumi.String("Microsoft.Network.dnsResolvers"), ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{ Actions: pulumi.StringArray{ pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"), }, Name: pulumi.String("Microsoft.Network/dnsResolvers"), }, }, }, }) if err != nil { return err } exampleResolver, err := privatedns.NewResolver(ctx, "exampleResolver", &privatedns.ResolverArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, VirtualNetworkId: exampleVirtualNetwork.ID(), }) if err != nil { return err } exampleResolverOutboundEndpoint, err := privatedns.NewResolverOutboundEndpoint(ctx, "exampleResolverOutboundEndpoint", &privatedns.ResolverOutboundEndpointArgs{ PrivateDnsResolverId: exampleResolver.ID(), Location: exampleResolver.Location, SubnetId: exampleSubnet.ID(), Tags: pulumi.StringMap{ "key": pulumi.String("value"), }, }) if err != nil { return err } _, err = privatedns.NewResolverDnsForwardingRuleset(ctx, "exampleResolverDnsForwardingRuleset", &privatedns.ResolverDnsForwardingRulesetArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, PrivateDnsResolverOutboundEndpointIds: pulumi.StringArray{ exampleResolverOutboundEndpoint.ID(), }, Tags: pulumi.StringMap{ "key": pulumi.String("value"), }, }) if err != nil { return err } return nil }) }
```
## Import
Private DNS Resolver Dns Forwarding Ruleset can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:privatedns/resolverDnsForwardingRuleset:ResolverDnsForwardingRuleset example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/dnsForwardingRulesets/dnsForwardingRuleset1
```
func GetResolverDnsForwardingRuleset ¶ added in v5.24.0
func GetResolverDnsForwardingRuleset(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResolverDnsForwardingRulesetState, opts ...pulumi.ResourceOption) (*ResolverDnsForwardingRuleset, error)
GetResolverDnsForwardingRuleset gets an existing ResolverDnsForwardingRuleset resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResolverDnsForwardingRuleset ¶ added in v5.24.0
func NewResolverDnsForwardingRuleset(ctx *pulumi.Context, name string, args *ResolverDnsForwardingRulesetArgs, opts ...pulumi.ResourceOption) (*ResolverDnsForwardingRuleset, error)
NewResolverDnsForwardingRuleset registers a new resource with the given unique name, arguments, and options.
func (*ResolverDnsForwardingRuleset) ElementType ¶ added in v5.24.0
func (*ResolverDnsForwardingRuleset) ElementType() reflect.Type
func (*ResolverDnsForwardingRuleset) ToResolverDnsForwardingRulesetOutput ¶ added in v5.24.0
func (i *ResolverDnsForwardingRuleset) ToResolverDnsForwardingRulesetOutput() ResolverDnsForwardingRulesetOutput
func (*ResolverDnsForwardingRuleset) ToResolverDnsForwardingRulesetOutputWithContext ¶ added in v5.24.0
func (i *ResolverDnsForwardingRuleset) ToResolverDnsForwardingRulesetOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetOutput
type ResolverDnsForwardingRulesetArgs ¶ added in v5.24.0
type ResolverDnsForwardingRulesetArgs struct { // Specifies the Azure Region where the Private DNS Resolver Dns Forwarding Ruleset should exist. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this Private DNS Resolver Dns Forwarding Ruleset. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created. Name pulumi.StringPtrInput // The list of IDs of the Private DNS Resolver Outbound Endpoint that is linked to the Private DNS Resolver Dns Forwarding Ruleset. PrivateDnsResolverOutboundEndpointIds pulumi.StringArrayInput // Specifies the name of the Resource Group where the Private DNS Resolver Dns Forwarding Ruleset should exist. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the Private DNS Resolver Dns Forwarding Ruleset. Tags pulumi.StringMapInput }
The set of arguments for constructing a ResolverDnsForwardingRuleset resource.
func (ResolverDnsForwardingRulesetArgs) ElementType ¶ added in v5.24.0
func (ResolverDnsForwardingRulesetArgs) ElementType() reflect.Type
type ResolverDnsForwardingRulesetArray ¶ added in v5.24.0
type ResolverDnsForwardingRulesetArray []ResolverDnsForwardingRulesetInput
func (ResolverDnsForwardingRulesetArray) ElementType ¶ added in v5.24.0
func (ResolverDnsForwardingRulesetArray) ElementType() reflect.Type
func (ResolverDnsForwardingRulesetArray) ToResolverDnsForwardingRulesetArrayOutput ¶ added in v5.24.0
func (i ResolverDnsForwardingRulesetArray) ToResolverDnsForwardingRulesetArrayOutput() ResolverDnsForwardingRulesetArrayOutput
func (ResolverDnsForwardingRulesetArray) ToResolverDnsForwardingRulesetArrayOutputWithContext ¶ added in v5.24.0
func (i ResolverDnsForwardingRulesetArray) ToResolverDnsForwardingRulesetArrayOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetArrayOutput
type ResolverDnsForwardingRulesetArrayInput ¶ added in v5.24.0
type ResolverDnsForwardingRulesetArrayInput interface { pulumi.Input ToResolverDnsForwardingRulesetArrayOutput() ResolverDnsForwardingRulesetArrayOutput ToResolverDnsForwardingRulesetArrayOutputWithContext(context.Context) ResolverDnsForwardingRulesetArrayOutput }
ResolverDnsForwardingRulesetArrayInput is an input type that accepts ResolverDnsForwardingRulesetArray and ResolverDnsForwardingRulesetArrayOutput values. You can construct a concrete instance of `ResolverDnsForwardingRulesetArrayInput` via:
ResolverDnsForwardingRulesetArray{ ResolverDnsForwardingRulesetArgs{...} }
type ResolverDnsForwardingRulesetArrayOutput ¶ added in v5.24.0
type ResolverDnsForwardingRulesetArrayOutput struct{ *pulumi.OutputState }
func (ResolverDnsForwardingRulesetArrayOutput) ElementType ¶ added in v5.24.0
func (ResolverDnsForwardingRulesetArrayOutput) ElementType() reflect.Type
func (ResolverDnsForwardingRulesetArrayOutput) ToResolverDnsForwardingRulesetArrayOutput ¶ added in v5.24.0
func (o ResolverDnsForwardingRulesetArrayOutput) ToResolverDnsForwardingRulesetArrayOutput() ResolverDnsForwardingRulesetArrayOutput
func (ResolverDnsForwardingRulesetArrayOutput) ToResolverDnsForwardingRulesetArrayOutputWithContext ¶ added in v5.24.0
func (o ResolverDnsForwardingRulesetArrayOutput) ToResolverDnsForwardingRulesetArrayOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetArrayOutput
type ResolverDnsForwardingRulesetInput ¶ added in v5.24.0
type ResolverDnsForwardingRulesetInput interface { pulumi.Input ToResolverDnsForwardingRulesetOutput() ResolverDnsForwardingRulesetOutput ToResolverDnsForwardingRulesetOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetOutput }
type ResolverDnsForwardingRulesetMap ¶ added in v5.24.0
type ResolverDnsForwardingRulesetMap map[string]ResolverDnsForwardingRulesetInput
func (ResolverDnsForwardingRulesetMap) ElementType ¶ added in v5.24.0
func (ResolverDnsForwardingRulesetMap) ElementType() reflect.Type
func (ResolverDnsForwardingRulesetMap) ToResolverDnsForwardingRulesetMapOutput ¶ added in v5.24.0
func (i ResolverDnsForwardingRulesetMap) ToResolverDnsForwardingRulesetMapOutput() ResolverDnsForwardingRulesetMapOutput
func (ResolverDnsForwardingRulesetMap) ToResolverDnsForwardingRulesetMapOutputWithContext ¶ added in v5.24.0
func (i ResolverDnsForwardingRulesetMap) ToResolverDnsForwardingRulesetMapOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetMapOutput
type ResolverDnsForwardingRulesetMapInput ¶ added in v5.24.0
type ResolverDnsForwardingRulesetMapInput interface { pulumi.Input ToResolverDnsForwardingRulesetMapOutput() ResolverDnsForwardingRulesetMapOutput ToResolverDnsForwardingRulesetMapOutputWithContext(context.Context) ResolverDnsForwardingRulesetMapOutput }
ResolverDnsForwardingRulesetMapInput is an input type that accepts ResolverDnsForwardingRulesetMap and ResolverDnsForwardingRulesetMapOutput values. You can construct a concrete instance of `ResolverDnsForwardingRulesetMapInput` via:
ResolverDnsForwardingRulesetMap{ "key": ResolverDnsForwardingRulesetArgs{...} }
type ResolverDnsForwardingRulesetMapOutput ¶ added in v5.24.0
type ResolverDnsForwardingRulesetMapOutput struct{ *pulumi.OutputState }
func (ResolverDnsForwardingRulesetMapOutput) ElementType ¶ added in v5.24.0
func (ResolverDnsForwardingRulesetMapOutput) ElementType() reflect.Type
func (ResolverDnsForwardingRulesetMapOutput) MapIndex ¶ added in v5.24.0
func (o ResolverDnsForwardingRulesetMapOutput) MapIndex(k pulumi.StringInput) ResolverDnsForwardingRulesetOutput
func (ResolverDnsForwardingRulesetMapOutput) ToResolverDnsForwardingRulesetMapOutput ¶ added in v5.24.0
func (o ResolverDnsForwardingRulesetMapOutput) ToResolverDnsForwardingRulesetMapOutput() ResolverDnsForwardingRulesetMapOutput
func (ResolverDnsForwardingRulesetMapOutput) ToResolverDnsForwardingRulesetMapOutputWithContext ¶ added in v5.24.0
func (o ResolverDnsForwardingRulesetMapOutput) ToResolverDnsForwardingRulesetMapOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetMapOutput
type ResolverDnsForwardingRulesetOutput ¶ added in v5.24.0
type ResolverDnsForwardingRulesetOutput struct{ *pulumi.OutputState }
func (ResolverDnsForwardingRulesetOutput) ElementType ¶ added in v5.24.0
func (ResolverDnsForwardingRulesetOutput) ElementType() reflect.Type
func (ResolverDnsForwardingRulesetOutput) Location ¶ added in v5.24.0
func (o ResolverDnsForwardingRulesetOutput) Location() pulumi.StringOutput
Specifies the Azure Region where the Private DNS Resolver Dns Forwarding Ruleset should exist. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created.
func (ResolverDnsForwardingRulesetOutput) Name ¶ added in v5.24.0
func (o ResolverDnsForwardingRulesetOutput) Name() pulumi.StringOutput
Specifies the name which should be used for this Private DNS Resolver Dns Forwarding Ruleset. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created.
func (ResolverDnsForwardingRulesetOutput) PrivateDnsResolverOutboundEndpointIds ¶ added in v5.24.0
func (o ResolverDnsForwardingRulesetOutput) PrivateDnsResolverOutboundEndpointIds() pulumi.StringArrayOutput
The list of IDs of the Private DNS Resolver Outbound Endpoint that is linked to the Private DNS Resolver Dns Forwarding Ruleset.
func (ResolverDnsForwardingRulesetOutput) ResourceGroupName ¶ added in v5.24.0
func (o ResolverDnsForwardingRulesetOutput) ResourceGroupName() pulumi.StringOutput
Specifies the name of the Resource Group where the Private DNS Resolver Dns Forwarding Ruleset should exist. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created.
func (ResolverDnsForwardingRulesetOutput) Tags ¶ added in v5.24.0
func (o ResolverDnsForwardingRulesetOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the Private DNS Resolver Dns Forwarding Ruleset.
func (ResolverDnsForwardingRulesetOutput) ToResolverDnsForwardingRulesetOutput ¶ added in v5.24.0
func (o ResolverDnsForwardingRulesetOutput) ToResolverDnsForwardingRulesetOutput() ResolverDnsForwardingRulesetOutput
func (ResolverDnsForwardingRulesetOutput) ToResolverDnsForwardingRulesetOutputWithContext ¶ added in v5.24.0
func (o ResolverDnsForwardingRulesetOutput) ToResolverDnsForwardingRulesetOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetOutput
type ResolverDnsForwardingRulesetState ¶ added in v5.24.0
type ResolverDnsForwardingRulesetState struct { // Specifies the Azure Region where the Private DNS Resolver Dns Forwarding Ruleset should exist. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this Private DNS Resolver Dns Forwarding Ruleset. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created. Name pulumi.StringPtrInput // The list of IDs of the Private DNS Resolver Outbound Endpoint that is linked to the Private DNS Resolver Dns Forwarding Ruleset. PrivateDnsResolverOutboundEndpointIds pulumi.StringArrayInput // Specifies the name of the Resource Group where the Private DNS Resolver Dns Forwarding Ruleset should exist. Changing this forces a new Private DNS Resolver Dns Forwarding Ruleset to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the Private DNS Resolver Dns Forwarding Ruleset. Tags pulumi.StringMapInput }
func (ResolverDnsForwardingRulesetState) ElementType ¶ added in v5.24.0
func (ResolverDnsForwardingRulesetState) ElementType() reflect.Type
type ResolverForwardingRule ¶ added in v5.24.0
type ResolverForwardingRule struct { pulumi.CustomResourceState // Specifies the ID of the Private DNS Resolver Forwarding Ruleset. Changing this forces a new Private DNS Resolver Forwarding Rule to be created. DnsForwardingRulesetId pulumi.StringOutput `pulumi:"dnsForwardingRulesetId"` // Specifies the domain name for the Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created. DomainName pulumi.StringOutput `pulumi:"domainName"` // Specifies the state of the Private DNS Resolver Forwarding Rule. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // Metadata attached to the Private DNS Resolver Forwarding Rule. Metadata pulumi.StringMapOutput `pulumi:"metadata"` // Specifies the name which should be used for this Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created. Name pulumi.StringOutput `pulumi:"name"` // Can be specified multiple times to define multiple target DNS servers. Each `targetDnsServers` block as defined below. TargetDnsServers ResolverForwardingRuleTargetDnsServerArrayOutput `pulumi:"targetDnsServers"` }
Manages a Private DNS Resolver Forwarding Rule.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("west europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.0.0.64/28"), }, Delegations: network.SubnetDelegationArray{ &network.SubnetDelegationArgs{ Name: pulumi.String("Microsoft.Network.dnsResolvers"), ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{ Actions: pulumi.StringArray{ pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"), }, Name: pulumi.String("Microsoft.Network/dnsResolvers"), }, }, }, }) if err != nil { return err } exampleResolver, err := privatedns.NewResolver(ctx, "exampleResolver", &privatedns.ResolverArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, VirtualNetworkId: exampleVirtualNetwork.ID(), }) if err != nil { return err } exampleResolverOutboundEndpoint, err := privatedns.NewResolverOutboundEndpoint(ctx, "exampleResolverOutboundEndpoint", &privatedns.ResolverOutboundEndpointArgs{ PrivateDnsResolverId: exampleResolver.ID(), Location: exampleResolver.Location, SubnetId: exampleSubnet.ID(), Tags: pulumi.StringMap{ "key": pulumi.String("value"), }, }) if err != nil { return err } exampleResolverDnsForwardingRuleset, err := privatedns.NewResolverDnsForwardingRuleset(ctx, "exampleResolverDnsForwardingRuleset", &privatedns.ResolverDnsForwardingRulesetArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, PrivateDnsResolverOutboundEndpointIds: pulumi.StringArray{ exampleResolverOutboundEndpoint.ID(), }, }) if err != nil { return err } _, err = privatedns.NewResolverForwardingRule(ctx, "exampleResolverForwardingRule", &privatedns.ResolverForwardingRuleArgs{ DnsForwardingRulesetId: exampleResolverDnsForwardingRuleset.ID(), DomainName: pulumi.String("onprem.local."), Enabled: pulumi.Bool(true), TargetDnsServers: privatedns.ResolverForwardingRuleTargetDnsServerArray{ &privatedns.ResolverForwardingRuleTargetDnsServerArgs{ IpAddress: pulumi.String("10.10.0.1"), Port: pulumi.Int(53), }, }, Metadata: pulumi.StringMap{ "key": pulumi.String("value"), }, }) if err != nil { return err } return nil }) }
```
## Import
Private DNS Resolver Forwarding Rules can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:privatedns/resolverForwardingRule:ResolverForwardingRule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/dnsForwardingRulesets/dnsForwardingRuleset1/forwardingRules/forwardingRule1
```
func GetResolverForwardingRule ¶ added in v5.24.0
func GetResolverForwardingRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResolverForwardingRuleState, opts ...pulumi.ResourceOption) (*ResolverForwardingRule, error)
GetResolverForwardingRule gets an existing ResolverForwardingRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResolverForwardingRule ¶ added in v5.24.0
func NewResolverForwardingRule(ctx *pulumi.Context, name string, args *ResolverForwardingRuleArgs, opts ...pulumi.ResourceOption) (*ResolverForwardingRule, error)
NewResolverForwardingRule registers a new resource with the given unique name, arguments, and options.
func (*ResolverForwardingRule) ElementType ¶ added in v5.24.0
func (*ResolverForwardingRule) ElementType() reflect.Type
func (*ResolverForwardingRule) ToResolverForwardingRuleOutput ¶ added in v5.24.0
func (i *ResolverForwardingRule) ToResolverForwardingRuleOutput() ResolverForwardingRuleOutput
func (*ResolverForwardingRule) ToResolverForwardingRuleOutputWithContext ¶ added in v5.24.0
func (i *ResolverForwardingRule) ToResolverForwardingRuleOutputWithContext(ctx context.Context) ResolverForwardingRuleOutput
type ResolverForwardingRuleArgs ¶ added in v5.24.0
type ResolverForwardingRuleArgs struct { // Specifies the ID of the Private DNS Resolver Forwarding Ruleset. Changing this forces a new Private DNS Resolver Forwarding Rule to be created. DnsForwardingRulesetId pulumi.StringInput // Specifies the domain name for the Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created. DomainName pulumi.StringInput // Specifies the state of the Private DNS Resolver Forwarding Rule. Defaults to `true`. Enabled pulumi.BoolPtrInput // Metadata attached to the Private DNS Resolver Forwarding Rule. Metadata pulumi.StringMapInput // Specifies the name which should be used for this Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created. Name pulumi.StringPtrInput // Can be specified multiple times to define multiple target DNS servers. Each `targetDnsServers` block as defined below. TargetDnsServers ResolverForwardingRuleTargetDnsServerArrayInput }
The set of arguments for constructing a ResolverForwardingRule resource.
func (ResolverForwardingRuleArgs) ElementType ¶ added in v5.24.0
func (ResolverForwardingRuleArgs) ElementType() reflect.Type
type ResolverForwardingRuleArray ¶ added in v5.24.0
type ResolverForwardingRuleArray []ResolverForwardingRuleInput
func (ResolverForwardingRuleArray) ElementType ¶ added in v5.24.0
func (ResolverForwardingRuleArray) ElementType() reflect.Type
func (ResolverForwardingRuleArray) ToResolverForwardingRuleArrayOutput ¶ added in v5.24.0
func (i ResolverForwardingRuleArray) ToResolverForwardingRuleArrayOutput() ResolverForwardingRuleArrayOutput
func (ResolverForwardingRuleArray) ToResolverForwardingRuleArrayOutputWithContext ¶ added in v5.24.0
func (i ResolverForwardingRuleArray) ToResolverForwardingRuleArrayOutputWithContext(ctx context.Context) ResolverForwardingRuleArrayOutput
type ResolverForwardingRuleArrayInput ¶ added in v5.24.0
type ResolverForwardingRuleArrayInput interface { pulumi.Input ToResolverForwardingRuleArrayOutput() ResolverForwardingRuleArrayOutput ToResolverForwardingRuleArrayOutputWithContext(context.Context) ResolverForwardingRuleArrayOutput }
ResolverForwardingRuleArrayInput is an input type that accepts ResolverForwardingRuleArray and ResolverForwardingRuleArrayOutput values. You can construct a concrete instance of `ResolverForwardingRuleArrayInput` via:
ResolverForwardingRuleArray{ ResolverForwardingRuleArgs{...} }
type ResolverForwardingRuleArrayOutput ¶ added in v5.24.0
type ResolverForwardingRuleArrayOutput struct{ *pulumi.OutputState }
func (ResolverForwardingRuleArrayOutput) ElementType ¶ added in v5.24.0
func (ResolverForwardingRuleArrayOutput) ElementType() reflect.Type
func (ResolverForwardingRuleArrayOutput) Index ¶ added in v5.24.0
func (o ResolverForwardingRuleArrayOutput) Index(i pulumi.IntInput) ResolverForwardingRuleOutput
func (ResolverForwardingRuleArrayOutput) ToResolverForwardingRuleArrayOutput ¶ added in v5.24.0
func (o ResolverForwardingRuleArrayOutput) ToResolverForwardingRuleArrayOutput() ResolverForwardingRuleArrayOutput
func (ResolverForwardingRuleArrayOutput) ToResolverForwardingRuleArrayOutputWithContext ¶ added in v5.24.0
func (o ResolverForwardingRuleArrayOutput) ToResolverForwardingRuleArrayOutputWithContext(ctx context.Context) ResolverForwardingRuleArrayOutput
type ResolverForwardingRuleInput ¶ added in v5.24.0
type ResolverForwardingRuleInput interface { pulumi.Input ToResolverForwardingRuleOutput() ResolverForwardingRuleOutput ToResolverForwardingRuleOutputWithContext(ctx context.Context) ResolverForwardingRuleOutput }
type ResolverForwardingRuleMap ¶ added in v5.24.0
type ResolverForwardingRuleMap map[string]ResolverForwardingRuleInput
func (ResolverForwardingRuleMap) ElementType ¶ added in v5.24.0
func (ResolverForwardingRuleMap) ElementType() reflect.Type
func (ResolverForwardingRuleMap) ToResolverForwardingRuleMapOutput ¶ added in v5.24.0
func (i ResolverForwardingRuleMap) ToResolverForwardingRuleMapOutput() ResolverForwardingRuleMapOutput
func (ResolverForwardingRuleMap) ToResolverForwardingRuleMapOutputWithContext ¶ added in v5.24.0
func (i ResolverForwardingRuleMap) ToResolverForwardingRuleMapOutputWithContext(ctx context.Context) ResolverForwardingRuleMapOutput
type ResolverForwardingRuleMapInput ¶ added in v5.24.0
type ResolverForwardingRuleMapInput interface { pulumi.Input ToResolverForwardingRuleMapOutput() ResolverForwardingRuleMapOutput ToResolverForwardingRuleMapOutputWithContext(context.Context) ResolverForwardingRuleMapOutput }
ResolverForwardingRuleMapInput is an input type that accepts ResolverForwardingRuleMap and ResolverForwardingRuleMapOutput values. You can construct a concrete instance of `ResolverForwardingRuleMapInput` via:
ResolverForwardingRuleMap{ "key": ResolverForwardingRuleArgs{...} }
type ResolverForwardingRuleMapOutput ¶ added in v5.24.0
type ResolverForwardingRuleMapOutput struct{ *pulumi.OutputState }
func (ResolverForwardingRuleMapOutput) ElementType ¶ added in v5.24.0
func (ResolverForwardingRuleMapOutput) ElementType() reflect.Type
func (ResolverForwardingRuleMapOutput) MapIndex ¶ added in v5.24.0
func (o ResolverForwardingRuleMapOutput) MapIndex(k pulumi.StringInput) ResolverForwardingRuleOutput
func (ResolverForwardingRuleMapOutput) ToResolverForwardingRuleMapOutput ¶ added in v5.24.0
func (o ResolverForwardingRuleMapOutput) ToResolverForwardingRuleMapOutput() ResolverForwardingRuleMapOutput
func (ResolverForwardingRuleMapOutput) ToResolverForwardingRuleMapOutputWithContext ¶ added in v5.24.0
func (o ResolverForwardingRuleMapOutput) ToResolverForwardingRuleMapOutputWithContext(ctx context.Context) ResolverForwardingRuleMapOutput
type ResolverForwardingRuleOutput ¶ added in v5.24.0
type ResolverForwardingRuleOutput struct{ *pulumi.OutputState }
func (ResolverForwardingRuleOutput) DnsForwardingRulesetId ¶ added in v5.24.0
func (o ResolverForwardingRuleOutput) DnsForwardingRulesetId() pulumi.StringOutput
Specifies the ID of the Private DNS Resolver Forwarding Ruleset. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
func (ResolverForwardingRuleOutput) DomainName ¶ added in v5.24.0
func (o ResolverForwardingRuleOutput) DomainName() pulumi.StringOutput
Specifies the domain name for the Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
func (ResolverForwardingRuleOutput) ElementType ¶ added in v5.24.0
func (ResolverForwardingRuleOutput) ElementType() reflect.Type
func (ResolverForwardingRuleOutput) Enabled ¶ added in v5.24.0
func (o ResolverForwardingRuleOutput) Enabled() pulumi.BoolPtrOutput
Specifies the state of the Private DNS Resolver Forwarding Rule. Defaults to `true`.
func (ResolverForwardingRuleOutput) Metadata ¶ added in v5.24.0
func (o ResolverForwardingRuleOutput) Metadata() pulumi.StringMapOutput
Metadata attached to the Private DNS Resolver Forwarding Rule.
func (ResolverForwardingRuleOutput) Name ¶ added in v5.24.0
func (o ResolverForwardingRuleOutput) Name() pulumi.StringOutput
Specifies the name which should be used for this Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
func (ResolverForwardingRuleOutput) TargetDnsServers ¶ added in v5.24.0
func (o ResolverForwardingRuleOutput) TargetDnsServers() ResolverForwardingRuleTargetDnsServerArrayOutput
Can be specified multiple times to define multiple target DNS servers. Each `targetDnsServers` block as defined below.
func (ResolverForwardingRuleOutput) ToResolverForwardingRuleOutput ¶ added in v5.24.0
func (o ResolverForwardingRuleOutput) ToResolverForwardingRuleOutput() ResolverForwardingRuleOutput
func (ResolverForwardingRuleOutput) ToResolverForwardingRuleOutputWithContext ¶ added in v5.24.0
func (o ResolverForwardingRuleOutput) ToResolverForwardingRuleOutputWithContext(ctx context.Context) ResolverForwardingRuleOutput
type ResolverForwardingRuleState ¶ added in v5.24.0
type ResolverForwardingRuleState struct { // Specifies the ID of the Private DNS Resolver Forwarding Ruleset. Changing this forces a new Private DNS Resolver Forwarding Rule to be created. DnsForwardingRulesetId pulumi.StringPtrInput // Specifies the domain name for the Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created. DomainName pulumi.StringPtrInput // Specifies the state of the Private DNS Resolver Forwarding Rule. Defaults to `true`. Enabled pulumi.BoolPtrInput // Metadata attached to the Private DNS Resolver Forwarding Rule. Metadata pulumi.StringMapInput // Specifies the name which should be used for this Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created. Name pulumi.StringPtrInput // Can be specified multiple times to define multiple target DNS servers. Each `targetDnsServers` block as defined below. TargetDnsServers ResolverForwardingRuleTargetDnsServerArrayInput }
func (ResolverForwardingRuleState) ElementType ¶ added in v5.24.0
func (ResolverForwardingRuleState) ElementType() reflect.Type
type ResolverForwardingRuleTargetDnsServer ¶ added in v5.24.0
type ResolverForwardingRuleTargetDnsServerArgs ¶ added in v5.24.0
type ResolverForwardingRuleTargetDnsServerArgs struct { // DNS server IP address. IpAddress pulumi.StringInput `pulumi:"ipAddress"` // DNS server port. Port pulumi.IntPtrInput `pulumi:"port"` }
func (ResolverForwardingRuleTargetDnsServerArgs) ElementType ¶ added in v5.24.0
func (ResolverForwardingRuleTargetDnsServerArgs) ElementType() reflect.Type
func (ResolverForwardingRuleTargetDnsServerArgs) ToResolverForwardingRuleTargetDnsServerOutput ¶ added in v5.24.0
func (i ResolverForwardingRuleTargetDnsServerArgs) ToResolverForwardingRuleTargetDnsServerOutput() ResolverForwardingRuleTargetDnsServerOutput
func (ResolverForwardingRuleTargetDnsServerArgs) ToResolverForwardingRuleTargetDnsServerOutputWithContext ¶ added in v5.24.0
func (i ResolverForwardingRuleTargetDnsServerArgs) ToResolverForwardingRuleTargetDnsServerOutputWithContext(ctx context.Context) ResolverForwardingRuleTargetDnsServerOutput
type ResolverForwardingRuleTargetDnsServerArray ¶ added in v5.24.0
type ResolverForwardingRuleTargetDnsServerArray []ResolverForwardingRuleTargetDnsServerInput
func (ResolverForwardingRuleTargetDnsServerArray) ElementType ¶ added in v5.24.0
func (ResolverForwardingRuleTargetDnsServerArray) ElementType() reflect.Type
func (ResolverForwardingRuleTargetDnsServerArray) ToResolverForwardingRuleTargetDnsServerArrayOutput ¶ added in v5.24.0
func (i ResolverForwardingRuleTargetDnsServerArray) ToResolverForwardingRuleTargetDnsServerArrayOutput() ResolverForwardingRuleTargetDnsServerArrayOutput
func (ResolverForwardingRuleTargetDnsServerArray) ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext ¶ added in v5.24.0
func (i ResolverForwardingRuleTargetDnsServerArray) ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext(ctx context.Context) ResolverForwardingRuleTargetDnsServerArrayOutput
type ResolverForwardingRuleTargetDnsServerArrayInput ¶ added in v5.24.0
type ResolverForwardingRuleTargetDnsServerArrayInput interface { pulumi.Input ToResolverForwardingRuleTargetDnsServerArrayOutput() ResolverForwardingRuleTargetDnsServerArrayOutput ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext(context.Context) ResolverForwardingRuleTargetDnsServerArrayOutput }
ResolverForwardingRuleTargetDnsServerArrayInput is an input type that accepts ResolverForwardingRuleTargetDnsServerArray and ResolverForwardingRuleTargetDnsServerArrayOutput values. You can construct a concrete instance of `ResolverForwardingRuleTargetDnsServerArrayInput` via:
ResolverForwardingRuleTargetDnsServerArray{ ResolverForwardingRuleTargetDnsServerArgs{...} }
type ResolverForwardingRuleTargetDnsServerArrayOutput ¶ added in v5.24.0
type ResolverForwardingRuleTargetDnsServerArrayOutput struct{ *pulumi.OutputState }
func (ResolverForwardingRuleTargetDnsServerArrayOutput) ElementType ¶ added in v5.24.0
func (ResolverForwardingRuleTargetDnsServerArrayOutput) ElementType() reflect.Type
func (ResolverForwardingRuleTargetDnsServerArrayOutput) ToResolverForwardingRuleTargetDnsServerArrayOutput ¶ added in v5.24.0
func (o ResolverForwardingRuleTargetDnsServerArrayOutput) ToResolverForwardingRuleTargetDnsServerArrayOutput() ResolverForwardingRuleTargetDnsServerArrayOutput
func (ResolverForwardingRuleTargetDnsServerArrayOutput) ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext ¶ added in v5.24.0
func (o ResolverForwardingRuleTargetDnsServerArrayOutput) ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext(ctx context.Context) ResolverForwardingRuleTargetDnsServerArrayOutput
type ResolverForwardingRuleTargetDnsServerInput ¶ added in v5.24.0
type ResolverForwardingRuleTargetDnsServerInput interface { pulumi.Input ToResolverForwardingRuleTargetDnsServerOutput() ResolverForwardingRuleTargetDnsServerOutput ToResolverForwardingRuleTargetDnsServerOutputWithContext(context.Context) ResolverForwardingRuleTargetDnsServerOutput }
ResolverForwardingRuleTargetDnsServerInput is an input type that accepts ResolverForwardingRuleTargetDnsServerArgs and ResolverForwardingRuleTargetDnsServerOutput values. You can construct a concrete instance of `ResolverForwardingRuleTargetDnsServerInput` via:
ResolverForwardingRuleTargetDnsServerArgs{...}
type ResolverForwardingRuleTargetDnsServerOutput ¶ added in v5.24.0
type ResolverForwardingRuleTargetDnsServerOutput struct{ *pulumi.OutputState }
func (ResolverForwardingRuleTargetDnsServerOutput) ElementType ¶ added in v5.24.0
func (ResolverForwardingRuleTargetDnsServerOutput) ElementType() reflect.Type
func (ResolverForwardingRuleTargetDnsServerOutput) IpAddress ¶ added in v5.24.0
func (o ResolverForwardingRuleTargetDnsServerOutput) IpAddress() pulumi.StringOutput
DNS server IP address.
func (ResolverForwardingRuleTargetDnsServerOutput) Port ¶ added in v5.24.0
func (o ResolverForwardingRuleTargetDnsServerOutput) Port() pulumi.IntPtrOutput
DNS server port.
func (ResolverForwardingRuleTargetDnsServerOutput) ToResolverForwardingRuleTargetDnsServerOutput ¶ added in v5.24.0
func (o ResolverForwardingRuleTargetDnsServerOutput) ToResolverForwardingRuleTargetDnsServerOutput() ResolverForwardingRuleTargetDnsServerOutput
func (ResolverForwardingRuleTargetDnsServerOutput) ToResolverForwardingRuleTargetDnsServerOutputWithContext ¶ added in v5.24.0
func (o ResolverForwardingRuleTargetDnsServerOutput) ToResolverForwardingRuleTargetDnsServerOutputWithContext(ctx context.Context) ResolverForwardingRuleTargetDnsServerOutput
type ResolverInboundEndpoint ¶ added in v5.24.0
type ResolverInboundEndpoint struct { pulumi.CustomResourceState // Can be specified multiple times to define multiple IP configurations. Each `ipConfigurations` block as defined below. IpConfigurations ResolverInboundEndpointIpConfigurationArrayOutput `pulumi:"ipConfigurations"` // Specifies the Azure Region where the Private DNS Resolver Inbound Endpoint should exist. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name which should be used for this Private DNS Resolver Inbound Endpoint. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created. Name pulumi.StringOutput `pulumi:"name"` // Specifies the ID of the Private DNS Resolver Inbound Endpoint. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created. PrivateDnsResolverId pulumi.StringOutput `pulumi:"privateDnsResolverId"` // A mapping of tags which should be assigned to the Private DNS Resolver Inbound Endpoint. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Private DNS Resolver Inbound Endpoint.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) if err != nil { return err } exampleResolver, err := privatedns.NewResolver(ctx, "exampleResolver", &privatedns.ResolverArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, VirtualNetworkId: exampleVirtualNetwork.ID(), }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.0.0.0/28"), }, Delegations: network.SubnetDelegationArray{ &network.SubnetDelegationArgs{ Name: pulumi.String("Microsoft.Network.dnsResolvers"), ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{ Actions: pulumi.StringArray{ pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"), }, Name: pulumi.String("Microsoft.Network/dnsResolvers"), }, }, }, }) if err != nil { return err } _, err = privatedns.NewResolverInboundEndpoint(ctx, "exampleResolverInboundEndpoint", &privatedns.ResolverInboundEndpointArgs{ PrivateDnsResolverId: exampleResolver.ID(), Location: exampleResolver.Location, IpConfigurations: privatedns.ResolverInboundEndpointIpConfigurationArray{ &privatedns.ResolverInboundEndpointIpConfigurationArgs{ PrivateIpAllocationMethod: pulumi.String("Dynamic"), SubnetId: exampleSubnet.ID(), }, }, Tags: pulumi.StringMap{ "key": pulumi.String("value"), }, }) if err != nil { return err } return nil }) }
```
## Import
Private DNS Resolver Inbound Endpoint can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:privatedns/resolverInboundEndpoint:ResolverInboundEndpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/dnsResolvers/dnsResolver1/inboundEndpoints/inboundEndpoint1
```
func GetResolverInboundEndpoint ¶ added in v5.24.0
func GetResolverInboundEndpoint(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResolverInboundEndpointState, opts ...pulumi.ResourceOption) (*ResolverInboundEndpoint, error)
GetResolverInboundEndpoint gets an existing ResolverInboundEndpoint resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResolverInboundEndpoint ¶ added in v5.24.0
func NewResolverInboundEndpoint(ctx *pulumi.Context, name string, args *ResolverInboundEndpointArgs, opts ...pulumi.ResourceOption) (*ResolverInboundEndpoint, error)
NewResolverInboundEndpoint registers a new resource with the given unique name, arguments, and options.
func (*ResolverInboundEndpoint) ElementType ¶ added in v5.24.0
func (*ResolverInboundEndpoint) ElementType() reflect.Type
func (*ResolverInboundEndpoint) ToResolverInboundEndpointOutput ¶ added in v5.24.0
func (i *ResolverInboundEndpoint) ToResolverInboundEndpointOutput() ResolverInboundEndpointOutput
func (*ResolverInboundEndpoint) ToResolverInboundEndpointOutputWithContext ¶ added in v5.24.0
func (i *ResolverInboundEndpoint) ToResolverInboundEndpointOutputWithContext(ctx context.Context) ResolverInboundEndpointOutput
type ResolverInboundEndpointArgs ¶ added in v5.24.0
type ResolverInboundEndpointArgs struct { // Can be specified multiple times to define multiple IP configurations. Each `ipConfigurations` block as defined below. IpConfigurations ResolverInboundEndpointIpConfigurationArrayInput // Specifies the Azure Region where the Private DNS Resolver Inbound Endpoint should exist. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this Private DNS Resolver Inbound Endpoint. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created. Name pulumi.StringPtrInput // Specifies the ID of the Private DNS Resolver Inbound Endpoint. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created. PrivateDnsResolverId pulumi.StringInput // A mapping of tags which should be assigned to the Private DNS Resolver Inbound Endpoint. Tags pulumi.StringMapInput }
The set of arguments for constructing a ResolverInboundEndpoint resource.
func (ResolverInboundEndpointArgs) ElementType ¶ added in v5.24.0
func (ResolverInboundEndpointArgs) ElementType() reflect.Type
type ResolverInboundEndpointArray ¶ added in v5.24.0
type ResolverInboundEndpointArray []ResolverInboundEndpointInput
func (ResolverInboundEndpointArray) ElementType ¶ added in v5.24.0
func (ResolverInboundEndpointArray) ElementType() reflect.Type
func (ResolverInboundEndpointArray) ToResolverInboundEndpointArrayOutput ¶ added in v5.24.0
func (i ResolverInboundEndpointArray) ToResolverInboundEndpointArrayOutput() ResolverInboundEndpointArrayOutput
func (ResolverInboundEndpointArray) ToResolverInboundEndpointArrayOutputWithContext ¶ added in v5.24.0
func (i ResolverInboundEndpointArray) ToResolverInboundEndpointArrayOutputWithContext(ctx context.Context) ResolverInboundEndpointArrayOutput
type ResolverInboundEndpointArrayInput ¶ added in v5.24.0
type ResolverInboundEndpointArrayInput interface { pulumi.Input ToResolverInboundEndpointArrayOutput() ResolverInboundEndpointArrayOutput ToResolverInboundEndpointArrayOutputWithContext(context.Context) ResolverInboundEndpointArrayOutput }
ResolverInboundEndpointArrayInput is an input type that accepts ResolverInboundEndpointArray and ResolverInboundEndpointArrayOutput values. You can construct a concrete instance of `ResolverInboundEndpointArrayInput` via:
ResolverInboundEndpointArray{ ResolverInboundEndpointArgs{...} }
type ResolverInboundEndpointArrayOutput ¶ added in v5.24.0
type ResolverInboundEndpointArrayOutput struct{ *pulumi.OutputState }
func (ResolverInboundEndpointArrayOutput) ElementType ¶ added in v5.24.0
func (ResolverInboundEndpointArrayOutput) ElementType() reflect.Type
func (ResolverInboundEndpointArrayOutput) Index ¶ added in v5.24.0
func (o ResolverInboundEndpointArrayOutput) Index(i pulumi.IntInput) ResolverInboundEndpointOutput
func (ResolverInboundEndpointArrayOutput) ToResolverInboundEndpointArrayOutput ¶ added in v5.24.0
func (o ResolverInboundEndpointArrayOutput) ToResolverInboundEndpointArrayOutput() ResolverInboundEndpointArrayOutput
func (ResolverInboundEndpointArrayOutput) ToResolverInboundEndpointArrayOutputWithContext ¶ added in v5.24.0
func (o ResolverInboundEndpointArrayOutput) ToResolverInboundEndpointArrayOutputWithContext(ctx context.Context) ResolverInboundEndpointArrayOutput
type ResolverInboundEndpointInput ¶ added in v5.24.0
type ResolverInboundEndpointInput interface { pulumi.Input ToResolverInboundEndpointOutput() ResolverInboundEndpointOutput ToResolverInboundEndpointOutputWithContext(ctx context.Context) ResolverInboundEndpointOutput }
type ResolverInboundEndpointIpConfiguration ¶ added in v5.24.0
type ResolverInboundEndpointIpConfiguration struct { // Private IP address of the IP configuration. PrivateIpAddress *string `pulumi:"privateIpAddress"` // Private IP address allocation method. Allowed value is `Dynamic`. Defaults to `Dynamic`. PrivateIpAllocationMethod *string `pulumi:"privateIpAllocationMethod"` // The subnet ID of the IP configuration. SubnetId string `pulumi:"subnetId"` }
type ResolverInboundEndpointIpConfigurationArgs ¶ added in v5.24.0
type ResolverInboundEndpointIpConfigurationArgs struct { // Private IP address of the IP configuration. PrivateIpAddress pulumi.StringPtrInput `pulumi:"privateIpAddress"` // Private IP address allocation method. Allowed value is `Dynamic`. Defaults to `Dynamic`. PrivateIpAllocationMethod pulumi.StringPtrInput `pulumi:"privateIpAllocationMethod"` // The subnet ID of the IP configuration. SubnetId pulumi.StringInput `pulumi:"subnetId"` }
func (ResolverInboundEndpointIpConfigurationArgs) ElementType ¶ added in v5.24.0
func (ResolverInboundEndpointIpConfigurationArgs) ElementType() reflect.Type
func (ResolverInboundEndpointIpConfigurationArgs) ToResolverInboundEndpointIpConfigurationOutput ¶ added in v5.24.0
func (i ResolverInboundEndpointIpConfigurationArgs) ToResolverInboundEndpointIpConfigurationOutput() ResolverInboundEndpointIpConfigurationOutput
func (ResolverInboundEndpointIpConfigurationArgs) ToResolverInboundEndpointIpConfigurationOutputWithContext ¶ added in v5.24.0
func (i ResolverInboundEndpointIpConfigurationArgs) ToResolverInboundEndpointIpConfigurationOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationOutput
type ResolverInboundEndpointIpConfigurationArray ¶ added in v5.24.0
type ResolverInboundEndpointIpConfigurationArray []ResolverInboundEndpointIpConfigurationInput
func (ResolverInboundEndpointIpConfigurationArray) ElementType ¶ added in v5.24.0
func (ResolverInboundEndpointIpConfigurationArray) ElementType() reflect.Type
func (ResolverInboundEndpointIpConfigurationArray) ToResolverInboundEndpointIpConfigurationArrayOutput ¶ added in v5.24.0
func (i ResolverInboundEndpointIpConfigurationArray) ToResolverInboundEndpointIpConfigurationArrayOutput() ResolverInboundEndpointIpConfigurationArrayOutput
func (ResolverInboundEndpointIpConfigurationArray) ToResolverInboundEndpointIpConfigurationArrayOutputWithContext ¶ added in v5.24.0
func (i ResolverInboundEndpointIpConfigurationArray) ToResolverInboundEndpointIpConfigurationArrayOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationArrayOutput
type ResolverInboundEndpointIpConfigurationArrayInput ¶ added in v5.24.0
type ResolverInboundEndpointIpConfigurationArrayInput interface { pulumi.Input ToResolverInboundEndpointIpConfigurationArrayOutput() ResolverInboundEndpointIpConfigurationArrayOutput ToResolverInboundEndpointIpConfigurationArrayOutputWithContext(context.Context) ResolverInboundEndpointIpConfigurationArrayOutput }
ResolverInboundEndpointIpConfigurationArrayInput is an input type that accepts ResolverInboundEndpointIpConfigurationArray and ResolverInboundEndpointIpConfigurationArrayOutput values. You can construct a concrete instance of `ResolverInboundEndpointIpConfigurationArrayInput` via:
ResolverInboundEndpointIpConfigurationArray{ ResolverInboundEndpointIpConfigurationArgs{...} }
type ResolverInboundEndpointIpConfigurationArrayOutput ¶ added in v5.24.0
type ResolverInboundEndpointIpConfigurationArrayOutput struct{ *pulumi.OutputState }
func (ResolverInboundEndpointIpConfigurationArrayOutput) ElementType ¶ added in v5.24.0
func (ResolverInboundEndpointIpConfigurationArrayOutput) ElementType() reflect.Type
func (ResolverInboundEndpointIpConfigurationArrayOutput) ToResolverInboundEndpointIpConfigurationArrayOutput ¶ added in v5.24.0
func (o ResolverInboundEndpointIpConfigurationArrayOutput) ToResolverInboundEndpointIpConfigurationArrayOutput() ResolverInboundEndpointIpConfigurationArrayOutput
func (ResolverInboundEndpointIpConfigurationArrayOutput) ToResolverInboundEndpointIpConfigurationArrayOutputWithContext ¶ added in v5.24.0
func (o ResolverInboundEndpointIpConfigurationArrayOutput) ToResolverInboundEndpointIpConfigurationArrayOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationArrayOutput
type ResolverInboundEndpointIpConfigurationInput ¶ added in v5.24.0
type ResolverInboundEndpointIpConfigurationInput interface { pulumi.Input ToResolverInboundEndpointIpConfigurationOutput() ResolverInboundEndpointIpConfigurationOutput ToResolverInboundEndpointIpConfigurationOutputWithContext(context.Context) ResolverInboundEndpointIpConfigurationOutput }
ResolverInboundEndpointIpConfigurationInput is an input type that accepts ResolverInboundEndpointIpConfigurationArgs and ResolverInboundEndpointIpConfigurationOutput values. You can construct a concrete instance of `ResolverInboundEndpointIpConfigurationInput` via:
ResolverInboundEndpointIpConfigurationArgs{...}
type ResolverInboundEndpointIpConfigurationOutput ¶ added in v5.24.0
type ResolverInboundEndpointIpConfigurationOutput struct{ *pulumi.OutputState }
func (ResolverInboundEndpointIpConfigurationOutput) ElementType ¶ added in v5.24.0
func (ResolverInboundEndpointIpConfigurationOutput) ElementType() reflect.Type
func (ResolverInboundEndpointIpConfigurationOutput) PrivateIpAddress ¶ added in v5.24.0
func (o ResolverInboundEndpointIpConfigurationOutput) PrivateIpAddress() pulumi.StringPtrOutput
Private IP address of the IP configuration.
func (ResolverInboundEndpointIpConfigurationOutput) PrivateIpAllocationMethod ¶ added in v5.24.0
func (o ResolverInboundEndpointIpConfigurationOutput) PrivateIpAllocationMethod() pulumi.StringPtrOutput
Private IP address allocation method. Allowed value is `Dynamic`. Defaults to `Dynamic`.
func (ResolverInboundEndpointIpConfigurationOutput) SubnetId ¶ added in v5.24.0
func (o ResolverInboundEndpointIpConfigurationOutput) SubnetId() pulumi.StringOutput
The subnet ID of the IP configuration.
func (ResolverInboundEndpointIpConfigurationOutput) ToResolverInboundEndpointIpConfigurationOutput ¶ added in v5.24.0
func (o ResolverInboundEndpointIpConfigurationOutput) ToResolverInboundEndpointIpConfigurationOutput() ResolverInboundEndpointIpConfigurationOutput
func (ResolverInboundEndpointIpConfigurationOutput) ToResolverInboundEndpointIpConfigurationOutputWithContext ¶ added in v5.24.0
func (o ResolverInboundEndpointIpConfigurationOutput) ToResolverInboundEndpointIpConfigurationOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationOutput
type ResolverInboundEndpointMap ¶ added in v5.24.0
type ResolverInboundEndpointMap map[string]ResolverInboundEndpointInput
func (ResolverInboundEndpointMap) ElementType ¶ added in v5.24.0
func (ResolverInboundEndpointMap) ElementType() reflect.Type
func (ResolverInboundEndpointMap) ToResolverInboundEndpointMapOutput ¶ added in v5.24.0
func (i ResolverInboundEndpointMap) ToResolverInboundEndpointMapOutput() ResolverInboundEndpointMapOutput
func (ResolverInboundEndpointMap) ToResolverInboundEndpointMapOutputWithContext ¶ added in v5.24.0
func (i ResolverInboundEndpointMap) ToResolverInboundEndpointMapOutputWithContext(ctx context.Context) ResolverInboundEndpointMapOutput
type ResolverInboundEndpointMapInput ¶ added in v5.24.0
type ResolverInboundEndpointMapInput interface { pulumi.Input ToResolverInboundEndpointMapOutput() ResolverInboundEndpointMapOutput ToResolverInboundEndpointMapOutputWithContext(context.Context) ResolverInboundEndpointMapOutput }
ResolverInboundEndpointMapInput is an input type that accepts ResolverInboundEndpointMap and ResolverInboundEndpointMapOutput values. You can construct a concrete instance of `ResolverInboundEndpointMapInput` via:
ResolverInboundEndpointMap{ "key": ResolverInboundEndpointArgs{...} }
type ResolverInboundEndpointMapOutput ¶ added in v5.24.0
type ResolverInboundEndpointMapOutput struct{ *pulumi.OutputState }
func (ResolverInboundEndpointMapOutput) ElementType ¶ added in v5.24.0
func (ResolverInboundEndpointMapOutput) ElementType() reflect.Type
func (ResolverInboundEndpointMapOutput) MapIndex ¶ added in v5.24.0
func (o ResolverInboundEndpointMapOutput) MapIndex(k pulumi.StringInput) ResolverInboundEndpointOutput
func (ResolverInboundEndpointMapOutput) ToResolverInboundEndpointMapOutput ¶ added in v5.24.0
func (o ResolverInboundEndpointMapOutput) ToResolverInboundEndpointMapOutput() ResolverInboundEndpointMapOutput
func (ResolverInboundEndpointMapOutput) ToResolverInboundEndpointMapOutputWithContext ¶ added in v5.24.0
func (o ResolverInboundEndpointMapOutput) ToResolverInboundEndpointMapOutputWithContext(ctx context.Context) ResolverInboundEndpointMapOutput
type ResolverInboundEndpointOutput ¶ added in v5.24.0
type ResolverInboundEndpointOutput struct{ *pulumi.OutputState }
func (ResolverInboundEndpointOutput) ElementType ¶ added in v5.24.0
func (ResolverInboundEndpointOutput) ElementType() reflect.Type
func (ResolverInboundEndpointOutput) IpConfigurations ¶ added in v5.24.0
func (o ResolverInboundEndpointOutput) IpConfigurations() ResolverInboundEndpointIpConfigurationArrayOutput
Can be specified multiple times to define multiple IP configurations. Each `ipConfigurations` block as defined below.
func (ResolverInboundEndpointOutput) Location ¶ added in v5.24.0
func (o ResolverInboundEndpointOutput) Location() pulumi.StringOutput
Specifies the Azure Region where the Private DNS Resolver Inbound Endpoint should exist. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.
func (ResolverInboundEndpointOutput) Name ¶ added in v5.24.0
func (o ResolverInboundEndpointOutput) Name() pulumi.StringOutput
Specifies the name which should be used for this Private DNS Resolver Inbound Endpoint. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.
func (ResolverInboundEndpointOutput) PrivateDnsResolverId ¶ added in v5.24.0
func (o ResolverInboundEndpointOutput) PrivateDnsResolverId() pulumi.StringOutput
Specifies the ID of the Private DNS Resolver Inbound Endpoint. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.
func (ResolverInboundEndpointOutput) Tags ¶ added in v5.24.0
func (o ResolverInboundEndpointOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Private DNS Resolver Inbound Endpoint.
func (ResolverInboundEndpointOutput) ToResolverInboundEndpointOutput ¶ added in v5.24.0
func (o ResolverInboundEndpointOutput) ToResolverInboundEndpointOutput() ResolverInboundEndpointOutput
func (ResolverInboundEndpointOutput) ToResolverInboundEndpointOutputWithContext ¶ added in v5.24.0
func (o ResolverInboundEndpointOutput) ToResolverInboundEndpointOutputWithContext(ctx context.Context) ResolverInboundEndpointOutput
type ResolverInboundEndpointState ¶ added in v5.24.0
type ResolverInboundEndpointState struct { // Can be specified multiple times to define multiple IP configurations. Each `ipConfigurations` block as defined below. IpConfigurations ResolverInboundEndpointIpConfigurationArrayInput // Specifies the Azure Region where the Private DNS Resolver Inbound Endpoint should exist. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this Private DNS Resolver Inbound Endpoint. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created. Name pulumi.StringPtrInput // Specifies the ID of the Private DNS Resolver Inbound Endpoint. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created. PrivateDnsResolverId pulumi.StringPtrInput // A mapping of tags which should be assigned to the Private DNS Resolver Inbound Endpoint. Tags pulumi.StringMapInput }
func (ResolverInboundEndpointState) ElementType ¶ added in v5.24.0
func (ResolverInboundEndpointState) ElementType() reflect.Type
type ResolverInput ¶ added in v5.24.0
type ResolverInput interface { pulumi.Input ToResolverOutput() ResolverOutput ToResolverOutputWithContext(ctx context.Context) ResolverOutput }
type ResolverMap ¶ added in v5.24.0
type ResolverMap map[string]ResolverInput
func (ResolverMap) ElementType ¶ added in v5.24.0
func (ResolverMap) ElementType() reflect.Type
func (ResolverMap) ToResolverMapOutput ¶ added in v5.24.0
func (i ResolverMap) ToResolverMapOutput() ResolverMapOutput
func (ResolverMap) ToResolverMapOutputWithContext ¶ added in v5.24.0
func (i ResolverMap) ToResolverMapOutputWithContext(ctx context.Context) ResolverMapOutput
type ResolverMapInput ¶ added in v5.24.0
type ResolverMapInput interface { pulumi.Input ToResolverMapOutput() ResolverMapOutput ToResolverMapOutputWithContext(context.Context) ResolverMapOutput }
ResolverMapInput is an input type that accepts ResolverMap and ResolverMapOutput values. You can construct a concrete instance of `ResolverMapInput` via:
ResolverMap{ "key": ResolverArgs{...} }
type ResolverMapOutput ¶ added in v5.24.0
type ResolverMapOutput struct{ *pulumi.OutputState }
func (ResolverMapOutput) ElementType ¶ added in v5.24.0
func (ResolverMapOutput) ElementType() reflect.Type
func (ResolverMapOutput) MapIndex ¶ added in v5.24.0
func (o ResolverMapOutput) MapIndex(k pulumi.StringInput) ResolverOutput
func (ResolverMapOutput) ToResolverMapOutput ¶ added in v5.24.0
func (o ResolverMapOutput) ToResolverMapOutput() ResolverMapOutput
func (ResolverMapOutput) ToResolverMapOutputWithContext ¶ added in v5.24.0
func (o ResolverMapOutput) ToResolverMapOutputWithContext(ctx context.Context) ResolverMapOutput
type ResolverOutboundEndpoint ¶ added in v5.24.0
type ResolverOutboundEndpoint struct { pulumi.CustomResourceState // Specifies the Azure Region where the Private DNS Resolver Outbound Endpoint should exist. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name which should be used for this Private DNS Resolver Outbound Endpoint. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created. Name pulumi.StringOutput `pulumi:"name"` // Specifies the ID of the Private DNS Resolver Outbound Endpoint. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created. PrivateDnsResolverId pulumi.StringOutput `pulumi:"privateDnsResolverId"` // The ID of the Subnet that is linked to the Private DNS Resolver Outbound Endpoint. Changing this forces a new resource to be created. SubnetId pulumi.StringOutput `pulumi:"subnetId"` // A mapping of tags which should be assigned to the Private DNS Resolver Outbound Endpoint. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Private DNS Resolver Outbound Endpoint.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("west europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.0.0.64/28"), }, Delegations: network.SubnetDelegationArray{ &network.SubnetDelegationArgs{ Name: pulumi.String("Microsoft.Network.dnsResolvers"), ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{ Actions: pulumi.StringArray{ pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"), }, Name: pulumi.String("Microsoft.Network/dnsResolvers"), }, }, }, }) if err != nil { return err } exampleResolver, err := privatedns.NewResolver(ctx, "exampleResolver", &privatedns.ResolverArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, VirtualNetworkId: exampleVirtualNetwork.ID(), }) if err != nil { return err } _, err = privatedns.NewResolverOutboundEndpoint(ctx, "exampleResolverOutboundEndpoint", &privatedns.ResolverOutboundEndpointArgs{ PrivateDnsResolverId: exampleResolver.ID(), Location: exampleResolver.Location, SubnetId: exampleSubnet.ID(), Tags: pulumi.StringMap{ "key": pulumi.String("value"), }, }) if err != nil { return err } return nil }) }
```
## Import
Private DNS Resolver Outbound Endpoint can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:privatedns/resolverOutboundEndpoint:ResolverOutboundEndpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/dnsResolvers/dnsResolver1/outboundEndpoints/outboundEndpoint1
```
func GetResolverOutboundEndpoint ¶ added in v5.24.0
func GetResolverOutboundEndpoint(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResolverOutboundEndpointState, opts ...pulumi.ResourceOption) (*ResolverOutboundEndpoint, error)
GetResolverOutboundEndpoint gets an existing ResolverOutboundEndpoint resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResolverOutboundEndpoint ¶ added in v5.24.0
func NewResolverOutboundEndpoint(ctx *pulumi.Context, name string, args *ResolverOutboundEndpointArgs, opts ...pulumi.ResourceOption) (*ResolverOutboundEndpoint, error)
NewResolverOutboundEndpoint registers a new resource with the given unique name, arguments, and options.
func (*ResolverOutboundEndpoint) ElementType ¶ added in v5.24.0
func (*ResolverOutboundEndpoint) ElementType() reflect.Type
func (*ResolverOutboundEndpoint) ToResolverOutboundEndpointOutput ¶ added in v5.24.0
func (i *ResolverOutboundEndpoint) ToResolverOutboundEndpointOutput() ResolverOutboundEndpointOutput
func (*ResolverOutboundEndpoint) ToResolverOutboundEndpointOutputWithContext ¶ added in v5.24.0
func (i *ResolverOutboundEndpoint) ToResolverOutboundEndpointOutputWithContext(ctx context.Context) ResolverOutboundEndpointOutput
type ResolverOutboundEndpointArgs ¶ added in v5.24.0
type ResolverOutboundEndpointArgs struct { // Specifies the Azure Region where the Private DNS Resolver Outbound Endpoint should exist. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this Private DNS Resolver Outbound Endpoint. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created. Name pulumi.StringPtrInput // Specifies the ID of the Private DNS Resolver Outbound Endpoint. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created. PrivateDnsResolverId pulumi.StringInput // The ID of the Subnet that is linked to the Private DNS Resolver Outbound Endpoint. Changing this forces a new resource to be created. SubnetId pulumi.StringInput // A mapping of tags which should be assigned to the Private DNS Resolver Outbound Endpoint. Tags pulumi.StringMapInput }
The set of arguments for constructing a ResolverOutboundEndpoint resource.
func (ResolverOutboundEndpointArgs) ElementType ¶ added in v5.24.0
func (ResolverOutboundEndpointArgs) ElementType() reflect.Type
type ResolverOutboundEndpointArray ¶ added in v5.24.0
type ResolverOutboundEndpointArray []ResolverOutboundEndpointInput
func (ResolverOutboundEndpointArray) ElementType ¶ added in v5.24.0
func (ResolverOutboundEndpointArray) ElementType() reflect.Type
func (ResolverOutboundEndpointArray) ToResolverOutboundEndpointArrayOutput ¶ added in v5.24.0
func (i ResolverOutboundEndpointArray) ToResolverOutboundEndpointArrayOutput() ResolverOutboundEndpointArrayOutput
func (ResolverOutboundEndpointArray) ToResolverOutboundEndpointArrayOutputWithContext ¶ added in v5.24.0
func (i ResolverOutboundEndpointArray) ToResolverOutboundEndpointArrayOutputWithContext(ctx context.Context) ResolverOutboundEndpointArrayOutput
type ResolverOutboundEndpointArrayInput ¶ added in v5.24.0
type ResolverOutboundEndpointArrayInput interface { pulumi.Input ToResolverOutboundEndpointArrayOutput() ResolverOutboundEndpointArrayOutput ToResolverOutboundEndpointArrayOutputWithContext(context.Context) ResolverOutboundEndpointArrayOutput }
ResolverOutboundEndpointArrayInput is an input type that accepts ResolverOutboundEndpointArray and ResolverOutboundEndpointArrayOutput values. You can construct a concrete instance of `ResolverOutboundEndpointArrayInput` via:
ResolverOutboundEndpointArray{ ResolverOutboundEndpointArgs{...} }
type ResolverOutboundEndpointArrayOutput ¶ added in v5.24.0
type ResolverOutboundEndpointArrayOutput struct{ *pulumi.OutputState }
func (ResolverOutboundEndpointArrayOutput) ElementType ¶ added in v5.24.0
func (ResolverOutboundEndpointArrayOutput) ElementType() reflect.Type
func (ResolverOutboundEndpointArrayOutput) Index ¶ added in v5.24.0
func (o ResolverOutboundEndpointArrayOutput) Index(i pulumi.IntInput) ResolverOutboundEndpointOutput
func (ResolverOutboundEndpointArrayOutput) ToResolverOutboundEndpointArrayOutput ¶ added in v5.24.0
func (o ResolverOutboundEndpointArrayOutput) ToResolverOutboundEndpointArrayOutput() ResolverOutboundEndpointArrayOutput
func (ResolverOutboundEndpointArrayOutput) ToResolverOutboundEndpointArrayOutputWithContext ¶ added in v5.24.0
func (o ResolverOutboundEndpointArrayOutput) ToResolverOutboundEndpointArrayOutputWithContext(ctx context.Context) ResolverOutboundEndpointArrayOutput
type ResolverOutboundEndpointInput ¶ added in v5.24.0
type ResolverOutboundEndpointInput interface { pulumi.Input ToResolverOutboundEndpointOutput() ResolverOutboundEndpointOutput ToResolverOutboundEndpointOutputWithContext(ctx context.Context) ResolverOutboundEndpointOutput }
type ResolverOutboundEndpointMap ¶ added in v5.24.0
type ResolverOutboundEndpointMap map[string]ResolverOutboundEndpointInput
func (ResolverOutboundEndpointMap) ElementType ¶ added in v5.24.0
func (ResolverOutboundEndpointMap) ElementType() reflect.Type
func (ResolverOutboundEndpointMap) ToResolverOutboundEndpointMapOutput ¶ added in v5.24.0
func (i ResolverOutboundEndpointMap) ToResolverOutboundEndpointMapOutput() ResolverOutboundEndpointMapOutput
func (ResolverOutboundEndpointMap) ToResolverOutboundEndpointMapOutputWithContext ¶ added in v5.24.0
func (i ResolverOutboundEndpointMap) ToResolverOutboundEndpointMapOutputWithContext(ctx context.Context) ResolverOutboundEndpointMapOutput
type ResolverOutboundEndpointMapInput ¶ added in v5.24.0
type ResolverOutboundEndpointMapInput interface { pulumi.Input ToResolverOutboundEndpointMapOutput() ResolverOutboundEndpointMapOutput ToResolverOutboundEndpointMapOutputWithContext(context.Context) ResolverOutboundEndpointMapOutput }
ResolverOutboundEndpointMapInput is an input type that accepts ResolverOutboundEndpointMap and ResolverOutboundEndpointMapOutput values. You can construct a concrete instance of `ResolverOutboundEndpointMapInput` via:
ResolverOutboundEndpointMap{ "key": ResolverOutboundEndpointArgs{...} }
type ResolverOutboundEndpointMapOutput ¶ added in v5.24.0
type ResolverOutboundEndpointMapOutput struct{ *pulumi.OutputState }
func (ResolverOutboundEndpointMapOutput) ElementType ¶ added in v5.24.0
func (ResolverOutboundEndpointMapOutput) ElementType() reflect.Type
func (ResolverOutboundEndpointMapOutput) MapIndex ¶ added in v5.24.0
func (o ResolverOutboundEndpointMapOutput) MapIndex(k pulumi.StringInput) ResolverOutboundEndpointOutput
func (ResolverOutboundEndpointMapOutput) ToResolverOutboundEndpointMapOutput ¶ added in v5.24.0
func (o ResolverOutboundEndpointMapOutput) ToResolverOutboundEndpointMapOutput() ResolverOutboundEndpointMapOutput
func (ResolverOutboundEndpointMapOutput) ToResolverOutboundEndpointMapOutputWithContext ¶ added in v5.24.0
func (o ResolverOutboundEndpointMapOutput) ToResolverOutboundEndpointMapOutputWithContext(ctx context.Context) ResolverOutboundEndpointMapOutput
type ResolverOutboundEndpointOutput ¶ added in v5.24.0
type ResolverOutboundEndpointOutput struct{ *pulumi.OutputState }
func (ResolverOutboundEndpointOutput) ElementType ¶ added in v5.24.0
func (ResolverOutboundEndpointOutput) ElementType() reflect.Type
func (ResolverOutboundEndpointOutput) Location ¶ added in v5.24.0
func (o ResolverOutboundEndpointOutput) Location() pulumi.StringOutput
Specifies the Azure Region where the Private DNS Resolver Outbound Endpoint should exist. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created.
func (ResolverOutboundEndpointOutput) Name ¶ added in v5.24.0
func (o ResolverOutboundEndpointOutput) Name() pulumi.StringOutput
Specifies the name which should be used for this Private DNS Resolver Outbound Endpoint. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created.
func (ResolverOutboundEndpointOutput) PrivateDnsResolverId ¶ added in v5.24.0
func (o ResolverOutboundEndpointOutput) PrivateDnsResolverId() pulumi.StringOutput
Specifies the ID of the Private DNS Resolver Outbound Endpoint. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created.
func (ResolverOutboundEndpointOutput) SubnetId ¶ added in v5.24.0
func (o ResolverOutboundEndpointOutput) SubnetId() pulumi.StringOutput
The ID of the Subnet that is linked to the Private DNS Resolver Outbound Endpoint. Changing this forces a new resource to be created.
func (ResolverOutboundEndpointOutput) Tags ¶ added in v5.24.0
func (o ResolverOutboundEndpointOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Private DNS Resolver Outbound Endpoint.
func (ResolverOutboundEndpointOutput) ToResolverOutboundEndpointOutput ¶ added in v5.24.0
func (o ResolverOutboundEndpointOutput) ToResolverOutboundEndpointOutput() ResolverOutboundEndpointOutput
func (ResolverOutboundEndpointOutput) ToResolverOutboundEndpointOutputWithContext ¶ added in v5.24.0
func (o ResolverOutboundEndpointOutput) ToResolverOutboundEndpointOutputWithContext(ctx context.Context) ResolverOutboundEndpointOutput
type ResolverOutboundEndpointState ¶ added in v5.24.0
type ResolverOutboundEndpointState struct { // Specifies the Azure Region where the Private DNS Resolver Outbound Endpoint should exist. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this Private DNS Resolver Outbound Endpoint. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created. Name pulumi.StringPtrInput // Specifies the ID of the Private DNS Resolver Outbound Endpoint. Changing this forces a new Private DNS Resolver Outbound Endpoint to be created. PrivateDnsResolverId pulumi.StringPtrInput // The ID of the Subnet that is linked to the Private DNS Resolver Outbound Endpoint. Changing this forces a new resource to be created. SubnetId pulumi.StringPtrInput // A mapping of tags which should be assigned to the Private DNS Resolver Outbound Endpoint. Tags pulumi.StringMapInput }
func (ResolverOutboundEndpointState) ElementType ¶ added in v5.24.0
func (ResolverOutboundEndpointState) ElementType() reflect.Type
type ResolverOutput ¶ added in v5.24.0
type ResolverOutput struct{ *pulumi.OutputState }
func (ResolverOutput) ElementType ¶ added in v5.24.0
func (ResolverOutput) ElementType() reflect.Type
func (ResolverOutput) Location ¶ added in v5.24.0
func (o ResolverOutput) Location() pulumi.StringOutput
Specifies the Azure Region where the Private DNS Resolver should exist. Changing this forces a new Private DNS Resolver to be created.
func (ResolverOutput) Name ¶ added in v5.24.0
func (o ResolverOutput) Name() pulumi.StringOutput
Specifies the name which should be used for this Private DNS Resolver. Changing this forces a new Private DNS Resolver to be created.
func (ResolverOutput) ResourceGroupName ¶ added in v5.24.0
func (o ResolverOutput) ResourceGroupName() pulumi.StringOutput
Specifies the name of the Resource Group where the Private DNS Resolver should exist. Changing this forces a new Private DNS Resolver to be created.
func (ResolverOutput) Tags ¶ added in v5.24.0
func (o ResolverOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Private DNS Resolver.
func (ResolverOutput) ToResolverOutput ¶ added in v5.24.0
func (o ResolverOutput) ToResolverOutput() ResolverOutput
func (ResolverOutput) ToResolverOutputWithContext ¶ added in v5.24.0
func (o ResolverOutput) ToResolverOutputWithContext(ctx context.Context) ResolverOutput
func (ResolverOutput) VirtualNetworkId ¶ added in v5.24.0
func (o ResolverOutput) VirtualNetworkId() pulumi.StringOutput
The ID of the Virtual Network that is linked to the Private DNS Resolver. Changing this forces a new Private DNS Resolver to be created.
type ResolverState ¶ added in v5.24.0
type ResolverState struct { // Specifies the Azure Region where the Private DNS Resolver should exist. Changing this forces a new Private DNS Resolver to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this Private DNS Resolver. Changing this forces a new Private DNS Resolver to be created. Name pulumi.StringPtrInput // Specifies the name of the Resource Group where the Private DNS Resolver should exist. Changing this forces a new Private DNS Resolver to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags which should be assigned to the Private DNS Resolver. Tags pulumi.StringMapInput // The ID of the Virtual Network that is linked to the Private DNS Resolver. Changing this forces a new Private DNS Resolver to be created. VirtualNetworkId pulumi.StringPtrInput }
func (ResolverState) ElementType ¶ added in v5.24.0
func (ResolverState) ElementType() reflect.Type
type ResolverVirtualNetworkLink ¶ added in v5.24.0
type ResolverVirtualNetworkLink struct { pulumi.CustomResourceState // Specifies the ID of the Private DNS Resolver DNS Forwarding Ruleset. Changing this forces a new Private DNS Resolver Virtual Network Link to be created. DnsForwardingRulesetId pulumi.StringOutput `pulumi:"dnsForwardingRulesetId"` // Metadata attached to the Private DNS Resolver Virtual Network Link. Metadata pulumi.StringMapOutput `pulumi:"metadata"` // Specifies the name which should be used for this Private DNS Resolver Virtual Network Link. Changing this forces a new Private DNS Resolver Virtual Network Link to be created. Name pulumi.StringOutput `pulumi:"name"` // The ID of the Virtual Network that is linked to the Private DNS Resolver Virtual Network Link. Changing this forces a new resource to be created. VirtualNetworkId pulumi.StringOutput `pulumi:"virtualNetworkId"` }
Manages a Private DNS Resolver Virtual Network Link.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("west europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.0.0.64/28"), }, Delegations: network.SubnetDelegationArray{ &network.SubnetDelegationArgs{ Name: pulumi.String("Microsoft.Network.dnsResolvers"), ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{ Actions: pulumi.StringArray{ pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"), }, Name: pulumi.String("Microsoft.Network/dnsResolvers"), }, }, }, }) if err != nil { return err } exampleResolver, err := privatedns.NewResolver(ctx, "exampleResolver", &privatedns.ResolverArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, VirtualNetworkId: exampleVirtualNetwork.ID(), }) if err != nil { return err } exampleResolverOutboundEndpoint, err := privatedns.NewResolverOutboundEndpoint(ctx, "exampleResolverOutboundEndpoint", &privatedns.ResolverOutboundEndpointArgs{ PrivateDnsResolverId: exampleResolver.ID(), Location: exampleResolver.Location, SubnetId: exampleSubnet.ID(), Tags: pulumi.StringMap{ "key": pulumi.String("value"), }, }) if err != nil { return err } exampleResolverDnsForwardingRuleset, err := privatedns.NewResolverDnsForwardingRuleset(ctx, "exampleResolverDnsForwardingRuleset", &privatedns.ResolverDnsForwardingRulesetArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, PrivateDnsResolverOutboundEndpointIds: pulumi.StringArray{ exampleResolverOutboundEndpoint.ID(), }, Tags: pulumi.StringMap{ "key": pulumi.String("value"), }, }) if err != nil { return err } _, err = privatedns.NewResolverVirtualNetworkLink(ctx, "exampleResolverVirtualNetworkLink", &privatedns.ResolverVirtualNetworkLinkArgs{ DnsForwardingRulesetId: exampleResolverDnsForwardingRuleset.ID(), VirtualNetworkId: exampleVirtualNetwork.ID(), Metadata: pulumi.StringMap{ "key": pulumi.String("value"), }, }) if err != nil { return err } return nil }) }
```
## Import
Private DNS Resolver Virtual Network Link can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:privatedns/resolverVirtualNetworkLink:ResolverVirtualNetworkLink example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/dnsForwardingRulesets/dnsForwardingRuleset1/virtualNetworkLinks/virtualNetworkLink1
```
func GetResolverVirtualNetworkLink ¶ added in v5.24.0
func GetResolverVirtualNetworkLink(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResolverVirtualNetworkLinkState, opts ...pulumi.ResourceOption) (*ResolverVirtualNetworkLink, error)
GetResolverVirtualNetworkLink gets an existing ResolverVirtualNetworkLink resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewResolverVirtualNetworkLink ¶ added in v5.24.0
func NewResolverVirtualNetworkLink(ctx *pulumi.Context, name string, args *ResolverVirtualNetworkLinkArgs, opts ...pulumi.ResourceOption) (*ResolverVirtualNetworkLink, error)
NewResolverVirtualNetworkLink registers a new resource with the given unique name, arguments, and options.
func (*ResolverVirtualNetworkLink) ElementType ¶ added in v5.24.0
func (*ResolverVirtualNetworkLink) ElementType() reflect.Type
func (*ResolverVirtualNetworkLink) ToResolverVirtualNetworkLinkOutput ¶ added in v5.24.0
func (i *ResolverVirtualNetworkLink) ToResolverVirtualNetworkLinkOutput() ResolverVirtualNetworkLinkOutput
func (*ResolverVirtualNetworkLink) ToResolverVirtualNetworkLinkOutputWithContext ¶ added in v5.24.0
func (i *ResolverVirtualNetworkLink) ToResolverVirtualNetworkLinkOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkOutput
type ResolverVirtualNetworkLinkArgs ¶ added in v5.24.0
type ResolverVirtualNetworkLinkArgs struct { // Specifies the ID of the Private DNS Resolver DNS Forwarding Ruleset. Changing this forces a new Private DNS Resolver Virtual Network Link to be created. DnsForwardingRulesetId pulumi.StringInput // Metadata attached to the Private DNS Resolver Virtual Network Link. Metadata pulumi.StringMapInput // Specifies the name which should be used for this Private DNS Resolver Virtual Network Link. Changing this forces a new Private DNS Resolver Virtual Network Link to be created. Name pulumi.StringPtrInput // The ID of the Virtual Network that is linked to the Private DNS Resolver Virtual Network Link. Changing this forces a new resource to be created. VirtualNetworkId pulumi.StringInput }
The set of arguments for constructing a ResolverVirtualNetworkLink resource.
func (ResolverVirtualNetworkLinkArgs) ElementType ¶ added in v5.24.0
func (ResolverVirtualNetworkLinkArgs) ElementType() reflect.Type
type ResolverVirtualNetworkLinkArray ¶ added in v5.24.0
type ResolverVirtualNetworkLinkArray []ResolverVirtualNetworkLinkInput
func (ResolverVirtualNetworkLinkArray) ElementType ¶ added in v5.24.0
func (ResolverVirtualNetworkLinkArray) ElementType() reflect.Type
func (ResolverVirtualNetworkLinkArray) ToResolverVirtualNetworkLinkArrayOutput ¶ added in v5.24.0
func (i ResolverVirtualNetworkLinkArray) ToResolverVirtualNetworkLinkArrayOutput() ResolverVirtualNetworkLinkArrayOutput
func (ResolverVirtualNetworkLinkArray) ToResolverVirtualNetworkLinkArrayOutputWithContext ¶ added in v5.24.0
func (i ResolverVirtualNetworkLinkArray) ToResolverVirtualNetworkLinkArrayOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkArrayOutput
type ResolverVirtualNetworkLinkArrayInput ¶ added in v5.24.0
type ResolverVirtualNetworkLinkArrayInput interface { pulumi.Input ToResolverVirtualNetworkLinkArrayOutput() ResolverVirtualNetworkLinkArrayOutput ToResolverVirtualNetworkLinkArrayOutputWithContext(context.Context) ResolverVirtualNetworkLinkArrayOutput }
ResolverVirtualNetworkLinkArrayInput is an input type that accepts ResolverVirtualNetworkLinkArray and ResolverVirtualNetworkLinkArrayOutput values. You can construct a concrete instance of `ResolverVirtualNetworkLinkArrayInput` via:
ResolverVirtualNetworkLinkArray{ ResolverVirtualNetworkLinkArgs{...} }
type ResolverVirtualNetworkLinkArrayOutput ¶ added in v5.24.0
type ResolverVirtualNetworkLinkArrayOutput struct{ *pulumi.OutputState }
func (ResolverVirtualNetworkLinkArrayOutput) ElementType ¶ added in v5.24.0
func (ResolverVirtualNetworkLinkArrayOutput) ElementType() reflect.Type
func (ResolverVirtualNetworkLinkArrayOutput) Index ¶ added in v5.24.0
func (o ResolverVirtualNetworkLinkArrayOutput) Index(i pulumi.IntInput) ResolverVirtualNetworkLinkOutput
func (ResolverVirtualNetworkLinkArrayOutput) ToResolverVirtualNetworkLinkArrayOutput ¶ added in v5.24.0
func (o ResolverVirtualNetworkLinkArrayOutput) ToResolverVirtualNetworkLinkArrayOutput() ResolverVirtualNetworkLinkArrayOutput
func (ResolverVirtualNetworkLinkArrayOutput) ToResolverVirtualNetworkLinkArrayOutputWithContext ¶ added in v5.24.0
func (o ResolverVirtualNetworkLinkArrayOutput) ToResolverVirtualNetworkLinkArrayOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkArrayOutput
type ResolverVirtualNetworkLinkInput ¶ added in v5.24.0
type ResolverVirtualNetworkLinkInput interface { pulumi.Input ToResolverVirtualNetworkLinkOutput() ResolverVirtualNetworkLinkOutput ToResolverVirtualNetworkLinkOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkOutput }
type ResolverVirtualNetworkLinkMap ¶ added in v5.24.0
type ResolverVirtualNetworkLinkMap map[string]ResolverVirtualNetworkLinkInput
func (ResolverVirtualNetworkLinkMap) ElementType ¶ added in v5.24.0
func (ResolverVirtualNetworkLinkMap) ElementType() reflect.Type
func (ResolverVirtualNetworkLinkMap) ToResolverVirtualNetworkLinkMapOutput ¶ added in v5.24.0
func (i ResolverVirtualNetworkLinkMap) ToResolverVirtualNetworkLinkMapOutput() ResolverVirtualNetworkLinkMapOutput
func (ResolverVirtualNetworkLinkMap) ToResolverVirtualNetworkLinkMapOutputWithContext ¶ added in v5.24.0
func (i ResolverVirtualNetworkLinkMap) ToResolverVirtualNetworkLinkMapOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkMapOutput
type ResolverVirtualNetworkLinkMapInput ¶ added in v5.24.0
type ResolverVirtualNetworkLinkMapInput interface { pulumi.Input ToResolverVirtualNetworkLinkMapOutput() ResolverVirtualNetworkLinkMapOutput ToResolverVirtualNetworkLinkMapOutputWithContext(context.Context) ResolverVirtualNetworkLinkMapOutput }
ResolverVirtualNetworkLinkMapInput is an input type that accepts ResolverVirtualNetworkLinkMap and ResolverVirtualNetworkLinkMapOutput values. You can construct a concrete instance of `ResolverVirtualNetworkLinkMapInput` via:
ResolverVirtualNetworkLinkMap{ "key": ResolverVirtualNetworkLinkArgs{...} }
type ResolverVirtualNetworkLinkMapOutput ¶ added in v5.24.0
type ResolverVirtualNetworkLinkMapOutput struct{ *pulumi.OutputState }
func (ResolverVirtualNetworkLinkMapOutput) ElementType ¶ added in v5.24.0
func (ResolverVirtualNetworkLinkMapOutput) ElementType() reflect.Type
func (ResolverVirtualNetworkLinkMapOutput) MapIndex ¶ added in v5.24.0
func (o ResolverVirtualNetworkLinkMapOutput) MapIndex(k pulumi.StringInput) ResolverVirtualNetworkLinkOutput
func (ResolverVirtualNetworkLinkMapOutput) ToResolverVirtualNetworkLinkMapOutput ¶ added in v5.24.0
func (o ResolverVirtualNetworkLinkMapOutput) ToResolverVirtualNetworkLinkMapOutput() ResolverVirtualNetworkLinkMapOutput
func (ResolverVirtualNetworkLinkMapOutput) ToResolverVirtualNetworkLinkMapOutputWithContext ¶ added in v5.24.0
func (o ResolverVirtualNetworkLinkMapOutput) ToResolverVirtualNetworkLinkMapOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkMapOutput
type ResolverVirtualNetworkLinkOutput ¶ added in v5.24.0
type ResolverVirtualNetworkLinkOutput struct{ *pulumi.OutputState }
func (ResolverVirtualNetworkLinkOutput) DnsForwardingRulesetId ¶ added in v5.24.0
func (o ResolverVirtualNetworkLinkOutput) DnsForwardingRulesetId() pulumi.StringOutput
Specifies the ID of the Private DNS Resolver DNS Forwarding Ruleset. Changing this forces a new Private DNS Resolver Virtual Network Link to be created.
func (ResolverVirtualNetworkLinkOutput) ElementType ¶ added in v5.24.0
func (ResolverVirtualNetworkLinkOutput) ElementType() reflect.Type
func (ResolverVirtualNetworkLinkOutput) Metadata ¶ added in v5.24.0
func (o ResolverVirtualNetworkLinkOutput) Metadata() pulumi.StringMapOutput
Metadata attached to the Private DNS Resolver Virtual Network Link.
func (ResolverVirtualNetworkLinkOutput) Name ¶ added in v5.24.0
func (o ResolverVirtualNetworkLinkOutput) Name() pulumi.StringOutput
Specifies the name which should be used for this Private DNS Resolver Virtual Network Link. Changing this forces a new Private DNS Resolver Virtual Network Link to be created.
func (ResolverVirtualNetworkLinkOutput) ToResolverVirtualNetworkLinkOutput ¶ added in v5.24.0
func (o ResolverVirtualNetworkLinkOutput) ToResolverVirtualNetworkLinkOutput() ResolverVirtualNetworkLinkOutput
func (ResolverVirtualNetworkLinkOutput) ToResolverVirtualNetworkLinkOutputWithContext ¶ added in v5.24.0
func (o ResolverVirtualNetworkLinkOutput) ToResolverVirtualNetworkLinkOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkOutput
func (ResolverVirtualNetworkLinkOutput) VirtualNetworkId ¶ added in v5.24.0
func (o ResolverVirtualNetworkLinkOutput) VirtualNetworkId() pulumi.StringOutput
The ID of the Virtual Network that is linked to the Private DNS Resolver Virtual Network Link. Changing this forces a new resource to be created.
type ResolverVirtualNetworkLinkState ¶ added in v5.24.0
type ResolverVirtualNetworkLinkState struct { // Specifies the ID of the Private DNS Resolver DNS Forwarding Ruleset. Changing this forces a new Private DNS Resolver Virtual Network Link to be created. DnsForwardingRulesetId pulumi.StringPtrInput // Metadata attached to the Private DNS Resolver Virtual Network Link. Metadata pulumi.StringMapInput // Specifies the name which should be used for this Private DNS Resolver Virtual Network Link. Changing this forces a new Private DNS Resolver Virtual Network Link to be created. Name pulumi.StringPtrInput // The ID of the Virtual Network that is linked to the Private DNS Resolver Virtual Network Link. Changing this forces a new resource to be created. VirtualNetworkId pulumi.StringPtrInput }
func (ResolverVirtualNetworkLinkState) ElementType ¶ added in v5.24.0
func (ResolverVirtualNetworkLinkState) ElementType() reflect.Type
type SRVRecord ¶
type SRVRecord struct { pulumi.CustomResourceState // The FQDN of the DNS SRV Record. Fqdn pulumi.StringOutput `pulumi:"fqdn"` // The name of the DNS SRV Record. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // One or more `record` blocks as defined below. Records SRVRecordRecordArrayOutput `pulumi:"records"` // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntOutput `pulumi:"ttl"` // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringOutput `pulumi:"zoneName"` }
Enables you to manage DNS SRV Records within Azure Private DNS.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleZone, err := privatedns.NewZone(ctx, "exampleZone", &privatedns.ZoneArgs{ ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } _, err = privatedns.NewSRVRecord(ctx, "exampleSRVRecord", &privatedns.SRVRecordArgs{ ResourceGroupName: exampleResourceGroup.Name, ZoneName: exampleZone.Name, Ttl: pulumi.Int(300), Records: privatedns.SRVRecordRecordArray{ &privatedns.SRVRecordRecordArgs{ Priority: pulumi.Int(1), Weight: pulumi.Int(5), Port: pulumi.Int(8080), Target: pulumi.String("target1.contoso.com"), }, &privatedns.SRVRecordRecordArgs{ Priority: pulumi.Int(10), Weight: pulumi.Int(10), Port: pulumi.Int(8080), Target: pulumi.String("target2.contoso.com"), }, }, Tags: pulumi.StringMap{ "Environment": pulumi.String("Production"), }, }) if err != nil { return err } return nil }) }
```
## Import
Private DNS SRV Records can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:privatedns/sRVRecord:SRVRecord test /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/contoso.com/SRV/test
```
func GetSRVRecord ¶
func GetSRVRecord(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SRVRecordState, opts ...pulumi.ResourceOption) (*SRVRecord, error)
GetSRVRecord gets an existing SRVRecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSRVRecord ¶
func NewSRVRecord(ctx *pulumi.Context, name string, args *SRVRecordArgs, opts ...pulumi.ResourceOption) (*SRVRecord, error)
NewSRVRecord registers a new resource with the given unique name, arguments, and options.
func (*SRVRecord) ElementType ¶
func (*SRVRecord) ToSRVRecordOutput ¶
func (i *SRVRecord) ToSRVRecordOutput() SRVRecordOutput
func (*SRVRecord) ToSRVRecordOutputWithContext ¶
func (i *SRVRecord) ToSRVRecordOutputWithContext(ctx context.Context) SRVRecordOutput
type SRVRecordArgs ¶
type SRVRecordArgs struct { // The name of the DNS SRV Record. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // One or more `record` blocks as defined below. Records SRVRecordRecordArrayInput // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntInput // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringInput }
The set of arguments for constructing a SRVRecord resource.
func (SRVRecordArgs) ElementType ¶
func (SRVRecordArgs) ElementType() reflect.Type
type SRVRecordArray ¶
type SRVRecordArray []SRVRecordInput
func (SRVRecordArray) ElementType ¶
func (SRVRecordArray) ElementType() reflect.Type
func (SRVRecordArray) ToSRVRecordArrayOutput ¶
func (i SRVRecordArray) ToSRVRecordArrayOutput() SRVRecordArrayOutput
func (SRVRecordArray) ToSRVRecordArrayOutputWithContext ¶
func (i SRVRecordArray) ToSRVRecordArrayOutputWithContext(ctx context.Context) SRVRecordArrayOutput
type SRVRecordArrayInput ¶
type SRVRecordArrayInput interface { pulumi.Input ToSRVRecordArrayOutput() SRVRecordArrayOutput ToSRVRecordArrayOutputWithContext(context.Context) SRVRecordArrayOutput }
SRVRecordArrayInput is an input type that accepts SRVRecordArray and SRVRecordArrayOutput values. You can construct a concrete instance of `SRVRecordArrayInput` via:
SRVRecordArray{ SRVRecordArgs{...} }
type SRVRecordArrayOutput ¶
type SRVRecordArrayOutput struct{ *pulumi.OutputState }
func (SRVRecordArrayOutput) ElementType ¶
func (SRVRecordArrayOutput) ElementType() reflect.Type
func (SRVRecordArrayOutput) Index ¶
func (o SRVRecordArrayOutput) Index(i pulumi.IntInput) SRVRecordOutput
func (SRVRecordArrayOutput) ToSRVRecordArrayOutput ¶
func (o SRVRecordArrayOutput) ToSRVRecordArrayOutput() SRVRecordArrayOutput
func (SRVRecordArrayOutput) ToSRVRecordArrayOutputWithContext ¶
func (o SRVRecordArrayOutput) ToSRVRecordArrayOutputWithContext(ctx context.Context) SRVRecordArrayOutput
type SRVRecordInput ¶
type SRVRecordInput interface { pulumi.Input ToSRVRecordOutput() SRVRecordOutput ToSRVRecordOutputWithContext(ctx context.Context) SRVRecordOutput }
type SRVRecordMap ¶
type SRVRecordMap map[string]SRVRecordInput
func (SRVRecordMap) ElementType ¶
func (SRVRecordMap) ElementType() reflect.Type
func (SRVRecordMap) ToSRVRecordMapOutput ¶
func (i SRVRecordMap) ToSRVRecordMapOutput() SRVRecordMapOutput
func (SRVRecordMap) ToSRVRecordMapOutputWithContext ¶
func (i SRVRecordMap) ToSRVRecordMapOutputWithContext(ctx context.Context) SRVRecordMapOutput
type SRVRecordMapInput ¶
type SRVRecordMapInput interface { pulumi.Input ToSRVRecordMapOutput() SRVRecordMapOutput ToSRVRecordMapOutputWithContext(context.Context) SRVRecordMapOutput }
SRVRecordMapInput is an input type that accepts SRVRecordMap and SRVRecordMapOutput values. You can construct a concrete instance of `SRVRecordMapInput` via:
SRVRecordMap{ "key": SRVRecordArgs{...} }
type SRVRecordMapOutput ¶
type SRVRecordMapOutput struct{ *pulumi.OutputState }
func (SRVRecordMapOutput) ElementType ¶
func (SRVRecordMapOutput) ElementType() reflect.Type
func (SRVRecordMapOutput) MapIndex ¶
func (o SRVRecordMapOutput) MapIndex(k pulumi.StringInput) SRVRecordOutput
func (SRVRecordMapOutput) ToSRVRecordMapOutput ¶
func (o SRVRecordMapOutput) ToSRVRecordMapOutput() SRVRecordMapOutput
func (SRVRecordMapOutput) ToSRVRecordMapOutputWithContext ¶
func (o SRVRecordMapOutput) ToSRVRecordMapOutputWithContext(ctx context.Context) SRVRecordMapOutput
type SRVRecordOutput ¶
type SRVRecordOutput struct{ *pulumi.OutputState }
func (SRVRecordOutput) ElementType ¶
func (SRVRecordOutput) ElementType() reflect.Type
func (SRVRecordOutput) Fqdn ¶ added in v5.5.0
func (o SRVRecordOutput) Fqdn() pulumi.StringOutput
The FQDN of the DNS SRV Record.
func (SRVRecordOutput) Name ¶ added in v5.5.0
func (o SRVRecordOutput) Name() pulumi.StringOutput
The name of the DNS SRV Record. Changing this forces a new resource to be created.
func (SRVRecordOutput) Records ¶ added in v5.5.0
func (o SRVRecordOutput) Records() SRVRecordRecordArrayOutput
One or more `record` blocks as defined below.
func (SRVRecordOutput) ResourceGroupName ¶ added in v5.5.0
func (o SRVRecordOutput) ResourceGroupName() pulumi.StringOutput
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
func (SRVRecordOutput) Tags ¶ added in v5.5.0
func (o SRVRecordOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (SRVRecordOutput) ToSRVRecordOutput ¶
func (o SRVRecordOutput) ToSRVRecordOutput() SRVRecordOutput
func (SRVRecordOutput) ToSRVRecordOutputWithContext ¶
func (o SRVRecordOutput) ToSRVRecordOutputWithContext(ctx context.Context) SRVRecordOutput
func (SRVRecordOutput) Ttl ¶ added in v5.5.0
func (o SRVRecordOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the DNS record in seconds.
func (SRVRecordOutput) ZoneName ¶ added in v5.5.0
func (o SRVRecordOutput) ZoneName() pulumi.StringOutput
Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
type SRVRecordRecord ¶
type SRVRecordRecordArgs ¶
type SRVRecordRecordArgs struct { // The Port the service is listening on. Port pulumi.IntInput `pulumi:"port"` // The priority of the SRV record. Priority pulumi.IntInput `pulumi:"priority"` // The FQDN of the service. Target pulumi.StringInput `pulumi:"target"` // The Weight of the SRV record. Weight pulumi.IntInput `pulumi:"weight"` }
func (SRVRecordRecordArgs) ElementType ¶
func (SRVRecordRecordArgs) ElementType() reflect.Type
func (SRVRecordRecordArgs) ToSRVRecordRecordOutput ¶
func (i SRVRecordRecordArgs) ToSRVRecordRecordOutput() SRVRecordRecordOutput
func (SRVRecordRecordArgs) ToSRVRecordRecordOutputWithContext ¶
func (i SRVRecordRecordArgs) ToSRVRecordRecordOutputWithContext(ctx context.Context) SRVRecordRecordOutput
type SRVRecordRecordArray ¶
type SRVRecordRecordArray []SRVRecordRecordInput
func (SRVRecordRecordArray) ElementType ¶
func (SRVRecordRecordArray) ElementType() reflect.Type
func (SRVRecordRecordArray) ToSRVRecordRecordArrayOutput ¶
func (i SRVRecordRecordArray) ToSRVRecordRecordArrayOutput() SRVRecordRecordArrayOutput
func (SRVRecordRecordArray) ToSRVRecordRecordArrayOutputWithContext ¶
func (i SRVRecordRecordArray) ToSRVRecordRecordArrayOutputWithContext(ctx context.Context) SRVRecordRecordArrayOutput
type SRVRecordRecordArrayInput ¶
type SRVRecordRecordArrayInput interface { pulumi.Input ToSRVRecordRecordArrayOutput() SRVRecordRecordArrayOutput ToSRVRecordRecordArrayOutputWithContext(context.Context) SRVRecordRecordArrayOutput }
SRVRecordRecordArrayInput is an input type that accepts SRVRecordRecordArray and SRVRecordRecordArrayOutput values. You can construct a concrete instance of `SRVRecordRecordArrayInput` via:
SRVRecordRecordArray{ SRVRecordRecordArgs{...} }
type SRVRecordRecordArrayOutput ¶
type SRVRecordRecordArrayOutput struct{ *pulumi.OutputState }
func (SRVRecordRecordArrayOutput) ElementType ¶
func (SRVRecordRecordArrayOutput) ElementType() reflect.Type
func (SRVRecordRecordArrayOutput) Index ¶
func (o SRVRecordRecordArrayOutput) Index(i pulumi.IntInput) SRVRecordRecordOutput
func (SRVRecordRecordArrayOutput) ToSRVRecordRecordArrayOutput ¶
func (o SRVRecordRecordArrayOutput) ToSRVRecordRecordArrayOutput() SRVRecordRecordArrayOutput
func (SRVRecordRecordArrayOutput) ToSRVRecordRecordArrayOutputWithContext ¶
func (o SRVRecordRecordArrayOutput) ToSRVRecordRecordArrayOutputWithContext(ctx context.Context) SRVRecordRecordArrayOutput
type SRVRecordRecordInput ¶
type SRVRecordRecordInput interface { pulumi.Input ToSRVRecordRecordOutput() SRVRecordRecordOutput ToSRVRecordRecordOutputWithContext(context.Context) SRVRecordRecordOutput }
SRVRecordRecordInput is an input type that accepts SRVRecordRecordArgs and SRVRecordRecordOutput values. You can construct a concrete instance of `SRVRecordRecordInput` via:
SRVRecordRecordArgs{...}
type SRVRecordRecordOutput ¶
type SRVRecordRecordOutput struct{ *pulumi.OutputState }
func (SRVRecordRecordOutput) ElementType ¶
func (SRVRecordRecordOutput) ElementType() reflect.Type
func (SRVRecordRecordOutput) Port ¶
func (o SRVRecordRecordOutput) Port() pulumi.IntOutput
The Port the service is listening on.
func (SRVRecordRecordOutput) Priority ¶
func (o SRVRecordRecordOutput) Priority() pulumi.IntOutput
The priority of the SRV record.
func (SRVRecordRecordOutput) Target ¶
func (o SRVRecordRecordOutput) Target() pulumi.StringOutput
The FQDN of the service.
func (SRVRecordRecordOutput) ToSRVRecordRecordOutput ¶
func (o SRVRecordRecordOutput) ToSRVRecordRecordOutput() SRVRecordRecordOutput
func (SRVRecordRecordOutput) ToSRVRecordRecordOutputWithContext ¶
func (o SRVRecordRecordOutput) ToSRVRecordRecordOutputWithContext(ctx context.Context) SRVRecordRecordOutput
func (SRVRecordRecordOutput) Weight ¶
func (o SRVRecordRecordOutput) Weight() pulumi.IntOutput
The Weight of the SRV record.
type SRVRecordState ¶
type SRVRecordState struct { // The FQDN of the DNS SRV Record. Fqdn pulumi.StringPtrInput // The name of the DNS SRV Record. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // One or more `record` blocks as defined below. Records SRVRecordRecordArrayInput // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntPtrInput // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringPtrInput }
func (SRVRecordState) ElementType ¶
func (SRVRecordState) ElementType() reflect.Type
type TxtRecord ¶
type TxtRecord struct { pulumi.CustomResourceState // The FQDN of the DNS TXT Record. Fqdn pulumi.StringOutput `pulumi:"fqdn"` // The name of the DNS TXT Record. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // One or more `record` blocks as defined below. Records TxtRecordRecordArrayOutput `pulumi:"records"` // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntOutput `pulumi:"ttl"` // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringOutput `pulumi:"zoneName"` }
Enables you to manage DNS TXT Records within Azure Private DNS.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleZone, err := privatedns.NewZone(ctx, "exampleZone", &privatedns.ZoneArgs{ ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } _, err = privatedns.NewTxtRecord(ctx, "exampleTxtRecord", &privatedns.TxtRecordArgs{ ResourceGroupName: exampleResourceGroup.Name, ZoneName: exampleZone.Name, Ttl: pulumi.Int(300), Records: privatedns.TxtRecordRecordArray{ &privatedns.TxtRecordRecordArgs{ Value: pulumi.String("v=spf1 mx ~all"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Private DNS TXT Records can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:privatedns/txtRecord:TxtRecord test /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/contoso.com/TXT/test
```
func GetTxtRecord ¶
func GetTxtRecord(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TxtRecordState, opts ...pulumi.ResourceOption) (*TxtRecord, error)
GetTxtRecord gets an existing TxtRecord resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTxtRecord ¶
func NewTxtRecord(ctx *pulumi.Context, name string, args *TxtRecordArgs, opts ...pulumi.ResourceOption) (*TxtRecord, error)
NewTxtRecord registers a new resource with the given unique name, arguments, and options.
func (*TxtRecord) ElementType ¶
func (*TxtRecord) ToTxtRecordOutput ¶
func (i *TxtRecord) ToTxtRecordOutput() TxtRecordOutput
func (*TxtRecord) ToTxtRecordOutputWithContext ¶
func (i *TxtRecord) ToTxtRecordOutputWithContext(ctx context.Context) TxtRecordOutput
type TxtRecordArgs ¶
type TxtRecordArgs struct { // The name of the DNS TXT Record. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // One or more `record` blocks as defined below. Records TxtRecordRecordArrayInput // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntInput // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringInput }
The set of arguments for constructing a TxtRecord resource.
func (TxtRecordArgs) ElementType ¶
func (TxtRecordArgs) ElementType() reflect.Type
type TxtRecordArray ¶
type TxtRecordArray []TxtRecordInput
func (TxtRecordArray) ElementType ¶
func (TxtRecordArray) ElementType() reflect.Type
func (TxtRecordArray) ToTxtRecordArrayOutput ¶
func (i TxtRecordArray) ToTxtRecordArrayOutput() TxtRecordArrayOutput
func (TxtRecordArray) ToTxtRecordArrayOutputWithContext ¶
func (i TxtRecordArray) ToTxtRecordArrayOutputWithContext(ctx context.Context) TxtRecordArrayOutput
type TxtRecordArrayInput ¶
type TxtRecordArrayInput interface { pulumi.Input ToTxtRecordArrayOutput() TxtRecordArrayOutput ToTxtRecordArrayOutputWithContext(context.Context) TxtRecordArrayOutput }
TxtRecordArrayInput is an input type that accepts TxtRecordArray and TxtRecordArrayOutput values. You can construct a concrete instance of `TxtRecordArrayInput` via:
TxtRecordArray{ TxtRecordArgs{...} }
type TxtRecordArrayOutput ¶
type TxtRecordArrayOutput struct{ *pulumi.OutputState }
func (TxtRecordArrayOutput) ElementType ¶
func (TxtRecordArrayOutput) ElementType() reflect.Type
func (TxtRecordArrayOutput) Index ¶
func (o TxtRecordArrayOutput) Index(i pulumi.IntInput) TxtRecordOutput
func (TxtRecordArrayOutput) ToTxtRecordArrayOutput ¶
func (o TxtRecordArrayOutput) ToTxtRecordArrayOutput() TxtRecordArrayOutput
func (TxtRecordArrayOutput) ToTxtRecordArrayOutputWithContext ¶
func (o TxtRecordArrayOutput) ToTxtRecordArrayOutputWithContext(ctx context.Context) TxtRecordArrayOutput
type TxtRecordInput ¶
type TxtRecordInput interface { pulumi.Input ToTxtRecordOutput() TxtRecordOutput ToTxtRecordOutputWithContext(ctx context.Context) TxtRecordOutput }
type TxtRecordMap ¶
type TxtRecordMap map[string]TxtRecordInput
func (TxtRecordMap) ElementType ¶
func (TxtRecordMap) ElementType() reflect.Type
func (TxtRecordMap) ToTxtRecordMapOutput ¶
func (i TxtRecordMap) ToTxtRecordMapOutput() TxtRecordMapOutput
func (TxtRecordMap) ToTxtRecordMapOutputWithContext ¶
func (i TxtRecordMap) ToTxtRecordMapOutputWithContext(ctx context.Context) TxtRecordMapOutput
type TxtRecordMapInput ¶
type TxtRecordMapInput interface { pulumi.Input ToTxtRecordMapOutput() TxtRecordMapOutput ToTxtRecordMapOutputWithContext(context.Context) TxtRecordMapOutput }
TxtRecordMapInput is an input type that accepts TxtRecordMap and TxtRecordMapOutput values. You can construct a concrete instance of `TxtRecordMapInput` via:
TxtRecordMap{ "key": TxtRecordArgs{...} }
type TxtRecordMapOutput ¶
type TxtRecordMapOutput struct{ *pulumi.OutputState }
func (TxtRecordMapOutput) ElementType ¶
func (TxtRecordMapOutput) ElementType() reflect.Type
func (TxtRecordMapOutput) MapIndex ¶
func (o TxtRecordMapOutput) MapIndex(k pulumi.StringInput) TxtRecordOutput
func (TxtRecordMapOutput) ToTxtRecordMapOutput ¶
func (o TxtRecordMapOutput) ToTxtRecordMapOutput() TxtRecordMapOutput
func (TxtRecordMapOutput) ToTxtRecordMapOutputWithContext ¶
func (o TxtRecordMapOutput) ToTxtRecordMapOutputWithContext(ctx context.Context) TxtRecordMapOutput
type TxtRecordOutput ¶
type TxtRecordOutput struct{ *pulumi.OutputState }
func (TxtRecordOutput) ElementType ¶
func (TxtRecordOutput) ElementType() reflect.Type
func (TxtRecordOutput) Fqdn ¶ added in v5.5.0
func (o TxtRecordOutput) Fqdn() pulumi.StringOutput
The FQDN of the DNS TXT Record.
func (TxtRecordOutput) Name ¶ added in v5.5.0
func (o TxtRecordOutput) Name() pulumi.StringOutput
The name of the DNS TXT Record. Changing this forces a new resource to be created.
func (TxtRecordOutput) Records ¶ added in v5.5.0
func (o TxtRecordOutput) Records() TxtRecordRecordArrayOutput
One or more `record` blocks as defined below.
func (TxtRecordOutput) ResourceGroupName ¶ added in v5.5.0
func (o TxtRecordOutput) ResourceGroupName() pulumi.StringOutput
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
func (TxtRecordOutput) Tags ¶ added in v5.5.0
func (o TxtRecordOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (TxtRecordOutput) ToTxtRecordOutput ¶
func (o TxtRecordOutput) ToTxtRecordOutput() TxtRecordOutput
func (TxtRecordOutput) ToTxtRecordOutputWithContext ¶
func (o TxtRecordOutput) ToTxtRecordOutputWithContext(ctx context.Context) TxtRecordOutput
func (TxtRecordOutput) Ttl ¶ added in v5.5.0
func (o TxtRecordOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the DNS record in seconds.
func (TxtRecordOutput) ZoneName ¶ added in v5.5.0
func (o TxtRecordOutput) ZoneName() pulumi.StringOutput
Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created.
type TxtRecordRecord ¶
type TxtRecordRecord struct { // The value of the TXT record. Max length: 1024 characters Value string `pulumi:"value"` }
type TxtRecordRecordArgs ¶
type TxtRecordRecordArgs struct { // The value of the TXT record. Max length: 1024 characters Value pulumi.StringInput `pulumi:"value"` }
func (TxtRecordRecordArgs) ElementType ¶
func (TxtRecordRecordArgs) ElementType() reflect.Type
func (TxtRecordRecordArgs) ToTxtRecordRecordOutput ¶
func (i TxtRecordRecordArgs) ToTxtRecordRecordOutput() TxtRecordRecordOutput
func (TxtRecordRecordArgs) ToTxtRecordRecordOutputWithContext ¶
func (i TxtRecordRecordArgs) ToTxtRecordRecordOutputWithContext(ctx context.Context) TxtRecordRecordOutput
type TxtRecordRecordArray ¶
type TxtRecordRecordArray []TxtRecordRecordInput
func (TxtRecordRecordArray) ElementType ¶
func (TxtRecordRecordArray) ElementType() reflect.Type
func (TxtRecordRecordArray) ToTxtRecordRecordArrayOutput ¶
func (i TxtRecordRecordArray) ToTxtRecordRecordArrayOutput() TxtRecordRecordArrayOutput
func (TxtRecordRecordArray) ToTxtRecordRecordArrayOutputWithContext ¶
func (i TxtRecordRecordArray) ToTxtRecordRecordArrayOutputWithContext(ctx context.Context) TxtRecordRecordArrayOutput
type TxtRecordRecordArrayInput ¶
type TxtRecordRecordArrayInput interface { pulumi.Input ToTxtRecordRecordArrayOutput() TxtRecordRecordArrayOutput ToTxtRecordRecordArrayOutputWithContext(context.Context) TxtRecordRecordArrayOutput }
TxtRecordRecordArrayInput is an input type that accepts TxtRecordRecordArray and TxtRecordRecordArrayOutput values. You can construct a concrete instance of `TxtRecordRecordArrayInput` via:
TxtRecordRecordArray{ TxtRecordRecordArgs{...} }
type TxtRecordRecordArrayOutput ¶
type TxtRecordRecordArrayOutput struct{ *pulumi.OutputState }
func (TxtRecordRecordArrayOutput) ElementType ¶
func (TxtRecordRecordArrayOutput) ElementType() reflect.Type
func (TxtRecordRecordArrayOutput) Index ¶
func (o TxtRecordRecordArrayOutput) Index(i pulumi.IntInput) TxtRecordRecordOutput
func (TxtRecordRecordArrayOutput) ToTxtRecordRecordArrayOutput ¶
func (o TxtRecordRecordArrayOutput) ToTxtRecordRecordArrayOutput() TxtRecordRecordArrayOutput
func (TxtRecordRecordArrayOutput) ToTxtRecordRecordArrayOutputWithContext ¶
func (o TxtRecordRecordArrayOutput) ToTxtRecordRecordArrayOutputWithContext(ctx context.Context) TxtRecordRecordArrayOutput
type TxtRecordRecordInput ¶
type TxtRecordRecordInput interface { pulumi.Input ToTxtRecordRecordOutput() TxtRecordRecordOutput ToTxtRecordRecordOutputWithContext(context.Context) TxtRecordRecordOutput }
TxtRecordRecordInput is an input type that accepts TxtRecordRecordArgs and TxtRecordRecordOutput values. You can construct a concrete instance of `TxtRecordRecordInput` via:
TxtRecordRecordArgs{...}
type TxtRecordRecordOutput ¶
type TxtRecordRecordOutput struct{ *pulumi.OutputState }
func (TxtRecordRecordOutput) ElementType ¶
func (TxtRecordRecordOutput) ElementType() reflect.Type
func (TxtRecordRecordOutput) ToTxtRecordRecordOutput ¶
func (o TxtRecordRecordOutput) ToTxtRecordRecordOutput() TxtRecordRecordOutput
func (TxtRecordRecordOutput) ToTxtRecordRecordOutputWithContext ¶
func (o TxtRecordRecordOutput) ToTxtRecordRecordOutputWithContext(ctx context.Context) TxtRecordRecordOutput
func (TxtRecordRecordOutput) Value ¶
func (o TxtRecordRecordOutput) Value() pulumi.StringOutput
The value of the TXT record. Max length: 1024 characters
type TxtRecordState ¶
type TxtRecordState struct { // The FQDN of the DNS TXT Record. Fqdn pulumi.StringPtrInput // The name of the DNS TXT Record. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // One or more `record` blocks as defined below. Records TxtRecordRecordArrayInput // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Time To Live (TTL) of the DNS record in seconds. Ttl pulumi.IntPtrInput // Specifies the Private DNS Zone where the resource exists. Changing this forces a new resource to be created. ZoneName pulumi.StringPtrInput }
func (TxtRecordState) ElementType ¶
func (TxtRecordState) ElementType() reflect.Type
type Zone ¶
type Zone struct { pulumi.CustomResourceState // The maximum number of record sets that can be created in this Private DNS zone. MaxNumberOfRecordSets pulumi.IntOutput `pulumi:"maxNumberOfRecordSets"` // The maximum number of virtual networks that can be linked to this Private DNS zone. MaxNumberOfVirtualNetworkLinks pulumi.IntOutput `pulumi:"maxNumberOfVirtualNetworkLinks"` // The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled. MaxNumberOfVirtualNetworkLinksWithRegistration pulumi.IntOutput `pulumi:"maxNumberOfVirtualNetworkLinksWithRegistration"` // The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created. // // > **NOTE:** If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the **Private DNS Zone name** schema in the [product documentation](https://docs.microsoft.com/azure/private-link/private-endpoint-dns#virtual-network-and-on-premises-workloads-using-a-dns-forwarder) in order for the two resources to be connected successfully. Name pulumi.StringOutput `pulumi:"name"` // The current number of record sets in this Private DNS zone. NumberOfRecordSets pulumi.IntOutput `pulumi:"numberOfRecordSets"` // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // An `soaRecord` block as defined below. Changing this forces a new resource to be created. SoaRecord ZoneSoaRecordOutput `pulumi:"soaRecord"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Enables you to manage Private DNS zones within Azure DNS. These zones are hosted on Azure's name servers.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = privatedns.NewZone(ctx, "exampleZone", &privatedns.ZoneArgs{ ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } return nil }) }
```
## Import
Private DNS Zones can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:privatedns/zone:Zone zone1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/zone1
```
func GetZone ¶
func GetZone(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ZoneState, opts ...pulumi.ResourceOption) (*Zone, error)
GetZone gets an existing Zone resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewZone ¶
func NewZone(ctx *pulumi.Context, name string, args *ZoneArgs, opts ...pulumi.ResourceOption) (*Zone, error)
NewZone registers a new resource with the given unique name, arguments, and options.
func (*Zone) ElementType ¶
func (*Zone) ToZoneOutput ¶
func (i *Zone) ToZoneOutput() ZoneOutput
func (*Zone) ToZoneOutputWithContext ¶
func (i *Zone) ToZoneOutputWithContext(ctx context.Context) ZoneOutput
type ZoneArgs ¶
type ZoneArgs struct { // The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created. // // > **NOTE:** If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the **Private DNS Zone name** schema in the [product documentation](https://docs.microsoft.com/azure/private-link/private-endpoint-dns#virtual-network-and-on-premises-workloads-using-a-dns-forwarder) in order for the two resources to be connected successfully. Name pulumi.StringPtrInput // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // An `soaRecord` block as defined below. Changing this forces a new resource to be created. SoaRecord ZoneSoaRecordPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a Zone resource.
func (ZoneArgs) ElementType ¶
type ZoneArray ¶
type ZoneArray []ZoneInput
func (ZoneArray) ElementType ¶
func (ZoneArray) ToZoneArrayOutput ¶
func (i ZoneArray) ToZoneArrayOutput() ZoneArrayOutput
func (ZoneArray) ToZoneArrayOutputWithContext ¶
func (i ZoneArray) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput
type ZoneArrayInput ¶
type ZoneArrayInput interface { pulumi.Input ToZoneArrayOutput() ZoneArrayOutput ToZoneArrayOutputWithContext(context.Context) ZoneArrayOutput }
ZoneArrayInput is an input type that accepts ZoneArray and ZoneArrayOutput values. You can construct a concrete instance of `ZoneArrayInput` via:
ZoneArray{ ZoneArgs{...} }
type ZoneArrayOutput ¶
type ZoneArrayOutput struct{ *pulumi.OutputState }
func (ZoneArrayOutput) ElementType ¶
func (ZoneArrayOutput) ElementType() reflect.Type
func (ZoneArrayOutput) Index ¶
func (o ZoneArrayOutput) Index(i pulumi.IntInput) ZoneOutput
func (ZoneArrayOutput) ToZoneArrayOutput ¶
func (o ZoneArrayOutput) ToZoneArrayOutput() ZoneArrayOutput
func (ZoneArrayOutput) ToZoneArrayOutputWithContext ¶
func (o ZoneArrayOutput) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput
type ZoneInput ¶
type ZoneInput interface { pulumi.Input ToZoneOutput() ZoneOutput ToZoneOutputWithContext(ctx context.Context) ZoneOutput }
type ZoneMap ¶
func (ZoneMap) ElementType ¶
func (ZoneMap) ToZoneMapOutput ¶
func (i ZoneMap) ToZoneMapOutput() ZoneMapOutput
func (ZoneMap) ToZoneMapOutputWithContext ¶
func (i ZoneMap) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput
type ZoneMapInput ¶
type ZoneMapInput interface { pulumi.Input ToZoneMapOutput() ZoneMapOutput ToZoneMapOutputWithContext(context.Context) ZoneMapOutput }
ZoneMapInput is an input type that accepts ZoneMap and ZoneMapOutput values. You can construct a concrete instance of `ZoneMapInput` via:
ZoneMap{ "key": ZoneArgs{...} }
type ZoneMapOutput ¶
type ZoneMapOutput struct{ *pulumi.OutputState }
func (ZoneMapOutput) ElementType ¶
func (ZoneMapOutput) ElementType() reflect.Type
func (ZoneMapOutput) MapIndex ¶
func (o ZoneMapOutput) MapIndex(k pulumi.StringInput) ZoneOutput
func (ZoneMapOutput) ToZoneMapOutput ¶
func (o ZoneMapOutput) ToZoneMapOutput() ZoneMapOutput
func (ZoneMapOutput) ToZoneMapOutputWithContext ¶
func (o ZoneMapOutput) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput
type ZoneOutput ¶
type ZoneOutput struct{ *pulumi.OutputState }
func (ZoneOutput) ElementType ¶
func (ZoneOutput) ElementType() reflect.Type
func (ZoneOutput) MaxNumberOfRecordSets ¶ added in v5.5.0
func (o ZoneOutput) MaxNumberOfRecordSets() pulumi.IntOutput
The maximum number of record sets that can be created in this Private DNS zone.
func (ZoneOutput) MaxNumberOfVirtualNetworkLinks ¶ added in v5.5.0
func (o ZoneOutput) MaxNumberOfVirtualNetworkLinks() pulumi.IntOutput
The maximum number of virtual networks that can be linked to this Private DNS zone.
func (ZoneOutput) MaxNumberOfVirtualNetworkLinksWithRegistration ¶ added in v5.5.0
func (o ZoneOutput) MaxNumberOfVirtualNetworkLinksWithRegistration() pulumi.IntOutput
The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled.
func (ZoneOutput) Name ¶ added in v5.5.0
func (o ZoneOutput) Name() pulumi.StringOutput
The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created.
> **NOTE:** If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the **Private DNS Zone name** schema in the [product documentation](https://docs.microsoft.com/azure/private-link/private-endpoint-dns#virtual-network-and-on-premises-workloads-using-a-dns-forwarder) in order for the two resources to be connected successfully.
func (ZoneOutput) NumberOfRecordSets ¶ added in v5.5.0
func (o ZoneOutput) NumberOfRecordSets() pulumi.IntOutput
The current number of record sets in this Private DNS zone.
func (ZoneOutput) ResourceGroupName ¶ added in v5.5.0
func (o ZoneOutput) ResourceGroupName() pulumi.StringOutput
Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
func (ZoneOutput) SoaRecord ¶ added in v5.5.0
func (o ZoneOutput) SoaRecord() ZoneSoaRecordOutput
An `soaRecord` block as defined below. Changing this forces a new resource to be created.
func (ZoneOutput) Tags ¶ added in v5.5.0
func (o ZoneOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (ZoneOutput) ToZoneOutput ¶
func (o ZoneOutput) ToZoneOutput() ZoneOutput
func (ZoneOutput) ToZoneOutputWithContext ¶
func (o ZoneOutput) ToZoneOutputWithContext(ctx context.Context) ZoneOutput
type ZoneSoaRecord ¶
type ZoneSoaRecord struct { // The email contact for the SOA record. Email string `pulumi:"email"` // The expire time for the SOA record. Defaults to `2419200`. ExpireTime *int `pulumi:"expireTime"` // The fully qualified domain name of the Record Set. Fqdn *string `pulumi:"fqdn"` // The domain name of the authoritative name server for the SOA record. HostName *string `pulumi:"hostName"` // The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration. Defaults to `10`. MinimumTtl *int `pulumi:"minimumTtl"` // The refresh time for the SOA record. Defaults to `3600`. RefreshTime *int `pulumi:"refreshTime"` // The retry time for the SOA record. Defaults to `300`. RetryTime *int `pulumi:"retryTime"` // The serial number for the SOA record. SerialNumber *int `pulumi:"serialNumber"` // A mapping of tags to assign to the Record Set. Tags map[string]string `pulumi:"tags"` // The Time To Live of the SOA Record in seconds. Defaults to `3600`. Ttl *int `pulumi:"ttl"` }
type ZoneSoaRecordArgs ¶
type ZoneSoaRecordArgs struct { // The email contact for the SOA record. Email pulumi.StringInput `pulumi:"email"` // The expire time for the SOA record. Defaults to `2419200`. ExpireTime pulumi.IntPtrInput `pulumi:"expireTime"` // The fully qualified domain name of the Record Set. Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` // The domain name of the authoritative name server for the SOA record. HostName pulumi.StringPtrInput `pulumi:"hostName"` // The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration. Defaults to `10`. MinimumTtl pulumi.IntPtrInput `pulumi:"minimumTtl"` // The refresh time for the SOA record. Defaults to `3600`. RefreshTime pulumi.IntPtrInput `pulumi:"refreshTime"` // The retry time for the SOA record. Defaults to `300`. RetryTime pulumi.IntPtrInput `pulumi:"retryTime"` // The serial number for the SOA record. SerialNumber pulumi.IntPtrInput `pulumi:"serialNumber"` // A mapping of tags to assign to the Record Set. Tags pulumi.StringMapInput `pulumi:"tags"` // The Time To Live of the SOA Record in seconds. Defaults to `3600`. Ttl pulumi.IntPtrInput `pulumi:"ttl"` }
func (ZoneSoaRecordArgs) ElementType ¶
func (ZoneSoaRecordArgs) ElementType() reflect.Type
func (ZoneSoaRecordArgs) ToZoneSoaRecordOutput ¶
func (i ZoneSoaRecordArgs) ToZoneSoaRecordOutput() ZoneSoaRecordOutput
func (ZoneSoaRecordArgs) ToZoneSoaRecordOutputWithContext ¶
func (i ZoneSoaRecordArgs) ToZoneSoaRecordOutputWithContext(ctx context.Context) ZoneSoaRecordOutput
func (ZoneSoaRecordArgs) ToZoneSoaRecordPtrOutput ¶
func (i ZoneSoaRecordArgs) ToZoneSoaRecordPtrOutput() ZoneSoaRecordPtrOutput
func (ZoneSoaRecordArgs) ToZoneSoaRecordPtrOutputWithContext ¶
func (i ZoneSoaRecordArgs) ToZoneSoaRecordPtrOutputWithContext(ctx context.Context) ZoneSoaRecordPtrOutput
type ZoneSoaRecordInput ¶
type ZoneSoaRecordInput interface { pulumi.Input ToZoneSoaRecordOutput() ZoneSoaRecordOutput ToZoneSoaRecordOutputWithContext(context.Context) ZoneSoaRecordOutput }
ZoneSoaRecordInput is an input type that accepts ZoneSoaRecordArgs and ZoneSoaRecordOutput values. You can construct a concrete instance of `ZoneSoaRecordInput` via:
ZoneSoaRecordArgs{...}
type ZoneSoaRecordOutput ¶
type ZoneSoaRecordOutput struct{ *pulumi.OutputState }
func (ZoneSoaRecordOutput) ElementType ¶
func (ZoneSoaRecordOutput) ElementType() reflect.Type
func (ZoneSoaRecordOutput) Email ¶
func (o ZoneSoaRecordOutput) Email() pulumi.StringOutput
The email contact for the SOA record.
func (ZoneSoaRecordOutput) ExpireTime ¶
func (o ZoneSoaRecordOutput) ExpireTime() pulumi.IntPtrOutput
The expire time for the SOA record. Defaults to `2419200`.
func (ZoneSoaRecordOutput) Fqdn ¶
func (o ZoneSoaRecordOutput) Fqdn() pulumi.StringPtrOutput
The fully qualified domain name of the Record Set.
func (ZoneSoaRecordOutput) HostName ¶
func (o ZoneSoaRecordOutput) HostName() pulumi.StringPtrOutput
The domain name of the authoritative name server for the SOA record.
func (ZoneSoaRecordOutput) MinimumTtl ¶
func (o ZoneSoaRecordOutput) MinimumTtl() pulumi.IntPtrOutput
The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration. Defaults to `10`.
func (ZoneSoaRecordOutput) RefreshTime ¶
func (o ZoneSoaRecordOutput) RefreshTime() pulumi.IntPtrOutput
The refresh time for the SOA record. Defaults to `3600`.
func (ZoneSoaRecordOutput) RetryTime ¶
func (o ZoneSoaRecordOutput) RetryTime() pulumi.IntPtrOutput
The retry time for the SOA record. Defaults to `300`.
func (ZoneSoaRecordOutput) SerialNumber ¶
func (o ZoneSoaRecordOutput) SerialNumber() pulumi.IntPtrOutput
The serial number for the SOA record.
func (ZoneSoaRecordOutput) Tags ¶
func (o ZoneSoaRecordOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the Record Set.
func (ZoneSoaRecordOutput) ToZoneSoaRecordOutput ¶
func (o ZoneSoaRecordOutput) ToZoneSoaRecordOutput() ZoneSoaRecordOutput
func (ZoneSoaRecordOutput) ToZoneSoaRecordOutputWithContext ¶
func (o ZoneSoaRecordOutput) ToZoneSoaRecordOutputWithContext(ctx context.Context) ZoneSoaRecordOutput
func (ZoneSoaRecordOutput) ToZoneSoaRecordPtrOutput ¶
func (o ZoneSoaRecordOutput) ToZoneSoaRecordPtrOutput() ZoneSoaRecordPtrOutput
func (ZoneSoaRecordOutput) ToZoneSoaRecordPtrOutputWithContext ¶
func (o ZoneSoaRecordOutput) ToZoneSoaRecordPtrOutputWithContext(ctx context.Context) ZoneSoaRecordPtrOutput
func (ZoneSoaRecordOutput) Ttl ¶
func (o ZoneSoaRecordOutput) Ttl() pulumi.IntPtrOutput
The Time To Live of the SOA Record in seconds. Defaults to `3600`.
type ZoneSoaRecordPtrInput ¶
type ZoneSoaRecordPtrInput interface { pulumi.Input ToZoneSoaRecordPtrOutput() ZoneSoaRecordPtrOutput ToZoneSoaRecordPtrOutputWithContext(context.Context) ZoneSoaRecordPtrOutput }
ZoneSoaRecordPtrInput is an input type that accepts ZoneSoaRecordArgs, ZoneSoaRecordPtr and ZoneSoaRecordPtrOutput values. You can construct a concrete instance of `ZoneSoaRecordPtrInput` via:
ZoneSoaRecordArgs{...} or: nil
func ZoneSoaRecordPtr ¶
func ZoneSoaRecordPtr(v *ZoneSoaRecordArgs) ZoneSoaRecordPtrInput
type ZoneSoaRecordPtrOutput ¶
type ZoneSoaRecordPtrOutput struct{ *pulumi.OutputState }
func (ZoneSoaRecordPtrOutput) Elem ¶
func (o ZoneSoaRecordPtrOutput) Elem() ZoneSoaRecordOutput
func (ZoneSoaRecordPtrOutput) ElementType ¶
func (ZoneSoaRecordPtrOutput) ElementType() reflect.Type
func (ZoneSoaRecordPtrOutput) Email ¶
func (o ZoneSoaRecordPtrOutput) Email() pulumi.StringPtrOutput
The email contact for the SOA record.
func (ZoneSoaRecordPtrOutput) ExpireTime ¶
func (o ZoneSoaRecordPtrOutput) ExpireTime() pulumi.IntPtrOutput
The expire time for the SOA record. Defaults to `2419200`.
func (ZoneSoaRecordPtrOutput) Fqdn ¶
func (o ZoneSoaRecordPtrOutput) Fqdn() pulumi.StringPtrOutput
The fully qualified domain name of the Record Set.
func (ZoneSoaRecordPtrOutput) HostName ¶
func (o ZoneSoaRecordPtrOutput) HostName() pulumi.StringPtrOutput
The domain name of the authoritative name server for the SOA record.
func (ZoneSoaRecordPtrOutput) MinimumTtl ¶
func (o ZoneSoaRecordPtrOutput) MinimumTtl() pulumi.IntPtrOutput
The minimum Time To Live for the SOA record. By convention, it is used to determine the negative caching duration. Defaults to `10`.
func (ZoneSoaRecordPtrOutput) RefreshTime ¶
func (o ZoneSoaRecordPtrOutput) RefreshTime() pulumi.IntPtrOutput
The refresh time for the SOA record. Defaults to `3600`.
func (ZoneSoaRecordPtrOutput) RetryTime ¶
func (o ZoneSoaRecordPtrOutput) RetryTime() pulumi.IntPtrOutput
The retry time for the SOA record. Defaults to `300`.
func (ZoneSoaRecordPtrOutput) SerialNumber ¶
func (o ZoneSoaRecordPtrOutput) SerialNumber() pulumi.IntPtrOutput
The serial number for the SOA record.
func (ZoneSoaRecordPtrOutput) Tags ¶
func (o ZoneSoaRecordPtrOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the Record Set.
func (ZoneSoaRecordPtrOutput) ToZoneSoaRecordPtrOutput ¶
func (o ZoneSoaRecordPtrOutput) ToZoneSoaRecordPtrOutput() ZoneSoaRecordPtrOutput
func (ZoneSoaRecordPtrOutput) ToZoneSoaRecordPtrOutputWithContext ¶
func (o ZoneSoaRecordPtrOutput) ToZoneSoaRecordPtrOutputWithContext(ctx context.Context) ZoneSoaRecordPtrOutput
func (ZoneSoaRecordPtrOutput) Ttl ¶
func (o ZoneSoaRecordPtrOutput) Ttl() pulumi.IntPtrOutput
The Time To Live of the SOA Record in seconds. Defaults to `3600`.
type ZoneState ¶
type ZoneState struct { // The maximum number of record sets that can be created in this Private DNS zone. MaxNumberOfRecordSets pulumi.IntPtrInput // The maximum number of virtual networks that can be linked to this Private DNS zone. MaxNumberOfVirtualNetworkLinks pulumi.IntPtrInput // The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled. MaxNumberOfVirtualNetworkLinksWithRegistration pulumi.IntPtrInput // The name of the Private DNS Zone. Must be a valid domain name. Changing this forces a new resource to be created. // // > **NOTE:** If you are going to be using the Private DNS Zone with a Private Endpoint the name of the Private DNS Zone must follow the **Private DNS Zone name** schema in the [product documentation](https://docs.microsoft.com/azure/private-link/private-endpoint-dns#virtual-network-and-on-premises-workloads-using-a-dns-forwarder) in order for the two resources to be connected successfully. Name pulumi.StringPtrInput // The current number of record sets in this Private DNS zone. NumberOfRecordSets pulumi.IntPtrInput // Specifies the resource group where the resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // An `soaRecord` block as defined below. Changing this forces a new resource to be created. SoaRecord ZoneSoaRecordPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
func (ZoneState) ElementType ¶
type ZoneVirtualNetworkLink ¶
type ZoneVirtualNetworkLink struct { pulumi.CustomResourceState // The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created. PrivateDnsZoneName pulumi.StringOutput `pulumi:"privateDnsZoneName"` // Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to `false`. RegistrationEnabled pulumi.BoolPtrOutput `pulumi:"registrationEnabled"` // Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created. VirtualNetworkId pulumi.StringOutput `pulumi:"virtualNetworkId"` }
Enables you to manage Private DNS zone Virtual Network Links. These Links enable DNS resolution and registration inside Azure Virtual Networks using Azure Private DNS.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleZone, err := privatedns.NewZone(ctx, "exampleZone", &privatedns.ZoneArgs{ ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } _, err = privatedns.NewZoneVirtualNetworkLink(ctx, "exampleZoneVirtualNetworkLink", &privatedns.ZoneVirtualNetworkLinkArgs{ ResourceGroupName: exampleResourceGroup.Name, PrivateDnsZoneName: exampleZone.Name, VirtualNetworkId: exampleVirtualNetwork.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Private DNS Zone Virtual Network Links can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:privatedns/zoneVirtualNetworkLink:ZoneVirtualNetworkLink link1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/privateDnsZones/zone1.com/virtualNetworkLinks/myVnetLink1
```
func GetZoneVirtualNetworkLink ¶
func GetZoneVirtualNetworkLink(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ZoneVirtualNetworkLinkState, opts ...pulumi.ResourceOption) (*ZoneVirtualNetworkLink, error)
GetZoneVirtualNetworkLink gets an existing ZoneVirtualNetworkLink resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewZoneVirtualNetworkLink ¶
func NewZoneVirtualNetworkLink(ctx *pulumi.Context, name string, args *ZoneVirtualNetworkLinkArgs, opts ...pulumi.ResourceOption) (*ZoneVirtualNetworkLink, error)
NewZoneVirtualNetworkLink registers a new resource with the given unique name, arguments, and options.
func (*ZoneVirtualNetworkLink) ElementType ¶
func (*ZoneVirtualNetworkLink) ElementType() reflect.Type
func (*ZoneVirtualNetworkLink) ToZoneVirtualNetworkLinkOutput ¶
func (i *ZoneVirtualNetworkLink) ToZoneVirtualNetworkLinkOutput() ZoneVirtualNetworkLinkOutput
func (*ZoneVirtualNetworkLink) ToZoneVirtualNetworkLinkOutputWithContext ¶
func (i *ZoneVirtualNetworkLink) ToZoneVirtualNetworkLinkOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkOutput
type ZoneVirtualNetworkLinkArgs ¶
type ZoneVirtualNetworkLinkArgs struct { // The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created. PrivateDnsZoneName pulumi.StringInput // Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to `false`. RegistrationEnabled pulumi.BoolPtrInput // Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created. VirtualNetworkId pulumi.StringInput }
The set of arguments for constructing a ZoneVirtualNetworkLink resource.
func (ZoneVirtualNetworkLinkArgs) ElementType ¶
func (ZoneVirtualNetworkLinkArgs) ElementType() reflect.Type
type ZoneVirtualNetworkLinkArray ¶
type ZoneVirtualNetworkLinkArray []ZoneVirtualNetworkLinkInput
func (ZoneVirtualNetworkLinkArray) ElementType ¶
func (ZoneVirtualNetworkLinkArray) ElementType() reflect.Type
func (ZoneVirtualNetworkLinkArray) ToZoneVirtualNetworkLinkArrayOutput ¶
func (i ZoneVirtualNetworkLinkArray) ToZoneVirtualNetworkLinkArrayOutput() ZoneVirtualNetworkLinkArrayOutput
func (ZoneVirtualNetworkLinkArray) ToZoneVirtualNetworkLinkArrayOutputWithContext ¶
func (i ZoneVirtualNetworkLinkArray) ToZoneVirtualNetworkLinkArrayOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkArrayOutput
type ZoneVirtualNetworkLinkArrayInput ¶
type ZoneVirtualNetworkLinkArrayInput interface { pulumi.Input ToZoneVirtualNetworkLinkArrayOutput() ZoneVirtualNetworkLinkArrayOutput ToZoneVirtualNetworkLinkArrayOutputWithContext(context.Context) ZoneVirtualNetworkLinkArrayOutput }
ZoneVirtualNetworkLinkArrayInput is an input type that accepts ZoneVirtualNetworkLinkArray and ZoneVirtualNetworkLinkArrayOutput values. You can construct a concrete instance of `ZoneVirtualNetworkLinkArrayInput` via:
ZoneVirtualNetworkLinkArray{ ZoneVirtualNetworkLinkArgs{...} }
type ZoneVirtualNetworkLinkArrayOutput ¶
type ZoneVirtualNetworkLinkArrayOutput struct{ *pulumi.OutputState }
func (ZoneVirtualNetworkLinkArrayOutput) ElementType ¶
func (ZoneVirtualNetworkLinkArrayOutput) ElementType() reflect.Type
func (ZoneVirtualNetworkLinkArrayOutput) Index ¶
func (o ZoneVirtualNetworkLinkArrayOutput) Index(i pulumi.IntInput) ZoneVirtualNetworkLinkOutput
func (ZoneVirtualNetworkLinkArrayOutput) ToZoneVirtualNetworkLinkArrayOutput ¶
func (o ZoneVirtualNetworkLinkArrayOutput) ToZoneVirtualNetworkLinkArrayOutput() ZoneVirtualNetworkLinkArrayOutput
func (ZoneVirtualNetworkLinkArrayOutput) ToZoneVirtualNetworkLinkArrayOutputWithContext ¶
func (o ZoneVirtualNetworkLinkArrayOutput) ToZoneVirtualNetworkLinkArrayOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkArrayOutput
type ZoneVirtualNetworkLinkInput ¶
type ZoneVirtualNetworkLinkInput interface { pulumi.Input ToZoneVirtualNetworkLinkOutput() ZoneVirtualNetworkLinkOutput ToZoneVirtualNetworkLinkOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkOutput }
type ZoneVirtualNetworkLinkMap ¶
type ZoneVirtualNetworkLinkMap map[string]ZoneVirtualNetworkLinkInput
func (ZoneVirtualNetworkLinkMap) ElementType ¶
func (ZoneVirtualNetworkLinkMap) ElementType() reflect.Type
func (ZoneVirtualNetworkLinkMap) ToZoneVirtualNetworkLinkMapOutput ¶
func (i ZoneVirtualNetworkLinkMap) ToZoneVirtualNetworkLinkMapOutput() ZoneVirtualNetworkLinkMapOutput
func (ZoneVirtualNetworkLinkMap) ToZoneVirtualNetworkLinkMapOutputWithContext ¶
func (i ZoneVirtualNetworkLinkMap) ToZoneVirtualNetworkLinkMapOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkMapOutput
type ZoneVirtualNetworkLinkMapInput ¶
type ZoneVirtualNetworkLinkMapInput interface { pulumi.Input ToZoneVirtualNetworkLinkMapOutput() ZoneVirtualNetworkLinkMapOutput ToZoneVirtualNetworkLinkMapOutputWithContext(context.Context) ZoneVirtualNetworkLinkMapOutput }
ZoneVirtualNetworkLinkMapInput is an input type that accepts ZoneVirtualNetworkLinkMap and ZoneVirtualNetworkLinkMapOutput values. You can construct a concrete instance of `ZoneVirtualNetworkLinkMapInput` via:
ZoneVirtualNetworkLinkMap{ "key": ZoneVirtualNetworkLinkArgs{...} }
type ZoneVirtualNetworkLinkMapOutput ¶
type ZoneVirtualNetworkLinkMapOutput struct{ *pulumi.OutputState }
func (ZoneVirtualNetworkLinkMapOutput) ElementType ¶
func (ZoneVirtualNetworkLinkMapOutput) ElementType() reflect.Type
func (ZoneVirtualNetworkLinkMapOutput) MapIndex ¶
func (o ZoneVirtualNetworkLinkMapOutput) MapIndex(k pulumi.StringInput) ZoneVirtualNetworkLinkOutput
func (ZoneVirtualNetworkLinkMapOutput) ToZoneVirtualNetworkLinkMapOutput ¶
func (o ZoneVirtualNetworkLinkMapOutput) ToZoneVirtualNetworkLinkMapOutput() ZoneVirtualNetworkLinkMapOutput
func (ZoneVirtualNetworkLinkMapOutput) ToZoneVirtualNetworkLinkMapOutputWithContext ¶
func (o ZoneVirtualNetworkLinkMapOutput) ToZoneVirtualNetworkLinkMapOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkMapOutput
type ZoneVirtualNetworkLinkOutput ¶
type ZoneVirtualNetworkLinkOutput struct{ *pulumi.OutputState }
func (ZoneVirtualNetworkLinkOutput) ElementType ¶
func (ZoneVirtualNetworkLinkOutput) ElementType() reflect.Type
func (ZoneVirtualNetworkLinkOutput) Name ¶ added in v5.5.0
func (o ZoneVirtualNetworkLinkOutput) Name() pulumi.StringOutput
The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created.
func (ZoneVirtualNetworkLinkOutput) PrivateDnsZoneName ¶ added in v5.5.0
func (o ZoneVirtualNetworkLinkOutput) PrivateDnsZoneName() pulumi.StringOutput
The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created.
func (ZoneVirtualNetworkLinkOutput) RegistrationEnabled ¶ added in v5.5.0
func (o ZoneVirtualNetworkLinkOutput) RegistrationEnabled() pulumi.BoolPtrOutput
Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to `false`.
func (ZoneVirtualNetworkLinkOutput) ResourceGroupName ¶ added in v5.5.0
func (o ZoneVirtualNetworkLinkOutput) ResourceGroupName() pulumi.StringOutput
Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created.
func (ZoneVirtualNetworkLinkOutput) Tags ¶ added in v5.5.0
func (o ZoneVirtualNetworkLinkOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (ZoneVirtualNetworkLinkOutput) ToZoneVirtualNetworkLinkOutput ¶
func (o ZoneVirtualNetworkLinkOutput) ToZoneVirtualNetworkLinkOutput() ZoneVirtualNetworkLinkOutput
func (ZoneVirtualNetworkLinkOutput) ToZoneVirtualNetworkLinkOutputWithContext ¶
func (o ZoneVirtualNetworkLinkOutput) ToZoneVirtualNetworkLinkOutputWithContext(ctx context.Context) ZoneVirtualNetworkLinkOutput
func (ZoneVirtualNetworkLinkOutput) VirtualNetworkId ¶ added in v5.5.0
func (o ZoneVirtualNetworkLinkOutput) VirtualNetworkId() pulumi.StringOutput
The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created.
type ZoneVirtualNetworkLinkState ¶
type ZoneVirtualNetworkLinkState struct { // The name of the Private DNS Zone Virtual Network Link. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created. PrivateDnsZoneName pulumi.StringPtrInput // Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled? Defaults to `false`. RegistrationEnabled pulumi.BoolPtrInput // Specifies the resource group where the Private DNS Zone exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The ID of the Virtual Network that should be linked to the DNS Zone. Changing this forces a new resource to be created. VirtualNetworkId pulumi.StringPtrInput }
func (ZoneVirtualNetworkLinkState) ElementType ¶
func (ZoneVirtualNetworkLinkState) ElementType() reflect.Type
Source Files ¶
- aaaarecord.go
- arecord.go
- cnameRecord.go
- getAAAARecord.go
- getARecord.go
- getCnameRecord.go
- getDnsZone.go
- getMxRecord.go
- getPtrRecord.go
- getResolver.go
- getResolverDnsForwardingRuleset.go
- getResolverForwardingRule.go
- getResolverInboundEndpoint.go
- getResolverOutboundEndpoint.go
- getResolverVirtualNetworkLink.go
- getSoaRecord.go
- getSrvRecord.go
- getTxtRecord.go
- getZoneVirtualNetworkLink.go
- init.go
- linkService.go
- mxRecord.go
- ptrrecord.go
- pulumiTypes.go
- resolver.go
- resolverDnsForwardingRuleset.go
- resolverForwardingRule.go
- resolverInboundEndpoint.go
- resolverOutboundEndpoint.go
- resolverVirtualNetworkLink.go
- srvrecord.go
- txtRecord.go
- zone.go
- zoneVirtualNetworkLink.go