AuthorizationExtensions.GetRoleAssignmentScheduleInstances 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
GetRoleAssignmentScheduleInstances(ArmClient, ResourceIdentifier) |
Gets a collection of RoleAssignmentScheduleInstanceResources in the ArmClient. MockingTo mock this method, please mock GetRoleAssignmentScheduleInstances(ResourceIdentifier) instead. |
GetRoleAssignmentScheduleInstances(ArmResource) |
Gets a collection of RoleAssignmentScheduleInstanceResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignmentScheduleInstances() instead. |
GetRoleAssignmentScheduleInstances(ArmClient, ResourceIdentifier)
- Source:
- AuthorizationExtensions.cs
- Source:
- AuthorizationExtensions.cs
Gets a collection of RoleAssignmentScheduleInstanceResources in the ArmClient. MockingTo mock this method, please mock GetRoleAssignmentScheduleInstances(ResourceIdentifier) instead.
public static Azure.ResourceManager.Authorization.RoleAssignmentScheduleInstanceCollection GetRoleAssignmentScheduleInstances (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope);
static member GetRoleAssignmentScheduleInstances : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Authorization.RoleAssignmentScheduleInstanceCollection
<Extension()>
Public Function GetRoleAssignmentScheduleInstances (client As ArmClient, scope As ResourceIdentifier) As RoleAssignmentScheduleInstanceCollection
Parameters
- scope
- ResourceIdentifier
The scope that the resource will apply against.
Returns
An object representing collection of RoleAssignmentScheduleInstanceResources and their operations over a RoleAssignmentScheduleInstanceResource.
Exceptions
client
is null.
Applies to
GetRoleAssignmentScheduleInstances(ArmResource)
- Source:
- AuthorizationExtensions.cs
- Source:
- AuthorizationExtensions.cs
Gets a collection of RoleAssignmentScheduleInstanceResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignmentScheduleInstances() instead.
public static Azure.ResourceManager.Authorization.RoleAssignmentScheduleInstanceCollection GetRoleAssignmentScheduleInstances (this Azure.ResourceManager.ArmResource armResource);
static member GetRoleAssignmentScheduleInstances : Azure.ResourceManager.ArmResource -> Azure.ResourceManager.Authorization.RoleAssignmentScheduleInstanceCollection
<Extension()>
Public Function GetRoleAssignmentScheduleInstances (armResource As ArmResource) As RoleAssignmentScheduleInstanceCollection
Parameters
- armResource
- ArmResource
The ArmResource instance the method will execute against.
Returns
An object representing collection of RoleAssignmentScheduleInstanceResources and their operations over a RoleAssignmentScheduleInstanceResource.
Exceptions
armResource
is null.