-
Notifications
You must be signed in to change notification settings - Fork 188
/
flexible_servers_administrator_spec_arm_types_gen.go
46 lines (35 loc) · 1.79 KB
/
flexible_servers_administrator_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
37
38
39
40
41
42
43
44
45
46
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package v1api20220101
import "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
type FlexibleServers_Administrator_Spec_ARM struct {
Name string `json:"name,omitempty"`
// Properties: The properties of an administrator.
Properties *AdministratorProperties_ARM `json:"properties,omitempty"`
}
var _ genruntime.ARMResourceSpec = &FlexibleServers_Administrator_Spec_ARM{}
// GetAPIVersion returns the ARM API version of the resource. This is always "2022-01-01"
func (administrator FlexibleServers_Administrator_Spec_ARM) GetAPIVersion() string {
return string(APIVersion_Value)
}
// GetName returns the Name of the resource
func (administrator *FlexibleServers_Administrator_Spec_ARM) GetName() string {
return administrator.Name
}
// GetType returns the ARM Type of the resource. This is always "Microsoft.DBforMySQL/flexibleServers/administrators"
func (administrator *FlexibleServers_Administrator_Spec_ARM) GetType() string {
return "Microsoft.DBforMySQL/flexibleServers/administrators"
}
// The properties of an administrator.
type AdministratorProperties_ARM struct {
// AdministratorType: Type of the sever administrator.
AdministratorType *AdministratorProperties_AdministratorType `json:"administratorType,omitempty"`
IdentityResourceId *string `json:"identityResourceId,omitempty"`
// Login: Login name of the server administrator.
Login *string `json:"login,omitempty"`
// Sid: SID (object ID) of the server administrator.
Sid *string `json:"sid,omitempty" optionalConfigMapPair:"Sid"`
// TenantId: Tenant ID of the administrator.
TenantId *string `json:"tenantId,omitempty" optionalConfigMapPair:"TenantId"`
}