// 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 DnsForwardingRuleset_Spec struct {
	// Location: The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	Name     string  `json:"name,omitempty"`

	// Properties: Properties of the DNS forwarding ruleset.
	Properties *DnsForwardingRulesetProperties `json:"properties,omitempty"`

	// Tags: Resource tags.
	Tags map[string]string `json:"tags,omitempty"`
}

var _ genruntime.ARMResourceSpec = &DnsForwardingRuleset_Spec{}

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

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

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

// Represents the properties of a DNS forwarding ruleset.
type DnsForwardingRulesetProperties struct {
	// DnsResolverOutboundEndpoints: The reference to the DNS resolver outbound endpoints that are used to route DNS queries
	// matching the forwarding rules in the ruleset to the target DNS servers.
	DnsResolverOutboundEndpoints []SubResource `json:"dnsResolverOutboundEndpoints,omitempty"`
}
