public sealed class AssuredWorkloadsServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Assured Workloads v1beta1 API class AssuredWorkloadsServiceSettings.
Settings for AssuredWorkloadsServiceClient instances.
Namespace
Google.Cloud.AssuredWorkloads.V1Beta1Assembly
Google.Cloud.AssuredWorkloads.V1Beta1.dll
Constructors
AssuredWorkloadsServiceSettings()
public AssuredWorkloadsServiceSettings()
Constructs a new AssuredWorkloadsServiceSettings object with default settings.
Properties
AnalyzeWorkloadMoveSettings
public CallSettings AnalyzeWorkloadMoveSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AssuredWorkloadsServiceClient.AnalyzeWorkloadMove
and
AssuredWorkloadsServiceClient.AnalyzeWorkloadMoveAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 200 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 30000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- 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 |
- Initial retry delay: 200 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 30000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- 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 |
- Initial retry delay: 200 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 30000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- 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 |
- Initial retry delay: 200 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 30000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- 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.
- No timeout is applied.
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. |