Partilhar via


GalleryInVMAccessControlProfileVersionProperties Class

Describes the properties of an inVMAccessControlProfile version.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.compute.v2024_03_03.models._models_py3.GalleryResourceProfileVersionPropertiesBase
GalleryInVMAccessControlProfileVersionProperties

Constructor

GalleryInVMAccessControlProfileVersionProperties(*, mode: str | _models.AccessControlRulesMode, default_access: str | _models.EndpointAccess, target_locations: List[_models.TargetRegion] | None = None, exclude_from_latest: bool | None = None, rules: _models.AccessControlRules | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
target_locations

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

exclude_from_latest

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

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'. Required. Known values are: "Audit", "Enforce", and "Disabled".

default_access

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

rules

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

Variables

Name Description
target_locations

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

exclude_from_latest

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

published_date

The timestamp for when the Resource Profile Version is published.

provisioning_state

The provisioning state, which only appears in the response. Known values are: "Creating", "Updating", "Failed", "Succeeded", "Deleting", and "Migrating".

replication_status

This is the replication status of the gallery image version.

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'. Required. Known values are: "Audit", "Enforce", and "Disabled".

default_access

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

rules

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