StorageSyncServiceUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.storagesync.models.StorageSyncServiceUpdateParameters

Implements

public final class StorageSyncServiceUpdateParameters
implements JsonSerializable<StorageSyncServiceUpdateParameters>

Parameters for updating an Storage sync service.

Constructor Summary

Constructor Description
StorageSyncServiceUpdateParameters()

Creates an instance of StorageSyncServiceUpdateParameters class.

Method Summary

Modifier and Type Method and Description
static StorageSyncServiceUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of StorageSyncServiceUpdateParameters from the JsonReader.

ManagedServiceIdentity identity()

Get the identity property: managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.

IncomingTrafficPolicy incomingTrafficPolicy()

Get the incomingTrafficPolicy property: Incoming Traffic Policy.

Map<String,String> tags()

Get the tags property: The user-specified tags associated with the storage sync service.

JsonWriter toJson(JsonWriter jsonWriter)
Boolean useIdentity()

Get the useIdentity property: Use Identity authorization when customer have finished setup RBAC permissions.

StorageSyncServiceUpdateParameters withIdentity(ManagedServiceIdentity identity)

Set the identity property: managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.

StorageSyncServiceUpdateParameters withIncomingTrafficPolicy(IncomingTrafficPolicy incomingTrafficPolicy)

Set the incomingTrafficPolicy property: Incoming Traffic Policy.

StorageSyncServiceUpdateParameters withTags(Map<String,String> tags)

Set the tags property: The user-specified tags associated with the storage sync service.

StorageSyncServiceUpdateParameters withUseIdentity(Boolean useIdentity)

Set the useIdentity property: Use Identity authorization when customer have finished setup RBAC permissions.

Methods inherited from java.lang.Object

Constructor Details

StorageSyncServiceUpdateParameters

public StorageSyncServiceUpdateParameters()

Creates an instance of StorageSyncServiceUpdateParameters class.

Method Details

fromJson

public static StorageSyncServiceUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of StorageSyncServiceUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StorageSyncServiceUpdateParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the StorageSyncServiceUpdateParameters.

identity

public ManagedServiceIdentity identity()

Get the identity property: managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.

Returns:

the identity value.

incomingTrafficPolicy

public IncomingTrafficPolicy incomingTrafficPolicy()

Get the incomingTrafficPolicy property: Incoming Traffic Policy.

Returns:

the incomingTrafficPolicy value.

tags

public Map<String,String> tags()

Get the tags property: The user-specified tags associated with the storage sync service.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

useIdentity

public Boolean useIdentity()

Get the useIdentity property: Use Identity authorization when customer have finished setup RBAC permissions.

Returns:

the useIdentity value.

withIdentity

public StorageSyncServiceUpdateParameters withIdentity(ManagedServiceIdentity identity)

Set the identity property: managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.

Parameters:

identity - the identity value to set.

Returns:

the StorageSyncServiceUpdateParameters object itself.

withIncomingTrafficPolicy

public StorageSyncServiceUpdateParameters withIncomingTrafficPolicy(IncomingTrafficPolicy incomingTrafficPolicy)

Set the incomingTrafficPolicy property: Incoming Traffic Policy.

Parameters:

incomingTrafficPolicy - the incomingTrafficPolicy value to set.

Returns:

the StorageSyncServiceUpdateParameters object itself.

withTags

public StorageSyncServiceUpdateParameters withTags(Map<String,String> tags)

Set the tags property: The user-specified tags associated with the storage sync service.

Parameters:

tags - the tags value to set.

Returns:

the StorageSyncServiceUpdateParameters object itself.

withUseIdentity

public StorageSyncServiceUpdateParameters withUseIdentity(Boolean useIdentity)

Set the useIdentity property: Use Identity authorization when customer have finished setup RBAC permissions.

Parameters:

useIdentity - the useIdentity value to set.

Returns:

the StorageSyncServiceUpdateParameters object itself.

Applies to