ResilienceManagementExtensions.GetGoalAssignment 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.
Get a GoalAssignment <item> Mocking. To mock this method, please mock GetGoalAssignment(ResourceIdentifier, String, CancellationToken) instead. </item>
public static Azure.Response<Azure.ResourceManager.ResilienceManagement.GoalAssignmentResource> GetGoalAssignment(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string goalAssignmentName, System.Threading.CancellationToken cancellationToken = default);
static member GetGoalAssignment : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ResilienceManagement.GoalAssignmentResource>
<Extension()>
Public Function GetGoalAssignment (client As ArmClient, scope As ResourceIdentifier, goalAssignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of GoalAssignmentResource)
Parameters
- scope
- ResourceIdentifier
The scope of the resource collection to get.
- goalAssignmentName
- String
The name of the GoalAssignment.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
client is null.