// 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 NotificationHubsAuthorizationRule_Spec struct {
	// Location: Deprecated - only for compatibility.
	Location *string `json:"location,omitempty"`
	Name     string  `json:"name,omitempty"`

	// Properties: SharedAccessAuthorizationRule properties.
	Properties *SharedAccessAuthorizationRuleProperties `json:"properties,omitempty"`

	// Tags: Deprecated - only for compatibility.
	Tags map[string]string `json:"tags,omitempty"`
}

var _ genruntime.ARMResourceSpec = &NotificationHubsAuthorizationRule_Spec{}

// GetAPIVersion returns the ARM API version of the resource. This is always "2023-09-01"
func (rule NotificationHubsAuthorizationRule_Spec) GetAPIVersion() string {
	return "2023-09-01"
}

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

// GetType returns the ARM Type of the resource. This is always "Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules"
func (rule *NotificationHubsAuthorizationRule_Spec) GetType() string {
	return "Microsoft.NotificationHubs/namespaces/notificationHubs/authorizationRules"
}
