/
servers_database_spec_arm_types_gen.go
39 lines (30 loc) · 1.26 KB
/
servers_database_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
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package v1api20180601
import "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
type Servers_Database_Spec_ARM struct {
Name string `json:"name,omitempty"`
// Properties: The properties of a database.
Properties *DatabaseProperties_ARM `json:"properties,omitempty"`
}
var _ genruntime.ARMResourceSpec = &Servers_Database_Spec_ARM{}
// GetAPIVersion returns the ARM API version of the resource. This is always "2018-06-01"
func (database Servers_Database_Spec_ARM) GetAPIVersion() string {
return string(APIVersion_Value)
}
// GetName returns the Name of the resource
func (database *Servers_Database_Spec_ARM) GetName() string {
return database.Name
}
// GetType returns the ARM Type of the resource. This is always "Microsoft.DBforMariaDB/servers/databases"
func (database *Servers_Database_Spec_ARM) GetType() string {
return "Microsoft.DBforMariaDB/servers/databases"
}
// The properties of a database.
type DatabaseProperties_ARM struct {
// Charset: The charset of the database.
Charset *string `json:"charset,omitempty"`
// Collation: The collation of the database.
Collation *string `json:"collation,omitempty"`
}