Class CreateRepositoryRequest
Creates a snapshot repository
Inheritance
CreateRepositoryRequest
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class CreateRepositoryRequest : PlainRequestBase<CreateRepositoryRequestParameters>, ICreateRepositoryRequest, IRequest<CreateRepositoryRequestParameters>, IRequest
Constructors
| Edit this page View SourceCreateRepositoryRequest()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected CreateRepositoryRequest()
CreateRepositoryRequest(Name)
/_snapshot/{repository}
Declaration
public CreateRepositoryRequest(Name repository)
Parameters
Type | Name | Description |
---|---|---|
Name | repository | this parameter is required |
Properties
| Edit this page View SourceClusterManagerTimeout
Operation timeout for connection to cluster-manager node.
Declaration
public Time ClusterManagerTimeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Remarks
Supported by OpenSearch servers of version 2.0.0 or greater.
MasterTimeout
Explicit operation timeout for connection to cluster-manager node.
Declaration
[Obsolete("Deprecated as of: 2.0.0, reason: To promote inclusive language, use `cluster_manager_timeout` instead.")]
public Time MasterTimeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Repository
The snapshot repository
Declaration
public ISnapshotRepository Repository { get; set; }
Property Value
Type | Description |
---|---|
ISnapshotRepository |
Self
Declaration
protected ICreateRepositoryRequest Self { get; }
Property Value
Type | Description |
---|---|
ICreateRepositoryRequest |
Timeout
Explicit operation timeout.
Declaration
public Time Timeout { get; set; }
Property Value
Type | Description |
---|---|
Time |
Verify
Whether to verify the repository after creation.
Declaration
public bool? Verify { get; set; }
Property Value
Type | Description |
---|---|
bool? |