Skip to content

Commit eaef9e1

Browse files
authored
Releasing version 9.2.0
Releasing version 9.2.0
2 parents 987aad8 + 50ef871 commit eaef9e1

File tree

153 files changed

+1739
-276
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+1739
-276
lines changed

Analytics/OCI.PSModules.Analytics.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Oracle Cloud Infrastructure
55
#
6-
# Generated on: 02/11/2021
6+
# Generated on: 02/18/2021
77
#
88

99
@{
@@ -12,7 +12,7 @@
1212
RootModule = 'assemblies/OCI.PSModules.Analytics.dll'
1313

1414
# Version number of this module.
15-
ModuleVersion = '9.1.0'
15+
ModuleVersion = '9.2.0'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core'
@@ -51,7 +51,7 @@ PowerShellVersion = '6.0'
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '9.1.0'; })
54+
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '9.2.0'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = 'assemblies/OCI.DotNetSDK.Analytics.dll'

Announcementsservice/OCI.PSModules.Announcementsservice.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Oracle Cloud Infrastructure
55
#
6-
# Generated on: 02/11/2021
6+
# Generated on: 02/18/2021
77
#
88

99
@{
@@ -12,7 +12,7 @@
1212
RootModule = 'assemblies/OCI.PSModules.Announcementsservice.dll'
1313

1414
# Version number of this module.
15-
ModuleVersion = '9.1.0'
15+
ModuleVersion = '9.2.0'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core'
@@ -51,7 +51,7 @@ PowerShellVersion = '6.0'
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '9.1.0'; })
54+
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '9.2.0'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = 'assemblies/OCI.DotNetSDK.Announcementsservice.dll'

Apigateway/OCI.PSModules.Apigateway.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Oracle Cloud Infrastructure
55
#
6-
# Generated on: 02/11/2021
6+
# Generated on: 02/18/2021
77
#
88

99
@{
@@ -12,7 +12,7 @@
1212
RootModule = 'assemblies/OCI.PSModules.Apigateway.dll'
1313

1414
# Version number of this module.
15-
ModuleVersion = '9.1.0'
15+
ModuleVersion = '9.2.0'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core'
@@ -51,7 +51,7 @@ PowerShellVersion = '6.0'
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '9.1.0'; })
54+
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '9.2.0'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = 'assemblies/OCI.DotNetSDK.Apigateway.dll'

Applicationmigration/OCI.PSModules.Applicationmigration.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Oracle Cloud Infrastructure
55
#
6-
# Generated on: 02/11/2021
6+
# Generated on: 02/18/2021
77
#
88

99
@{
@@ -12,7 +12,7 @@
1212
RootModule = 'assemblies/OCI.PSModules.Applicationmigration.dll'
1313

1414
# Version number of this module.
15-
ModuleVersion = '9.1.0'
15+
ModuleVersion = '9.2.0'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core'
@@ -51,7 +51,7 @@ PowerShellVersion = '6.0'
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '9.1.0'; })
54+
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '9.2.0'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = 'assemblies/OCI.DotNetSDK.Applicationmigration.dll'
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/*
2+
* NOTE: Generated using OracleSDKGenerator, API Version: 20160918
3+
* DO NOT EDIT this file manually.
4+
*
5+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates.
6+
* 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.
7+
*/
8+
9+
using System;
10+
using System.Management.Automation;
11+
using Oci.ArtifactsService.Requests;
12+
using Oci.ArtifactsService.Responses;
13+
using Oci.ArtifactsService.Models;
14+
15+
namespace Oci.ArtifactsService.Cmdlets
16+
{
17+
[Cmdlet("Get", "OCIArtifactsContainerConfiguration")]
18+
[OutputType(new System.Type[] { typeof(Oci.ArtifactsService.Models.ContainerConfiguration), typeof(Oci.ArtifactsService.Responses.GetContainerConfigurationResponse) })]
19+
public class GetOCIArtifactsContainerConfiguration : OCIArtifactsCmdlet
20+
{
21+
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.")]
22+
public string CompartmentId { get; set; }
23+
24+
[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.")]
25+
public string OpcRequestId { get; set; }
26+
27+
protected override void ProcessRecord()
28+
{
29+
base.ProcessRecord();
30+
GetContainerConfigurationRequest request;
31+
32+
try
33+
{
34+
request = new GetContainerConfigurationRequest
35+
{
36+
CompartmentId = CompartmentId,
37+
OpcRequestId = OpcRequestId
38+
};
39+
40+
response = client.GetContainerConfiguration(request).GetAwaiter().GetResult();
41+
WriteOutput(response, response.ContainerConfiguration);
42+
FinishProcessing(response);
43+
}
44+
catch (Exception ex)
45+
{
46+
TerminatingErrorDuringExecution(ex);
47+
}
48+
}
49+
50+
protected override void StopProcessing()
51+
{
52+
base.StopProcessing();
53+
TerminatingErrorDuringExecution(new OperationCanceledException("Cmdlet execution interrupted"));
54+
}
55+
56+
private GetContainerConfigurationResponse response;
57+
}
58+
}
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
/*
2+
* NOTE: Generated using OracleSDKGenerator, API Version: 20160918
3+
* DO NOT EDIT this file manually.
4+
*
5+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates.
6+
* 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.
7+
*/
8+
9+
using System;
10+
using System.Management.Automation;
11+
using Oci.ArtifactsService.Requests;
12+
using Oci.ArtifactsService.Responses;
13+
using Oci.ArtifactsService.Models;
14+
using Oci.Common.Waiters;
15+
16+
namespace Oci.ArtifactsService.Cmdlets
17+
{
18+
[Cmdlet("Get", "OCIArtifactsContainerImage", DefaultParameterSetName = Default)]
19+
[OutputType(new System.Type[] { typeof(Oci.ArtifactsService.Models.ContainerImage), typeof(Oci.ArtifactsService.Responses.GetContainerImageResponse) })]
20+
public class GetOCIArtifactsContainerImage : OCIArtifactsCmdlet
21+
{
22+
23+
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container image.
24+
25+
Example: `ocid1.containerimage.oc1..exampleuniqueID`", ParameterSetName = LifecycleStateParamSet)]
26+
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container image.
27+
28+
Example: `ocid1.containerimage.oc1..exampleuniqueID`", ParameterSetName = Default)]
29+
public string ImageId { get; set; }
30+
31+
32+
[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.", ParameterSetName = LifecycleStateParamSet)]
33+
[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.", ParameterSetName = Default)]
34+
public string OpcRequestId { get; set; }
35+
36+
[Parameter(Mandatory = true, HelpMessage = @"This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state.", ParameterSetName = LifecycleStateParamSet)]
37+
public Oci.ArtifactsService.Models.ContainerImage.LifecycleStateEnum[] WaitForLifecycleState { get; set; }
38+
39+
[Parameter(Mandatory = false, HelpMessage = @"Check every WaitIntervalSeconds to see whether the resource has reached a desired state.", ParameterSetName = LifecycleStateParamSet)]
40+
public int WaitIntervalSeconds { get; set; } = WAIT_INTERVAL_SECONDS;
41+
42+
[Parameter(Mandatory = false, HelpMessage = @"Maximum number of attempts to be made until the resource reaches a desired state.", ParameterSetName = LifecycleStateParamSet)]
43+
public int MaxWaitAttempts { get; set; } = MAX_WAITER_ATTEMPTS;
44+
45+
protected override void ProcessRecord()
46+
{
47+
base.ProcessRecord();
48+
GetContainerImageRequest request;
49+
50+
try
51+
{
52+
request = new GetContainerImageRequest
53+
{
54+
ImageId = ImageId,
55+
OpcRequestId = OpcRequestId
56+
};
57+
58+
HandleOutput(request);
59+
FinishProcessing(response);
60+
}
61+
catch (Exception ex)
62+
{
63+
TerminatingErrorDuringExecution(ex);
64+
}
65+
}
66+
67+
protected override void StopProcessing()
68+
{
69+
base.StopProcessing();
70+
TerminatingErrorDuringExecution(new OperationCanceledException("Cmdlet execution interrupted"));
71+
}
72+
73+
private void HandleOutput(GetContainerImageRequest request)
74+
{
75+
var waiterConfig = new WaiterConfiguration
76+
{
77+
MaxAttempts = MaxWaitAttempts,
78+
GetNextDelayInSeconds = (_) => WaitIntervalSeconds
79+
};
80+
81+
switch (ParameterSetName)
82+
{
83+
case LifecycleStateParamSet:
84+
response = client.Waiters.ForContainerImage(request, waiterConfig, WaitForLifecycleState).Execute();
85+
break;
86+
87+
case Default:
88+
response = client.GetContainerImage(request).GetAwaiter().GetResult();
89+
break;
90+
}
91+
WriteOutput(response, response.ContainerImage);
92+
}
93+
94+
private GetContainerImageResponse response;
95+
private const string LifecycleStateParamSet = "LifecycleStateParamSet";
96+
private const string Default = "Default";
97+
}
98+
}

0 commit comments

Comments
 (0)