DiagnosticsStorageAccountConfig Class
- java.
lang. Object - com.
azure. resourcemanager. servicefabric. models. DiagnosticsStorageAccountConfig
- com.
Implements
public final class DiagnosticsStorageAccountConfig
implements JsonSerializable<DiagnosticsStorageAccountConfig>
The storage account information for storing Service Fabric diagnostic logs.
Constructor Summary
| Constructor | Description |
|---|---|
| DiagnosticsStorageAccountConfig() |
Creates an instance of Diagnostics |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
blobEndpoint()
Get the blob |
|
static
Diagnostics |
fromJson(JsonReader jsonReader)
Reads an instance of Diagnostics |
| String |
protectedAccountKeyName()
Get the protected |
| String |
protectedAccountKeyName2()
Get the protected |
| String |
queueEndpoint()
Get the queue |
| String |
storageAccountName()
Get the storage |
| String |
tableEndpoint()
Get the table |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Diagnostics |
withBlobEndpoint(String blobEndpoint)
Set the blob |
|
Diagnostics |
withProtectedAccountKeyName(String protectedAccountKeyName)
Set the protected |
|
Diagnostics |
withProtectedAccountKeyName2(String protectedAccountKeyName2)
Set the protected |
|
Diagnostics |
withQueueEndpoint(String queueEndpoint)
Set the queue |
|
Diagnostics |
withStorageAccountName(String storageAccountName)
Set the storage |
|
Diagnostics |
withTableEndpoint(String tableEndpoint)
Set the table |
Methods inherited from java.lang.Object
Constructor Details
DiagnosticsStorageAccountConfig
public DiagnosticsStorageAccountConfig()
Creates an instance of DiagnosticsStorageAccountConfig class.
Method Details
blobEndpoint
public String blobEndpoint()
Get the blobEndpoint property: The blob endpoint of the azure storage account.
Returns:
fromJson
public static DiagnosticsStorageAccountConfig fromJson(JsonReader jsonReader)
Reads an instance of DiagnosticsStorageAccountConfig from the JsonReader.
Parameters:
Returns:
Throws:
protectedAccountKeyName
public String protectedAccountKeyName()
Get the protectedAccountKeyName property: The protected diagnostics storage key name.
Returns:
protectedAccountKeyName2
public String protectedAccountKeyName2()
Get the protectedAccountKeyName2 property: The secondary protected diagnostics storage key name. If one of the storage account keys is rotated the cluster will fallback to using the other.
Returns:
queueEndpoint
public String queueEndpoint()
Get the queueEndpoint property: The queue endpoint of the azure storage account.
Returns:
storageAccountName
public String storageAccountName()
Get the storageAccountName property: The Azure storage account name.
Returns:
tableEndpoint
public String tableEndpoint()
Get the tableEndpoint property: The table endpoint of the azure storage account.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBlobEndpoint
public DiagnosticsStorageAccountConfig withBlobEndpoint(String blobEndpoint)
Set the blobEndpoint property: The blob endpoint of the azure storage account.
Parameters:
Returns:
withProtectedAccountKeyName
public DiagnosticsStorageAccountConfig withProtectedAccountKeyName(String protectedAccountKeyName)
Set the protectedAccountKeyName property: The protected diagnostics storage key name.
Parameters:
Returns:
withProtectedAccountKeyName2
public DiagnosticsStorageAccountConfig withProtectedAccountKeyName2(String protectedAccountKeyName2)
Set the protectedAccountKeyName2 property: The secondary protected diagnostics storage key name. If one of the storage account keys is rotated the cluster will fallback to using the other.
Parameters:
Returns:
withQueueEndpoint
public DiagnosticsStorageAccountConfig withQueueEndpoint(String queueEndpoint)
Set the queueEndpoint property: The queue endpoint of the azure storage account.
Parameters:
Returns:
withStorageAccountName
public DiagnosticsStorageAccountConfig withStorageAccountName(String storageAccountName)
Set the storageAccountName property: The Azure storage account name.
Parameters:
Returns:
withTableEndpoint
public DiagnosticsStorageAccountConfig withTableEndpoint(String tableEndpoint)
Set the tableEndpoint property: The table endpoint of the azure storage account.
Parameters:
Returns: