/
role_assignment_status_arm_types_gen.go
60 lines (44 loc) · 2.15 KB
/
role_assignment_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
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package v1api20200801preview
// Role Assignments
type RoleAssignment_STATUS_ARM struct {
// Id: The role assignment ID.
Id *string `json:"id,omitempty"`
// Name: The role assignment name.
Name *string `json:"name,omitempty"`
// Properties: Role assignment properties.
Properties *RoleAssignmentProperties_STATUS_ARM `json:"properties,omitempty"`
// Type: The role assignment type.
Type *string `json:"type,omitempty"`
}
// Role assignment properties.
type RoleAssignmentProperties_STATUS_ARM struct {
// Condition: The conditions on the role assignment. This limits the resources it can be assigned to. e.g.:
// @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase
// 'foo_storage_container'
Condition *string `json:"condition,omitempty"`
// ConditionVersion: Version of the condition. Currently accepted value is '2.0'
ConditionVersion *string `json:"conditionVersion,omitempty"`
// CreatedBy: Id of the user who created the assignment
CreatedBy *string `json:"createdBy,omitempty"`
// CreatedOn: Time it was created
CreatedOn *string `json:"createdOn,omitempty"`
// DelegatedManagedIdentityResourceId: Id of the delegated managed identity resource
DelegatedManagedIdentityResourceId *string `json:"delegatedManagedIdentityResourceId,omitempty"`
// Description: Description of role assignment
Description *string `json:"description,omitempty"`
// PrincipalId: The principal ID.
PrincipalId *string `json:"principalId,omitempty"`
// PrincipalType: The principal type of the assigned principal ID.
PrincipalType *RoleAssignmentProperties_PrincipalType_STATUS `json:"principalType,omitempty"`
// RoleDefinitionId: The role definition ID.
RoleDefinitionId *string `json:"roleDefinitionId,omitempty"`
// Scope: The role assignment scope.
Scope *string `json:"scope,omitempty"`
// UpdatedBy: Id of the user who updated the assignment
UpdatedBy *string `json:"updatedBy,omitempty"`
// UpdatedOn: Time it was updated
UpdatedOn *string `json:"updatedOn,omitempty"`
}