Compartilhar via


GalleryInVMAccessControlProfileVersion Class

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

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.Resource
GalleryInVMAccessControlProfileVersion

Constructor

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

Keyword-Only Parameters

Name Description
location
str

Resource location. Required.

tags

Resource tags.

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'. 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'. Known values are: "Allow" and "Deny".

rules

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

Variables

Name Description
id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

location
str

Resource location. Required.

tags

Resource tags.

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'. 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'. Known values are: "Allow" and "Deny".

rules

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