StorageSyncServiceCreateParameters Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. storagesync. models. StorageSyncServiceCreateParameters
- com.
- com.
- com.
public final class StorageSyncServiceCreateParameters
extends Resource
The parameters used when creating a storage sync service.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageSyncServiceCreateParameters() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Managed |
identity()
Get the identity property: managed identities for the Storage Sync to interact with other Azure services without maintaining any secrets or credentials in code. |
|
Incoming |
incomingTrafficPolicy()
Get the incoming |
| String |
name()
Get the name property: The name of the resource. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| Boolean |
useIdentity()
Get the use |
|
Storage |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: managed identities for the Storage Sync to interact with other Azure services without maintaining any secrets or credentials in code. |
|
Storage |
withIncomingTrafficPolicy(IncomingTrafficPolicy incomingTrafficPolicy)
Set the incoming |
|
Storage |
withLocation(String location) |
|
Storage |
withTags(Map<String,String> tags) |
|
Storage |
withUseIdentity(Boolean useIdentity)
Set the use |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
StorageSyncServiceCreateParameters
public StorageSyncServiceCreateParameters()
Creates an instance of StorageSyncServiceCreateParameters class.
Method Details
fromJson
public static StorageSyncServiceCreateParameters fromJson(JsonReader jsonReader)
Reads an instance of StorageSyncServiceCreateParameters from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
StorageSyncServiceCreateParameters.id()Returns:
identity
public ManagedServiceIdentity identity()
Get the identity property: managed identities for the Storage Sync to interact with other Azure services without maintaining any secrets or credentials in code.
Returns:
incomingTrafficPolicy
public IncomingTrafficPolicy incomingTrafficPolicy()
Get the incomingTrafficPolicy property: Incoming Traffic Policy.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
StorageSyncServiceCreateParameters.name()Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
StorageSyncServiceCreateParameters.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
StorageSyncServiceCreateParameters.type()Returns:
useIdentity
public Boolean useIdentity()
Get the useIdentity property: Use Identity authorization when customer have finished setup RBAC permissions.
Returns:
withIdentity
public StorageSyncServiceCreateParameters withIdentity(ManagedServiceIdentity identity)
Set the identity property: managed identities for the Storage Sync to interact with other Azure services without maintaining any secrets or credentials in code.
Parameters:
Returns:
withIncomingTrafficPolicy
public StorageSyncServiceCreateParameters withIncomingTrafficPolicy(IncomingTrafficPolicy incomingTrafficPolicy)
Set the incomingTrafficPolicy property: Incoming Traffic Policy.
Parameters:
Returns:
withLocation
public StorageSyncServiceCreateParameters withLocation(String location)
Overrides:
StorageSyncServiceCreateParameters.withLocation(String location)Parameters:
withTags
public StorageSyncServiceCreateParameters withTags(Map<String,String> tags)
Overrides:
StorageSyncServiceCreateParameters.withTags(Map<String,String> tags)Parameters:
withUseIdentity
public StorageSyncServiceCreateParameters withUseIdentity(Boolean useIdentity)
Set the useIdentity property: Use Identity authorization when customer have finished setup RBAC permissions.
Parameters:
Returns: