azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.a...

125 строки
9.9 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.authorization.models.RoleDefinitions"
fullName: "com.azure.resourcemanager.authorization.models.RoleDefinitions"
name: "RoleDefinitions"
nameWithType: "RoleDefinitions"
summary: "Entry point to role definition management API."
syntax: "public interface **RoleDefinitions**</br> extends <xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById?alt=com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById&text=SupportsGettingById\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.authorization.models.RoleDefinition?alt=com.azure.resourcemanager.authorization.models.RoleDefinition&text=RoleDefinition\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager?alt=com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager&text=HasManager\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.authorization.AuthorizationManager?alt=com.azure.resourcemanager.authorization.AuthorizationManager&text=AuthorizationManager\" data-throw-if-not-resolved=\"False\" />&gt;"
methods:
- uid: "com.azure.resourcemanager.authorization.models.RoleDefinitions.getByScope(java.lang.String,java.lang.String)"
fullName: "com.azure.resourcemanager.authorization.models.RoleDefinitions.getByScope(String scope, String name)"
name: "getByScope(String scope, String name)"
nameWithType: "RoleDefinitions.getByScope(String scope, String name)"
summary: "Gets the information about a role definition based on scope and name."
modifiers:
- "abstract"
parameters:
- description: "the scope of the role definition"
name: "scope"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the name of the role definition"
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract RoleDefinition getByScope(String scope, String name)"
desc: "Gets the information about a role definition based on scope and name."
returns:
description: "an immutable representation of the role definition"
type: "<xref href=\"com.azure.resourcemanager.authorization.models.RoleDefinition?alt=com.azure.resourcemanager.authorization.models.RoleDefinition&text=RoleDefinition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.authorization.models.RoleDefinitions.getByScopeAndRoleName(java.lang.String,java.lang.String)"
fullName: "com.azure.resourcemanager.authorization.models.RoleDefinitions.getByScopeAndRoleName(String scope, String roleName)"
name: "getByScopeAndRoleName(String scope, String roleName)"
nameWithType: "RoleDefinitions.getByScopeAndRoleName(String scope, String roleName)"
summary: "Gets the information about a role definition based on scope and name."
modifiers:
- "abstract"
parameters:
- description: "the scope of the role definition"
name: "scope"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the name of the role"
name: "roleName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract RoleDefinition getByScopeAndRoleName(String scope, String roleName)"
desc: "Gets the information about a role definition based on scope and name."
returns:
description: "an immutable representation of the role definition"
type: "<xref href=\"com.azure.resourcemanager.authorization.models.RoleDefinition?alt=com.azure.resourcemanager.authorization.models.RoleDefinition&text=RoleDefinition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.authorization.models.RoleDefinitions.getByScopeAndRoleNameAsync(java.lang.String,java.lang.String)"
fullName: "com.azure.resourcemanager.authorization.models.RoleDefinitions.getByScopeAndRoleNameAsync(String scope, String roleName)"
name: "getByScopeAndRoleNameAsync(String scope, String roleName)"
nameWithType: "RoleDefinitions.getByScopeAndRoleNameAsync(String scope, String roleName)"
summary: "Gets the information about a role definition based on scope and name."
modifiers:
- "abstract"
parameters:
- description: "the scope of the role definition"
name: "scope"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the name of the role"
name: "roleName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract Mono<RoleDefinition> getByScopeAndRoleNameAsync(String scope, String roleName)"
desc: "Gets the information about a role definition based on scope and name."
returns:
description: "an immutable representation of the role definition"
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a>&lt;<xref href=\"com.azure.resourcemanager.authorization.models.RoleDefinition?alt=com.azure.resourcemanager.authorization.models.RoleDefinition&text=RoleDefinition\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.authorization.models.RoleDefinitions.getByScopeAsync(java.lang.String,java.lang.String)"
fullName: "com.azure.resourcemanager.authorization.models.RoleDefinitions.getByScopeAsync(String scope, String name)"
name: "getByScopeAsync(String scope, String name)"
nameWithType: "RoleDefinitions.getByScopeAsync(String scope, String name)"
summary: "Gets the information about a role definition based on scope and name."
modifiers:
- "abstract"
parameters:
- description: "the scope of the role definition"
name: "scope"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the name of the role definition"
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract Mono<RoleDefinition> getByScopeAsync(String scope, String name)"
desc: "Gets the information about a role definition based on scope and name."
returns:
description: "an immutable representation of the role definition"
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a>&lt;<xref href=\"com.azure.resourcemanager.authorization.models.RoleDefinition?alt=com.azure.resourcemanager.authorization.models.RoleDefinition&text=RoleDefinition\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.authorization.models.RoleDefinitions.listByScope(java.lang.String)"
fullName: "com.azure.resourcemanager.authorization.models.RoleDefinitions.listByScope(String scope)"
name: "listByScope(String scope)"
nameWithType: "RoleDefinitions.listByScope(String scope)"
summary: "List role definitions in a scope."
modifiers:
- "abstract"
parameters:
- description: "the scope of the role definition"
name: "scope"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract PagedIterable<RoleDefinition> listByScope(String scope)"
desc: "List role definitions in a scope."
returns:
description: "a list of role definitions"
type: "<xref href=\"com.azure.core.http.rest.PagedIterable?alt=com.azure.core.http.rest.PagedIterable&text=PagedIterable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.authorization.models.RoleDefinition?alt=com.azure.resourcemanager.authorization.models.RoleDefinition&text=RoleDefinition\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.authorization.models.RoleDefinitions.listByScopeAsync(java.lang.String)"
fullName: "com.azure.resourcemanager.authorization.models.RoleDefinitions.listByScopeAsync(String scope)"
name: "listByScopeAsync(String scope)"
nameWithType: "RoleDefinitions.listByScopeAsync(String scope)"
summary: "List role definitions in a scope."
modifiers:
- "abstract"
parameters:
- description: "the scope of the role definition"
name: "scope"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract PagedFlux<RoleDefinition> listByScopeAsync(String scope)"
desc: "List role definitions in a scope."
returns:
description: "an observable of role definitions"
type: "<xref href=\"com.azure.core.http.rest.PagedFlux?alt=com.azure.core.http.rest.PagedFlux&text=PagedFlux\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.authorization.models.RoleDefinition?alt=com.azure.resourcemanager.authorization.models.RoleDefinition&text=RoleDefinition\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "interface"
desc: "Entry point to role definition management API."
implements:
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById?alt=com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById&text=SupportsGettingById\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.authorization.models.RoleDefinition?alt=com.azure.resourcemanager.authorization.models.RoleDefinition&text=RoleDefinition\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager?alt=com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager&text=HasManager\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.authorization.AuthorizationManager?alt=com.azure.resourcemanager.authorization.AuthorizationManager&text=AuthorizationManager\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.authorization.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-authorization:2.44.0