This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.network.getVirtualNetworkLink
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Gets a virtual network link to the specified Private DNS zone. Azure REST API version: 2020-06-01.
Other available API versions: 2024-06-01.
Using getVirtualNetworkLink
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVirtualNetworkLink(args: GetVirtualNetworkLinkArgs, opts?: InvokeOptions): Promise<GetVirtualNetworkLinkResult>
function getVirtualNetworkLinkOutput(args: GetVirtualNetworkLinkOutputArgs, opts?: InvokeOptions): Output<GetVirtualNetworkLinkResult>
def get_virtual_network_link(private_zone_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
virtual_network_link_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualNetworkLinkResult
def get_virtual_network_link_output(private_zone_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
virtual_network_link_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualNetworkLinkResult]
func LookupVirtualNetworkLink(ctx *Context, args *LookupVirtualNetworkLinkArgs, opts ...InvokeOption) (*LookupVirtualNetworkLinkResult, error)
func LookupVirtualNetworkLinkOutput(ctx *Context, args *LookupVirtualNetworkLinkOutputArgs, opts ...InvokeOption) LookupVirtualNetworkLinkResultOutput
> Note: This function is named LookupVirtualNetworkLink
in the Go SDK.
public static class GetVirtualNetworkLink
{
public static Task<GetVirtualNetworkLinkResult> InvokeAsync(GetVirtualNetworkLinkArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualNetworkLinkResult> Invoke(GetVirtualNetworkLinkInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVirtualNetworkLinkResult> getVirtualNetworkLink(GetVirtualNetworkLinkArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:network:getVirtualNetworkLink
arguments:
# arguments dictionary
The following arguments are supported:
- Private
Zone stringName - The name of the Private DNS zone (without a terminating dot).
- Resource
Group stringName - The name of the resource group.
- Virtual
Network stringLink Name - The name of the virtual network link.
- Private
Zone stringName - The name of the Private DNS zone (without a terminating dot).
- Resource
Group stringName - The name of the resource group.
- Virtual
Network stringLink Name - The name of the virtual network link.
- private
Zone StringName - The name of the Private DNS zone (without a terminating dot).
- resource
Group StringName - The name of the resource group.
- virtual
Network StringLink Name - The name of the virtual network link.
- private
Zone stringName - The name of the Private DNS zone (without a terminating dot).
- resource
Group stringName - The name of the resource group.
- virtual
Network stringLink Name - The name of the virtual network link.
- private_
zone_ strname - The name of the Private DNS zone (without a terminating dot).
- resource_
group_ strname - The name of the resource group.
- virtual_
network_ strlink_ name - The name of the virtual network link.
- private
Zone StringName - The name of the Private DNS zone (without a terminating dot).
- resource
Group StringName - The name of the resource group.
- virtual
Network StringLink Name - The name of the virtual network link.
getVirtualNetworkLink Result
The following output properties are available:
- Id string
- Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored.
- Type string
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- Virtual
Network stringLink State - The status of the virtual network link to the Private DNS zone. Possible values are 'InProgress' and 'Done'. This is a read-only property and any attempt to set this value will be ignored.
- Etag string
- The ETag of the virtual network link.
- Location string
- The Azure Region where the resource lives
- Registration
Enabled bool - Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?
- Dictionary<string, string>
- Resource tags.
- Virtual
Network Pulumi.Azure Native. Network. Outputs. Sub Resource Response - The reference of the virtual network.
- Id string
- Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored.
- Type string
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- Virtual
Network stringLink State - The status of the virtual network link to the Private DNS zone. Possible values are 'InProgress' and 'Done'. This is a read-only property and any attempt to set this value will be ignored.
- Etag string
- The ETag of the virtual network link.
- Location string
- The Azure Region where the resource lives
- Registration
Enabled bool - Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?
- map[string]string
- Resource tags.
- Virtual
Network SubResource Response - The reference of the virtual network.
- id String
- Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored.
- type String
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- virtual
Network StringLink State - The status of the virtual network link to the Private DNS zone. Possible values are 'InProgress' and 'Done'. This is a read-only property and any attempt to set this value will be ignored.
- etag String
- The ETag of the virtual network link.
- location String
- The Azure Region where the resource lives
- registration
Enabled Boolean - Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?
- Map<String,String>
- Resource tags.
- virtual
Network SubResource Response - The reference of the virtual network.
- id string
- Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
- name string
- The name of the resource
- provisioning
State string - The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored.
- type string
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- virtual
Network stringLink State - The status of the virtual network link to the Private DNS zone. Possible values are 'InProgress' and 'Done'. This is a read-only property and any attempt to set this value will be ignored.
- etag string
- The ETag of the virtual network link.
- location string
- The Azure Region where the resource lives
- registration
Enabled boolean - Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?
- {[key: string]: string}
- Resource tags.
- virtual
Network SubResource Response - The reference of the virtual network.
- id str
- Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
- name str
- The name of the resource
- provisioning_
state str - The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored.
- type str
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- virtual_
network_ strlink_ state - The status of the virtual network link to the Private DNS zone. Possible values are 'InProgress' and 'Done'. This is a read-only property and any attempt to set this value will be ignored.
- etag str
- The ETag of the virtual network link.
- location str
- The Azure Region where the resource lives
- registration_
enabled bool - Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?
- Mapping[str, str]
- Resource tags.
- virtual_
network SubResource Response - The reference of the virtual network.
- id String
- Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored.
- type String
- The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
- virtual
Network StringLink State - The status of the virtual network link to the Private DNS zone. Possible values are 'InProgress' and 'Done'. This is a read-only property and any attempt to set this value will be ignored.
- etag String
- The ETag of the virtual network link.
- location String
- The Azure Region where the resource lives
- registration
Enabled Boolean - Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?
- Map<String>
- Resource tags.
- virtual
Network Property Map - The reference of the virtual network.
Supporting Types
SubResourceResponse
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi