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

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

type PrivateEndpoints_PrivateDnsZoneGroup_Spec_ARM struct {
	// Name: Name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name string `json:"name,omitempty"`

	// Properties: Properties of the private dns zone group.
	Properties *PrivateDnsZoneGroupPropertiesFormat_ARM `json:"properties,omitempty"`
}

var _ genruntime.ARMResourceSpec = &PrivateEndpoints_PrivateDnsZoneGroup_Spec_ARM{}

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

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

// GetType returns the ARM Type of the resource. This is always "Microsoft.Network/privateEndpoints/privateDnsZoneGroups"
func (group *PrivateEndpoints_PrivateDnsZoneGroup_Spec_ARM) GetType() string {
	return "Microsoft.Network/privateEndpoints/privateDnsZoneGroups"
}

// Properties of the private dns zone group.
type PrivateDnsZoneGroupPropertiesFormat_ARM struct {
	// PrivateDnsZoneConfigs: A collection of private dns zone configurations of the private dns zone group.
	PrivateDnsZoneConfigs []PrivateDnsZoneConfig_ARM `json:"privateDnsZoneConfigs,omitempty"`
}

// PrivateDnsZoneConfig resource.
type PrivateDnsZoneConfig_ARM struct {
	// Name: Name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`

	// Properties: Properties of the private dns zone configuration.
	Properties *PrivateDnsZonePropertiesFormat_ARM `json:"properties,omitempty"`
}

// Properties of the private dns zone configuration resource.
type PrivateDnsZonePropertiesFormat_ARM struct {
	PrivateDnsZoneId *string `json:"privateDnsZoneId,omitempty"`
}
