ArmComputeBulkActionsModelFactory.ResourceWithContext 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.
The resources needed for the user request with the resourceContext.
public static Azure.ResourceManager.Compute.BulkActions.Models.ResourceWithContext ResourceWithContext(Azure.Core.ResourceIdentifier resourceId = default, string resourceContext = default);
static member ResourceWithContext : Azure.Core.ResourceIdentifier * string -> Azure.ResourceManager.Compute.BulkActions.Models.ResourceWithContext
Public Shared Function ResourceWithContext (Optional resourceId As ResourceIdentifier = Nothing, Optional resourceContext As String = Nothing) As ResourceWithContext
Parameters
- resourceId
- ResourceIdentifier
The resource ids used for the request.
- resourceContext
- String
The operational context of the resourceId.
Returns
A new ResourceWithContext instance for mocking.