C# Класс Amazon.OpsWorksCM.AmazonOpsWorksCMClient

Implementation for accessing OpsWorksCM AWS OpsWorks for Chef Automate

A service that runs and manages configuration management servers.

Glossary of terms

  • Server: A server is a configuration management server, and can be highly-available. The configuration manager runs on your instances by using various AWS services, such as Amazon Elastic Compute Cloud (EC2), and potentially Amazon Relational Database Service (RDS). A server is a generic abstraction over the configuration manager that you want to use, much like Amazon RDS. In AWS OpsWorks for Chef Automate, you do not start or stop servers. After you create servers, they continue to run until they are deleted.

  • Engine: The specific configuration manager that you want to use (such as Chef) is the engine.

  • Backup: This is an application-level backup of the data that the configuration manager stores. A backup creates a .tar.gz file that is stored in an Amazon Simple Storage Service (S3) bucket in your account. AWS OpsWorks for Chef Automate creates the S3 bucket when you launch the first instance. A backup maintains a snapshot of all of a server's important attributes at the time of the backup.

  • Events: Events are always related to a server. Events are written during server creation, when health checks run, when backups are created, etc. When you delete a server, the server's events are also deleted.

  • AccountAttributes: Every account has attributes that are assigned in the AWS OpsWorks for Chef Automate database. These attributes store information about configuration limits (servers, backups, etc.) and your customer account.

Throttling limits

All API operations allow for 5 requests per second with a burst of 10 requests per second.

Наследование: AmazonServiceClient, IAmazonOpsWorksCM
Показать файл Открыть проект

Открытые методы

Метод Описание
AmazonOpsWorksCMClient ( ) : System

Constructs AmazonOpsWorksCMClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonOpsWorksCMClient ( AWSCredentials credentials ) : System

Constructs AmazonOpsWorksCMClient with AWS Credentials

AmazonOpsWorksCMClient ( AWSCredentials credentials, AmazonOpsWorksCMConfig clientConfig ) : System

Constructs AmazonOpsWorksCMClient with AWS Credentials and an AmazonOpsWorksCMClient Configuration object.

AmazonOpsWorksCMClient ( AWSCredentials credentials, RegionEndpoint region ) : System

Constructs AmazonOpsWorksCMClient with AWS Credentials

AmazonOpsWorksCMClient ( AmazonOpsWorksCMConfig config ) : System

Constructs AmazonOpsWorksCMClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonOpsWorksCMClient ( RegionEndpoint region ) : System

Constructs AmazonOpsWorksCMClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonOpsWorksCMClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System

Constructs AmazonOpsWorksCMClient with AWS Access Key ID and AWS Secret Key

AmazonOpsWorksCMClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonOpsWorksCMConfig clientConfig ) : System

Constructs AmazonOpsWorksCMClient with AWS Access Key ID, AWS Secret Key and an AmazonOpsWorksCMClient Configuration object.

AmazonOpsWorksCMClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System

Constructs AmazonOpsWorksCMClient with AWS Access Key ID and AWS Secret Key

AmazonOpsWorksCMClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System

Constructs AmazonOpsWorksCMClient with AWS Access Key ID and AWS Secret Key

AmazonOpsWorksCMClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonOpsWorksCMConfig clientConfig ) : System

Constructs AmazonOpsWorksCMClient with AWS Access Key ID, AWS Secret Key and an AmazonOpsWorksCMClient Configuration object.

AmazonOpsWorksCMClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System

Constructs AmazonOpsWorksCMClient with AWS Access Key ID and AWS Secret Key

AssociateNode ( AssociateNodeRequest request ) : AssociateNodeResponse

AssociateNodeAsync ( AssociateNodeRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the AssociateNode operation.

BeginAssociateNode ( AssociateNodeRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the AssociateNode operation.

BeginCreateBackup ( CreateBackupRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CreateBackup operation.

BeginCreateServer ( CreateServerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CreateServer operation.

BeginDeleteBackup ( DeleteBackupRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteBackup operation.

BeginDeleteServer ( DeleteServerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteServer operation.

BeginDescribeAccountAttributes ( DescribeAccountAttributesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeAccountAttributes operation.

BeginDescribeBackups ( DescribeBackupsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeBackups operation.

BeginDescribeEvents ( DescribeEventsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeEvents operation.

BeginDescribeNodeAssociationStatus ( DescribeNodeAssociationStatusRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeNodeAssociationStatus operation.

BeginDescribeServers ( DescribeServersRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeServers operation.

BeginDisassociateNode ( DisassociateNodeRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DisassociateNode operation.

BeginRestoreServer ( RestoreServerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the RestoreServer operation.

BeginStartMaintenance ( StartMaintenanceRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the StartMaintenance operation.

BeginUpdateServer ( UpdateServerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the UpdateServer operation.

BeginUpdateServerEngineAttributes ( UpdateServerEngineAttributesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the UpdateServerEngineAttributes operation.

CreateBackup ( CreateBackupRequest request ) : CreateBackupResponse

Creates an application-level backup of a server. While the server is BACKING_UP, the server can not be modified and no additional backup can be created.

Backups can be created for RUNNING, HEALTHY and UNHEALTHY servers.

This operation is asnychronous.

By default 50 manual backups can be created.

A LimitExceededException is thrown then the maximum number of manual backup is reached. A InvalidStateException is thrown when the server is not in any of RUNNING, HEALTHY, UNHEALTHY. A ResourceNotFoundException is thrown when the server is not found. A ValidationException is thrown when parameters of the request are not valid.

CreateBackupAsync ( CreateBackupRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CreateBackup operation.

CreateServer ( CreateServerRequest request ) : CreateServerResponse

Creates and immedately starts a new Server. The server can be used once it has reached the HEALTHY state.

This operation is asnychronous.

A LimitExceededException is thrown then the maximum number of server backup is reached. A ResourceAlreadyExistsException is raise when a server with the same name already exists in the account. A ResourceNotFoundException is thrown when a backupId is passed, but the backup does not exist. A ValidationException is thrown when parameters of the request are not valid.

By default 10 servers can be created. A LimitExceededException is raised when the limit is exceeded.

When no security groups are provided by using SecurityGroupIds, AWS OpsWorks creates a new security group. This security group opens the Chef server to the world on TCP port 443. If a KeyName is present, SSH access is enabled. SSH is also open to the world on TCP port 22.

By default, the Chef Server is accessible from any IP address. We recommend that you update your security group rules to allow access from known IP addresses and address ranges only. To edit security group rules, open Security Groups in the navigation pane of the EC2 management console.

CreateServerAsync ( CreateServerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CreateServer operation.

DeleteBackup ( DeleteBackupRequest request ) : DeleteBackupResponse

Deletes a backup. You can delete both manual and automated backups.

This operation is asynchronous.

A InvalidStateException is thrown then a backup is already deleting. A ResourceNotFoundException is thrown when the backup does not exist. A ValidationException is thrown when parameters of the request are not valid.

DeleteBackupAsync ( DeleteBackupRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteBackup operation.

DeleteServer ( DeleteServerRequest request ) : DeleteServerResponse

Deletes the server and the underlying AWS CloudFormation stack (including the server's EC2 instance). The server status updated to DELETING. Once the server is successfully deleted, it will no longer be returned by DescribeServer requests. If the AWS CloudFormation stack cannot be deleted, the server cannot be deleted.

This operation is asynchronous.

A InvalidStateException is thrown then a server is already deleting. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are invalid.

DeleteServerAsync ( DeleteServerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteServer operation.

DescribeAccountAttributes ( DescribeAccountAttributesRequest request ) : DescribeAccountAttributesResponse

Describes your account attributes, and creates requests to increase limits before they are reached or exceeded.

This operation is synchronous.

DescribeAccountAttributesAsync ( DescribeAccountAttributesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeAccountAttributes operation.

DescribeBackups ( DescribeBackupsRequest request ) : DescribeBackupsResponse

Describes backups. The results are ordered by time, with newest backups first. If you do not specify a BackupId or ServerName, the command returns all backups.

This operation is synchronous.

A ResourceNotFoundException is thrown when the backup does not exist. A ValidationException is raised when parameters of the request are invalid.

DescribeBackupsAsync ( DescribeBackupsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeBackups operation.

DescribeEvents ( DescribeEventsRequest request ) : DescribeEventsResponse

Describes events for a specified server. Results are ordered by time, with newest events first.

This operation is synchronous.

A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are invalid.

DescribeEventsAsync ( DescribeEventsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeEvents operation.

DescribeNodeAssociationStatus ( DescribeNodeAssociationStatusRequest request ) : DescribeNodeAssociationStatusResponse

DescribeNodeAssociationStatusAsync ( DescribeNodeAssociationStatusRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeNodeAssociationStatus operation.

DescribeServers ( DescribeServersRequest request ) : DescribeServersResponse

Lists all configuration management servers that are identified with your account. Only the stored results from Amazon DynamoDB are returned. AWS OpsWorks for Chef Automate does not query other services.

This operation is synchronous.

A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are invalid.

DescribeServersAsync ( DescribeServersRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeServers operation.

DisassociateNode ( DisassociateNodeRequest request ) : DisassociateNodeResponse

DisassociateNodeAsync ( DisassociateNodeRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DisassociateNode operation.

EndAssociateNode ( IAsyncResult asyncResult ) : AssociateNodeResponse

Finishes the asynchronous execution of the AssociateNode operation.

EndCreateBackup ( IAsyncResult asyncResult ) : CreateBackupResponse

Finishes the asynchronous execution of the CreateBackup operation.

EndCreateServer ( IAsyncResult asyncResult ) : CreateServerResponse

Finishes the asynchronous execution of the CreateServer operation.

EndDeleteBackup ( IAsyncResult asyncResult ) : DeleteBackupResponse

Finishes the asynchronous execution of the DeleteBackup operation.

EndDeleteServer ( IAsyncResult asyncResult ) : DeleteServerResponse

Finishes the asynchronous execution of the DeleteServer operation.

EndDescribeAccountAttributes ( IAsyncResult asyncResult ) : DescribeAccountAttributesResponse

Finishes the asynchronous execution of the DescribeAccountAttributes operation.

EndDescribeBackups ( IAsyncResult asyncResult ) : DescribeBackupsResponse

Finishes the asynchronous execution of the DescribeBackups operation.

EndDescribeEvents ( IAsyncResult asyncResult ) : DescribeEventsResponse

Finishes the asynchronous execution of the DescribeEvents operation.

EndDescribeNodeAssociationStatus ( IAsyncResult asyncResult ) : DescribeNodeAssociationStatusResponse

Finishes the asynchronous execution of the DescribeNodeAssociationStatus operation.

EndDescribeServers ( IAsyncResult asyncResult ) : DescribeServersResponse

Finishes the asynchronous execution of the DescribeServers operation.

EndDisassociateNode ( IAsyncResult asyncResult ) : DisassociateNodeResponse

Finishes the asynchronous execution of the DisassociateNode operation.

EndRestoreServer ( IAsyncResult asyncResult ) : RestoreServerResponse

Finishes the asynchronous execution of the RestoreServer operation.

EndStartMaintenance ( IAsyncResult asyncResult ) : StartMaintenanceResponse

Finishes the asynchronous execution of the StartMaintenance operation.

EndUpdateServer ( IAsyncResult asyncResult ) : UpdateServerResponse

Finishes the asynchronous execution of the UpdateServer operation.

EndUpdateServerEngineAttributes ( IAsyncResult asyncResult ) : UpdateServerEngineAttributesResponse

Finishes the asynchronous execution of the UpdateServerEngineAttributes operation.

RestoreServer ( RestoreServerRequest request ) : RestoreServerResponse

Restores a backup to a server that is in a RUNNING, FAILED, or HEALTHY state. When you run RestoreServer, the server's EC2 instance is deleted, and a new EC2 instance is configured. RestoreServer maintains the existing server endpoint, so configuration management of all of the server's client devices should continue to work.

This operation is asynchronous.

A InvalidStateException is thrown when the server is not in a valid state. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are invalid.

RestoreServerAsync ( RestoreServerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the RestoreServer operation.

StartMaintenance ( StartMaintenanceRequest request ) : StartMaintenanceResponse

Manually starts server maintenance. This command can be useful if an earlier maintenance attempt failed, and the underlying cause of maintenance failure has been resolved. The server will switch to UNDER_MAINTENANCE state, while maintenace is in progress.

Maintenace can only be started for HEALTHY and UNHEALTHY servers. A InvalidStateException is thrown otherwise. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are invalid.

StartMaintenanceAsync ( StartMaintenanceRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the StartMaintenance operation.

UpdateServer ( UpdateServerRequest request ) : UpdateServerResponse

Updates settings for a server.

This operation is synchronous.

UpdateServerAsync ( UpdateServerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the UpdateServer operation.

UpdateServerEngineAttributes ( UpdateServerEngineAttributesRequest request ) : UpdateServerEngineAttributesResponse

Updates engine specific attributes on a specified server. Server will enter the MODIFYING state when this operation is in progress. Only one update can take place at a time.

This operation can be use to reset Chef Server main API key (CHEF_PIVOTAL_KEY).

This operation is asynchronous.

This operation can only be called for HEALTHY and UNHEALTHY servers. Otherwise a InvalidStateException is raised. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are invalid.

UpdateServerEngineAttributesAsync ( UpdateServerEngineAttributesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the UpdateServerEngineAttributes operation.

Защищенные методы

Метод Описание
CreateSigner ( ) : AbstractAWSSigner

Creates the signer for the service.

Dispose ( bool disposing ) : void

Disposes the service client.

Описание методов

AmazonOpsWorksCMClient() публичный Метод

Constructs AmazonOpsWorksCMClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonOpsWorksCMClient ( ) : System
Результат System

AmazonOpsWorksCMClient() публичный Метод

Constructs AmazonOpsWorksCMClient with AWS Credentials
public AmazonOpsWorksCMClient ( AWSCredentials credentials ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
Результат System

AmazonOpsWorksCMClient() публичный Метод

Constructs AmazonOpsWorksCMClient with AWS Credentials and an AmazonOpsWorksCMClient Configuration object.
public AmazonOpsWorksCMClient ( AWSCredentials credentials, AmazonOpsWorksCMConfig clientConfig ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
clientConfig AmazonOpsWorksCMConfig The AmazonOpsWorksCMClient Configuration Object
Результат System

AmazonOpsWorksCMClient() публичный Метод

Constructs AmazonOpsWorksCMClient with AWS Credentials
public AmazonOpsWorksCMClient ( AWSCredentials credentials, RegionEndpoint region ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
region RegionEndpoint The region to connect.
Результат System

AmazonOpsWorksCMClient() публичный Метод

Constructs AmazonOpsWorksCMClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonOpsWorksCMClient ( AmazonOpsWorksCMConfig config ) : System
config AmazonOpsWorksCMConfig The AmazonOpsWorksCMClient Configuration Object
Результат System

AmazonOpsWorksCMClient() публичный Метод

Constructs AmazonOpsWorksCMClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonOpsWorksCMClient ( RegionEndpoint region ) : System
region RegionEndpoint The region to connect.
Результат System

AmazonOpsWorksCMClient() публичный Метод

Constructs AmazonOpsWorksCMClient with AWS Access Key ID and AWS Secret Key
public AmazonOpsWorksCMClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
Результат System

AmazonOpsWorksCMClient() публичный Метод

Constructs AmazonOpsWorksCMClient with AWS Access Key ID, AWS Secret Key and an AmazonOpsWorksCMClient Configuration object.
public AmazonOpsWorksCMClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonOpsWorksCMConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
clientConfig AmazonOpsWorksCMConfig The AmazonOpsWorksCMClient Configuration Object
Результат System

AmazonOpsWorksCMClient() публичный Метод

Constructs AmazonOpsWorksCMClient with AWS Access Key ID and AWS Secret Key
public AmazonOpsWorksCMClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
region RegionEndpoint The region to connect.
Результат System

AmazonOpsWorksCMClient() публичный Метод

Constructs AmazonOpsWorksCMClient with AWS Access Key ID and AWS Secret Key
public AmazonOpsWorksCMClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
Результат System

AmazonOpsWorksCMClient() публичный Метод

Constructs AmazonOpsWorksCMClient with AWS Access Key ID, AWS Secret Key and an AmazonOpsWorksCMClient Configuration object.
public AmazonOpsWorksCMClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonOpsWorksCMConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
clientConfig AmazonOpsWorksCMConfig The AmazonOpsWorksCMClient Configuration Object
Результат System

AmazonOpsWorksCMClient() публичный Метод

Constructs AmazonOpsWorksCMClient with AWS Access Key ID and AWS Secret Key
public AmazonOpsWorksCMClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
region RegionEndpoint The region to connect.
Результат System

AssociateNode() публичный Метод

/// The resource is in a state that does not allow you to perform a specified action. /// /// The requested resource does not exist, or access was denied. /// /// One or more of the provided request parameters are not valid. ///
public AssociateNode ( AssociateNodeRequest request ) : AssociateNodeResponse
request Amazon.OpsWorksCM.Model.AssociateNodeRequest Container for the necessary parameters to execute the AssociateNode service method.
Результат Amazon.OpsWorksCM.Model.AssociateNodeResponse

AssociateNodeAsync() публичный Метод

Initiates the asynchronous execution of the AssociateNode operation.
public AssociateNodeAsync ( AssociateNodeRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorksCM.Model.AssociateNodeRequest Container for the necessary parameters to execute the AssociateNode operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

BeginAssociateNode() публичный Метод

Initiates the asynchronous execution of the AssociateNode operation.
public BeginAssociateNode ( AssociateNodeRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.OpsWorksCM.Model.AssociateNodeRequest Container for the necessary parameters to execute the AssociateNode operation on AmazonOpsWorksCMClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginCreateBackup() публичный Метод

Initiates the asynchronous execution of the CreateBackup operation.
public BeginCreateBackup ( CreateBackupRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.OpsWorksCM.Model.CreateBackupRequest Container for the necessary parameters to execute the CreateBackup operation on AmazonOpsWorksCMClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginCreateServer() публичный Метод

Initiates the asynchronous execution of the CreateServer operation.
public BeginCreateServer ( CreateServerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.OpsWorksCM.Model.CreateServerRequest Container for the necessary parameters to execute the CreateServer operation on AmazonOpsWorksCMClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginDeleteBackup() публичный Метод

Initiates the asynchronous execution of the DeleteBackup operation.
public BeginDeleteBackup ( DeleteBackupRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.OpsWorksCM.Model.DeleteBackupRequest Container for the necessary parameters to execute the DeleteBackup operation on AmazonOpsWorksCMClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginDeleteServer() публичный Метод

Initiates the asynchronous execution of the DeleteServer operation.
public BeginDeleteServer ( DeleteServerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DeleteServerRequest Container for the necessary parameters to execute the DeleteServer operation on AmazonOpsWorksCMClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginDescribeAccountAttributes() публичный Метод

Initiates the asynchronous execution of the DescribeAccountAttributes operation.
public BeginDescribeAccountAttributes ( DescribeAccountAttributesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DescribeAccountAttributesRequest Container for the necessary parameters to execute the DescribeAccountAttributes operation on AmazonOpsWorksCMClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginDescribeBackups() публичный Метод

Initiates the asynchronous execution of the DescribeBackups operation.
public BeginDescribeBackups ( DescribeBackupsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.OpsWorksCM.Model.DescribeBackupsRequest Container for the necessary parameters to execute the DescribeBackups operation on AmazonOpsWorksCMClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginDescribeEvents() публичный Метод

Initiates the asynchronous execution of the DescribeEvents operation.
public BeginDescribeEvents ( DescribeEventsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.OpsWorksCM.Model.DescribeEventsRequest Container for the necessary parameters to execute the DescribeEvents operation on AmazonOpsWorksCMClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginDescribeNodeAssociationStatus() публичный Метод

Initiates the asynchronous execution of the DescribeNodeAssociationStatus operation.
public BeginDescribeNodeAssociationStatus ( DescribeNodeAssociationStatusRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.OpsWorksCM.Model.DescribeNodeAssociationStatusRequest Container for the necessary parameters to execute the DescribeNodeAssociationStatus operation on AmazonOpsWorksCMClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginDescribeServers() публичный Метод

Initiates the asynchronous execution of the DescribeServers operation.
public BeginDescribeServers ( DescribeServersRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.OpsWorksCM.Model.DescribeServersRequest Container for the necessary parameters to execute the DescribeServers operation on AmazonOpsWorksCMClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginDisassociateNode() публичный Метод

Initiates the asynchronous execution of the DisassociateNode operation.
public BeginDisassociateNode ( DisassociateNodeRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.OpsWorksCM.Model.DisassociateNodeRequest Container for the necessary parameters to execute the DisassociateNode operation on AmazonOpsWorksCMClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginRestoreServer() публичный Метод

Initiates the asynchronous execution of the RestoreServer operation.
public BeginRestoreServer ( RestoreServerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.OpsWorksCM.Model.RestoreServerRequest Container for the necessary parameters to execute the RestoreServer operation on AmazonOpsWorksCMClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginStartMaintenance() публичный Метод

Initiates the asynchronous execution of the StartMaintenance operation.
public BeginStartMaintenance ( StartMaintenanceRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.OpsWorksCM.Model.StartMaintenanceRequest Container for the necessary parameters to execute the StartMaintenance operation on AmazonOpsWorksCMClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginUpdateServer() публичный Метод

Initiates the asynchronous execution of the UpdateServer operation.
public BeginUpdateServer ( UpdateServerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.OpsWorksCM.Model.UpdateServerRequest Container for the necessary parameters to execute the UpdateServer operation on AmazonOpsWorksCMClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

BeginUpdateServerEngineAttributes() публичный Метод

Initiates the asynchronous execution of the UpdateServerEngineAttributes operation.
public BeginUpdateServerEngineAttributes ( UpdateServerEngineAttributesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.OpsWorksCM.Model.UpdateServerEngineAttributesRequest Container for the necessary parameters to execute the UpdateServerEngineAttributes operation on AmazonOpsWorksCMClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
Результат IAsyncResult

CreateBackup() публичный Метод

Creates an application-level backup of a server. While the server is BACKING_UP, the server can not be modified and no additional backup can be created.

Backups can be created for RUNNING, HEALTHY and UNHEALTHY servers.

This operation is asnychronous.

By default 50 manual backups can be created.

A LimitExceededException is thrown then the maximum number of manual backup is reached. A InvalidStateException is thrown when the server is not in any of RUNNING, HEALTHY, UNHEALTHY. A ResourceNotFoundException is thrown when the server is not found. A ValidationException is thrown when parameters of the request are not valid.

/// The resource is in a state that does not allow you to perform a specified action. /// /// The limit of servers or backups has been reached. /// /// The requested resource does not exist, or access was denied. /// /// One or more of the provided request parameters are not valid. ///
public CreateBackup ( CreateBackupRequest request ) : CreateBackupResponse
request Amazon.OpsWorksCM.Model.CreateBackupRequest Container for the necessary parameters to execute the CreateBackup service method.
Результат Amazon.OpsWorksCM.Model.CreateBackupResponse

CreateBackupAsync() публичный Метод

Initiates the asynchronous execution of the CreateBackup operation.
public CreateBackupAsync ( CreateBackupRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorksCM.Model.CreateBackupRequest Container for the necessary parameters to execute the CreateBackup operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

CreateServer() публичный Метод

Creates and immedately starts a new Server. The server can be used once it has reached the HEALTHY state.

This operation is asnychronous.

A LimitExceededException is thrown then the maximum number of server backup is reached. A ResourceAlreadyExistsException is raise when a server with the same name already exists in the account. A ResourceNotFoundException is thrown when a backupId is passed, but the backup does not exist. A ValidationException is thrown when parameters of the request are not valid.

By default 10 servers can be created. A LimitExceededException is raised when the limit is exceeded.

When no security groups are provided by using SecurityGroupIds, AWS OpsWorks creates a new security group. This security group opens the Chef server to the world on TCP port 443. If a KeyName is present, SSH access is enabled. SSH is also open to the world on TCP port 22.

By default, the Chef Server is accessible from any IP address. We recommend that you update your security group rules to allow access from known IP addresses and address ranges only. To edit security group rules, open Security Groups in the navigation pane of the EC2 management console.

/// The limit of servers or backups has been reached. /// /// The requested resource cannot be created because it already exists. /// /// The requested resource does not exist, or access was denied. /// /// One or more of the provided request parameters are not valid. ///
public CreateServer ( CreateServerRequest request ) : CreateServerResponse
request Amazon.OpsWorksCM.Model.CreateServerRequest Container for the necessary parameters to execute the CreateServer service method.
Результат Amazon.OpsWorksCM.Model.CreateServerResponse

CreateServerAsync() публичный Метод

Initiates the asynchronous execution of the CreateServer operation.
public CreateServerAsync ( CreateServerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorksCM.Model.CreateServerRequest Container for the necessary parameters to execute the CreateServer operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

CreateSigner() защищенный Метод

Creates the signer for the service.
protected CreateSigner ( ) : AbstractAWSSigner
Результат Amazon.Runtime.Internal.Auth.AbstractAWSSigner

DeleteBackup() публичный Метод

Deletes a backup. You can delete both manual and automated backups.

This operation is asynchronous.

A InvalidStateException is thrown then a backup is already deleting. A ResourceNotFoundException is thrown when the backup does not exist. A ValidationException is thrown when parameters of the request are not valid.

/// The resource is in a state that does not allow you to perform a specified action. /// /// The requested resource does not exist, or access was denied. /// /// One or more of the provided request parameters are not valid. ///
public DeleteBackup ( DeleteBackupRequest request ) : DeleteBackupResponse
request Amazon.OpsWorksCM.Model.DeleteBackupRequest Container for the necessary parameters to execute the DeleteBackup service method.
Результат DeleteBackupResponse

DeleteBackupAsync() публичный Метод

Initiates the asynchronous execution of the DeleteBackup operation.
public DeleteBackupAsync ( DeleteBackupRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorksCM.Model.DeleteBackupRequest Container for the necessary parameters to execute the DeleteBackup operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

DeleteServer() публичный Метод

Deletes the server and the underlying AWS CloudFormation stack (including the server's EC2 instance). The server status updated to DELETING. Once the server is successfully deleted, it will no longer be returned by DescribeServer requests. If the AWS CloudFormation stack cannot be deleted, the server cannot be deleted.

This operation is asynchronous.

A InvalidStateException is thrown then a server is already deleting. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are invalid.

/// The resource is in a state that does not allow you to perform a specified action. /// /// The requested resource does not exist, or access was denied. /// /// One or more of the provided request parameters are not valid. ///
public DeleteServer ( DeleteServerRequest request ) : DeleteServerResponse
request DeleteServerRequest Container for the necessary parameters to execute the DeleteServer service method.
Результат DeleteServerResponse

DeleteServerAsync() публичный Метод

Initiates the asynchronous execution of the DeleteServer operation.
public DeleteServerAsync ( DeleteServerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DeleteServerRequest Container for the necessary parameters to execute the DeleteServer operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

DescribeAccountAttributes() публичный Метод

Describes your account attributes, and creates requests to increase limits before they are reached or exceeded.

This operation is synchronous.

public DescribeAccountAttributes ( DescribeAccountAttributesRequest request ) : DescribeAccountAttributesResponse
request DescribeAccountAttributesRequest Container for the necessary parameters to execute the DescribeAccountAttributes service method.
Результат Amazon.OpsWorksCM.Model.DescribeAccountAttributesResponse

DescribeAccountAttributesAsync() публичный Метод

Initiates the asynchronous execution of the DescribeAccountAttributes operation.
public DescribeAccountAttributesAsync ( DescribeAccountAttributesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeAccountAttributesRequest Container for the necessary parameters to execute the DescribeAccountAttributes operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

DescribeBackups() публичный Метод

Describes backups. The results are ordered by time, with newest backups first. If you do not specify a BackupId or ServerName, the command returns all backups.

This operation is synchronous.

A ResourceNotFoundException is thrown when the backup does not exist. A ValidationException is raised when parameters of the request are invalid.

/// This occurs when the provided nextToken is not valid. /// /// The requested resource does not exist, or access was denied. /// /// One or more of the provided request parameters are not valid. ///
public DescribeBackups ( DescribeBackupsRequest request ) : DescribeBackupsResponse
request Amazon.OpsWorksCM.Model.DescribeBackupsRequest Container for the necessary parameters to execute the DescribeBackups service method.
Результат Amazon.OpsWorksCM.Model.DescribeBackupsResponse

DescribeBackupsAsync() публичный Метод

Initiates the asynchronous execution of the DescribeBackups operation.
public DescribeBackupsAsync ( DescribeBackupsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorksCM.Model.DescribeBackupsRequest Container for the necessary parameters to execute the DescribeBackups operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

DescribeEvents() публичный Метод

Describes events for a specified server. Results are ordered by time, with newest events first.

This operation is synchronous.

A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are invalid.

/// This occurs when the provided nextToken is not valid. /// /// The requested resource does not exist, or access was denied. /// /// One or more of the provided request parameters are not valid. ///
public DescribeEvents ( DescribeEventsRequest request ) : DescribeEventsResponse
request Amazon.OpsWorksCM.Model.DescribeEventsRequest Container for the necessary parameters to execute the DescribeEvents service method.
Результат Amazon.OpsWorksCM.Model.DescribeEventsResponse

DescribeEventsAsync() публичный Метод

Initiates the asynchronous execution of the DescribeEvents operation.
public DescribeEventsAsync ( DescribeEventsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorksCM.Model.DescribeEventsRequest Container for the necessary parameters to execute the DescribeEvents operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

DescribeNodeAssociationStatus() публичный Метод

/// The requested resource does not exist, or access was denied. /// /// One or more of the provided request parameters are not valid. ///
public DescribeNodeAssociationStatus ( DescribeNodeAssociationStatusRequest request ) : DescribeNodeAssociationStatusResponse
request Amazon.OpsWorksCM.Model.DescribeNodeAssociationStatusRequest Container for the necessary parameters to execute the DescribeNodeAssociationStatus service method.
Результат Amazon.OpsWorksCM.Model.DescribeNodeAssociationStatusResponse

DescribeNodeAssociationStatusAsync() публичный Метод

Initiates the asynchronous execution of the DescribeNodeAssociationStatus operation.
public DescribeNodeAssociationStatusAsync ( DescribeNodeAssociationStatusRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorksCM.Model.DescribeNodeAssociationStatusRequest Container for the necessary parameters to execute the DescribeNodeAssociationStatus operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

DescribeServers() публичный Метод

Lists all configuration management servers that are identified with your account. Only the stored results from Amazon DynamoDB are returned. AWS OpsWorks for Chef Automate does not query other services.

This operation is synchronous.

A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are invalid.

/// This occurs when the provided nextToken is not valid. /// /// The requested resource does not exist, or access was denied. /// /// One or more of the provided request parameters are not valid. ///
public DescribeServers ( DescribeServersRequest request ) : DescribeServersResponse
request Amazon.OpsWorksCM.Model.DescribeServersRequest Container for the necessary parameters to execute the DescribeServers service method.
Результат Amazon.OpsWorksCM.Model.DescribeServersResponse

DescribeServersAsync() публичный Метод

Initiates the asynchronous execution of the DescribeServers operation.
public DescribeServersAsync ( DescribeServersRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorksCM.Model.DescribeServersRequest Container for the necessary parameters to execute the DescribeServers operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

DisassociateNode() публичный Метод

/// The resource is in a state that does not allow you to perform a specified action. /// /// The requested resource does not exist, or access was denied. /// /// One or more of the provided request parameters are not valid. ///
public DisassociateNode ( DisassociateNodeRequest request ) : DisassociateNodeResponse
request Amazon.OpsWorksCM.Model.DisassociateNodeRequest Container for the necessary parameters to execute the DisassociateNode service method.
Результат Amazon.OpsWorksCM.Model.DisassociateNodeResponse

DisassociateNodeAsync() публичный Метод

Initiates the asynchronous execution of the DisassociateNode operation.
public DisassociateNodeAsync ( DisassociateNodeRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorksCM.Model.DisassociateNodeRequest Container for the necessary parameters to execute the DisassociateNode operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

Dispose() защищенный Метод

Disposes the service client.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

EndAssociateNode() публичный Метод

Finishes the asynchronous execution of the AssociateNode operation.
public EndAssociateNode ( IAsyncResult asyncResult ) : AssociateNodeResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginAssociateNode.
Результат Amazon.OpsWorksCM.Model.AssociateNodeResponse

EndCreateBackup() публичный Метод

Finishes the asynchronous execution of the CreateBackup operation.
public EndCreateBackup ( IAsyncResult asyncResult ) : CreateBackupResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateBackup.
Результат Amazon.OpsWorksCM.Model.CreateBackupResponse

EndCreateServer() публичный Метод

Finishes the asynchronous execution of the CreateServer operation.
public EndCreateServer ( IAsyncResult asyncResult ) : CreateServerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateServer.
Результат Amazon.OpsWorksCM.Model.CreateServerResponse

EndDeleteBackup() публичный Метод

Finishes the asynchronous execution of the DeleteBackup operation.
public EndDeleteBackup ( IAsyncResult asyncResult ) : DeleteBackupResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteBackup.
Результат DeleteBackupResponse

EndDeleteServer() публичный Метод

Finishes the asynchronous execution of the DeleteServer operation.
public EndDeleteServer ( IAsyncResult asyncResult ) : DeleteServerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteServer.
Результат DeleteServerResponse

EndDescribeAccountAttributes() публичный Метод

Finishes the asynchronous execution of the DescribeAccountAttributes operation.
public EndDescribeAccountAttributes ( IAsyncResult asyncResult ) : DescribeAccountAttributesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeAccountAttributes.
Результат Amazon.OpsWorksCM.Model.DescribeAccountAttributesResponse

EndDescribeBackups() публичный Метод

Finishes the asynchronous execution of the DescribeBackups operation.
public EndDescribeBackups ( IAsyncResult asyncResult ) : DescribeBackupsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeBackups.
Результат Amazon.OpsWorksCM.Model.DescribeBackupsResponse

EndDescribeEvents() публичный Метод

Finishes the asynchronous execution of the DescribeEvents operation.
public EndDescribeEvents ( IAsyncResult asyncResult ) : DescribeEventsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeEvents.
Результат Amazon.OpsWorksCM.Model.DescribeEventsResponse

EndDescribeNodeAssociationStatus() публичный Метод

Finishes the asynchronous execution of the DescribeNodeAssociationStatus operation.
public EndDescribeNodeAssociationStatus ( IAsyncResult asyncResult ) : DescribeNodeAssociationStatusResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeNodeAssociationStatus.
Результат Amazon.OpsWorksCM.Model.DescribeNodeAssociationStatusResponse

EndDescribeServers() публичный Метод

Finishes the asynchronous execution of the DescribeServers operation.
public EndDescribeServers ( IAsyncResult asyncResult ) : DescribeServersResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeServers.
Результат Amazon.OpsWorksCM.Model.DescribeServersResponse

EndDisassociateNode() публичный Метод

Finishes the asynchronous execution of the DisassociateNode operation.
public EndDisassociateNode ( IAsyncResult asyncResult ) : DisassociateNodeResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDisassociateNode.
Результат Amazon.OpsWorksCM.Model.DisassociateNodeResponse

EndRestoreServer() публичный Метод

Finishes the asynchronous execution of the RestoreServer operation.
public EndRestoreServer ( IAsyncResult asyncResult ) : RestoreServerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginRestoreServer.
Результат RestoreServerResponse

EndStartMaintenance() публичный Метод

Finishes the asynchronous execution of the StartMaintenance operation.
public EndStartMaintenance ( IAsyncResult asyncResult ) : StartMaintenanceResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginStartMaintenance.
Результат Amazon.OpsWorksCM.Model.StartMaintenanceResponse

EndUpdateServer() публичный Метод

Finishes the asynchronous execution of the UpdateServer operation.
public EndUpdateServer ( IAsyncResult asyncResult ) : UpdateServerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginUpdateServer.
Результат Amazon.OpsWorksCM.Model.UpdateServerResponse

EndUpdateServerEngineAttributes() публичный Метод

Finishes the asynchronous execution of the UpdateServerEngineAttributes operation.
public EndUpdateServerEngineAttributes ( IAsyncResult asyncResult ) : UpdateServerEngineAttributesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginUpdateServerEngineAttributes.
Результат Amazon.OpsWorksCM.Model.UpdateServerEngineAttributesResponse

RestoreServer() публичный Метод

Restores a backup to a server that is in a RUNNING, FAILED, or HEALTHY state. When you run RestoreServer, the server's EC2 instance is deleted, and a new EC2 instance is configured. RestoreServer maintains the existing server endpoint, so configuration management of all of the server's client devices should continue to work.

This operation is asynchronous.

A InvalidStateException is thrown when the server is not in a valid state. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are invalid.

/// The resource is in a state that does not allow you to perform a specified action. /// /// The requested resource does not exist, or access was denied. /// /// One or more of the provided request parameters are not valid. ///
public RestoreServer ( RestoreServerRequest request ) : RestoreServerResponse
request Amazon.OpsWorksCM.Model.RestoreServerRequest Container for the necessary parameters to execute the RestoreServer service method.
Результат RestoreServerResponse

RestoreServerAsync() публичный Метод

Initiates the asynchronous execution of the RestoreServer operation.
public RestoreServerAsync ( RestoreServerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorksCM.Model.RestoreServerRequest Container for the necessary parameters to execute the RestoreServer operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

StartMaintenance() публичный Метод

Manually starts server maintenance. This command can be useful if an earlier maintenance attempt failed, and the underlying cause of maintenance failure has been resolved. The server will switch to UNDER_MAINTENANCE state, while maintenace is in progress.

Maintenace can only be started for HEALTHY and UNHEALTHY servers. A InvalidStateException is thrown otherwise. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are invalid.

/// The resource is in a state that does not allow you to perform a specified action. /// /// The requested resource does not exist, or access was denied. /// /// One or more of the provided request parameters are not valid. ///
public StartMaintenance ( StartMaintenanceRequest request ) : StartMaintenanceResponse
request Amazon.OpsWorksCM.Model.StartMaintenanceRequest Container for the necessary parameters to execute the StartMaintenance service method.
Результат Amazon.OpsWorksCM.Model.StartMaintenanceResponse

StartMaintenanceAsync() публичный Метод

Initiates the asynchronous execution of the StartMaintenance operation.
public StartMaintenanceAsync ( StartMaintenanceRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorksCM.Model.StartMaintenanceRequest Container for the necessary parameters to execute the StartMaintenance operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

UpdateServer() публичный Метод

Updates settings for a server.

This operation is synchronous.

/// The resource is in a state that does not allow you to perform a specified action. /// /// The requested resource does not exist, or access was denied. /// /// One or more of the provided request parameters are not valid. ///
public UpdateServer ( UpdateServerRequest request ) : UpdateServerResponse
request Amazon.OpsWorksCM.Model.UpdateServerRequest Container for the necessary parameters to execute the UpdateServer service method.
Результат Amazon.OpsWorksCM.Model.UpdateServerResponse

UpdateServerAsync() публичный Метод

Initiates the asynchronous execution of the UpdateServer operation.
public UpdateServerAsync ( UpdateServerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorksCM.Model.UpdateServerRequest Container for the necessary parameters to execute the UpdateServer operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task

UpdateServerEngineAttributes() публичный Метод

Updates engine specific attributes on a specified server. Server will enter the MODIFYING state when this operation is in progress. Only one update can take place at a time.

This operation can be use to reset Chef Server main API key (CHEF_PIVOTAL_KEY).

This operation is asynchronous.

This operation can only be called for HEALTHY and UNHEALTHY servers. Otherwise a InvalidStateException is raised. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are invalid.

/// The resource is in a state that does not allow you to perform a specified action. /// /// The requested resource does not exist, or access was denied. /// /// One or more of the provided request parameters are not valid. ///
public UpdateServerEngineAttributes ( UpdateServerEngineAttributesRequest request ) : UpdateServerEngineAttributesResponse
request Amazon.OpsWorksCM.Model.UpdateServerEngineAttributesRequest Container for the necessary parameters to execute the UpdateServerEngineAttributes service method.
Результат Amazon.OpsWorksCM.Model.UpdateServerEngineAttributesResponse

UpdateServerEngineAttributesAsync() публичный Метод

Initiates the asynchronous execution of the UpdateServerEngineAttributes operation.
public UpdateServerEngineAttributesAsync ( UpdateServerEngineAttributesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorksCM.Model.UpdateServerEngineAttributesRequest Container for the necessary parameters to execute the UpdateServerEngineAttributes operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task