public sealed class AssuredWorkloadsServiceSettings : ServiceSettingsBaseReference documentation and code samples for the Assured Workloads v1 API class AssuredWorkloadsServiceSettings.
Settings for AssuredWorkloadsServiceClient instances.
Namespace
Google.Cloud.AssuredWorkloads.V1Assembly
Google.Cloud.AssuredWorkloads.V1.dll
Constructors
AssuredWorkloadsServiceSettings()
public AssuredWorkloadsServiceSettings()Constructs a new AssuredWorkloadsServiceSettings object with default settings.
Properties
AcknowledgeViolationSettings
public CallSettings AcknowledgeViolationSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssuredWorkloadsServiceClient.AcknowledgeViolation and
AssuredWorkloadsServiceClient.AcknowledgeViolationAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
CreateWorkloadOperationsSettings
public OperationsSettings CreateWorkloadOperationsSettings { get; set; }Long Running Operation settings for calls to AssuredWorkloadsServiceClient.CreateWorkload and
AssuredWorkloadsServiceClient.CreateWorkloadAsync.
| Property Value | |
|---|---|
| Type | Description |
OperationsSettings |
|
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
CreateWorkloadSettings
public CallSettings CreateWorkloadSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssuredWorkloadsServiceClient.CreateWorkload and AssuredWorkloadsServiceClient.CreateWorkloadAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
DeleteWorkloadSettings
public CallSettings DeleteWorkloadSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssuredWorkloadsServiceClient.DeleteWorkload and AssuredWorkloadsServiceClient.DeleteWorkloadAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
GetViolationSettings
public CallSettings GetViolationSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssuredWorkloadsServiceClient.GetViolation and AssuredWorkloadsServiceClient.GetViolationAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
GetWorkloadSettings
public CallSettings GetWorkloadSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssuredWorkloadsServiceClient.GetWorkload and AssuredWorkloadsServiceClient.GetWorkloadAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
ListViolationsSettings
public CallSettings ListViolationsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssuredWorkloadsServiceClient.ListViolations and AssuredWorkloadsServiceClient.ListViolationsAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
ListWorkloadsSettings
public CallSettings ListWorkloadsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssuredWorkloadsServiceClient.ListWorkloads and AssuredWorkloadsServiceClient.ListWorkloadsAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
RestrictAllowedResourcesSettings
public CallSettings RestrictAllowedResourcesSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssuredWorkloadsServiceClient.RestrictAllowedResources and
AssuredWorkloadsServiceClient.RestrictAllowedResourcesAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
UpdateWorkloadSettings
public CallSettings UpdateWorkloadSettings { get; set; }CallSettings for synchronous and asynchronous calls to
AssuredWorkloadsServiceClient.UpdateWorkload and AssuredWorkloadsServiceClient.UpdateWorkloadAsync
.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
Methods
Clone()
public AssuredWorkloadsServiceSettings Clone()Creates a deep clone of this object, with all the same property values.
| Returns | |
|---|---|
| Type | Description |
AssuredWorkloadsServiceSettings |
A deep clone of this AssuredWorkloadsServiceSettings object. |
GetDefault()
public static AssuredWorkloadsServiceSettings GetDefault()Get a new instance of the default AssuredWorkloadsServiceSettings.
| Returns | |
|---|---|
| Type | Description |
AssuredWorkloadsServiceSettings |
A new instance of the default AssuredWorkloadsServiceSettings. |