Partager via


GalleryInVmAccessControlProfileVersionPatch Class

Definition

Specifies information about the gallery inVMAccessControlProfile version that you want to update.

public class GalleryInVmAccessControlProfileVersionPatch : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.GalleryInVmAccessControlProfileVersionPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.GalleryInVmAccessControlProfileVersionPatch>
type GalleryInVmAccessControlProfileVersionPatch = class
    inherit ResourceData
    interface IJsonModel<GalleryInVmAccessControlProfileVersionPatch>
    interface IPersistableModel<GalleryInVmAccessControlProfileVersionPatch>
Public Class GalleryInVmAccessControlProfileVersionPatch
Inherits ResourceData
Implements IJsonModel(Of GalleryInVmAccessControlProfileVersionPatch), IPersistableModel(Of GalleryInVmAccessControlProfileVersionPatch)
Inheritance
GalleryInVmAccessControlProfileVersionPatch
Implements

Constructors

GalleryInVmAccessControlProfileVersionPatch()

Initializes a new instance of GalleryInVmAccessControlProfileVersionPatch.

Properties

DefaultAccess

This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'.

ExcludeFromLatest

If set to true, Virtual Machines deployed from the latest version of the Resource Profile won't use this Profile version.

Id

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

(Inherited from ResourceData)
Mode

This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'.

Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

The provisioning state, which only appears in the response.

PublishedOn

The timestamp for when the Resource Profile Version is published.

ReplicationStatus

This is the replication status of the gallery image version.

ResourceType

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

(Inherited from ResourceData)
Rules

This is the Access Control Rules specification for an inVMAccessControlProfile version.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

TargetLocations

The target regions where the Resource Profile version is going to be replicated to. This property is updatable.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<GalleryInVmAccessControlProfileVersionPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<GalleryInVmAccessControlProfileVersionPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GalleryInVmAccessControlProfileVersionPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GalleryInVmAccessControlProfileVersionPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<GalleryInVmAccessControlProfileVersionPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to