AuthorizationExtensions.GetRoleAssignmentScheduleInstance Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetRoleAssignmentScheduleInstance(ArmResource, String, CancellationToken) |
Gets the specified role assignment schedule instance.
|
GetRoleAssignmentScheduleInstance(ArmClient, ResourceIdentifier, String, CancellationToken) |
Gets the specified role assignment schedule instance.
|
GetRoleAssignmentScheduleInstance(ArmResource, String, CancellationToken)
- Source:
- AuthorizationExtensions.cs
- Source:
- AuthorizationExtensions.cs
Gets the specified role assignment schedule instance.
- Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
- Operation Id: RoleAssignmentScheduleInstances_Get
- Default Api Version: 2020-10-01
- Resource: RoleAssignmentScheduleInstanceResource
public static Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleInstanceResource> GetRoleAssignmentScheduleInstance (this Azure.ResourceManager.ArmResource armResource, string roleAssignmentScheduleInstanceName, System.Threading.CancellationToken cancellationToken = default);
static member GetRoleAssignmentScheduleInstance : Azure.ResourceManager.ArmResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleInstanceResource>
<Extension()>
Public Function GetRoleAssignmentScheduleInstance (armResource As ArmResource, roleAssignmentScheduleInstanceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RoleAssignmentScheduleInstanceResource)
Parameters
- armResource
- ArmResource
The ArmResource instance the method will execute against.
- roleAssignmentScheduleInstanceName
- String
The name (hash of schedule name + time) of the role assignment schedule to get.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
armResource
or roleAssignmentScheduleInstanceName
is null.
roleAssignmentScheduleInstanceName
is an empty string, and was expected to be non-empty.
Applies to
GetRoleAssignmentScheduleInstance(ArmClient, ResourceIdentifier, String, CancellationToken)
- Source:
- AuthorizationExtensions.cs
- Source:
- AuthorizationExtensions.cs
Gets the specified role assignment schedule instance.
- Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
- Operation Id: RoleAssignmentScheduleInstances_Get
- Default Api Version: 2020-10-01
- Resource: RoleAssignmentScheduleInstanceResource
public static Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleInstanceResource> GetRoleAssignmentScheduleInstance (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string roleAssignmentScheduleInstanceName, System.Threading.CancellationToken cancellationToken = default);
static member GetRoleAssignmentScheduleInstance : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentScheduleInstanceResource>
<Extension()>
Public Function GetRoleAssignmentScheduleInstance (client As ArmClient, scope As ResourceIdentifier, roleAssignmentScheduleInstanceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RoleAssignmentScheduleInstanceResource)
Parameters
- scope
- ResourceIdentifier
The scope that the resource will apply against.
- roleAssignmentScheduleInstanceName
- String
The name (hash of schedule name + time) of the role assignment schedule to get.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
client
or roleAssignmentScheduleInstanceName
is null.
roleAssignmentScheduleInstanceName
is an empty string, and was expected to be non-empty.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기