Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AzureAuthorization.
Configuration related to the cluster RBAC settings.
Generated from protobuf message google.cloud.gkemulticloud.v1.AzureAuthorization
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ admin_users |
array<Google\Cloud\GkeMultiCloud\V1\AzureClusterUser>
Required. Users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the |
getAdminUsers
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
Generated from protobuf field repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setAdminUsers
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
Generated from protobuf field repeated .google.cloud.gkemulticloud.v1.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\GkeMultiCloud\V1\AzureClusterUser>
|
Returns | |
---|---|
Type | Description |
$this |