ArmComputeModelFactory.GalleryPatch Method

Definition

public static Azure.ResourceManager.Compute.Models.GalleryPatch GalleryPatch(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, Azure.ResourceManager.Compute.Models.GalleryProvisioningState? provisioningState = default, Azure.ResourceManager.Compute.Models.SharingProfile sharingProfile = default, Azure.ResourceManager.Compute.Models.SharingStatus sharingStatus = default, string identifierUniqueName = default, bool? isSoftDeleteEnabled = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member GalleryPatch : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.Compute.Models.GalleryProvisioningState> * Azure.ResourceManager.Compute.Models.SharingProfile * Azure.ResourceManager.Compute.Models.SharingStatus * string * Nullable<bool> * Azure.ResourceManager.Models.ManagedServiceIdentity * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Compute.Models.GalleryPatch
Public Shared Function GalleryPatch (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional provisioningState As Nullable(Of GalleryProvisioningState) = Nothing, Optional sharingProfile As SharingProfile = Nothing, Optional sharingStatus As SharingStatus = Nothing, Optional identifierUniqueName As String = Nothing, Optional isSoftDeleteEnabled As Nullable(Of Boolean) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As GalleryPatch

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.

description
String

The description of this Shared Image Gallery resource. This property is updatable.

provisioningState
Nullable<GalleryProvisioningState>

The provisioning state, which only appears in the response.

sharingProfile
SharingProfile

Profile for gallery sharing to subscription or tenant.

sharingStatus
SharingStatus

Sharing status of current gallery.

identifierUniqueName
String

The unique name of the Shared Image Gallery. This name is generated automatically by Azure.

isSoftDeleteEnabled
Nullable<Boolean>

Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.

identity
ManagedServiceIdentity

The identity of the gallery, if configured.

tags
IDictionary<String,String>

Resource tags.

Returns

A new GalleryPatch instance for mocking.

Applies to