TrustedAccessRoleBindingInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. containerservice. fluent. models. TrustedAccessRoleBindingInner
- com.
- com.
public final class TrustedAccessRoleBindingInner
extends ProxyResource
Defines binding between a resource and role.
Constructor Summary
Constructor | Description |
---|---|
TrustedAccessRoleBindingInner() |
Creates an instance of Trusted |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Trusted |
fromJson(JsonReader jsonReader)
Reads an instance of Trusted |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Trusted |
provisioningState()
Get the provisioning |
List<String> |
roles()
Get the roles property: A list of roles to bind, each item is a resource type qualified role name. |
String |
sourceResourceId()
Get the source |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Trusted |
withRoles(List<String> roles)
Set the roles property: A list of roles to bind, each item is a resource type qualified role name. |
Trusted |
withSourceResourceId(String sourceResourceId)
Set the source |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
TrustedAccessRoleBindingInner
public TrustedAccessRoleBindingInner()
Creates an instance of TrustedAccessRoleBindingInner class.
Method Details
fromJson
public static TrustedAccessRoleBindingInner fromJson(JsonReader jsonReader)
Reads an instance of TrustedAccessRoleBindingInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
TrustedAccessRoleBindingInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
TrustedAccessRoleBindingInner.name()Returns:
provisioningState
public TrustedAccessRoleBindingProvisioningState provisioningState()
Get the provisioningState property: The current provisioning state of trusted access role binding.
Returns:
roles
public List
Get the roles property: A list of roles to bind, each item is a resource type qualified role name. For example: 'Microsoft.MachineLearningServices/workspaces/reader'.
Returns:
sourceResourceId
public String sourceResourceId()
Get the sourceResourceId property: The ARM resource ID of source resource that trusted access is configured for.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
TrustedAccessRoleBindingInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
TrustedAccessRoleBindingInner.type()Returns:
validate
public void validate()
Validates the instance.
withRoles
public TrustedAccessRoleBindingInner withRoles(List
Set the roles property: A list of roles to bind, each item is a resource type qualified role name. For example: 'Microsoft.MachineLearningServices/workspaces/reader'.
Parameters:
Returns:
withSourceResourceId
public TrustedAccessRoleBindingInner withSourceResourceId(String sourceResourceId)
Set the sourceResourceId property: The ARM resource ID of source resource that trusted access is configured for.
Parameters:
Returns:
Applies to
Azure SDK for Java