// 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 CustomDomain_Spec struct {
	Name string `json:"name,omitempty"`

	// Properties: Properties of a custom domain.
	Properties *CustomDomainProperties `json:"properties,omitempty"`
}

var _ genruntime.ARMResourceSpec = &CustomDomain_Spec{}

// GetAPIVersion returns the ARM API version of the resource. This is always "2024-03-01"
func (domain CustomDomain_Spec) GetAPIVersion() string {
	return "2024-03-01"
}

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

// GetType returns the ARM Type of the resource. This is always "Microsoft.SignalRService/signalR/customDomains"
func (domain *CustomDomain_Spec) GetType() string {
	return "Microsoft.SignalRService/signalR/customDomains"
}

// Properties of a custom domain.
type CustomDomainProperties struct {
	// CustomCertificate: Reference to a resource.
	CustomCertificate *ResourceReference `json:"customCertificate,omitempty"`

	// DomainName: The custom domain name.
	DomainName *string `json:"domainName,omitempty"`
}

// Reference to a resource.
type ResourceReference struct {
	// Id: Resource ID.
	Id *string `json:"id,omitempty"`
}
