你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FunctionsDeploymentStorageAuthentication Class
Authentication method to access the storage account for deployment.
- Inheritance
-
azure.mgmt.web._serialization.ModelFunctionsDeploymentStorageAuthentication
Constructor
FunctionsDeploymentStorageAuthentication(*, type: str | _models.AuthenticationType | None = None, user_assigned_identity_resource_id: str | None = None, storage_account_connection_string_name: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
type
|
Property to select authentication type to access the selected storage account. Available options: SystemAssignedIdentity, UserAssignedIdentity, StorageAccountConnectionString. Known values are: "SystemAssignedIdentity", "UserAssignedIdentity", and "StorageAccountConnectionString". |
user_assigned_identity_resource_id
|
Use this property for UserAssignedIdentity. Set the resource ID of the identity. Do not set a value for this property when using other authentication type. |
storage_account_connection_string_name
|
Use this property for StorageAccountConnectionString. Set the name of the app setting that has the storage account connection string. Do not set a value for this property when using other authentication type. |
Variables
Name | Description |
---|---|
type
|
Property to select authentication type to access the selected storage account. Available options: SystemAssignedIdentity, UserAssignedIdentity, StorageAccountConnectionString. Known values are: "SystemAssignedIdentity", "UserAssignedIdentity", and "StorageAccountConnectionString". |
user_assigned_identity_resource_id
|
Use this property for UserAssignedIdentity. Set the resource ID of the identity. Do not set a value for this property when using other authentication type. |
storage_account_connection_string_name
|
Use this property for StorageAccountConnectionString. Set the name of the app setting that has the storage account connection string. Do not set a value for this property when using other authentication type. |