GrantAccessData Class
Data used for requesting a SAS.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.compute._serialization.ModelGrantAccessData
Constructor
GrantAccessData(*, access: str | _models.AccessLevel, duration_in_seconds: int, get_secure_vm_guest_state_sas: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
access
|
str or
AccessLevel
Required. Known values are: "None", "Read", and "Write". |
duration_in_seconds
|
Time duration in seconds until the SAS access expires. Required. |
get_secure_vm_guest_state_sas
|
Set this flag to true to get additional SAS for VM guest state. |
Variables
Name | Description |
---|---|
access
|
str or
AccessLevel
Required. Known values are: "None", "Read", and "Write". |
duration_in_seconds
|
Time duration in seconds until the SAS access expires. Required. |
get_secure_vm_guest_state_sas
|
Set this flag to true to get additional SAS for VM guest state. |
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python