-
Notifications
You must be signed in to change notification settings - Fork 188
/
fleet_status_arm_types_gen.go
111 lines (86 loc) · 4.87 KB
/
fleet_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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package v1api20230315preview
// The Fleet resource.
type Fleet_STATUS_ARM struct {
// ETag: If eTag is provided in the response body, it may also be provided as a header per the normal etag convention.
// Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in
// the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header
// fields.
ETag *string `json:"eTag,omitempty"`
// Id: Fully qualified resource ID for the resource. Ex -
// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Id *string `json:"id,omitempty"`
// Location: The geo-location where the resource lives
Location *string `json:"location,omitempty"`
// Name: The name of the resource
Name *string `json:"name,omitempty"`
// Properties: The resource-specific properties for this resource.
Properties *FleetProperties_STATUS_ARM `json:"properties,omitempty"`
// SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
SystemData *SystemData_STATUS_ARM `json:"systemData,omitempty"`
// Tags: Resource tags.
Tags map[string]string `json:"tags"`
// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Type *string `json:"type,omitempty"`
}
// Fleet properties.
type FleetProperties_STATUS_ARM struct {
// HubProfile: The FleetHubProfile configures the Fleet's hub.
HubProfile *FleetHubProfile_STATUS_ARM `json:"hubProfile,omitempty"`
// ProvisioningState: The status of the last operation.
ProvisioningState *FleetProvisioningState_STATUS `json:"provisioningState,omitempty"`
}
// Metadata pertaining to creation and last modification of the resource.
type SystemData_STATUS_ARM struct {
// CreatedAt: The timestamp of resource creation (UTC).
CreatedAt *string `json:"createdAt,omitempty"`
// CreatedBy: The identity that created the resource.
CreatedBy *string `json:"createdBy,omitempty"`
// CreatedByType: The type of identity that created the resource.
CreatedByType *SystemData_CreatedByType_STATUS `json:"createdByType,omitempty"`
// LastModifiedAt: The timestamp of resource last modification (UTC)
LastModifiedAt *string `json:"lastModifiedAt,omitempty"`
// LastModifiedBy: The identity that last modified the resource.
LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
// LastModifiedByType: The type of identity that last modified the resource.
LastModifiedByType *SystemData_LastModifiedByType_STATUS `json:"lastModifiedByType,omitempty"`
}
// The FleetHubProfile configures the fleet hub.
type FleetHubProfile_STATUS_ARM struct {
// DnsPrefix: DNS prefix used to create the FQDN for the Fleet hub.
DnsPrefix *string `json:"dnsPrefix,omitempty"`
// Fqdn: The FQDN of the Fleet hub.
Fqdn *string `json:"fqdn,omitempty"`
// KubernetesVersion: The Kubernetes version of the Fleet hub.
KubernetesVersion *string `json:"kubernetesVersion,omitempty"`
}
type SystemData_CreatedByType_STATUS string
const (
SystemData_CreatedByType_STATUS_Application = SystemData_CreatedByType_STATUS("Application")
SystemData_CreatedByType_STATUS_Key = SystemData_CreatedByType_STATUS("Key")
SystemData_CreatedByType_STATUS_ManagedIdentity = SystemData_CreatedByType_STATUS("ManagedIdentity")
SystemData_CreatedByType_STATUS_User = SystemData_CreatedByType_STATUS("User")
)
// Mapping from string to SystemData_CreatedByType_STATUS
var systemData_CreatedByType_STATUS_Values = map[string]SystemData_CreatedByType_STATUS{
"application": SystemData_CreatedByType_STATUS_Application,
"key": SystemData_CreatedByType_STATUS_Key,
"managedidentity": SystemData_CreatedByType_STATUS_ManagedIdentity,
"user": SystemData_CreatedByType_STATUS_User,
}
type SystemData_LastModifiedByType_STATUS string
const (
SystemData_LastModifiedByType_STATUS_Application = SystemData_LastModifiedByType_STATUS("Application")
SystemData_LastModifiedByType_STATUS_Key = SystemData_LastModifiedByType_STATUS("Key")
SystemData_LastModifiedByType_STATUS_ManagedIdentity = SystemData_LastModifiedByType_STATUS("ManagedIdentity")
SystemData_LastModifiedByType_STATUS_User = SystemData_LastModifiedByType_STATUS("User")
)
// Mapping from string to SystemData_LastModifiedByType_STATUS
var systemData_LastModifiedByType_STATUS_Values = map[string]SystemData_LastModifiedByType_STATUS{
"application": SystemData_LastModifiedByType_STATUS_Application,
"key": SystemData_LastModifiedByType_STATUS_Key,
"managedidentity": SystemData_LastModifiedByType_STATUS_ManagedIdentity,
"user": SystemData_LastModifiedByType_STATUS_User,
}