ArmRecoveryServicesBackupModelFactory.WorkloadProtectableItemResource Method

Definition

public static Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadProtectableItemResource WorkloadProtectableItemResource(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ETag? etag = default, Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadProtectableItem properties = default);
static member WorkloadProtectableItemResource : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.AzureLocation * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadProtectableItem -> Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadProtectableItemResource
Public Shared Function WorkloadProtectableItemResource (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As AzureLocation = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional properties As WorkloadProtectableItem = Nothing) As WorkloadProtectableItemResource

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

location
AzureLocation

The geo-location where the resource lives.

tags
IDictionary<String,String>

Resource tags.

etag
Nullable<ETag>

Optional ETag.

properties
WorkloadProtectableItem

WorkloadProtectableItemResource properties.

Returns

A new WorkloadProtectableItemResource instance for mocking.

Applies to