你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GalleryInVMAccessControlProfileVersionUpdate Class

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

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

Constructor

GalleryInVMAccessControlProfileVersionUpdate(*, 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
tags

Resource tags.

Default value: None
target_locations

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

Default value: None
exclude_from_latest

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

Default value: None
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 value: None
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".

Default value: None
rules

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

Default value: None

Variables

Name Description
id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

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.