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
| Name | Description |
|---|---|
| GetRoleAssignmentScheduleInstances(ArmResource) |
Gets a collection of RoleAssignmentScheduleInstanceCollection objects within the specified scope. |
| GetRoleAssignmentScheduleInstances(ArmClient, ResourceIdentifier) |
Gets a collection of RoleAssignmentScheduleInstanceCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetRoleAssignmentScheduleInstances(ResourceIdentifier) instead. </item> |
GetRoleAssignmentScheduleInstances(ArmResource)
- Source:
- AuthorizationExtensions.cs
- Source:
- AuthorizationExtensions.cs
Gets a collection of RoleAssignmentScheduleInstanceCollection objects within the specified scope.
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
Returns a collection of RoleAssignmentScheduleInstanceResource objects.
Exceptions
armResource is null.
Applies to
GetRoleAssignmentScheduleInstances(ArmClient, ResourceIdentifier)
- Source:
- AuthorizationExtensions.cs
- Source:
- AuthorizationExtensions.cs
Gets a collection of RoleAssignmentScheduleInstanceCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetRoleAssignmentScheduleInstances(ResourceIdentifier) instead. </item>
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 of the resource collection to get.
Returns
Returns a collection of RoleAssignmentScheduleInstanceResource objects.
Exceptions
client is null.