/
resource_group_spec_arm_types_gen.go
36 lines (28 loc) · 1.29 KB
/
resource_group_spec_arm_types_gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package v1api20200601
import "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
type ResourceGroup_Spec_ARM struct {
// Location: The location of the resource group. It cannot be changed after the resource group has been created. It must be
// one of the supported Azure locations.
Location *string `json:"location,omitempty"`
// ManagedBy: The ID of the resource that manages this resource group.
ManagedBy *string `json:"managedBy,omitempty"`
Name string `json:"name,omitempty"`
// Tags: The tags attached to the resource group.
Tags map[string]string `json:"tags,omitempty"`
}
var _ genruntime.ARMResourceSpec = &ResourceGroup_Spec_ARM{}
// GetAPIVersion returns the ARM API version of the resource. This is always "2020-06-01"
func (group ResourceGroup_Spec_ARM) GetAPIVersion() string {
return string(APIVersion_Value)
}
// GetName returns the Name of the resource
func (group *ResourceGroup_Spec_ARM) GetName() string {
return group.Name
}
// GetType returns the ARM Type of the resource. This is always "Microsoft.Resources/resourceGroups"
func (group *ResourceGroup_Spec_ARM) GetType() string {
return "Microsoft.Resources/resourceGroups"
}