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

	// Properties: Custom certificate properties.
	Properties *CustomCertificateProperties `json:"properties,omitempty"`
}

var _ genruntime.ARMResourceSpec = &CustomCertificate_Spec{}

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

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

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

// Custom certificate properties.
type CustomCertificateProperties struct {
	// KeyVaultBaseUri: Base uri of the KeyVault that stores certificate.
	KeyVaultBaseUri *string `json:"keyVaultBaseUri,omitempty" optionalConfigMapPair:"KeyVaultBaseUri"`

	// KeyVaultSecretName: Certificate secret name.
	KeyVaultSecretName *string `json:"keyVaultSecretName,omitempty"`

	// KeyVaultSecretVersion: Certificate secret version.
	KeyVaultSecretVersion *string `json:"keyVaultSecretVersion,omitempty"`
}
