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 ResolverInboundEndpointIpConfigurations
- type ResolverInboundEndpointIpConfigurationsArgs
- func (ResolverInboundEndpointIpConfigurationsArgs) ElementType() reflect.Type
- func (i ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsOutput() ResolverInboundEndpointIpConfigurationsOutput
- func (i ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationsOutput
- func (i ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsPtrOutput() ResolverInboundEndpointIpConfigurationsPtrOutput
- func (i ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsPtrOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationsPtrOutput
- type ResolverInboundEndpointIpConfigurationsInput
- type ResolverInboundEndpointIpConfigurationsOutput
- func (ResolverInboundEndpointIpConfigurationsOutput) ElementType() reflect.Type
- func (o ResolverInboundEndpointIpConfigurationsOutput) PrivateIpAddress() pulumi.StringPtrOutput
- func (o ResolverInboundEndpointIpConfigurationsOutput) PrivateIpAllocationMethod() pulumi.StringPtrOutput
- func (o ResolverInboundEndpointIpConfigurationsOutput) SubnetId() pulumi.StringOutput
- func (o ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsOutput() ResolverInboundEndpointIpConfigurationsOutput
- func (o ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationsOutput
- func (o ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsPtrOutput() ResolverInboundEndpointIpConfigurationsPtrOutput
- func (o ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsPtrOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationsPtrOutput
- type ResolverInboundEndpointIpConfigurationsPtrInput
- type ResolverInboundEndpointIpConfigurationsPtrOutput
- func (o ResolverInboundEndpointIpConfigurationsPtrOutput) Elem() ResolverInboundEndpointIpConfigurationsOutput
- func (ResolverInboundEndpointIpConfigurationsPtrOutput) ElementType() reflect.Type
- func (o ResolverInboundEndpointIpConfigurationsPtrOutput) PrivateIpAddress() pulumi.StringPtrOutput
- func (o ResolverInboundEndpointIpConfigurationsPtrOutput) PrivateIpAllocationMethod() pulumi.StringPtrOutput
- func (o ResolverInboundEndpointIpConfigurationsPtrOutput) SubnetId() pulumi.StringPtrOutput
- func (o ResolverInboundEndpointIpConfigurationsPtrOutput) ToResolverInboundEndpointIpConfigurationsPtrOutput() ResolverInboundEndpointIpConfigurationsPtrOutput
- func (o ResolverInboundEndpointIpConfigurationsPtrOutput) ToResolverInboundEndpointIpConfigurationsPtrOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationsPtrOutput
- 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() ResolverInboundEndpointIpConfigurationsOutput
- 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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/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{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } test, err := privatedns.NewZone(ctx, "test", &privatedns.ZoneArgs{ Name: pulumi.String("mydomain.com"), ResourceGroupName: example.Name, }) if err != nil { return err } _, err = privatedns.NewAAAARecord(ctx, "test", &privatedns.AAAARecordArgs{ Name: pulumi.String("test"), ZoneName: test.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 ¶
func (o AAAARecordOutput) Fqdn() pulumi.StringOutput
The FQDN of the DNS AAAA Record.
func (AAAARecordOutput) Name ¶
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 ¶
func (o AAAARecordOutput) Records() pulumi.StringArrayOutput
A list of IPv6 Addresses.
func (AAAARecordOutput) ResourceGroupName ¶
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 ¶
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 ¶
func (o AAAARecordOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the DNS record in seconds.
func (AAAARecordOutput) ZoneName ¶
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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/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{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleZone, err := privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{ Name: pulumi.String("mydomain.com"), ResourceGroupName: example.Name, }) if err != nil { return err } _, err = privatedns.NewARecord(ctx, "example", &privatedns.ARecordArgs{ Name: pulumi.String("test"), ZoneName: exampleZone.Name, ResourceGroupName: example.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 ¶
func (o ARecordOutput) Fqdn() pulumi.StringOutput
The FQDN of the DNS A Record.
func (ARecordOutput) Name ¶
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 ¶
func (o ARecordOutput) Records() pulumi.StringArrayOutput
List of IPv4 Addresses.
func (ARecordOutput) ResourceGroupName ¶
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 ¶
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 ¶
func (o ARecordOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the DNS record in seconds.
func (ARecordOutput) ZoneName ¶
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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/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{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleZone, err := privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{ Name: pulumi.String("mydomain.com"), ResourceGroupName: example.Name, }) if err != nil { return err } _, err = privatedns.NewCnameRecord(ctx, "example", &privatedns.CnameRecordArgs{ Name: pulumi.String("test"), ZoneName: exampleZone.Name, ResourceGroupName: example.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 ¶
func (o CnameRecordOutput) Fqdn() pulumi.StringOutput
The FQDN of the DNS CNAME Record.
func (CnameRecordOutput) Name ¶
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 ¶
func (o CnameRecordOutput) Record() pulumi.StringOutput
The target of the CNAME.
func (CnameRecordOutput) ResourceGroupName ¶
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 ¶
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 ¶
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 ¶
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/v6/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 ¶
type GetMxRecordRecordArgs ¶
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 ¶
func (GetMxRecordRecordArgs) ElementType() reflect.Type
func (GetMxRecordRecordArgs) ToGetMxRecordRecordOutput ¶
func (i GetMxRecordRecordArgs) ToGetMxRecordRecordOutput() GetMxRecordRecordOutput
func (GetMxRecordRecordArgs) ToGetMxRecordRecordOutputWithContext ¶
func (i GetMxRecordRecordArgs) ToGetMxRecordRecordOutputWithContext(ctx context.Context) GetMxRecordRecordOutput
type GetMxRecordRecordArray ¶
type GetMxRecordRecordArray []GetMxRecordRecordInput
func (GetMxRecordRecordArray) ElementType ¶
func (GetMxRecordRecordArray) ElementType() reflect.Type
func (GetMxRecordRecordArray) ToGetMxRecordRecordArrayOutput ¶
func (i GetMxRecordRecordArray) ToGetMxRecordRecordArrayOutput() GetMxRecordRecordArrayOutput
func (GetMxRecordRecordArray) ToGetMxRecordRecordArrayOutputWithContext ¶
func (i GetMxRecordRecordArray) ToGetMxRecordRecordArrayOutputWithContext(ctx context.Context) GetMxRecordRecordArrayOutput
type GetMxRecordRecordArrayInput ¶
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 ¶
type GetMxRecordRecordArrayOutput struct{ *pulumi.OutputState }
func (GetMxRecordRecordArrayOutput) ElementType ¶
func (GetMxRecordRecordArrayOutput) ElementType() reflect.Type
func (GetMxRecordRecordArrayOutput) Index ¶
func (o GetMxRecordRecordArrayOutput) Index(i pulumi.IntInput) GetMxRecordRecordOutput
func (GetMxRecordRecordArrayOutput) ToGetMxRecordRecordArrayOutput ¶
func (o GetMxRecordRecordArrayOutput) ToGetMxRecordRecordArrayOutput() GetMxRecordRecordArrayOutput
func (GetMxRecordRecordArrayOutput) ToGetMxRecordRecordArrayOutputWithContext ¶
func (o GetMxRecordRecordArrayOutput) ToGetMxRecordRecordArrayOutputWithContext(ctx context.Context) GetMxRecordRecordArrayOutput
type GetMxRecordRecordInput ¶
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 ¶
type GetMxRecordRecordOutput struct{ *pulumi.OutputState }
func (GetMxRecordRecordOutput) ElementType ¶
func (GetMxRecordRecordOutput) ElementType() reflect.Type
func (GetMxRecordRecordOutput) Exchange ¶
func (o GetMxRecordRecordOutput) Exchange() pulumi.StringOutput
The mail server responsible for the domain covered by the MX record.
func (GetMxRecordRecordOutput) Preference ¶
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 ¶
func (o GetMxRecordRecordOutput) ToGetMxRecordRecordOutput() GetMxRecordRecordOutput
func (GetMxRecordRecordOutput) ToGetMxRecordRecordOutputWithContext ¶
func (o GetMxRecordRecordOutput) ToGetMxRecordRecordOutputWithContext(ctx context.Context) GetMxRecordRecordOutput
type GetPtrRecordArgs ¶
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 ¶
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 ¶
func (GetPtrRecordOutputArgs) ElementType() reflect.Type
type GetPtrRecordResult ¶
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 ¶
func GetPtrRecord(ctx *pulumi.Context, args *GetPtrRecordArgs, opts ...pulumi.InvokeOption) (*GetPtrRecordResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := privatedns.NewPTRRecord(ctx, "example", &privatedns.PTRRecordArgs{ Name: pulumi.String("test"), ZoneName: pulumi.String("test-zone"), ResourceGroupName: pulumi.String("test-rg"), }) if err != nil { return err } ctx.Export("privateDnsPtrRecordId", exampleAzurermPrivateDnsPtrRecord.Id) return nil }) }
```
type GetPtrRecordResultOutput ¶
type GetPtrRecordResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPtrRecord.
func GetPtrRecordOutput ¶
func GetPtrRecordOutput(ctx *pulumi.Context, args GetPtrRecordOutputArgs, opts ...pulumi.InvokeOption) GetPtrRecordResultOutput
func (GetPtrRecordResultOutput) ElementType ¶
func (GetPtrRecordResultOutput) ElementType() reflect.Type
func (GetPtrRecordResultOutput) Fqdn ¶
func (o GetPtrRecordResultOutput) Fqdn() pulumi.StringOutput
The FQDN of the Private DNS PTR Record.
func (GetPtrRecordResultOutput) Id ¶
func (o GetPtrRecordResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPtrRecordResultOutput) Name ¶
func (o GetPtrRecordResultOutput) Name() pulumi.StringOutput
func (GetPtrRecordResultOutput) Records ¶
func (o GetPtrRecordResultOutput) Records() pulumi.StringArrayOutput
List of Fully Qualified Domain Names.
func (GetPtrRecordResultOutput) ResourceGroupName ¶
func (o GetPtrRecordResultOutput) ResourceGroupName() pulumi.StringOutput
func (GetPtrRecordResultOutput) Tags ¶
func (o GetPtrRecordResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (GetPtrRecordResultOutput) ToGetPtrRecordResultOutput ¶
func (o GetPtrRecordResultOutput) ToGetPtrRecordResultOutput() GetPtrRecordResultOutput
func (GetPtrRecordResultOutput) ToGetPtrRecordResultOutputWithContext ¶
func (o GetPtrRecordResultOutput) ToGetPtrRecordResultOutputWithContext(ctx context.Context) GetPtrRecordResultOutput
func (GetPtrRecordResultOutput) Ttl ¶
func (o GetPtrRecordResultOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the Private DNS record in seconds.
func (GetPtrRecordResultOutput) ZoneName ¶
func (o GetPtrRecordResultOutput) ZoneName() pulumi.StringOutput
type GetResolverForwardingRuleTargetDnsServerArgs ¶
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 ¶
func (GetResolverForwardingRuleTargetDnsServerArgs) ElementType() reflect.Type
func (GetResolverForwardingRuleTargetDnsServerArgs) ToGetResolverForwardingRuleTargetDnsServerOutput ¶
func (i GetResolverForwardingRuleTargetDnsServerArgs) ToGetResolverForwardingRuleTargetDnsServerOutput() GetResolverForwardingRuleTargetDnsServerOutput
func (GetResolverForwardingRuleTargetDnsServerArgs) ToGetResolverForwardingRuleTargetDnsServerOutputWithContext ¶
func (i GetResolverForwardingRuleTargetDnsServerArgs) ToGetResolverForwardingRuleTargetDnsServerOutputWithContext(ctx context.Context) GetResolverForwardingRuleTargetDnsServerOutput
type GetResolverForwardingRuleTargetDnsServerArray ¶
type GetResolverForwardingRuleTargetDnsServerArray []GetResolverForwardingRuleTargetDnsServerInput
func (GetResolverForwardingRuleTargetDnsServerArray) ElementType ¶
func (GetResolverForwardingRuleTargetDnsServerArray) ElementType() reflect.Type
func (GetResolverForwardingRuleTargetDnsServerArray) ToGetResolverForwardingRuleTargetDnsServerArrayOutput ¶
func (i GetResolverForwardingRuleTargetDnsServerArray) ToGetResolverForwardingRuleTargetDnsServerArrayOutput() GetResolverForwardingRuleTargetDnsServerArrayOutput
func (GetResolverForwardingRuleTargetDnsServerArray) ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext ¶
func (i GetResolverForwardingRuleTargetDnsServerArray) ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext(ctx context.Context) GetResolverForwardingRuleTargetDnsServerArrayOutput
type GetResolverForwardingRuleTargetDnsServerArrayInput ¶
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 ¶
type GetResolverForwardingRuleTargetDnsServerArrayOutput struct{ *pulumi.OutputState }
func (GetResolverForwardingRuleTargetDnsServerArrayOutput) ElementType ¶
func (GetResolverForwardingRuleTargetDnsServerArrayOutput) ElementType() reflect.Type
func (GetResolverForwardingRuleTargetDnsServerArrayOutput) ToGetResolverForwardingRuleTargetDnsServerArrayOutput ¶
func (o GetResolverForwardingRuleTargetDnsServerArrayOutput) ToGetResolverForwardingRuleTargetDnsServerArrayOutput() GetResolverForwardingRuleTargetDnsServerArrayOutput
func (GetResolverForwardingRuleTargetDnsServerArrayOutput) ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext ¶
func (o GetResolverForwardingRuleTargetDnsServerArrayOutput) ToGetResolverForwardingRuleTargetDnsServerArrayOutputWithContext(ctx context.Context) GetResolverForwardingRuleTargetDnsServerArrayOutput
type GetResolverForwardingRuleTargetDnsServerInput ¶
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 ¶
type GetResolverForwardingRuleTargetDnsServerOutput struct{ *pulumi.OutputState }
func (GetResolverForwardingRuleTargetDnsServerOutput) ElementType ¶
func (GetResolverForwardingRuleTargetDnsServerOutput) ElementType() reflect.Type
func (GetResolverForwardingRuleTargetDnsServerOutput) IpAddress ¶
func (o GetResolverForwardingRuleTargetDnsServerOutput) IpAddress() pulumi.StringOutput
The DNS server IP address.
func (GetResolverForwardingRuleTargetDnsServerOutput) Port ¶
func (o GetResolverForwardingRuleTargetDnsServerOutput) Port() pulumi.IntOutput
The DNS server port.
func (GetResolverForwardingRuleTargetDnsServerOutput) ToGetResolverForwardingRuleTargetDnsServerOutput ¶
func (o GetResolverForwardingRuleTargetDnsServerOutput) ToGetResolverForwardingRuleTargetDnsServerOutput() GetResolverForwardingRuleTargetDnsServerOutput
func (GetResolverForwardingRuleTargetDnsServerOutput) ToGetResolverForwardingRuleTargetDnsServerOutputWithContext ¶
func (o GetResolverForwardingRuleTargetDnsServerOutput) ToGetResolverForwardingRuleTargetDnsServerOutputWithContext(ctx context.Context) GetResolverForwardingRuleTargetDnsServerOutput
type GetResolverInboundEndpointIpConfiguration ¶
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 ¶
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 ¶
func (GetResolverInboundEndpointIpConfigurationArgs) ElementType() reflect.Type
func (GetResolverInboundEndpointIpConfigurationArgs) ToGetResolverInboundEndpointIpConfigurationOutput ¶
func (i GetResolverInboundEndpointIpConfigurationArgs) ToGetResolverInboundEndpointIpConfigurationOutput() GetResolverInboundEndpointIpConfigurationOutput
func (GetResolverInboundEndpointIpConfigurationArgs) ToGetResolverInboundEndpointIpConfigurationOutputWithContext ¶
func (i GetResolverInboundEndpointIpConfigurationArgs) ToGetResolverInboundEndpointIpConfigurationOutputWithContext(ctx context.Context) GetResolverInboundEndpointIpConfigurationOutput
type GetResolverInboundEndpointIpConfigurationArray ¶
type GetResolverInboundEndpointIpConfigurationArray []GetResolverInboundEndpointIpConfigurationInput
func (GetResolverInboundEndpointIpConfigurationArray) ElementType ¶
func (GetResolverInboundEndpointIpConfigurationArray) ElementType() reflect.Type
func (GetResolverInboundEndpointIpConfigurationArray) ToGetResolverInboundEndpointIpConfigurationArrayOutput ¶
func (i GetResolverInboundEndpointIpConfigurationArray) ToGetResolverInboundEndpointIpConfigurationArrayOutput() GetResolverInboundEndpointIpConfigurationArrayOutput
func (GetResolverInboundEndpointIpConfigurationArray) ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext ¶
func (i GetResolverInboundEndpointIpConfigurationArray) ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext(ctx context.Context) GetResolverInboundEndpointIpConfigurationArrayOutput
type GetResolverInboundEndpointIpConfigurationArrayInput ¶
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 ¶
type GetResolverInboundEndpointIpConfigurationArrayOutput struct{ *pulumi.OutputState }
func (GetResolverInboundEndpointIpConfigurationArrayOutput) ElementType ¶
func (GetResolverInboundEndpointIpConfigurationArrayOutput) ElementType() reflect.Type
func (GetResolverInboundEndpointIpConfigurationArrayOutput) ToGetResolverInboundEndpointIpConfigurationArrayOutput ¶
func (o GetResolverInboundEndpointIpConfigurationArrayOutput) ToGetResolverInboundEndpointIpConfigurationArrayOutput() GetResolverInboundEndpointIpConfigurationArrayOutput
func (GetResolverInboundEndpointIpConfigurationArrayOutput) ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext ¶
func (o GetResolverInboundEndpointIpConfigurationArrayOutput) ToGetResolverInboundEndpointIpConfigurationArrayOutputWithContext(ctx context.Context) GetResolverInboundEndpointIpConfigurationArrayOutput
type GetResolverInboundEndpointIpConfigurationInput ¶
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 ¶
type GetResolverInboundEndpointIpConfigurationOutput struct{ *pulumi.OutputState }
func (GetResolverInboundEndpointIpConfigurationOutput) ElementType ¶
func (GetResolverInboundEndpointIpConfigurationOutput) ElementType() reflect.Type
func (GetResolverInboundEndpointIpConfigurationOutput) PrivateIpAddress ¶
func (o GetResolverInboundEndpointIpConfigurationOutput) PrivateIpAddress() pulumi.StringOutput
The private IP address of the IP configuration.
func (GetResolverInboundEndpointIpConfigurationOutput) PrivateIpAllocationMethod ¶
func (o GetResolverInboundEndpointIpConfigurationOutput) PrivateIpAllocationMethod() pulumi.StringOutput
The private IP address allocation method.
func (GetResolverInboundEndpointIpConfigurationOutput) SubnetId ¶
func (o GetResolverInboundEndpointIpConfigurationOutput) SubnetId() pulumi.StringOutput
The subnet ID of the IP configuration.
func (GetResolverInboundEndpointIpConfigurationOutput) ToGetResolverInboundEndpointIpConfigurationOutput ¶
func (o GetResolverInboundEndpointIpConfigurationOutput) ToGetResolverInboundEndpointIpConfigurationOutput() GetResolverInboundEndpointIpConfigurationOutput
func (GetResolverInboundEndpointIpConfigurationOutput) ToGetResolverInboundEndpointIpConfigurationOutputWithContext ¶
func (o GetResolverInboundEndpointIpConfigurationOutput) ToGetResolverInboundEndpointIpConfigurationOutputWithContext(ctx context.Context) GetResolverInboundEndpointIpConfigurationOutput
type GetSoaRecordArgs ¶
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 ¶
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 ¶
func (GetSoaRecordOutputArgs) ElementType() reflect.Type
type GetSoaRecordResult ¶
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 ¶
func GetSoaRecord(ctx *pulumi.Context, args *GetSoaRecordArgs, opts ...pulumi.InvokeOption) (*GetSoaRecordResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azurerm/sdk/go/azurerm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := azurerm.NewPrivateDnsSoaRecord(ctx, "example", &azurerm.PrivateDnsSoaRecordArgs{ ZoneName: "test-zone", ResourceGroupName: "test-rg", }) if err != nil { return err } ctx.Export("privateDnsSoaRecordId", exampleAzurermPrivateDnsSoaRecord.Id) return nil }) }
```
type GetSoaRecordResultOutput ¶
type GetSoaRecordResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSoaRecord.
func GetSoaRecordOutput ¶
func GetSoaRecordOutput(ctx *pulumi.Context, args GetSoaRecordOutputArgs, opts ...pulumi.InvokeOption) GetSoaRecordResultOutput
func (GetSoaRecordResultOutput) ElementType ¶
func (GetSoaRecordResultOutput) ElementType() reflect.Type
func (GetSoaRecordResultOutput) Email ¶
func (o GetSoaRecordResultOutput) Email() pulumi.StringOutput
The email contact for the SOA record.
func (GetSoaRecordResultOutput) ExpireTime ¶
func (o GetSoaRecordResultOutput) ExpireTime() pulumi.IntOutput
The expire time for the SOA record.
func (GetSoaRecordResultOutput) Fqdn ¶
func (o GetSoaRecordResultOutput) Fqdn() pulumi.StringOutput
The FQDN of the Private DNS SOA Record.
func (GetSoaRecordResultOutput) HostName ¶
func (o GetSoaRecordResultOutput) HostName() pulumi.StringOutput
The domain name of the authoritative name server for the SOA record.
func (GetSoaRecordResultOutput) Id ¶
func (o GetSoaRecordResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSoaRecordResultOutput) MinimumTtl ¶
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 ¶
func (o GetSoaRecordResultOutput) Name() pulumi.StringPtrOutput
The name of the Private DNS SOA Record.
func (GetSoaRecordResultOutput) RefreshTime ¶
func (o GetSoaRecordResultOutput) RefreshTime() pulumi.IntOutput
The refresh time for the SOA record.
func (GetSoaRecordResultOutput) ResourceGroupName ¶
func (o GetSoaRecordResultOutput) ResourceGroupName() pulumi.StringOutput
func (GetSoaRecordResultOutput) RetryTime ¶
func (o GetSoaRecordResultOutput) RetryTime() pulumi.IntOutput
The retry time for the SOA record.
func (GetSoaRecordResultOutput) SerialNumber ¶
func (o GetSoaRecordResultOutput) SerialNumber() pulumi.IntOutput
The serial number for the SOA record.
func (GetSoaRecordResultOutput) Tags ¶
func (o GetSoaRecordResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (GetSoaRecordResultOutput) ToGetSoaRecordResultOutput ¶
func (o GetSoaRecordResultOutput) ToGetSoaRecordResultOutput() GetSoaRecordResultOutput
func (GetSoaRecordResultOutput) ToGetSoaRecordResultOutputWithContext ¶
func (o GetSoaRecordResultOutput) ToGetSoaRecordResultOutputWithContext(ctx context.Context) GetSoaRecordResultOutput
func (GetSoaRecordResultOutput) Ttl ¶
func (o GetSoaRecordResultOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the Private DNS record in seconds.
func (GetSoaRecordResultOutput) ZoneName ¶
func (o GetSoaRecordResultOutput) ZoneName() pulumi.StringOutput
type GetSrvRecordArgs ¶
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 ¶
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 ¶
func (GetSrvRecordOutputArgs) ElementType() reflect.Type
type GetSrvRecordRecord ¶
type GetSrvRecordRecordArgs ¶
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 ¶
func (GetSrvRecordRecordArgs) ElementType() reflect.Type
func (GetSrvRecordRecordArgs) ToGetSrvRecordRecordOutput ¶
func (i GetSrvRecordRecordArgs) ToGetSrvRecordRecordOutput() GetSrvRecordRecordOutput
func (GetSrvRecordRecordArgs) ToGetSrvRecordRecordOutputWithContext ¶
func (i GetSrvRecordRecordArgs) ToGetSrvRecordRecordOutputWithContext(ctx context.Context) GetSrvRecordRecordOutput
type GetSrvRecordRecordArray ¶
type GetSrvRecordRecordArray []GetSrvRecordRecordInput
func (GetSrvRecordRecordArray) ElementType ¶
func (GetSrvRecordRecordArray) ElementType() reflect.Type
func (GetSrvRecordRecordArray) ToGetSrvRecordRecordArrayOutput ¶
func (i GetSrvRecordRecordArray) ToGetSrvRecordRecordArrayOutput() GetSrvRecordRecordArrayOutput
func (GetSrvRecordRecordArray) ToGetSrvRecordRecordArrayOutputWithContext ¶
func (i GetSrvRecordRecordArray) ToGetSrvRecordRecordArrayOutputWithContext(ctx context.Context) GetSrvRecordRecordArrayOutput
type GetSrvRecordRecordArrayInput ¶
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 ¶
type GetSrvRecordRecordArrayOutput struct{ *pulumi.OutputState }
func (GetSrvRecordRecordArrayOutput) ElementType ¶
func (GetSrvRecordRecordArrayOutput) ElementType() reflect.Type
func (GetSrvRecordRecordArrayOutput) Index ¶
func (o GetSrvRecordRecordArrayOutput) Index(i pulumi.IntInput) GetSrvRecordRecordOutput
func (GetSrvRecordRecordArrayOutput) ToGetSrvRecordRecordArrayOutput ¶
func (o GetSrvRecordRecordArrayOutput) ToGetSrvRecordRecordArrayOutput() GetSrvRecordRecordArrayOutput
func (GetSrvRecordRecordArrayOutput) ToGetSrvRecordRecordArrayOutputWithContext ¶
func (o GetSrvRecordRecordArrayOutput) ToGetSrvRecordRecordArrayOutputWithContext(ctx context.Context) GetSrvRecordRecordArrayOutput
type GetSrvRecordRecordInput ¶
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 ¶
type GetSrvRecordRecordOutput struct{ *pulumi.OutputState }
func (GetSrvRecordRecordOutput) ElementType ¶
func (GetSrvRecordRecordOutput) ElementType() reflect.Type
func (GetSrvRecordRecordOutput) Port ¶
func (o GetSrvRecordRecordOutput) Port() pulumi.IntOutput
Port the service is listening on.
func (GetSrvRecordRecordOutput) Priority ¶
func (o GetSrvRecordRecordOutput) Priority() pulumi.IntOutput
Priority of the SRV record.
func (GetSrvRecordRecordOutput) Target ¶
func (o GetSrvRecordRecordOutput) Target() pulumi.StringOutput
FQDN of the service.
func (GetSrvRecordRecordOutput) ToGetSrvRecordRecordOutput ¶
func (o GetSrvRecordRecordOutput) ToGetSrvRecordRecordOutput() GetSrvRecordRecordOutput
func (GetSrvRecordRecordOutput) ToGetSrvRecordRecordOutputWithContext ¶
func (o GetSrvRecordRecordOutput) ToGetSrvRecordRecordOutputWithContext(ctx context.Context) GetSrvRecordRecordOutput
func (GetSrvRecordRecordOutput) Weight ¶
func (o GetSrvRecordRecordOutput) Weight() pulumi.IntOutput
Weight of the SRV record.
type GetSrvRecordResult ¶
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 ¶
func GetSrvRecord(ctx *pulumi.Context, args *GetSrvRecordArgs, opts ...pulumi.InvokeOption) (*GetSrvRecordResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := privatedns.NewSRVRecord(ctx, "example", &privatedns.SRVRecordArgs{ Name: pulumi.String("test"), ZoneName: pulumi.String("test-zone"), ResourceGroupName: pulumi.String("test-rg"), }) if err != nil { return err } ctx.Export("privateDnsSrvRecordId", exampleAzurermPrivateDnsSrvRecord.Id) return nil }) }
```
type GetSrvRecordResultOutput ¶
type GetSrvRecordResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSrvRecord.
func GetSrvRecordOutput ¶
func GetSrvRecordOutput(ctx *pulumi.Context, args GetSrvRecordOutputArgs, opts ...pulumi.InvokeOption) GetSrvRecordResultOutput
func (GetSrvRecordResultOutput) ElementType ¶
func (GetSrvRecordResultOutput) ElementType() reflect.Type
func (GetSrvRecordResultOutput) Fqdn ¶
func (o GetSrvRecordResultOutput) Fqdn() pulumi.StringOutput
The FQDN of the Private DNS SRV Record.
func (GetSrvRecordResultOutput) Id ¶
func (o GetSrvRecordResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSrvRecordResultOutput) Name ¶
func (o GetSrvRecordResultOutput) Name() pulumi.StringOutput
func (GetSrvRecordResultOutput) Records ¶
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 ¶
func (o GetSrvRecordResultOutput) ResourceGroupName() pulumi.StringOutput
func (GetSrvRecordResultOutput) Tags ¶
func (o GetSrvRecordResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (GetSrvRecordResultOutput) ToGetSrvRecordResultOutput ¶
func (o GetSrvRecordResultOutput) ToGetSrvRecordResultOutput() GetSrvRecordResultOutput
func (GetSrvRecordResultOutput) ToGetSrvRecordResultOutputWithContext ¶
func (o GetSrvRecordResultOutput) ToGetSrvRecordResultOutputWithContext(ctx context.Context) GetSrvRecordResultOutput
func (GetSrvRecordResultOutput) Ttl ¶
func (o GetSrvRecordResultOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the Private DNS record in seconds.
func (GetSrvRecordResultOutput) ZoneName ¶
func (o GetSrvRecordResultOutput) ZoneName() pulumi.StringOutput
type GetTxtRecordRecord ¶
type GetTxtRecordRecord struct { // The value of the record. Max length: 1024 characters Value string `pulumi:"value"` }
type GetTxtRecordRecordArgs ¶
type GetTxtRecordRecordArgs struct { // The value of the record. Max length: 1024 characters Value pulumi.StringInput `pulumi:"value"` }
func (GetTxtRecordRecordArgs) ElementType ¶
func (GetTxtRecordRecordArgs) ElementType() reflect.Type
func (GetTxtRecordRecordArgs) ToGetTxtRecordRecordOutput ¶
func (i GetTxtRecordRecordArgs) ToGetTxtRecordRecordOutput() GetTxtRecordRecordOutput
func (GetTxtRecordRecordArgs) ToGetTxtRecordRecordOutputWithContext ¶
func (i GetTxtRecordRecordArgs) ToGetTxtRecordRecordOutputWithContext(ctx context.Context) GetTxtRecordRecordOutput
type GetTxtRecordRecordArray ¶
type GetTxtRecordRecordArray []GetTxtRecordRecordInput
func (GetTxtRecordRecordArray) ElementType ¶
func (GetTxtRecordRecordArray) ElementType() reflect.Type
func (GetTxtRecordRecordArray) ToGetTxtRecordRecordArrayOutput ¶
func (i GetTxtRecordRecordArray) ToGetTxtRecordRecordArrayOutput() GetTxtRecordRecordArrayOutput
func (GetTxtRecordRecordArray) ToGetTxtRecordRecordArrayOutputWithContext ¶
func (i GetTxtRecordRecordArray) ToGetTxtRecordRecordArrayOutputWithContext(ctx context.Context) GetTxtRecordRecordArrayOutput
type GetTxtRecordRecordArrayInput ¶
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 ¶
type GetTxtRecordRecordArrayOutput struct{ *pulumi.OutputState }
func (GetTxtRecordRecordArrayOutput) ElementType ¶
func (GetTxtRecordRecordArrayOutput) ElementType() reflect.Type
func (GetTxtRecordRecordArrayOutput) Index ¶
func (o GetTxtRecordRecordArrayOutput) Index(i pulumi.IntInput) GetTxtRecordRecordOutput
func (GetTxtRecordRecordArrayOutput) ToGetTxtRecordRecordArrayOutput ¶
func (o GetTxtRecordRecordArrayOutput) ToGetTxtRecordRecordArrayOutput() GetTxtRecordRecordArrayOutput
func (GetTxtRecordRecordArrayOutput) ToGetTxtRecordRecordArrayOutputWithContext ¶
func (o GetTxtRecordRecordArrayOutput) ToGetTxtRecordRecordArrayOutputWithContext(ctx context.Context) GetTxtRecordRecordArrayOutput
type GetTxtRecordRecordInput ¶
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 ¶
type GetTxtRecordRecordOutput struct{ *pulumi.OutputState }
func (GetTxtRecordRecordOutput) ElementType ¶
func (GetTxtRecordRecordOutput) ElementType() reflect.Type
func (GetTxtRecordRecordOutput) ToGetTxtRecordRecordOutput ¶
func (o GetTxtRecordRecordOutput) ToGetTxtRecordRecordOutput() GetTxtRecordRecordOutput
func (GetTxtRecordRecordOutput) ToGetTxtRecordRecordOutputWithContext ¶
func (o GetTxtRecordRecordOutput) ToGetTxtRecordRecordOutputWithContext(ctx context.Context) GetTxtRecordRecordOutput
func (GetTxtRecordRecordOutput) Value ¶
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/).
## 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 ¶
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 ¶
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 ¶
func (o LinkServiceOutput) EnableProxyProtocol() pulumi.BoolPtrOutput
Should the Private Link Service support the Proxy Protocol?
func (LinkServiceOutput) Fqdns ¶
func (o LinkServiceOutput) Fqdns() pulumi.StringArrayOutput
List of FQDNs allowed for the Private Link Service.
func (LinkServiceOutput) LoadBalancerFrontendIpConfigurationIds ¶
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 ¶
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 ¶
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 ¶
func (o LinkServiceOutput) NatIpConfigurations() LinkServiceNatIpConfigurationArrayOutput
One or more (up to 8) `natIpConfiguration` block as defined below.
func (LinkServiceOutput) ResourceGroupName ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (LookupAAAARecordOutputArgs) ElementType() reflect.Type
type LookupAAAARecordResult ¶
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 ¶
func LookupAAAARecord(ctx *pulumi.Context, args *LookupAAAARecordArgs, opts ...pulumi.InvokeOption) (*LookupAAAARecordResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := privatedns.NewAAAARecord(ctx, "example", &privatedns.AAAARecordArgs{ Name: pulumi.String("test"), ZoneName: pulumi.String("test-zone"), ResourceGroupName: pulumi.String("test-rg"), }) if err != nil { return err } ctx.Export("privateDnsAaaaRecordId", exampleAzurermPrivateDnsAaaaRecord.Id) return nil }) }
```
type LookupAAAARecordResultOutput ¶
type LookupAAAARecordResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAAAARecord.
func LookupAAAARecordOutput ¶
func LookupAAAARecordOutput(ctx *pulumi.Context, args LookupAAAARecordOutputArgs, opts ...pulumi.InvokeOption) LookupAAAARecordResultOutput
func (LookupAAAARecordResultOutput) ElementType ¶
func (LookupAAAARecordResultOutput) ElementType() reflect.Type
func (LookupAAAARecordResultOutput) Fqdn ¶
func (o LookupAAAARecordResultOutput) Fqdn() pulumi.StringOutput
The FQDN of the Private DNS AAAA Record.
func (LookupAAAARecordResultOutput) Id ¶
func (o LookupAAAARecordResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupAAAARecordResultOutput) Name ¶
func (o LookupAAAARecordResultOutput) Name() pulumi.StringOutput
func (LookupAAAARecordResultOutput) Records ¶
func (o LookupAAAARecordResultOutput) Records() pulumi.StringArrayOutput
List of IPv6 Addresses.
func (LookupAAAARecordResultOutput) ResourceGroupName ¶
func (o LookupAAAARecordResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupAAAARecordResultOutput) Tags ¶
func (o LookupAAAARecordResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (LookupAAAARecordResultOutput) ToLookupAAAARecordResultOutput ¶
func (o LookupAAAARecordResultOutput) ToLookupAAAARecordResultOutput() LookupAAAARecordResultOutput
func (LookupAAAARecordResultOutput) ToLookupAAAARecordResultOutputWithContext ¶
func (o LookupAAAARecordResultOutput) ToLookupAAAARecordResultOutputWithContext(ctx context.Context) LookupAAAARecordResultOutput
func (LookupAAAARecordResultOutput) Ttl ¶
func (o LookupAAAARecordResultOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the Private DNS record in seconds.
func (LookupAAAARecordResultOutput) ZoneName ¶
func (o LookupAAAARecordResultOutput) ZoneName() pulumi.StringOutput
type LookupARecordArgs ¶
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 ¶
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 ¶
func (LookupARecordOutputArgs) ElementType() reflect.Type
type LookupARecordResult ¶
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 ¶
func LookupARecord(ctx *pulumi.Context, args *LookupARecordArgs, opts ...pulumi.InvokeOption) (*LookupARecordResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/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 ¶
type LookupARecordResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getARecord.
func LookupARecordOutput ¶
func LookupARecordOutput(ctx *pulumi.Context, args LookupARecordOutputArgs, opts ...pulumi.InvokeOption) LookupARecordResultOutput
func (LookupARecordResultOutput) ElementType ¶
func (LookupARecordResultOutput) ElementType() reflect.Type
func (LookupARecordResultOutput) Fqdn ¶
func (o LookupARecordResultOutput) Fqdn() pulumi.StringOutput
The FQDN of the Private DNS A Record.
func (LookupARecordResultOutput) Id ¶
func (o LookupARecordResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupARecordResultOutput) Name ¶
func (o LookupARecordResultOutput) Name() pulumi.StringOutput
func (LookupARecordResultOutput) Records ¶
func (o LookupARecordResultOutput) Records() pulumi.StringArrayOutput
List of IPv4 Addresses.
func (LookupARecordResultOutput) ResourceGroupName ¶
func (o LookupARecordResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupARecordResultOutput) Tags ¶
func (o LookupARecordResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the Private DNS A Record.
func (LookupARecordResultOutput) ToLookupARecordResultOutput ¶
func (o LookupARecordResultOutput) ToLookupARecordResultOutput() LookupARecordResultOutput
func (LookupARecordResultOutput) ToLookupARecordResultOutputWithContext ¶
func (o LookupARecordResultOutput) ToLookupARecordResultOutputWithContext(ctx context.Context) LookupARecordResultOutput
func (LookupARecordResultOutput) Ttl ¶
func (o LookupARecordResultOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the Private DNS record in seconds.
func (LookupARecordResultOutput) ZoneName ¶
func (o LookupARecordResultOutput) ZoneName() pulumi.StringOutput
type LookupCnameRecordArgs ¶
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 ¶
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 ¶
func (LookupCnameRecordOutputArgs) ElementType() reflect.Type
type LookupCnameRecordResult ¶
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 ¶
func LookupCnameRecord(ctx *pulumi.Context, args *LookupCnameRecordArgs, opts ...pulumi.InvokeOption) (*LookupCnameRecordResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := privatedns.NewCnameRecord(ctx, "example", &privatedns.CnameRecordArgs{ Name: pulumi.String("test"), ZoneName: pulumi.String("test-zone"), ResourceGroupName: pulumi.String("test-rg"), }) if err != nil { return err } ctx.Export("privateDnsCnameRecordId", exampleAzurermPrivateDnsCnameRecord.Id) return nil }) }
```
type LookupCnameRecordResultOutput ¶
type LookupCnameRecordResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCnameRecord.
func LookupCnameRecordOutput ¶
func LookupCnameRecordOutput(ctx *pulumi.Context, args LookupCnameRecordOutputArgs, opts ...pulumi.InvokeOption) LookupCnameRecordResultOutput
func (LookupCnameRecordResultOutput) ElementType ¶
func (LookupCnameRecordResultOutput) ElementType() reflect.Type
func (LookupCnameRecordResultOutput) Fqdn ¶
func (o LookupCnameRecordResultOutput) Fqdn() pulumi.StringOutput
The FQDN of the Private DNS CName Record.
func (LookupCnameRecordResultOutput) Id ¶
func (o LookupCnameRecordResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupCnameRecordResultOutput) Name ¶
func (o LookupCnameRecordResultOutput) Name() pulumi.StringOutput
func (LookupCnameRecordResultOutput) Record ¶
func (o LookupCnameRecordResultOutput) Record() pulumi.StringOutput
The target of the CNAME.
func (LookupCnameRecordResultOutput) ResourceGroupName ¶
func (o LookupCnameRecordResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupCnameRecordResultOutput) Tags ¶
func (o LookupCnameRecordResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (LookupCnameRecordResultOutput) TargetResourceId ¶
func (o LookupCnameRecordResultOutput) TargetResourceId() pulumi.StringOutput
func (LookupCnameRecordResultOutput) ToLookupCnameRecordResultOutput ¶
func (o LookupCnameRecordResultOutput) ToLookupCnameRecordResultOutput() LookupCnameRecordResultOutput
func (LookupCnameRecordResultOutput) ToLookupCnameRecordResultOutputWithContext ¶
func (o LookupCnameRecordResultOutput) ToLookupCnameRecordResultOutputWithContext(ctx context.Context) LookupCnameRecordResultOutput
func (LookupCnameRecordResultOutput) Ttl ¶
func (o LookupCnameRecordResultOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the Private DNS record in seconds.
func (LookupCnameRecordResultOutput) ZoneName ¶
func (o LookupCnameRecordResultOutput) ZoneName() pulumi.StringOutput
type LookupMxRecordArgs ¶
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 ¶
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 ¶
func (LookupMxRecordOutputArgs) ElementType() reflect.Type
type LookupMxRecordResult ¶
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 ¶
func LookupMxRecord(ctx *pulumi.Context, args *LookupMxRecordArgs, opts ...pulumi.InvokeOption) (*LookupMxRecordResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := privatedns.NewMxRecord(ctx, "example", &privatedns.MxRecordArgs{ Name: pulumi.String("test"), ZoneName: pulumi.String("test-zone"), ResourceGroupName: pulumi.String("test-rg"), }) if err != nil { return err } ctx.Export("privateDnsMxRecordId", exampleAzurermPrivateDnsMxRecord.Id) return nil }) }
```
type LookupMxRecordResultOutput ¶
type LookupMxRecordResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getMxRecord.
func LookupMxRecordOutput ¶
func LookupMxRecordOutput(ctx *pulumi.Context, args LookupMxRecordOutputArgs, opts ...pulumi.InvokeOption) LookupMxRecordResultOutput
func (LookupMxRecordResultOutput) ElementType ¶
func (LookupMxRecordResultOutput) ElementType() reflect.Type
func (LookupMxRecordResultOutput) Fqdn ¶
func (o LookupMxRecordResultOutput) Fqdn() pulumi.StringOutput
The FQDN of the Private DNS MX Record.
func (LookupMxRecordResultOutput) Id ¶
func (o LookupMxRecordResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupMxRecordResultOutput) Name ¶
func (o LookupMxRecordResultOutput) Name() pulumi.StringPtrOutput
func (LookupMxRecordResultOutput) Records ¶
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 ¶
func (o LookupMxRecordResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupMxRecordResultOutput) Tags ¶
func (o LookupMxRecordResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (LookupMxRecordResultOutput) ToLookupMxRecordResultOutput ¶
func (o LookupMxRecordResultOutput) ToLookupMxRecordResultOutput() LookupMxRecordResultOutput
func (LookupMxRecordResultOutput) ToLookupMxRecordResultOutputWithContext ¶
func (o LookupMxRecordResultOutput) ToLookupMxRecordResultOutputWithContext(ctx context.Context) LookupMxRecordResultOutput
func (LookupMxRecordResultOutput) Ttl ¶
func (o LookupMxRecordResultOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the Private DNS record in seconds.
func (LookupMxRecordResultOutput) ZoneName ¶
func (o LookupMxRecordResultOutput) ZoneName() pulumi.StringOutput
type LookupResolverArgs ¶
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 ¶
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 ¶
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 ¶
func (LookupResolverDnsForwardingRulesetOutputArgs) ElementType() reflect.Type
type LookupResolverDnsForwardingRulesetResult ¶
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 ¶
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/v6/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 ¶
type LookupResolverDnsForwardingRulesetResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResolverDnsForwardingRuleset.
func LookupResolverDnsForwardingRulesetOutput ¶
func LookupResolverDnsForwardingRulesetOutput(ctx *pulumi.Context, args LookupResolverDnsForwardingRulesetOutputArgs, opts ...pulumi.InvokeOption) LookupResolverDnsForwardingRulesetResultOutput
func (LookupResolverDnsForwardingRulesetResultOutput) ElementType ¶
func (LookupResolverDnsForwardingRulesetResultOutput) ElementType() reflect.Type
func (LookupResolverDnsForwardingRulesetResultOutput) Id ¶
func (o LookupResolverDnsForwardingRulesetResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupResolverDnsForwardingRulesetResultOutput) Location ¶
func (o LookupResolverDnsForwardingRulesetResultOutput) Location() pulumi.StringOutput
The Azure Region where the Private DNS Resolver Dns Forwarding Ruleset exists.
func (LookupResolverDnsForwardingRulesetResultOutput) Name ¶
func (o LookupResolverDnsForwardingRulesetResultOutput) Name() pulumi.StringOutput
func (LookupResolverDnsForwardingRulesetResultOutput) PrivateDnsResolverOutboundEndpointIds ¶
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 ¶
func (o LookupResolverDnsForwardingRulesetResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupResolverDnsForwardingRulesetResultOutput) Tags ¶
func (o LookupResolverDnsForwardingRulesetResultOutput) Tags() pulumi.StringMapOutput
The tags assigned to the Private DNS Resolver Dns Forwarding Ruleset.
func (LookupResolverDnsForwardingRulesetResultOutput) ToLookupResolverDnsForwardingRulesetResultOutput ¶
func (o LookupResolverDnsForwardingRulesetResultOutput) ToLookupResolverDnsForwardingRulesetResultOutput() LookupResolverDnsForwardingRulesetResultOutput
func (LookupResolverDnsForwardingRulesetResultOutput) ToLookupResolverDnsForwardingRulesetResultOutputWithContext ¶
func (o LookupResolverDnsForwardingRulesetResultOutput) ToLookupResolverDnsForwardingRulesetResultOutputWithContext(ctx context.Context) LookupResolverDnsForwardingRulesetResultOutput
type LookupResolverForwardingRuleArgs ¶
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 ¶
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 ¶
func (LookupResolverForwardingRuleOutputArgs) ElementType() reflect.Type
type LookupResolverForwardingRuleResult ¶
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 ¶
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/v6/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{ Name: "example-rule", DnsForwardingRulesetId: "example-forwarding-rulset-id", }, nil) if err != nil { return err } return nil }) }
```
type LookupResolverForwardingRuleResultOutput ¶
type LookupResolverForwardingRuleResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResolverForwardingRule.
func LookupResolverForwardingRuleOutput ¶
func LookupResolverForwardingRuleOutput(ctx *pulumi.Context, args LookupResolverForwardingRuleOutputArgs, opts ...pulumi.InvokeOption) LookupResolverForwardingRuleResultOutput
func (LookupResolverForwardingRuleResultOutput) DnsForwardingRulesetId ¶
func (o LookupResolverForwardingRuleResultOutput) DnsForwardingRulesetId() pulumi.StringOutput
func (LookupResolverForwardingRuleResultOutput) DomainName ¶
func (o LookupResolverForwardingRuleResultOutput) DomainName() pulumi.StringOutput
The domain name for the Private DNS Resolver Forwarding Rule.
func (LookupResolverForwardingRuleResultOutput) ElementType ¶
func (LookupResolverForwardingRuleResultOutput) ElementType() reflect.Type
func (LookupResolverForwardingRuleResultOutput) Enabled ¶
func (o LookupResolverForwardingRuleResultOutput) Enabled() pulumi.BoolOutput
Is the Private DNS Resolver Forwarding Rule enabled?
func (LookupResolverForwardingRuleResultOutput) Id ¶
func (o LookupResolverForwardingRuleResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupResolverForwardingRuleResultOutput) Metadata ¶
func (o LookupResolverForwardingRuleResultOutput) Metadata() pulumi.StringMapOutput
The metadata attached to the Private DNS Resolver Forwarding Rule.
func (LookupResolverForwardingRuleResultOutput) Name ¶
func (o LookupResolverForwardingRuleResultOutput) Name() pulumi.StringOutput
func (LookupResolverForwardingRuleResultOutput) TargetDnsServers ¶
func (o LookupResolverForwardingRuleResultOutput) TargetDnsServers() GetResolverForwardingRuleTargetDnsServerArrayOutput
A list of `targetDnsServers` block as defined below.
func (LookupResolverForwardingRuleResultOutput) ToLookupResolverForwardingRuleResultOutput ¶
func (o LookupResolverForwardingRuleResultOutput) ToLookupResolverForwardingRuleResultOutput() LookupResolverForwardingRuleResultOutput
func (LookupResolverForwardingRuleResultOutput) ToLookupResolverForwardingRuleResultOutputWithContext ¶
func (o LookupResolverForwardingRuleResultOutput) ToLookupResolverForwardingRuleResultOutputWithContext(ctx context.Context) LookupResolverForwardingRuleResultOutput
type LookupResolverInboundEndpointArgs ¶
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 ¶
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 ¶
func (LookupResolverInboundEndpointOutputArgs) ElementType() reflect.Type
type LookupResolverInboundEndpointResult ¶
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 ¶
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/v6/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 ¶
type LookupResolverInboundEndpointResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResolverInboundEndpoint.
func LookupResolverInboundEndpointOutput ¶
func LookupResolverInboundEndpointOutput(ctx *pulumi.Context, args LookupResolverInboundEndpointOutputArgs, opts ...pulumi.InvokeOption) LookupResolverInboundEndpointResultOutput
func (LookupResolverInboundEndpointResultOutput) ElementType ¶
func (LookupResolverInboundEndpointResultOutput) ElementType() reflect.Type
func (LookupResolverInboundEndpointResultOutput) Id ¶
func (o LookupResolverInboundEndpointResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupResolverInboundEndpointResultOutput) IpConfigurations ¶
func (o LookupResolverInboundEndpointResultOutput) IpConfigurations() GetResolverInboundEndpointIpConfigurationArrayOutput
A list of `ipConfigurations` block as defined below.
func (LookupResolverInboundEndpointResultOutput) Location ¶
func (o LookupResolverInboundEndpointResultOutput) Location() pulumi.StringOutput
The Azure Region where the Private DNS Resolver Inbound Endpoint exists.
func (LookupResolverInboundEndpointResultOutput) Name ¶
func (o LookupResolverInboundEndpointResultOutput) Name() pulumi.StringOutput
func (LookupResolverInboundEndpointResultOutput) PrivateDnsResolverId ¶
func (o LookupResolverInboundEndpointResultOutput) PrivateDnsResolverId() pulumi.StringOutput
func (LookupResolverInboundEndpointResultOutput) Tags ¶
func (o LookupResolverInboundEndpointResultOutput) Tags() pulumi.StringMapOutput
The tags assigned to the Private DNS Resolver Inbound Endpoint.
func (LookupResolverInboundEndpointResultOutput) ToLookupResolverInboundEndpointResultOutput ¶
func (o LookupResolverInboundEndpointResultOutput) ToLookupResolverInboundEndpointResultOutput() LookupResolverInboundEndpointResultOutput
func (LookupResolverInboundEndpointResultOutput) ToLookupResolverInboundEndpointResultOutputWithContext ¶
func (o LookupResolverInboundEndpointResultOutput) ToLookupResolverInboundEndpointResultOutputWithContext(ctx context.Context) LookupResolverInboundEndpointResultOutput
type LookupResolverOutboundEndpointArgs ¶
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 ¶
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 ¶
func (LookupResolverOutboundEndpointOutputArgs) ElementType() reflect.Type
type LookupResolverOutboundEndpointResult ¶
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 ¶
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/v6/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 ¶
type LookupResolverOutboundEndpointResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResolverOutboundEndpoint.
func LookupResolverOutboundEndpointOutput ¶
func LookupResolverOutboundEndpointOutput(ctx *pulumi.Context, args LookupResolverOutboundEndpointOutputArgs, opts ...pulumi.InvokeOption) LookupResolverOutboundEndpointResultOutput
func (LookupResolverOutboundEndpointResultOutput) ElementType ¶
func (LookupResolverOutboundEndpointResultOutput) ElementType() reflect.Type
func (LookupResolverOutboundEndpointResultOutput) Id ¶
func (o LookupResolverOutboundEndpointResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupResolverOutboundEndpointResultOutput) Location ¶
func (o LookupResolverOutboundEndpointResultOutput) Location() pulumi.StringOutput
The Azure Region where the Private DNS Resolver Outbound Endpoint exists.
func (LookupResolverOutboundEndpointResultOutput) Name ¶
func (o LookupResolverOutboundEndpointResultOutput) Name() pulumi.StringOutput
func (LookupResolverOutboundEndpointResultOutput) PrivateDnsResolverId ¶
func (o LookupResolverOutboundEndpointResultOutput) PrivateDnsResolverId() pulumi.StringOutput
func (LookupResolverOutboundEndpointResultOutput) SubnetId ¶
func (o LookupResolverOutboundEndpointResultOutput) SubnetId() pulumi.StringOutput
The ID of the Subnet that is linked to the Private DNS Resolver Outbound Endpoint.
func (LookupResolverOutboundEndpointResultOutput) Tags ¶
func (o LookupResolverOutboundEndpointResultOutput) Tags() pulumi.StringMapOutput
The tags assigned to the Private DNS Resolver Outbound Endpoint.
func (LookupResolverOutboundEndpointResultOutput) ToLookupResolverOutboundEndpointResultOutput ¶
func (o LookupResolverOutboundEndpointResultOutput) ToLookupResolverOutboundEndpointResultOutput() LookupResolverOutboundEndpointResultOutput
func (LookupResolverOutboundEndpointResultOutput) ToLookupResolverOutboundEndpointResultOutputWithContext ¶
func (o LookupResolverOutboundEndpointResultOutput) ToLookupResolverOutboundEndpointResultOutputWithContext(ctx context.Context) LookupResolverOutboundEndpointResultOutput
type LookupResolverOutputArgs ¶
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 ¶
func (LookupResolverOutputArgs) ElementType() reflect.Type
type LookupResolverResult ¶
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 ¶
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/v6/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 ¶
type LookupResolverResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResolver.
func LookupResolverOutput ¶
func LookupResolverOutput(ctx *pulumi.Context, args LookupResolverOutputArgs, opts ...pulumi.InvokeOption) LookupResolverResultOutput
func (LookupResolverResultOutput) ElementType ¶
func (LookupResolverResultOutput) ElementType() reflect.Type
func (LookupResolverResultOutput) Id ¶
func (o LookupResolverResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupResolverResultOutput) Location ¶
func (o LookupResolverResultOutput) Location() pulumi.StringOutput
The Azure Region where the Private DNS Resolver exists.
func (LookupResolverResultOutput) Name ¶
func (o LookupResolverResultOutput) Name() pulumi.StringOutput
func (LookupResolverResultOutput) ResourceGroupName ¶
func (o LookupResolverResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupResolverResultOutput) Tags ¶
func (o LookupResolverResultOutput) Tags() pulumi.StringMapOutput
The tags assigned to the Private DNS Resolver.
func (LookupResolverResultOutput) ToLookupResolverResultOutput ¶
func (o LookupResolverResultOutput) ToLookupResolverResultOutput() LookupResolverResultOutput
func (LookupResolverResultOutput) ToLookupResolverResultOutputWithContext ¶
func (o LookupResolverResultOutput) ToLookupResolverResultOutputWithContext(ctx context.Context) LookupResolverResultOutput
func (LookupResolverResultOutput) VirtualNetworkId ¶
func (o LookupResolverResultOutput) VirtualNetworkId() pulumi.StringOutput
The ID of the Virtual Network that is linked to the Private DNS Resolver.
type LookupResolverVirtualNetworkLinkArgs ¶
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 ¶
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 ¶
func (LookupResolverVirtualNetworkLinkOutputArgs) ElementType() reflect.Type
type LookupResolverVirtualNetworkLinkResult ¶
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 ¶
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/v6/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{ Name: "example-link", DnsForwardingRulesetId: "example-dns-forwarding-ruleset-id", }, nil) if err != nil { return err } return nil }) }
```
type LookupResolverVirtualNetworkLinkResultOutput ¶
type LookupResolverVirtualNetworkLinkResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getResolverVirtualNetworkLink.
func LookupResolverVirtualNetworkLinkOutput ¶
func LookupResolverVirtualNetworkLinkOutput(ctx *pulumi.Context, args LookupResolverVirtualNetworkLinkOutputArgs, opts ...pulumi.InvokeOption) LookupResolverVirtualNetworkLinkResultOutput
func (LookupResolverVirtualNetworkLinkResultOutput) DnsForwardingRulesetId ¶
func (o LookupResolverVirtualNetworkLinkResultOutput) DnsForwardingRulesetId() pulumi.StringOutput
func (LookupResolverVirtualNetworkLinkResultOutput) ElementType ¶
func (LookupResolverVirtualNetworkLinkResultOutput) ElementType() reflect.Type
func (LookupResolverVirtualNetworkLinkResultOutput) Id ¶
func (o LookupResolverVirtualNetworkLinkResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupResolverVirtualNetworkLinkResultOutput) Metadata ¶
func (o LookupResolverVirtualNetworkLinkResultOutput) Metadata() pulumi.StringMapOutput
The metadata attached to the Private DNS Resolver Virtual Network Link.
func (LookupResolverVirtualNetworkLinkResultOutput) Name ¶
func (o LookupResolverVirtualNetworkLinkResultOutput) Name() pulumi.StringOutput
func (LookupResolverVirtualNetworkLinkResultOutput) ToLookupResolverVirtualNetworkLinkResultOutput ¶
func (o LookupResolverVirtualNetworkLinkResultOutput) ToLookupResolverVirtualNetworkLinkResultOutput() LookupResolverVirtualNetworkLinkResultOutput
func (LookupResolverVirtualNetworkLinkResultOutput) ToLookupResolverVirtualNetworkLinkResultOutputWithContext ¶
func (o LookupResolverVirtualNetworkLinkResultOutput) ToLookupResolverVirtualNetworkLinkResultOutputWithContext(ctx context.Context) LookupResolverVirtualNetworkLinkResultOutput
func (LookupResolverVirtualNetworkLinkResultOutput) VirtualNetworkId ¶
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 ¶
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 ¶
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 ¶
func (LookupTxtRecordOutputArgs) ElementType() reflect.Type
type LookupTxtRecordResult ¶
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 ¶
func LookupTxtRecord(ctx *pulumi.Context, args *LookupTxtRecordArgs, opts ...pulumi.InvokeOption) (*LookupTxtRecordResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := privatedns.NewTxtRecord(ctx, "example", &privatedns.TxtRecordArgs{ Name: pulumi.String("test"), ZoneName: pulumi.String("test-zone"), ResourceGroupName: pulumi.String("test-rg"), }) if err != nil { return err } ctx.Export("privateDnsTxtRecordId", exampleAzurermPrivateDnsTxtRecord.Id) return nil }) }
```
type LookupTxtRecordResultOutput ¶
type LookupTxtRecordResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getTxtRecord.
func LookupTxtRecordOutput ¶
func LookupTxtRecordOutput(ctx *pulumi.Context, args LookupTxtRecordOutputArgs, opts ...pulumi.InvokeOption) LookupTxtRecordResultOutput
func (LookupTxtRecordResultOutput) ElementType ¶
func (LookupTxtRecordResultOutput) ElementType() reflect.Type
func (LookupTxtRecordResultOutput) Fqdn ¶
func (o LookupTxtRecordResultOutput) Fqdn() pulumi.StringOutput
The FQDN of the Private DNS TXT Record.
func (LookupTxtRecordResultOutput) Id ¶
func (o LookupTxtRecordResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupTxtRecordResultOutput) Name ¶
func (o LookupTxtRecordResultOutput) Name() pulumi.StringOutput
func (LookupTxtRecordResultOutput) Records ¶
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 ¶
func (o LookupTxtRecordResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupTxtRecordResultOutput) Tags ¶
func (o LookupTxtRecordResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (LookupTxtRecordResultOutput) ToLookupTxtRecordResultOutput ¶
func (o LookupTxtRecordResultOutput) ToLookupTxtRecordResultOutput() LookupTxtRecordResultOutput
func (LookupTxtRecordResultOutput) ToLookupTxtRecordResultOutputWithContext ¶
func (o LookupTxtRecordResultOutput) ToLookupTxtRecordResultOutputWithContext(ctx context.Context) LookupTxtRecordResultOutput
func (LookupTxtRecordResultOutput) Ttl ¶
func (o LookupTxtRecordResultOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the Private DNS record in seconds.
func (LookupTxtRecordResultOutput) ZoneName ¶
func (o LookupTxtRecordResultOutput) ZoneName() pulumi.StringOutput
type LookupZoneVirtualNetworkLinkArgs ¶
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 ¶
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 ¶
func (LookupZoneVirtualNetworkLinkOutputArgs) ElementType() reflect.Type
type LookupZoneVirtualNetworkLinkResult ¶
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 ¶
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/v6/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 ¶
type LookupZoneVirtualNetworkLinkResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getZoneVirtualNetworkLink.
func LookupZoneVirtualNetworkLinkOutput ¶
func LookupZoneVirtualNetworkLinkOutput(ctx *pulumi.Context, args LookupZoneVirtualNetworkLinkOutputArgs, opts ...pulumi.InvokeOption) LookupZoneVirtualNetworkLinkResultOutput
func (LookupZoneVirtualNetworkLinkResultOutput) ElementType ¶
func (LookupZoneVirtualNetworkLinkResultOutput) ElementType() reflect.Type
func (LookupZoneVirtualNetworkLinkResultOutput) Id ¶
func (o LookupZoneVirtualNetworkLinkResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupZoneVirtualNetworkLinkResultOutput) Name ¶
func (o LookupZoneVirtualNetworkLinkResultOutput) Name() pulumi.StringOutput
func (LookupZoneVirtualNetworkLinkResultOutput) PrivateDnsZoneName ¶
func (o LookupZoneVirtualNetworkLinkResultOutput) PrivateDnsZoneName() pulumi.StringOutput
func (LookupZoneVirtualNetworkLinkResultOutput) RegistrationEnabled ¶
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 ¶
func (o LookupZoneVirtualNetworkLinkResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupZoneVirtualNetworkLinkResultOutput) Tags ¶
func (o LookupZoneVirtualNetworkLinkResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (LookupZoneVirtualNetworkLinkResultOutput) ToLookupZoneVirtualNetworkLinkResultOutput ¶
func (o LookupZoneVirtualNetworkLinkResultOutput) ToLookupZoneVirtualNetworkLinkResultOutput() LookupZoneVirtualNetworkLinkResultOutput
func (LookupZoneVirtualNetworkLinkResultOutput) ToLookupZoneVirtualNetworkLinkResultOutputWithContext ¶
func (o LookupZoneVirtualNetworkLinkResultOutput) ToLookupZoneVirtualNetworkLinkResultOutputWithContext(ctx context.Context) LookupZoneVirtualNetworkLinkResultOutput
func (LookupZoneVirtualNetworkLinkResultOutput) VirtualNetworkId ¶
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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/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{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleZone, err := privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{ Name: pulumi.String("contoso.com"), ResourceGroupName: example.Name, }) if err != nil { return err } _, err = privatedns.NewMxRecord(ctx, "example", &privatedns.MxRecordArgs{ Name: pulumi.String("example"), ResourceGroupName: example.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 ¶
func (o MxRecordOutput) Fqdn() pulumi.StringOutput
The FQDN of the DNS MX Record.
func (MxRecordOutput) Name ¶
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 ¶
func (o MxRecordOutput) Records() MxRecordRecordArrayOutput
One or more `record` blocks as defined below.
func (MxRecordOutput) ResourceGroupName ¶
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 ¶
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 ¶
func (o MxRecordOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the DNS record in seconds.
func (MxRecordOutput) ZoneName ¶
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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/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{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleZone, err := privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{ Name: pulumi.String("2.0.192.in-addr.arpa"), ResourceGroupName: example.Name, }) if err != nil { return err } _, err = privatedns.NewPTRRecord(ctx, "example", &privatedns.PTRRecordArgs{ Name: pulumi.String("15"), ZoneName: exampleZone.Name, ResourceGroupName: example.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 ¶
func (o PTRRecordOutput) Fqdn() pulumi.StringOutput
The FQDN of the DNS PTR Record.
func (PTRRecordOutput) Name ¶
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 ¶
func (o PTRRecordOutput) Records() pulumi.StringArrayOutput
List of Fully Qualified Domain Names.
func (PTRRecordOutput) ResourceGroupName ¶
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 ¶
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 ¶
func (o PTRRecordOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the DNS record in seconds.
func (PTRRecordOutput) ZoneName ¶
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 ¶
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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v6/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{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Location: example.Location, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) if err != nil { return err } _, err = privatedns.NewResolver(ctx, "test", &privatedns.ResolverArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Location: example.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 ¶
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 ¶
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 ¶
func (*Resolver) ToResolverOutput ¶
func (i *Resolver) ToResolverOutput() ResolverOutput
func (*Resolver) ToResolverOutputWithContext ¶
func (i *Resolver) ToResolverOutputWithContext(ctx context.Context) ResolverOutput
type ResolverArgs ¶
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 ¶
func (ResolverArgs) ElementType() reflect.Type
type ResolverArray ¶
type ResolverArray []ResolverInput
func (ResolverArray) ElementType ¶
func (ResolverArray) ElementType() reflect.Type
func (ResolverArray) ToResolverArrayOutput ¶
func (i ResolverArray) ToResolverArrayOutput() ResolverArrayOutput
func (ResolverArray) ToResolverArrayOutputWithContext ¶
func (i ResolverArray) ToResolverArrayOutputWithContext(ctx context.Context) ResolverArrayOutput
type ResolverArrayInput ¶
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 ¶
type ResolverArrayOutput struct{ *pulumi.OutputState }
func (ResolverArrayOutput) ElementType ¶
func (ResolverArrayOutput) ElementType() reflect.Type
func (ResolverArrayOutput) Index ¶
func (o ResolverArrayOutput) Index(i pulumi.IntInput) ResolverOutput
func (ResolverArrayOutput) ToResolverArrayOutput ¶
func (o ResolverArrayOutput) ToResolverArrayOutput() ResolverArrayOutput
func (ResolverArrayOutput) ToResolverArrayOutputWithContext ¶
func (o ResolverArrayOutput) ToResolverArrayOutputWithContext(ctx context.Context) ResolverArrayOutput
type ResolverDnsForwardingRuleset ¶
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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v6/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{ Name: pulumi.String("example-resources"), Location: pulumi.String("west europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{ Name: pulumi.String("example-vnet"), ResourceGroupName: example.Name, Location: example.Location, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{ Name: pulumi.String("outbounddns"), ResourceGroupName: example.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, "example", &privatedns.ResolverArgs{ Name: pulumi.String("example-resolver"), ResourceGroupName: example.Name, Location: example.Location, VirtualNetworkId: exampleVirtualNetwork.ID(), }) if err != nil { return err } exampleResolverOutboundEndpoint, err := privatedns.NewResolverOutboundEndpoint(ctx, "example", &privatedns.ResolverOutboundEndpointArgs{ Name: pulumi.String("example-endpoint"), 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, "example", &privatedns.ResolverDnsForwardingRulesetArgs{ Name: pulumi.String("example-ruleset"), ResourceGroupName: example.Name, Location: example.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 ¶
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 ¶
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 ¶
func (*ResolverDnsForwardingRuleset) ElementType() reflect.Type
func (*ResolverDnsForwardingRuleset) ToResolverDnsForwardingRulesetOutput ¶
func (i *ResolverDnsForwardingRuleset) ToResolverDnsForwardingRulesetOutput() ResolverDnsForwardingRulesetOutput
func (*ResolverDnsForwardingRuleset) ToResolverDnsForwardingRulesetOutputWithContext ¶
func (i *ResolverDnsForwardingRuleset) ToResolverDnsForwardingRulesetOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetOutput
type ResolverDnsForwardingRulesetArgs ¶
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 ¶
func (ResolverDnsForwardingRulesetArgs) ElementType() reflect.Type
type ResolverDnsForwardingRulesetArray ¶
type ResolverDnsForwardingRulesetArray []ResolverDnsForwardingRulesetInput
func (ResolverDnsForwardingRulesetArray) ElementType ¶
func (ResolverDnsForwardingRulesetArray) ElementType() reflect.Type
func (ResolverDnsForwardingRulesetArray) ToResolverDnsForwardingRulesetArrayOutput ¶
func (i ResolverDnsForwardingRulesetArray) ToResolverDnsForwardingRulesetArrayOutput() ResolverDnsForwardingRulesetArrayOutput
func (ResolverDnsForwardingRulesetArray) ToResolverDnsForwardingRulesetArrayOutputWithContext ¶
func (i ResolverDnsForwardingRulesetArray) ToResolverDnsForwardingRulesetArrayOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetArrayOutput
type ResolverDnsForwardingRulesetArrayInput ¶
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 ¶
type ResolverDnsForwardingRulesetArrayOutput struct{ *pulumi.OutputState }
func (ResolverDnsForwardingRulesetArrayOutput) ElementType ¶
func (ResolverDnsForwardingRulesetArrayOutput) ElementType() reflect.Type
func (ResolverDnsForwardingRulesetArrayOutput) ToResolverDnsForwardingRulesetArrayOutput ¶
func (o ResolverDnsForwardingRulesetArrayOutput) ToResolverDnsForwardingRulesetArrayOutput() ResolverDnsForwardingRulesetArrayOutput
func (ResolverDnsForwardingRulesetArrayOutput) ToResolverDnsForwardingRulesetArrayOutputWithContext ¶
func (o ResolverDnsForwardingRulesetArrayOutput) ToResolverDnsForwardingRulesetArrayOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetArrayOutput
type ResolverDnsForwardingRulesetInput ¶
type ResolverDnsForwardingRulesetInput interface { pulumi.Input ToResolverDnsForwardingRulesetOutput() ResolverDnsForwardingRulesetOutput ToResolverDnsForwardingRulesetOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetOutput }
type ResolverDnsForwardingRulesetMap ¶
type ResolverDnsForwardingRulesetMap map[string]ResolverDnsForwardingRulesetInput
func (ResolverDnsForwardingRulesetMap) ElementType ¶
func (ResolverDnsForwardingRulesetMap) ElementType() reflect.Type
func (ResolverDnsForwardingRulesetMap) ToResolverDnsForwardingRulesetMapOutput ¶
func (i ResolverDnsForwardingRulesetMap) ToResolverDnsForwardingRulesetMapOutput() ResolverDnsForwardingRulesetMapOutput
func (ResolverDnsForwardingRulesetMap) ToResolverDnsForwardingRulesetMapOutputWithContext ¶
func (i ResolverDnsForwardingRulesetMap) ToResolverDnsForwardingRulesetMapOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetMapOutput
type ResolverDnsForwardingRulesetMapInput ¶
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 ¶
type ResolverDnsForwardingRulesetMapOutput struct{ *pulumi.OutputState }
func (ResolverDnsForwardingRulesetMapOutput) ElementType ¶
func (ResolverDnsForwardingRulesetMapOutput) ElementType() reflect.Type
func (ResolverDnsForwardingRulesetMapOutput) MapIndex ¶
func (o ResolverDnsForwardingRulesetMapOutput) MapIndex(k pulumi.StringInput) ResolverDnsForwardingRulesetOutput
func (ResolverDnsForwardingRulesetMapOutput) ToResolverDnsForwardingRulesetMapOutput ¶
func (o ResolverDnsForwardingRulesetMapOutput) ToResolverDnsForwardingRulesetMapOutput() ResolverDnsForwardingRulesetMapOutput
func (ResolverDnsForwardingRulesetMapOutput) ToResolverDnsForwardingRulesetMapOutputWithContext ¶
func (o ResolverDnsForwardingRulesetMapOutput) ToResolverDnsForwardingRulesetMapOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetMapOutput
type ResolverDnsForwardingRulesetOutput ¶
type ResolverDnsForwardingRulesetOutput struct{ *pulumi.OutputState }
func (ResolverDnsForwardingRulesetOutput) ElementType ¶
func (ResolverDnsForwardingRulesetOutput) ElementType() reflect.Type
func (ResolverDnsForwardingRulesetOutput) Location ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o ResolverDnsForwardingRulesetOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the Private DNS Resolver Dns Forwarding Ruleset.
func (ResolverDnsForwardingRulesetOutput) ToResolverDnsForwardingRulesetOutput ¶
func (o ResolverDnsForwardingRulesetOutput) ToResolverDnsForwardingRulesetOutput() ResolverDnsForwardingRulesetOutput
func (ResolverDnsForwardingRulesetOutput) ToResolverDnsForwardingRulesetOutputWithContext ¶
func (o ResolverDnsForwardingRulesetOutput) ToResolverDnsForwardingRulesetOutputWithContext(ctx context.Context) ResolverDnsForwardingRulesetOutput
type ResolverDnsForwardingRulesetState ¶
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 ¶
func (ResolverDnsForwardingRulesetState) ElementType() reflect.Type
type ResolverForwardingRule ¶
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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v6/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{ Name: pulumi.String("example-resources"), Location: pulumi.String("west europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{ Name: pulumi.String("example-vnet"), ResourceGroupName: example.Name, Location: example.Location, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{ Name: pulumi.String("outbounddns"), ResourceGroupName: example.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, "example", &privatedns.ResolverArgs{ Name: pulumi.String("example-resolver"), ResourceGroupName: example.Name, Location: example.Location, VirtualNetworkId: exampleVirtualNetwork.ID(), }) if err != nil { return err } exampleResolverOutboundEndpoint, err := privatedns.NewResolverOutboundEndpoint(ctx, "example", &privatedns.ResolverOutboundEndpointArgs{ Name: pulumi.String("example-endpoint"), 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, "example", &privatedns.ResolverDnsForwardingRulesetArgs{ Name: pulumi.String("example-drdfr"), ResourceGroupName: example.Name, Location: example.Location, PrivateDnsResolverOutboundEndpointIds: pulumi.StringArray{ exampleResolverOutboundEndpoint.ID(), }, }) if err != nil { return err } _, err = privatedns.NewResolverForwardingRule(ctx, "example", &privatedns.ResolverForwardingRuleArgs{ Name: pulumi.String("example-rule"), 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 ¶
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 ¶
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 ¶
func (*ResolverForwardingRule) ElementType() reflect.Type
func (*ResolverForwardingRule) ToResolverForwardingRuleOutput ¶
func (i *ResolverForwardingRule) ToResolverForwardingRuleOutput() ResolverForwardingRuleOutput
func (*ResolverForwardingRule) ToResolverForwardingRuleOutputWithContext ¶
func (i *ResolverForwardingRule) ToResolverForwardingRuleOutputWithContext(ctx context.Context) ResolverForwardingRuleOutput
type ResolverForwardingRuleArgs ¶
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 ¶
func (ResolverForwardingRuleArgs) ElementType() reflect.Type
type ResolverForwardingRuleArray ¶
type ResolverForwardingRuleArray []ResolverForwardingRuleInput
func (ResolverForwardingRuleArray) ElementType ¶
func (ResolverForwardingRuleArray) ElementType() reflect.Type
func (ResolverForwardingRuleArray) ToResolverForwardingRuleArrayOutput ¶
func (i ResolverForwardingRuleArray) ToResolverForwardingRuleArrayOutput() ResolverForwardingRuleArrayOutput
func (ResolverForwardingRuleArray) ToResolverForwardingRuleArrayOutputWithContext ¶
func (i ResolverForwardingRuleArray) ToResolverForwardingRuleArrayOutputWithContext(ctx context.Context) ResolverForwardingRuleArrayOutput
type ResolverForwardingRuleArrayInput ¶
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 ¶
type ResolverForwardingRuleArrayOutput struct{ *pulumi.OutputState }
func (ResolverForwardingRuleArrayOutput) ElementType ¶
func (ResolverForwardingRuleArrayOutput) ElementType() reflect.Type
func (ResolverForwardingRuleArrayOutput) Index ¶
func (o ResolverForwardingRuleArrayOutput) Index(i pulumi.IntInput) ResolverForwardingRuleOutput
func (ResolverForwardingRuleArrayOutput) ToResolverForwardingRuleArrayOutput ¶
func (o ResolverForwardingRuleArrayOutput) ToResolverForwardingRuleArrayOutput() ResolverForwardingRuleArrayOutput
func (ResolverForwardingRuleArrayOutput) ToResolverForwardingRuleArrayOutputWithContext ¶
func (o ResolverForwardingRuleArrayOutput) ToResolverForwardingRuleArrayOutputWithContext(ctx context.Context) ResolverForwardingRuleArrayOutput
type ResolverForwardingRuleInput ¶
type ResolverForwardingRuleInput interface { pulumi.Input ToResolverForwardingRuleOutput() ResolverForwardingRuleOutput ToResolverForwardingRuleOutputWithContext(ctx context.Context) ResolverForwardingRuleOutput }
type ResolverForwardingRuleMap ¶
type ResolverForwardingRuleMap map[string]ResolverForwardingRuleInput
func (ResolverForwardingRuleMap) ElementType ¶
func (ResolverForwardingRuleMap) ElementType() reflect.Type
func (ResolverForwardingRuleMap) ToResolverForwardingRuleMapOutput ¶
func (i ResolverForwardingRuleMap) ToResolverForwardingRuleMapOutput() ResolverForwardingRuleMapOutput
func (ResolverForwardingRuleMap) ToResolverForwardingRuleMapOutputWithContext ¶
func (i ResolverForwardingRuleMap) ToResolverForwardingRuleMapOutputWithContext(ctx context.Context) ResolverForwardingRuleMapOutput
type ResolverForwardingRuleMapInput ¶
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 ¶
type ResolverForwardingRuleMapOutput struct{ *pulumi.OutputState }
func (ResolverForwardingRuleMapOutput) ElementType ¶
func (ResolverForwardingRuleMapOutput) ElementType() reflect.Type
func (ResolverForwardingRuleMapOutput) MapIndex ¶
func (o ResolverForwardingRuleMapOutput) MapIndex(k pulumi.StringInput) ResolverForwardingRuleOutput
func (ResolverForwardingRuleMapOutput) ToResolverForwardingRuleMapOutput ¶
func (o ResolverForwardingRuleMapOutput) ToResolverForwardingRuleMapOutput() ResolverForwardingRuleMapOutput
func (ResolverForwardingRuleMapOutput) ToResolverForwardingRuleMapOutputWithContext ¶
func (o ResolverForwardingRuleMapOutput) ToResolverForwardingRuleMapOutputWithContext(ctx context.Context) ResolverForwardingRuleMapOutput
type ResolverForwardingRuleOutput ¶
type ResolverForwardingRuleOutput struct{ *pulumi.OutputState }
func (ResolverForwardingRuleOutput) DnsForwardingRulesetId ¶
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 ¶
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 ¶
func (ResolverForwardingRuleOutput) ElementType() reflect.Type
func (ResolverForwardingRuleOutput) Enabled ¶
func (o ResolverForwardingRuleOutput) Enabled() pulumi.BoolPtrOutput
Specifies the state of the Private DNS Resolver Forwarding Rule. Defaults to `true`.
func (ResolverForwardingRuleOutput) Metadata ¶
func (o ResolverForwardingRuleOutput) Metadata() pulumi.StringMapOutput
Metadata attached to the Private DNS Resolver Forwarding Rule.
func (ResolverForwardingRuleOutput) Name ¶
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 ¶
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 ¶
func (o ResolverForwardingRuleOutput) ToResolverForwardingRuleOutput() ResolverForwardingRuleOutput
func (ResolverForwardingRuleOutput) ToResolverForwardingRuleOutputWithContext ¶
func (o ResolverForwardingRuleOutput) ToResolverForwardingRuleOutputWithContext(ctx context.Context) ResolverForwardingRuleOutput
type ResolverForwardingRuleState ¶
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 ¶
func (ResolverForwardingRuleState) ElementType() reflect.Type
type ResolverForwardingRuleTargetDnsServerArgs ¶
type ResolverForwardingRuleTargetDnsServerArgs struct { // DNS server IP address. IpAddress pulumi.StringInput `pulumi:"ipAddress"` // DNS server port. Port pulumi.IntPtrInput `pulumi:"port"` }
func (ResolverForwardingRuleTargetDnsServerArgs) ElementType ¶
func (ResolverForwardingRuleTargetDnsServerArgs) ElementType() reflect.Type
func (ResolverForwardingRuleTargetDnsServerArgs) ToResolverForwardingRuleTargetDnsServerOutput ¶
func (i ResolverForwardingRuleTargetDnsServerArgs) ToResolverForwardingRuleTargetDnsServerOutput() ResolverForwardingRuleTargetDnsServerOutput
func (ResolverForwardingRuleTargetDnsServerArgs) ToResolverForwardingRuleTargetDnsServerOutputWithContext ¶
func (i ResolverForwardingRuleTargetDnsServerArgs) ToResolverForwardingRuleTargetDnsServerOutputWithContext(ctx context.Context) ResolverForwardingRuleTargetDnsServerOutput
type ResolverForwardingRuleTargetDnsServerArray ¶
type ResolverForwardingRuleTargetDnsServerArray []ResolverForwardingRuleTargetDnsServerInput
func (ResolverForwardingRuleTargetDnsServerArray) ElementType ¶
func (ResolverForwardingRuleTargetDnsServerArray) ElementType() reflect.Type
func (ResolverForwardingRuleTargetDnsServerArray) ToResolverForwardingRuleTargetDnsServerArrayOutput ¶
func (i ResolverForwardingRuleTargetDnsServerArray) ToResolverForwardingRuleTargetDnsServerArrayOutput() ResolverForwardingRuleTargetDnsServerArrayOutput
func (ResolverForwardingRuleTargetDnsServerArray) ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext ¶
func (i ResolverForwardingRuleTargetDnsServerArray) ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext(ctx context.Context) ResolverForwardingRuleTargetDnsServerArrayOutput
type ResolverForwardingRuleTargetDnsServerArrayInput ¶
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 ¶
type ResolverForwardingRuleTargetDnsServerArrayOutput struct{ *pulumi.OutputState }
func (ResolverForwardingRuleTargetDnsServerArrayOutput) ElementType ¶
func (ResolverForwardingRuleTargetDnsServerArrayOutput) ElementType() reflect.Type
func (ResolverForwardingRuleTargetDnsServerArrayOutput) ToResolverForwardingRuleTargetDnsServerArrayOutput ¶
func (o ResolverForwardingRuleTargetDnsServerArrayOutput) ToResolverForwardingRuleTargetDnsServerArrayOutput() ResolverForwardingRuleTargetDnsServerArrayOutput
func (ResolverForwardingRuleTargetDnsServerArrayOutput) ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext ¶
func (o ResolverForwardingRuleTargetDnsServerArrayOutput) ToResolverForwardingRuleTargetDnsServerArrayOutputWithContext(ctx context.Context) ResolverForwardingRuleTargetDnsServerArrayOutput
type ResolverForwardingRuleTargetDnsServerInput ¶
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 ¶
type ResolverForwardingRuleTargetDnsServerOutput struct{ *pulumi.OutputState }
func (ResolverForwardingRuleTargetDnsServerOutput) ElementType ¶
func (ResolverForwardingRuleTargetDnsServerOutput) ElementType() reflect.Type
func (ResolverForwardingRuleTargetDnsServerOutput) IpAddress ¶
func (o ResolverForwardingRuleTargetDnsServerOutput) IpAddress() pulumi.StringOutput
DNS server IP address.
func (ResolverForwardingRuleTargetDnsServerOutput) Port ¶
func (o ResolverForwardingRuleTargetDnsServerOutput) Port() pulumi.IntPtrOutput
DNS server port.
func (ResolverForwardingRuleTargetDnsServerOutput) ToResolverForwardingRuleTargetDnsServerOutput ¶
func (o ResolverForwardingRuleTargetDnsServerOutput) ToResolverForwardingRuleTargetDnsServerOutput() ResolverForwardingRuleTargetDnsServerOutput
func (ResolverForwardingRuleTargetDnsServerOutput) ToResolverForwardingRuleTargetDnsServerOutputWithContext ¶
func (o ResolverForwardingRuleTargetDnsServerOutput) ToResolverForwardingRuleTargetDnsServerOutputWithContext(ctx context.Context) ResolverForwardingRuleTargetDnsServerOutput
type ResolverInboundEndpoint ¶
type ResolverInboundEndpoint struct { pulumi.CustomResourceState // One `ipConfigurations` block as defined below. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created. IpConfigurations ResolverInboundEndpointIpConfigurationsOutput `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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v6/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{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Location: example.Location, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) if err != nil { return err } exampleResolver, err := privatedns.NewResolver(ctx, "example", &privatedns.ResolverArgs{ Name: pulumi.String("example"), ResourceGroupName: example.Name, Location: example.Location, VirtualNetworkId: exampleVirtualNetwork.ID(), }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{ Name: pulumi.String("inbounddns"), ResourceGroupName: example.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, "example", &privatedns.ResolverInboundEndpointArgs{ Name: pulumi.String("example-drie"), PrivateDnsResolverId: exampleResolver.ID(), Location: exampleResolver.Location, IpConfigurations: &privatedns.ResolverInboundEndpointIpConfigurationsArgs{ 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 ¶
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 ¶
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 ¶
func (*ResolverInboundEndpoint) ElementType() reflect.Type
func (*ResolverInboundEndpoint) ToResolverInboundEndpointOutput ¶
func (i *ResolverInboundEndpoint) ToResolverInboundEndpointOutput() ResolverInboundEndpointOutput
func (*ResolverInboundEndpoint) ToResolverInboundEndpointOutputWithContext ¶
func (i *ResolverInboundEndpoint) ToResolverInboundEndpointOutputWithContext(ctx context.Context) ResolverInboundEndpointOutput
type ResolverInboundEndpointArgs ¶
type ResolverInboundEndpointArgs struct { // One `ipConfigurations` block as defined below. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created. IpConfigurations ResolverInboundEndpointIpConfigurationsInput // 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 ¶
func (ResolverInboundEndpointArgs) ElementType() reflect.Type
type ResolverInboundEndpointArray ¶
type ResolverInboundEndpointArray []ResolverInboundEndpointInput
func (ResolverInboundEndpointArray) ElementType ¶
func (ResolverInboundEndpointArray) ElementType() reflect.Type
func (ResolverInboundEndpointArray) ToResolverInboundEndpointArrayOutput ¶
func (i ResolverInboundEndpointArray) ToResolverInboundEndpointArrayOutput() ResolverInboundEndpointArrayOutput
func (ResolverInboundEndpointArray) ToResolverInboundEndpointArrayOutputWithContext ¶
func (i ResolverInboundEndpointArray) ToResolverInboundEndpointArrayOutputWithContext(ctx context.Context) ResolverInboundEndpointArrayOutput
type ResolverInboundEndpointArrayInput ¶
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 ¶
type ResolverInboundEndpointArrayOutput struct{ *pulumi.OutputState }
func (ResolverInboundEndpointArrayOutput) ElementType ¶
func (ResolverInboundEndpointArrayOutput) ElementType() reflect.Type
func (ResolverInboundEndpointArrayOutput) Index ¶
func (o ResolverInboundEndpointArrayOutput) Index(i pulumi.IntInput) ResolverInboundEndpointOutput
func (ResolverInboundEndpointArrayOutput) ToResolverInboundEndpointArrayOutput ¶
func (o ResolverInboundEndpointArrayOutput) ToResolverInboundEndpointArrayOutput() ResolverInboundEndpointArrayOutput
func (ResolverInboundEndpointArrayOutput) ToResolverInboundEndpointArrayOutputWithContext ¶
func (o ResolverInboundEndpointArrayOutput) ToResolverInboundEndpointArrayOutputWithContext(ctx context.Context) ResolverInboundEndpointArrayOutput
type ResolverInboundEndpointInput ¶
type ResolverInboundEndpointInput interface { pulumi.Input ToResolverInboundEndpointOutput() ResolverInboundEndpointOutput ToResolverInboundEndpointOutputWithContext(ctx context.Context) ResolverInboundEndpointOutput }
type ResolverInboundEndpointIpConfigurations ¶
type ResolverInboundEndpointIpConfigurations struct { // Private IP address of the IP configuration. PrivateIpAddress *string `pulumi:"privateIpAddress"` // Private IP address allocation method. Allowed value is `Dynamic` and `Static`. Defaults to `Dynamic`. PrivateIpAllocationMethod *string `pulumi:"privateIpAllocationMethod"` // The subnet ID of the IP configuration. SubnetId string `pulumi:"subnetId"` }
type ResolverInboundEndpointIpConfigurationsArgs ¶
type ResolverInboundEndpointIpConfigurationsArgs struct { // Private IP address of the IP configuration. PrivateIpAddress pulumi.StringPtrInput `pulumi:"privateIpAddress"` // Private IP address allocation method. Allowed value is `Dynamic` and `Static`. Defaults to `Dynamic`. PrivateIpAllocationMethod pulumi.StringPtrInput `pulumi:"privateIpAllocationMethod"` // The subnet ID of the IP configuration. SubnetId pulumi.StringInput `pulumi:"subnetId"` }
func (ResolverInboundEndpointIpConfigurationsArgs) ElementType ¶
func (ResolverInboundEndpointIpConfigurationsArgs) ElementType() reflect.Type
func (ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsOutput ¶
func (i ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsOutput() ResolverInboundEndpointIpConfigurationsOutput
func (ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsOutputWithContext ¶
func (i ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationsOutput
func (ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsPtrOutput ¶
func (i ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsPtrOutput() ResolverInboundEndpointIpConfigurationsPtrOutput
func (ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsPtrOutputWithContext ¶
func (i ResolverInboundEndpointIpConfigurationsArgs) ToResolverInboundEndpointIpConfigurationsPtrOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationsPtrOutput
type ResolverInboundEndpointIpConfigurationsInput ¶
type ResolverInboundEndpointIpConfigurationsInput interface { pulumi.Input ToResolverInboundEndpointIpConfigurationsOutput() ResolverInboundEndpointIpConfigurationsOutput ToResolverInboundEndpointIpConfigurationsOutputWithContext(context.Context) ResolverInboundEndpointIpConfigurationsOutput }
ResolverInboundEndpointIpConfigurationsInput is an input type that accepts ResolverInboundEndpointIpConfigurationsArgs and ResolverInboundEndpointIpConfigurationsOutput values. You can construct a concrete instance of `ResolverInboundEndpointIpConfigurationsInput` via:
ResolverInboundEndpointIpConfigurationsArgs{...}
type ResolverInboundEndpointIpConfigurationsOutput ¶
type ResolverInboundEndpointIpConfigurationsOutput struct{ *pulumi.OutputState }
func (ResolverInboundEndpointIpConfigurationsOutput) ElementType ¶
func (ResolverInboundEndpointIpConfigurationsOutput) ElementType() reflect.Type
func (ResolverInboundEndpointIpConfigurationsOutput) PrivateIpAddress ¶
func (o ResolverInboundEndpointIpConfigurationsOutput) PrivateIpAddress() pulumi.StringPtrOutput
Private IP address of the IP configuration.
func (ResolverInboundEndpointIpConfigurationsOutput) PrivateIpAllocationMethod ¶
func (o ResolverInboundEndpointIpConfigurationsOutput) PrivateIpAllocationMethod() pulumi.StringPtrOutput
Private IP address allocation method. Allowed value is `Dynamic` and `Static`. Defaults to `Dynamic`.
func (ResolverInboundEndpointIpConfigurationsOutput) SubnetId ¶
func (o ResolverInboundEndpointIpConfigurationsOutput) SubnetId() pulumi.StringOutput
The subnet ID of the IP configuration.
func (ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsOutput ¶
func (o ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsOutput() ResolverInboundEndpointIpConfigurationsOutput
func (ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsOutputWithContext ¶
func (o ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationsOutput
func (ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsPtrOutput ¶
func (o ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsPtrOutput() ResolverInboundEndpointIpConfigurationsPtrOutput
func (ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsPtrOutputWithContext ¶
func (o ResolverInboundEndpointIpConfigurationsOutput) ToResolverInboundEndpointIpConfigurationsPtrOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationsPtrOutput
type ResolverInboundEndpointIpConfigurationsPtrInput ¶
type ResolverInboundEndpointIpConfigurationsPtrInput interface { pulumi.Input ToResolverInboundEndpointIpConfigurationsPtrOutput() ResolverInboundEndpointIpConfigurationsPtrOutput ToResolverInboundEndpointIpConfigurationsPtrOutputWithContext(context.Context) ResolverInboundEndpointIpConfigurationsPtrOutput }
ResolverInboundEndpointIpConfigurationsPtrInput is an input type that accepts ResolverInboundEndpointIpConfigurationsArgs, ResolverInboundEndpointIpConfigurationsPtr and ResolverInboundEndpointIpConfigurationsPtrOutput values. You can construct a concrete instance of `ResolverInboundEndpointIpConfigurationsPtrInput` via:
ResolverInboundEndpointIpConfigurationsArgs{...} or: nil
func ResolverInboundEndpointIpConfigurationsPtr ¶
func ResolverInboundEndpointIpConfigurationsPtr(v *ResolverInboundEndpointIpConfigurationsArgs) ResolverInboundEndpointIpConfigurationsPtrInput
type ResolverInboundEndpointIpConfigurationsPtrOutput ¶
type ResolverInboundEndpointIpConfigurationsPtrOutput struct{ *pulumi.OutputState }
func (ResolverInboundEndpointIpConfigurationsPtrOutput) ElementType ¶
func (ResolverInboundEndpointIpConfigurationsPtrOutput) ElementType() reflect.Type
func (ResolverInboundEndpointIpConfigurationsPtrOutput) PrivateIpAddress ¶
func (o ResolverInboundEndpointIpConfigurationsPtrOutput) PrivateIpAddress() pulumi.StringPtrOutput
Private IP address of the IP configuration.
func (ResolverInboundEndpointIpConfigurationsPtrOutput) PrivateIpAllocationMethod ¶
func (o ResolverInboundEndpointIpConfigurationsPtrOutput) PrivateIpAllocationMethod() pulumi.StringPtrOutput
Private IP address allocation method. Allowed value is `Dynamic` and `Static`. Defaults to `Dynamic`.
func (ResolverInboundEndpointIpConfigurationsPtrOutput) SubnetId ¶
func (o ResolverInboundEndpointIpConfigurationsPtrOutput) SubnetId() pulumi.StringPtrOutput
The subnet ID of the IP configuration.
func (ResolverInboundEndpointIpConfigurationsPtrOutput) ToResolverInboundEndpointIpConfigurationsPtrOutput ¶
func (o ResolverInboundEndpointIpConfigurationsPtrOutput) ToResolverInboundEndpointIpConfigurationsPtrOutput() ResolverInboundEndpointIpConfigurationsPtrOutput
func (ResolverInboundEndpointIpConfigurationsPtrOutput) ToResolverInboundEndpointIpConfigurationsPtrOutputWithContext ¶
func (o ResolverInboundEndpointIpConfigurationsPtrOutput) ToResolverInboundEndpointIpConfigurationsPtrOutputWithContext(ctx context.Context) ResolverInboundEndpointIpConfigurationsPtrOutput
type ResolverInboundEndpointMap ¶
type ResolverInboundEndpointMap map[string]ResolverInboundEndpointInput
func (ResolverInboundEndpointMap) ElementType ¶
func (ResolverInboundEndpointMap) ElementType() reflect.Type
func (ResolverInboundEndpointMap) ToResolverInboundEndpointMapOutput ¶
func (i ResolverInboundEndpointMap) ToResolverInboundEndpointMapOutput() ResolverInboundEndpointMapOutput
func (ResolverInboundEndpointMap) ToResolverInboundEndpointMapOutputWithContext ¶
func (i ResolverInboundEndpointMap) ToResolverInboundEndpointMapOutputWithContext(ctx context.Context) ResolverInboundEndpointMapOutput
type ResolverInboundEndpointMapInput ¶
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 ¶
type ResolverInboundEndpointMapOutput struct{ *pulumi.OutputState }
func (ResolverInboundEndpointMapOutput) ElementType ¶
func (ResolverInboundEndpointMapOutput) ElementType() reflect.Type
func (ResolverInboundEndpointMapOutput) MapIndex ¶
func (o ResolverInboundEndpointMapOutput) MapIndex(k pulumi.StringInput) ResolverInboundEndpointOutput
func (ResolverInboundEndpointMapOutput) ToResolverInboundEndpointMapOutput ¶
func (o ResolverInboundEndpointMapOutput) ToResolverInboundEndpointMapOutput() ResolverInboundEndpointMapOutput
func (ResolverInboundEndpointMapOutput) ToResolverInboundEndpointMapOutputWithContext ¶
func (o ResolverInboundEndpointMapOutput) ToResolverInboundEndpointMapOutputWithContext(ctx context.Context) ResolverInboundEndpointMapOutput
type ResolverInboundEndpointOutput ¶
type ResolverInboundEndpointOutput struct{ *pulumi.OutputState }
func (ResolverInboundEndpointOutput) ElementType ¶
func (ResolverInboundEndpointOutput) ElementType() reflect.Type
func (ResolverInboundEndpointOutput) IpConfigurations ¶
func (o ResolverInboundEndpointOutput) IpConfigurations() ResolverInboundEndpointIpConfigurationsOutput
One `ipConfigurations` block as defined below. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created.
func (ResolverInboundEndpointOutput) Location ¶
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 ¶
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 ¶
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 ¶
func (o ResolverInboundEndpointOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Private DNS Resolver Inbound Endpoint.
func (ResolverInboundEndpointOutput) ToResolverInboundEndpointOutput ¶
func (o ResolverInboundEndpointOutput) ToResolverInboundEndpointOutput() ResolverInboundEndpointOutput
func (ResolverInboundEndpointOutput) ToResolverInboundEndpointOutputWithContext ¶
func (o ResolverInboundEndpointOutput) ToResolverInboundEndpointOutputWithContext(ctx context.Context) ResolverInboundEndpointOutput
type ResolverInboundEndpointState ¶
type ResolverInboundEndpointState struct { // One `ipConfigurations` block as defined below. Changing this forces a new Private DNS Resolver Inbound Endpoint to be created. IpConfigurations ResolverInboundEndpointIpConfigurationsPtrInput // 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 ¶
func (ResolverInboundEndpointState) ElementType() reflect.Type
type ResolverInput ¶
type ResolverInput interface { pulumi.Input ToResolverOutput() ResolverOutput ToResolverOutputWithContext(ctx context.Context) ResolverOutput }
type ResolverMap ¶
type ResolverMap map[string]ResolverInput
func (ResolverMap) ElementType ¶
func (ResolverMap) ElementType() reflect.Type
func (ResolverMap) ToResolverMapOutput ¶
func (i ResolverMap) ToResolverMapOutput() ResolverMapOutput
func (ResolverMap) ToResolverMapOutputWithContext ¶
func (i ResolverMap) ToResolverMapOutputWithContext(ctx context.Context) ResolverMapOutput
type ResolverMapInput ¶
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 ¶
type ResolverMapOutput struct{ *pulumi.OutputState }
func (ResolverMapOutput) ElementType ¶
func (ResolverMapOutput) ElementType() reflect.Type
func (ResolverMapOutput) MapIndex ¶
func (o ResolverMapOutput) MapIndex(k pulumi.StringInput) ResolverOutput
func (ResolverMapOutput) ToResolverMapOutput ¶
func (o ResolverMapOutput) ToResolverMapOutput() ResolverMapOutput
func (ResolverMapOutput) ToResolverMapOutputWithContext ¶
func (o ResolverMapOutput) ToResolverMapOutputWithContext(ctx context.Context) ResolverMapOutput
type ResolverOutboundEndpoint ¶
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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v6/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{ Name: pulumi.String("example-resources"), Location: pulumi.String("west europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{ Name: pulumi.String("example-vnet"), ResourceGroupName: example.Name, Location: example.Location, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{ Name: pulumi.String("outbounddns"), ResourceGroupName: example.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, "example", &privatedns.ResolverArgs{ Name: pulumi.String("example-resolver"), ResourceGroupName: example.Name, Location: example.Location, VirtualNetworkId: exampleVirtualNetwork.ID(), }) if err != nil { return err } _, err = privatedns.NewResolverOutboundEndpoint(ctx, "example", &privatedns.ResolverOutboundEndpointArgs{ Name: pulumi.String("example-endpoint"), 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 ¶
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 ¶
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 ¶
func (*ResolverOutboundEndpoint) ElementType() reflect.Type
func (*ResolverOutboundEndpoint) ToResolverOutboundEndpointOutput ¶
func (i *ResolverOutboundEndpoint) ToResolverOutboundEndpointOutput() ResolverOutboundEndpointOutput
func (*ResolverOutboundEndpoint) ToResolverOutboundEndpointOutputWithContext ¶
func (i *ResolverOutboundEndpoint) ToResolverOutboundEndpointOutputWithContext(ctx context.Context) ResolverOutboundEndpointOutput
type ResolverOutboundEndpointArgs ¶
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 ¶
func (ResolverOutboundEndpointArgs) ElementType() reflect.Type
type ResolverOutboundEndpointArray ¶
type ResolverOutboundEndpointArray []ResolverOutboundEndpointInput
func (ResolverOutboundEndpointArray) ElementType ¶
func (ResolverOutboundEndpointArray) ElementType() reflect.Type
func (ResolverOutboundEndpointArray) ToResolverOutboundEndpointArrayOutput ¶
func (i ResolverOutboundEndpointArray) ToResolverOutboundEndpointArrayOutput() ResolverOutboundEndpointArrayOutput
func (ResolverOutboundEndpointArray) ToResolverOutboundEndpointArrayOutputWithContext ¶
func (i ResolverOutboundEndpointArray) ToResolverOutboundEndpointArrayOutputWithContext(ctx context.Context) ResolverOutboundEndpointArrayOutput
type ResolverOutboundEndpointArrayInput ¶
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 ¶
type ResolverOutboundEndpointArrayOutput struct{ *pulumi.OutputState }
func (ResolverOutboundEndpointArrayOutput) ElementType ¶
func (ResolverOutboundEndpointArrayOutput) ElementType() reflect.Type
func (ResolverOutboundEndpointArrayOutput) Index ¶
func (o ResolverOutboundEndpointArrayOutput) Index(i pulumi.IntInput) ResolverOutboundEndpointOutput
func (ResolverOutboundEndpointArrayOutput) ToResolverOutboundEndpointArrayOutput ¶
func (o ResolverOutboundEndpointArrayOutput) ToResolverOutboundEndpointArrayOutput() ResolverOutboundEndpointArrayOutput
func (ResolverOutboundEndpointArrayOutput) ToResolverOutboundEndpointArrayOutputWithContext ¶
func (o ResolverOutboundEndpointArrayOutput) ToResolverOutboundEndpointArrayOutputWithContext(ctx context.Context) ResolverOutboundEndpointArrayOutput
type ResolverOutboundEndpointInput ¶
type ResolverOutboundEndpointInput interface { pulumi.Input ToResolverOutboundEndpointOutput() ResolverOutboundEndpointOutput ToResolverOutboundEndpointOutputWithContext(ctx context.Context) ResolverOutboundEndpointOutput }
type ResolverOutboundEndpointMap ¶
type ResolverOutboundEndpointMap map[string]ResolverOutboundEndpointInput
func (ResolverOutboundEndpointMap) ElementType ¶
func (ResolverOutboundEndpointMap) ElementType() reflect.Type
func (ResolverOutboundEndpointMap) ToResolverOutboundEndpointMapOutput ¶
func (i ResolverOutboundEndpointMap) ToResolverOutboundEndpointMapOutput() ResolverOutboundEndpointMapOutput
func (ResolverOutboundEndpointMap) ToResolverOutboundEndpointMapOutputWithContext ¶
func (i ResolverOutboundEndpointMap) ToResolverOutboundEndpointMapOutputWithContext(ctx context.Context) ResolverOutboundEndpointMapOutput
type ResolverOutboundEndpointMapInput ¶
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 ¶
type ResolverOutboundEndpointMapOutput struct{ *pulumi.OutputState }
func (ResolverOutboundEndpointMapOutput) ElementType ¶
func (ResolverOutboundEndpointMapOutput) ElementType() reflect.Type
func (ResolverOutboundEndpointMapOutput) MapIndex ¶
func (o ResolverOutboundEndpointMapOutput) MapIndex(k pulumi.StringInput) ResolverOutboundEndpointOutput
func (ResolverOutboundEndpointMapOutput) ToResolverOutboundEndpointMapOutput ¶
func (o ResolverOutboundEndpointMapOutput) ToResolverOutboundEndpointMapOutput() ResolverOutboundEndpointMapOutput
func (ResolverOutboundEndpointMapOutput) ToResolverOutboundEndpointMapOutputWithContext ¶
func (o ResolverOutboundEndpointMapOutput) ToResolverOutboundEndpointMapOutputWithContext(ctx context.Context) ResolverOutboundEndpointMapOutput
type ResolverOutboundEndpointOutput ¶
type ResolverOutboundEndpointOutput struct{ *pulumi.OutputState }
func (ResolverOutboundEndpointOutput) ElementType ¶
func (ResolverOutboundEndpointOutput) ElementType() reflect.Type
func (ResolverOutboundEndpointOutput) Location ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o ResolverOutboundEndpointOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Private DNS Resolver Outbound Endpoint.
func (ResolverOutboundEndpointOutput) ToResolverOutboundEndpointOutput ¶
func (o ResolverOutboundEndpointOutput) ToResolverOutboundEndpointOutput() ResolverOutboundEndpointOutput
func (ResolverOutboundEndpointOutput) ToResolverOutboundEndpointOutputWithContext ¶
func (o ResolverOutboundEndpointOutput) ToResolverOutboundEndpointOutputWithContext(ctx context.Context) ResolverOutboundEndpointOutput
type ResolverOutboundEndpointState ¶
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 ¶
func (ResolverOutboundEndpointState) ElementType() reflect.Type
type ResolverOutput ¶
type ResolverOutput struct{ *pulumi.OutputState }
func (ResolverOutput) ElementType ¶
func (ResolverOutput) ElementType() reflect.Type
func (ResolverOutput) Location ¶
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 ¶
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 ¶
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 ¶
func (o ResolverOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Private DNS Resolver.
func (ResolverOutput) ToResolverOutput ¶
func (o ResolverOutput) ToResolverOutput() ResolverOutput
func (ResolverOutput) ToResolverOutputWithContext ¶
func (o ResolverOutput) ToResolverOutputWithContext(ctx context.Context) ResolverOutput
func (ResolverOutput) VirtualNetworkId ¶
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 ¶
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 ¶
func (ResolverState) ElementType() reflect.Type
type ResolverVirtualNetworkLink ¶
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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v6/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{ Name: pulumi.String("example-resources"), Location: pulumi.String("west europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{ Name: pulumi.String("example-vnet"), ResourceGroupName: example.Name, Location: example.Location, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{ Name: pulumi.String("outbounddns"), ResourceGroupName: example.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, "example", &privatedns.ResolverArgs{ Name: pulumi.String("example-resolver"), ResourceGroupName: example.Name, Location: example.Location, VirtualNetworkId: exampleVirtualNetwork.ID(), }) if err != nil { return err } exampleResolverOutboundEndpoint, err := privatedns.NewResolverOutboundEndpoint(ctx, "example", &privatedns.ResolverOutboundEndpointArgs{ Name: pulumi.String("example-endpoint"), 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, "example", &privatedns.ResolverDnsForwardingRulesetArgs{ Name: pulumi.String("example-ruleset"), ResourceGroupName: example.Name, Location: example.Location, PrivateDnsResolverOutboundEndpointIds: pulumi.StringArray{ exampleResolverOutboundEndpoint.ID(), }, Tags: pulumi.StringMap{ "key": pulumi.String("value"), }, }) if err != nil { return err } _, err = privatedns.NewResolverVirtualNetworkLink(ctx, "example", &privatedns.ResolverVirtualNetworkLinkArgs{ Name: pulumi.String("example-link"), 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 ¶
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 ¶
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 ¶
func (*ResolverVirtualNetworkLink) ElementType() reflect.Type
func (*ResolverVirtualNetworkLink) ToResolverVirtualNetworkLinkOutput ¶
func (i *ResolverVirtualNetworkLink) ToResolverVirtualNetworkLinkOutput() ResolverVirtualNetworkLinkOutput
func (*ResolverVirtualNetworkLink) ToResolverVirtualNetworkLinkOutputWithContext ¶
func (i *ResolverVirtualNetworkLink) ToResolverVirtualNetworkLinkOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkOutput
type ResolverVirtualNetworkLinkArgs ¶
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 ¶
func (ResolverVirtualNetworkLinkArgs) ElementType() reflect.Type
type ResolverVirtualNetworkLinkArray ¶
type ResolverVirtualNetworkLinkArray []ResolverVirtualNetworkLinkInput
func (ResolverVirtualNetworkLinkArray) ElementType ¶
func (ResolverVirtualNetworkLinkArray) ElementType() reflect.Type
func (ResolverVirtualNetworkLinkArray) ToResolverVirtualNetworkLinkArrayOutput ¶
func (i ResolverVirtualNetworkLinkArray) ToResolverVirtualNetworkLinkArrayOutput() ResolverVirtualNetworkLinkArrayOutput
func (ResolverVirtualNetworkLinkArray) ToResolverVirtualNetworkLinkArrayOutputWithContext ¶
func (i ResolverVirtualNetworkLinkArray) ToResolverVirtualNetworkLinkArrayOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkArrayOutput
type ResolverVirtualNetworkLinkArrayInput ¶
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 ¶
type ResolverVirtualNetworkLinkArrayOutput struct{ *pulumi.OutputState }
func (ResolverVirtualNetworkLinkArrayOutput) ElementType ¶
func (ResolverVirtualNetworkLinkArrayOutput) ElementType() reflect.Type
func (ResolverVirtualNetworkLinkArrayOutput) Index ¶
func (o ResolverVirtualNetworkLinkArrayOutput) Index(i pulumi.IntInput) ResolverVirtualNetworkLinkOutput
func (ResolverVirtualNetworkLinkArrayOutput) ToResolverVirtualNetworkLinkArrayOutput ¶
func (o ResolverVirtualNetworkLinkArrayOutput) ToResolverVirtualNetworkLinkArrayOutput() ResolverVirtualNetworkLinkArrayOutput
func (ResolverVirtualNetworkLinkArrayOutput) ToResolverVirtualNetworkLinkArrayOutputWithContext ¶
func (o ResolverVirtualNetworkLinkArrayOutput) ToResolverVirtualNetworkLinkArrayOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkArrayOutput
type ResolverVirtualNetworkLinkInput ¶
type ResolverVirtualNetworkLinkInput interface { pulumi.Input ToResolverVirtualNetworkLinkOutput() ResolverVirtualNetworkLinkOutput ToResolverVirtualNetworkLinkOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkOutput }
type ResolverVirtualNetworkLinkMap ¶
type ResolverVirtualNetworkLinkMap map[string]ResolverVirtualNetworkLinkInput
func (ResolverVirtualNetworkLinkMap) ElementType ¶
func (ResolverVirtualNetworkLinkMap) ElementType() reflect.Type
func (ResolverVirtualNetworkLinkMap) ToResolverVirtualNetworkLinkMapOutput ¶
func (i ResolverVirtualNetworkLinkMap) ToResolverVirtualNetworkLinkMapOutput() ResolverVirtualNetworkLinkMapOutput
func (ResolverVirtualNetworkLinkMap) ToResolverVirtualNetworkLinkMapOutputWithContext ¶
func (i ResolverVirtualNetworkLinkMap) ToResolverVirtualNetworkLinkMapOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkMapOutput
type ResolverVirtualNetworkLinkMapInput ¶
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 ¶
type ResolverVirtualNetworkLinkMapOutput struct{ *pulumi.OutputState }
func (ResolverVirtualNetworkLinkMapOutput) ElementType ¶
func (ResolverVirtualNetworkLinkMapOutput) ElementType() reflect.Type
func (ResolverVirtualNetworkLinkMapOutput) MapIndex ¶
func (o ResolverVirtualNetworkLinkMapOutput) MapIndex(k pulumi.StringInput) ResolverVirtualNetworkLinkOutput
func (ResolverVirtualNetworkLinkMapOutput) ToResolverVirtualNetworkLinkMapOutput ¶
func (o ResolverVirtualNetworkLinkMapOutput) ToResolverVirtualNetworkLinkMapOutput() ResolverVirtualNetworkLinkMapOutput
func (ResolverVirtualNetworkLinkMapOutput) ToResolverVirtualNetworkLinkMapOutputWithContext ¶
func (o ResolverVirtualNetworkLinkMapOutput) ToResolverVirtualNetworkLinkMapOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkMapOutput
type ResolverVirtualNetworkLinkOutput ¶
type ResolverVirtualNetworkLinkOutput struct{ *pulumi.OutputState }
func (ResolverVirtualNetworkLinkOutput) DnsForwardingRulesetId ¶
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 ¶
func (ResolverVirtualNetworkLinkOutput) ElementType() reflect.Type
func (ResolverVirtualNetworkLinkOutput) Metadata ¶
func (o ResolverVirtualNetworkLinkOutput) Metadata() pulumi.StringMapOutput
Metadata attached to the Private DNS Resolver Virtual Network Link.
func (ResolverVirtualNetworkLinkOutput) Name ¶
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 ¶
func (o ResolverVirtualNetworkLinkOutput) ToResolverVirtualNetworkLinkOutput() ResolverVirtualNetworkLinkOutput
func (ResolverVirtualNetworkLinkOutput) ToResolverVirtualNetworkLinkOutputWithContext ¶
func (o ResolverVirtualNetworkLinkOutput) ToResolverVirtualNetworkLinkOutputWithContext(ctx context.Context) ResolverVirtualNetworkLinkOutput
func (ResolverVirtualNetworkLinkOutput) VirtualNetworkId ¶
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 ¶
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 ¶
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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/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{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleZone, err := privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{ Name: pulumi.String("contoso.com"), ResourceGroupName: example.Name, }) if err != nil { return err } _, err = privatedns.NewSRVRecord(ctx, "example", &privatedns.SRVRecordArgs{ Name: pulumi.String("test"), ResourceGroupName: example.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 ¶
func (o SRVRecordOutput) Fqdn() pulumi.StringOutput
The FQDN of the DNS SRV Record.
func (SRVRecordOutput) Name ¶
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 ¶
func (o SRVRecordOutput) Records() SRVRecordRecordArrayOutput
One or more `record` blocks as defined below.
func (SRVRecordOutput) ResourceGroupName ¶
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 ¶
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 ¶
func (o SRVRecordOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the DNS record in seconds.
func (SRVRecordOutput) ZoneName ¶
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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/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{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleZone, err := privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{ Name: pulumi.String("contoso.com"), ResourceGroupName: example.Name, }) if err != nil { return err } _, err = privatedns.NewTxtRecord(ctx, "example", &privatedns.TxtRecordArgs{ Name: pulumi.String("test"), ResourceGroupName: example.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 ¶
func (o TxtRecordOutput) Fqdn() pulumi.StringOutput
The FQDN of the DNS TXT Record.
func (TxtRecordOutput) Name ¶
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 ¶
func (o TxtRecordOutput) Records() TxtRecordRecordArrayOutput
One or more `record` blocks as defined below.
func (TxtRecordOutput) ResourceGroupName ¶
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 ¶
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 ¶
func (o TxtRecordOutput) Ttl() pulumi.IntOutput
The Time To Live (TTL) of the DNS record in seconds.
func (TxtRecordOutput) ZoneName ¶
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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/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{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{ Name: pulumi.String("mydomain.com"), ResourceGroupName: example.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 ¶
func (o ZoneOutput) MaxNumberOfRecordSets() pulumi.IntOutput
The maximum number of record sets that can be created in this Private DNS zone.
func (ZoneOutput) MaxNumberOfVirtualNetworkLinks ¶
func (o ZoneOutput) MaxNumberOfVirtualNetworkLinks() pulumi.IntOutput
The maximum number of virtual networks that can be linked to this Private DNS zone.
func (ZoneOutput) MaxNumberOfVirtualNetworkLinksWithRegistration ¶
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 ¶
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 ¶
func (o ZoneOutput) NumberOfRecordSets() pulumi.IntOutput
The current number of record sets in this Private DNS zone.
func (ZoneOutput) ResourceGroupName ¶
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 ¶
func (o ZoneOutput) SoaRecord() ZoneSoaRecordOutput
An `soaRecord` block as defined below. Changing this forces a new resource to be created.
func (ZoneOutput) Tags ¶
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/v6/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v6/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{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleZone, err := privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{ Name: pulumi.String("mydomain.com"), ResourceGroupName: example.Name, }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{ Name: pulumi.String("test-network"), AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, Location: example.Location, ResourceGroupName: example.Name, }) if err != nil { return err } _, err = privatedns.NewZoneVirtualNetworkLink(ctx, "example", &privatedns.ZoneVirtualNetworkLinkArgs{ Name: pulumi.String("test"), ResourceGroupName: example.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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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