// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package arm

import "github.com/Azure/azure-service-operator/v2/pkg/genruntime"

type DnsForwardingRuleSetsVirtualNetworkLink_Spec struct {
	Name string `json:"name,omitempty"`

	// Properties: Properties of the virtual network link.
	Properties *VirtualNetworkLinkProperties `json:"properties,omitempty"`
}

var _ genruntime.ARMResourceSpec = &DnsForwardingRuleSetsVirtualNetworkLink_Spec{}

// GetAPIVersion returns the ARM API version of the resource. This is always "2022-07-01"
func (link DnsForwardingRuleSetsVirtualNetworkLink_Spec) GetAPIVersion() string {
	return "2022-07-01"
}

// GetName returns the Name of the resource
func (link *DnsForwardingRuleSetsVirtualNetworkLink_Spec) GetName() string {
	return link.Name
}

// GetType returns the ARM Type of the resource. This is always "Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks"
func (link *DnsForwardingRuleSetsVirtualNetworkLink_Spec) GetType() string {
	return "Microsoft.Network/dnsForwardingRulesets/virtualNetworkLinks"
}

// Represents the properties of a virtual network link.
type VirtualNetworkLinkProperties struct {
	// Metadata: Metadata attached to the virtual network link.
	Metadata map[string]string `json:"metadata,omitempty"`

	// VirtualNetwork: The reference to the virtual network. This cannot be changed after creation.
	VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"`
}
