/
database_accounts_mongodb_database_status_arm_types_gen.go
58 lines (45 loc) · 2.24 KB
/
database_accounts_mongodb_database_status_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
47
48
49
50
51
52
53
54
55
56
57
58
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package v1api20210515
type DatabaseAccounts_MongodbDatabase_STATUS_ARM struct {
// Id: The unique resource identifier of the ARM resource.
Id *string `json:"id,omitempty"`
// Location: The location of the resource group to which the resource belongs.
Location *string `json:"location,omitempty"`
// Name: The name of the ARM resource.
Name *string `json:"name,omitempty"`
// Properties: The properties of an Azure Cosmos DB MongoDB database
Properties *MongoDBDatabaseGetProperties_STATUS_ARM `json:"properties,omitempty"`
Tags map[string]string `json:"tags,omitempty"`
// Type: The type of Azure resource.
Type *string `json:"type,omitempty"`
}
// The properties of an Azure Cosmos DB MongoDB database
type MongoDBDatabaseGetProperties_STATUS_ARM struct {
// Options: Cosmos DB options resource object
Options *OptionsResource_STATUS_ARM `json:"options,omitempty"`
Resource *MongoDBDatabaseGetProperties_Resource_STATUS_ARM `json:"resource,omitempty"`
}
type MongoDBDatabaseGetProperties_Resource_STATUS_ARM struct {
// Etag: A system generated property representing the resource etag required for optimistic concurrency control.
Etag *string `json:"_etag,omitempty"`
// Id: Name of the Cosmos DB MongoDB database
Id *string `json:"id,omitempty"`
// Rid: A system generated property. A unique identifier.
Rid *string `json:"_rid,omitempty"`
// Ts: A system generated property that denotes the last updated timestamp of the resource.
Ts *float64 `json:"_ts,omitempty"`
}
// Cosmos DB options resource object
type OptionsResource_STATUS_ARM struct {
// AutoscaleSettings: Specifies the Autoscale settings.
AutoscaleSettings *AutoscaleSettings_STATUS_ARM `json:"autoscaleSettings,omitempty"`
// Throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when
// retrieving offer details.
Throughput *int `json:"throughput,omitempty"`
}
type AutoscaleSettings_STATUS_ARM struct {
// MaxThroughput: Represents maximum throughput, the resource can scale up to.
MaxThroughput *int `json:"maxThroughput,omitempty"`
}