FunctionsDeploymentStorageAuthentication Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. FunctionsDeploymentStorageAuthentication
- com.
Implements
public final class FunctionsDeploymentStorageAuthentication
implements JsonSerializable<FunctionsDeploymentStorageAuthentication>
Authentication method to access the storage account for deployment.
Constructor Summary
Constructor | Description |
---|---|
FunctionsDeploymentStorageAuthentication() |
Creates an instance of Functions |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Functions |
fromJson(JsonReader jsonReader)
Reads an instance of Functions |
String |
storageAccountConnectionStringName()
Get the storage |
Json |
toJson(JsonWriter jsonWriter) |
Authentication |
type()
Get the type property: Property to select authentication type to access the selected storage account. |
String |
userAssignedIdentityResourceId()
Get the user |
void |
validate()
Validates the instance. |
Functions |
withStorageAccountConnectionStringName(String storageAccountConnectionStringName)
Set the storage |
Functions |
withType(AuthenticationType type)
Set the type property: Property to select authentication type to access the selected storage account. |
Functions |
withUserAssignedIdentityResourceId(String userAssignedIdentityResourceId)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
FunctionsDeploymentStorageAuthentication
public FunctionsDeploymentStorageAuthentication()
Creates an instance of FunctionsDeploymentStorageAuthentication class.
Method Details
fromJson
public static FunctionsDeploymentStorageAuthentication fromJson(JsonReader jsonReader)
Reads an instance of FunctionsDeploymentStorageAuthentication from the JsonReader.
Parameters:
Returns:
Throws:
storageAccountConnectionStringName
public String storageAccountConnectionStringName()
Get the storageAccountConnectionStringName property: 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.
Returns:
toJson
type
public AuthenticationType type()
Get the type property: Property to select authentication type to access the selected storage account. Available options: SystemAssignedIdentity, UserAssignedIdentity, StorageAccountConnectionString.
Returns:
userAssignedIdentityResourceId
public String userAssignedIdentityResourceId()
Get the userAssignedIdentityResourceId property: 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.
Returns:
validate
public void validate()
Validates the instance.
withStorageAccountConnectionStringName
public FunctionsDeploymentStorageAuthentication withStorageAccountConnectionStringName(String storageAccountConnectionStringName)
Set the storageAccountConnectionStringName property: 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.
Parameters:
Returns:
withType
public FunctionsDeploymentStorageAuthentication withType(AuthenticationType type)
Set the type property: Property to select authentication type to access the selected storage account. Available options: SystemAssignedIdentity, UserAssignedIdentity, StorageAccountConnectionString.
Parameters:
Returns:
withUserAssignedIdentityResourceId
public FunctionsDeploymentStorageAuthentication withUserAssignedIdentityResourceId(String userAssignedIdentityResourceId)
Set the userAssignedIdentityResourceId property: 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.
Parameters:
Returns:
Applies to
Azure SDK for Java