-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from oracle/release_2020-10-27
Releasing version 1.10.0
- Loading branch information
Showing
78 changed files
with
1,434 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
Computeinstanceagent/Cmdlets/Get-OCIComputeinstanceagentInstanceAgentCommand.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/* | ||
* NOTE: Generated using OracleSDKGenerator, API Version: 20180530 | ||
* DO NOT EDIT this file manually. | ||
* | ||
* Copyright (c) 2020, Oracle and/or its affiliates. | ||
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. | ||
*/ | ||
|
||
using System; | ||
using System.Management.Automation; | ||
using Oci.ComputeinstanceagentService.Requests; | ||
using Oci.ComputeinstanceagentService.Responses; | ||
using Oci.ComputeinstanceagentService.Models; | ||
|
||
namespace Oci.ComputeinstanceagentService.Cmdlets | ||
{ | ||
[Cmdlet("Get", "OCIComputeinstanceagentInstanceAgentCommand")] | ||
[OutputType(new System.Type[] { typeof(Oci.ComputeinstanceagentService.Models.InstanceAgentCommand), typeof(Oci.ComputeinstanceagentService.Responses.GetInstanceAgentCommandResponse) })] | ||
public class GetOCIComputeinstanceagentInstanceAgentCommand : OCIComputeInstanceAgentCmdlet | ||
{ | ||
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The OCID of the command.")] | ||
public string InstanceAgentCommandId { get; set; } | ||
|
||
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.")] | ||
public string OpcRequestId { get; set; } | ||
|
||
protected override void ProcessRecord() | ||
{ | ||
base.ProcessRecord(); | ||
GetInstanceAgentCommandRequest request; | ||
|
||
try | ||
{ | ||
request = new GetInstanceAgentCommandRequest | ||
{ | ||
InstanceAgentCommandId = InstanceAgentCommandId, | ||
OpcRequestId = OpcRequestId | ||
}; | ||
|
||
response = client.GetInstanceAgentCommand(request).GetAwaiter().GetResult(); | ||
WriteOutput(response, response.InstanceAgentCommand); | ||
FinishProcessing(response); | ||
} | ||
catch (Exception ex) | ||
{ | ||
TerminatingErrorDuringExecution(ex); | ||
} | ||
} | ||
|
||
protected override void StopProcessing() | ||
{ | ||
base.StopProcessing(); | ||
TerminatingErrorDuringExecution(new OperationCanceledException("Cmdlet execution interrupted")); | ||
} | ||
|
||
private GetInstanceAgentCommandResponse response; | ||
} | ||
} |
Oops, something went wrong.