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

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

type Alias_Spec_ARM struct {
	Name string `json:"name,omitempty"`

	// Properties: Put alias request properties.
	Properties *PutAliasRequestProperties_ARM `json:"properties,omitempty"`
}

var _ genruntime.ARMResourceSpec = &Alias_Spec_ARM{}

// GetAPIVersion returns the ARM API version of the resource. This is always "2021-10-01"
func (alias Alias_Spec_ARM) GetAPIVersion() string {
	return string(APIVersion_Value)
}

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

// GetType returns the ARM Type of the resource. This is always "Microsoft.Subscription/aliases"
func (alias *Alias_Spec_ARM) GetType() string {
	return "Microsoft.Subscription/aliases"
}

// Put subscription properties.
type PutAliasRequestProperties_ARM struct {
	// AdditionalProperties: Put alias request additional properties.
	AdditionalProperties *PutAliasRequestAdditionalProperties_ARM `json:"additionalProperties,omitempty"`
	BillingScope         *string                                  `json:"billingScope,omitempty"`

	// DisplayName: The friendly name of the subscription.
	DisplayName *string `json:"displayName,omitempty"`

	// ResellerId: Reseller Id
	ResellerId *string `json:"resellerId,omitempty"`

	// SubscriptionId: This parameter can be used to create alias for existing subscription Id
	SubscriptionId *string `json:"subscriptionId,omitempty"`

	// Workload: The workload type of the subscription. It can be either Production or DevTest.
	Workload *Workload `json:"workload,omitempty"`
}

// Put subscription additional properties.
type PutAliasRequestAdditionalProperties_ARM struct {
	// ManagementGroupId: Management group Id for the subscription.
	ManagementGroupId *string `json:"managementGroupId,omitempty"`

	// SubscriptionOwnerId: Owner Id of the subscription
	SubscriptionOwnerId *string `json:"subscriptionOwnerId,omitempty"`

	// SubscriptionTenantId: Tenant Id of the subscription
	SubscriptionTenantId *string `json:"subscriptionTenantId,omitempty"`

	// Tags: Tags for the subscription
	Tags map[string]string `json:"tags,omitempty"`
}

// The workload type of the subscription. It can be either Production or DevTest.
// +kubebuilder:validation:Enum={"DevTest","Production"}
type Workload string

const (
	Workload_DevTest    = Workload("DevTest")
	Workload_Production = Workload("Production")
)
