Skip to content

Commit 87dedb4

Browse files
Releasing version 90.0.0
Releasing version 90.0.0
2 parents ecce35b + 5aea863 commit 87dedb4

File tree

275 files changed

+9346
-480
lines changed

Some content is hidden

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

275 files changed

+9346
-480
lines changed

Accessgovernancecp/OCI.PSModules.Accessgovernancecp.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
RootModule = 'assemblies/OCI.PSModules.Accessgovernancecp.dll'
1212

1313
# Version number of this module.
14-
ModuleVersion = '89.0.0'
14+
ModuleVersion = '90.0.0'
1515

1616
# Supported PSEditions
1717
CompatiblePSEditions = 'Core'
@@ -50,7 +50,7 @@ PowerShellVersion = '6.0'
5050
# ProcessorArchitecture = ''
5151

5252
# Modules that must be imported into the global environment prior to importing this module
53-
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '89.0.0'; })
53+
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '90.0.0'; })
5454

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

Adm/OCI.PSModules.Adm.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
RootModule = 'assemblies/OCI.PSModules.Adm.dll'
1212

1313
# Version number of this module.
14-
ModuleVersion = '89.0.0'
14+
ModuleVersion = '90.0.0'
1515

1616
# Supported PSEditions
1717
CompatiblePSEditions = 'Core'
@@ -50,7 +50,7 @@ PowerShellVersion = '6.0'
5050
# ProcessorArchitecture = ''
5151

5252
# Modules that must be imported into the global environment prior to importing this module
53-
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '89.0.0'; })
53+
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '90.0.0'; })
5454

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

Aianomalydetection/OCI.PSModules.Aianomalydetection.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
RootModule = 'assemblies/OCI.PSModules.Aianomalydetection.dll'
1212

1313
# Version number of this module.
14-
ModuleVersion = '89.0.0'
14+
ModuleVersion = '90.0.0'
1515

1616
# Supported PSEditions
1717
CompatiblePSEditions = 'Core'
@@ -50,7 +50,7 @@ PowerShellVersion = '6.0'
5050
# ProcessorArchitecture = ''
5151

5252
# Modules that must be imported into the global environment prior to importing this module
53-
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '89.0.0'; })
53+
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '90.0.0'; })
5454

5555
# Assemblies that must be loaded prior to importing this module
5656
RequiredAssemblies = 'assemblies/OCI.DotNetSDK.Aianomalydetection.dll'
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
/*
2+
* NOTE: Generated using OracleSDKGenerator, API Version: 20221109
3+
* DO NOT EDIT this file manually.
4+
*
5+
* Copyright (c) 2020, 2024, 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.AidocumentService.Requests;
12+
using Oci.AidocumentService.Responses;
13+
using Oci.AidocumentService.Models;
14+
using Oci.Common.Model;
15+
16+
namespace Oci.AidocumentService.Cmdlets
17+
{
18+
[Cmdlet("Add", "OCIAidocumentModelLock")]
19+
[OutputType(new System.Type[] { typeof(Oci.AidocumentService.Models.Model), typeof(Oci.AidocumentService.Responses.AddModelLockResponse) })]
20+
public class AddOCIAidocumentModelLock : OCIAIServiceDocumentCmdlet
21+
{
22+
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A unique model identifier.")]
23+
public string ModelId { get; set; }
24+
25+
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"Request payload to add lock to the resource.")]
26+
public AddModelLockDetails AddModelLockDetails { get; set; }
27+
28+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"A token that uniquely identifies a request so it can be retried in case of a timeout or server error without the risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.")]
29+
public string OpcRetryToken { get; set; }
30+
31+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"The client request ID for tracing.")]
32+
public string OpcRequestId { get; set; }
33+
34+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.")]
35+
public string IfMatch { get; set; }
36+
37+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"Whether to override locks (if any exist).")]
38+
public System.Nullable<bool> IsLockOverride { get; set; }
39+
40+
protected override void ProcessRecord()
41+
{
42+
base.ProcessRecord();
43+
AddModelLockRequest request;
44+
45+
try
46+
{
47+
request = new AddModelLockRequest
48+
{
49+
ModelId = ModelId,
50+
AddModelLockDetails = AddModelLockDetails,
51+
OpcRetryToken = OpcRetryToken,
52+
OpcRequestId = OpcRequestId,
53+
IfMatch = IfMatch,
54+
IsLockOverride = IsLockOverride
55+
};
56+
57+
response = client.AddModelLock(request).GetAwaiter().GetResult();
58+
WriteOutput(response, response.Model);
59+
FinishProcessing(response);
60+
}
61+
catch (OciException ex)
62+
{
63+
TerminatingErrorDuringExecution(ex);
64+
}
65+
catch (Exception ex)
66+
{
67+
TerminatingErrorDuringExecution(ex);
68+
}
69+
}
70+
71+
protected override void StopProcessing()
72+
{
73+
base.StopProcessing();
74+
TerminatingErrorDuringExecution(new OperationCanceledException("Cmdlet execution interrupted"));
75+
}
76+
77+
private AddModelLockResponse response;
78+
}
79+
}
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
/*
2+
* NOTE: Generated using OracleSDKGenerator, API Version: 20221109
3+
* DO NOT EDIT this file manually.
4+
*
5+
* Copyright (c) 2020, 2024, 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.AidocumentService.Requests;
12+
using Oci.AidocumentService.Responses;
13+
using Oci.AidocumentService.Models;
14+
using Oci.Common.Model;
15+
16+
namespace Oci.AidocumentService.Cmdlets
17+
{
18+
[Cmdlet("Add", "OCIAidocumentProjectLock")]
19+
[OutputType(new System.Type[] { typeof(Oci.AidocumentService.Models.Project), typeof(Oci.AidocumentService.Responses.AddProjectLockResponse) })]
20+
public class AddOCIAidocumentProjectLock : OCIAIServiceDocumentCmdlet
21+
{
22+
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A unique project identifier.")]
23+
public string ProjectId { get; set; }
24+
25+
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"Request payload to add lock to the resource.")]
26+
public AddProjectLockDetails AddProjectLockDetails { get; set; }
27+
28+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"A token that uniquely identifies a request so it can be retried in case of a timeout or server error without the risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.")]
29+
public string OpcRetryToken { get; set; }
30+
31+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"The client request ID for tracing.")]
32+
public string OpcRequestId { get; set; }
33+
34+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.")]
35+
public string IfMatch { get; set; }
36+
37+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"Whether to override locks (if any exist).")]
38+
public System.Nullable<bool> IsLockOverride { get; set; }
39+
40+
protected override void ProcessRecord()
41+
{
42+
base.ProcessRecord();
43+
AddProjectLockRequest request;
44+
45+
try
46+
{
47+
request = new AddProjectLockRequest
48+
{
49+
ProjectId = ProjectId,
50+
AddProjectLockDetails = AddProjectLockDetails,
51+
OpcRetryToken = OpcRetryToken,
52+
OpcRequestId = OpcRequestId,
53+
IfMatch = IfMatch,
54+
IsLockOverride = IsLockOverride
55+
};
56+
57+
response = client.AddProjectLock(request).GetAwaiter().GetResult();
58+
WriteOutput(response, response.Project);
59+
FinishProcessing(response);
60+
}
61+
catch (OciException ex)
62+
{
63+
TerminatingErrorDuringExecution(ex);
64+
}
65+
catch (Exception ex)
66+
{
67+
TerminatingErrorDuringExecution(ex);
68+
}
69+
}
70+
71+
protected override void StopProcessing()
72+
{
73+
base.StopProcessing();
74+
TerminatingErrorDuringExecution(new OperationCanceledException("Cmdlet execution interrupted"));
75+
}
76+
77+
private AddProjectLockResponse response;
78+
}
79+
}

Aidocument/Cmdlets/Move-OCIAidocumentModelCompartment.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ public class MoveOCIAidocumentModelCompartment : OCIAIServiceDocumentCmdlet
3131
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"The client request ID for tracing.")]
3232
public string OpcRequestId { get; set; }
3333

34+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"Whether to override locks (if any exist).")]
35+
public System.Nullable<bool> IsLockOverride { get; set; }
36+
3437
protected override void ProcessRecord()
3538
{
3639
base.ProcessRecord();
@@ -43,7 +46,8 @@ protected override void ProcessRecord()
4346
ModelId = ModelId,
4447
ChangeModelCompartmentDetails = ChangeModelCompartmentDetails,
4548
IfMatch = IfMatch,
46-
OpcRequestId = OpcRequestId
49+
OpcRequestId = OpcRequestId,
50+
IsLockOverride = IsLockOverride
4751
};
4852

4953
response = client.ChangeModelCompartment(request).GetAwaiter().GetResult();

Aidocument/Cmdlets/Move-OCIAidocumentProjectCompartment.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ public class MoveOCIAidocumentProjectCompartment : OCIAIServiceDocumentCmdlet
3131
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"The client request ID for tracing.")]
3232
public string OpcRequestId { get; set; }
3333

34+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"Whether to override locks (if any exist).")]
35+
public System.Nullable<bool> IsLockOverride { get; set; }
36+
3437
protected override void ProcessRecord()
3538
{
3639
base.ProcessRecord();
@@ -43,7 +46,8 @@ protected override void ProcessRecord()
4346
ProjectId = ProjectId,
4447
ChangeProjectCompartmentDetails = ChangeProjectCompartmentDetails,
4548
IfMatch = IfMatch,
46-
OpcRequestId = OpcRequestId
49+
OpcRequestId = OpcRequestId,
50+
IsLockOverride = IsLockOverride
4751
};
4852

4953
response = client.ChangeProjectCompartment(request).GetAwaiter().GetResult();

Aidocument/Cmdlets/Remove-OCIAidocumentModel.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ public class RemoveOCIAidocumentModel : OCIAIServiceDocumentCmdlet
2828
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"The client request ID for tracing.")]
2929
public string OpcRequestId { get; set; }
3030

31+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"Whether to override locks (if any exist).")]
32+
public System.Nullable<bool> IsLockOverride { get; set; }
33+
3134
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Ignore confirmation and force the Cmdlet to complete action.")]
3235
public SwitchParameter Force { get; set; }
3336

@@ -48,7 +51,8 @@ protected override void ProcessRecord()
4851
{
4952
ModelId = ModelId,
5053
IfMatch = IfMatch,
51-
OpcRequestId = OpcRequestId
54+
OpcRequestId = OpcRequestId,
55+
IsLockOverride = IsLockOverride
5256
};
5357

5458
response = client.DeleteModel(request).GetAwaiter().GetResult();
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
/*
2+
* NOTE: Generated using OracleSDKGenerator, API Version: 20221109
3+
* DO NOT EDIT this file manually.
4+
*
5+
* Copyright (c) 2020, 2024, 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.AidocumentService.Requests;
12+
using Oci.AidocumentService.Responses;
13+
using Oci.AidocumentService.Models;
14+
using Oci.Common.Model;
15+
16+
namespace Oci.AidocumentService.Cmdlets
17+
{
18+
[Cmdlet("Remove", "OCIAidocumentModelLock")]
19+
[OutputType(new System.Type[] { typeof(Oci.AidocumentService.Models.Model), typeof(Oci.AidocumentService.Responses.RemoveModelLockResponse) })]
20+
public class RemoveOCIAidocumentModelLock : OCIAIServiceDocumentCmdlet
21+
{
22+
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"A unique model identifier.")]
23+
public string ModelId { get; set; }
24+
25+
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"Request payload to remove lock to the resource.")]
26+
public RemoveModelLockDetails RemoveModelLockDetails { get; set; }
27+
28+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"A token that uniquely identifies a request so it can be retried in case of a timeout or server error without the risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.")]
29+
public string OpcRetryToken { get; set; }
30+
31+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"The client request ID for tracing.")]
32+
public string OpcRequestId { get; set; }
33+
34+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.")]
35+
public string IfMatch { get; set; }
36+
37+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"Whether to override locks (if any exist).")]
38+
public System.Nullable<bool> IsLockOverride { get; set; }
39+
40+
protected override void ProcessRecord()
41+
{
42+
base.ProcessRecord();
43+
RemoveModelLockRequest request;
44+
45+
try
46+
{
47+
request = new RemoveModelLockRequest
48+
{
49+
ModelId = ModelId,
50+
RemoveModelLockDetails = RemoveModelLockDetails,
51+
OpcRetryToken = OpcRetryToken,
52+
OpcRequestId = OpcRequestId,
53+
IfMatch = IfMatch,
54+
IsLockOverride = IsLockOverride
55+
};
56+
57+
response = client.RemoveModelLock(request).GetAwaiter().GetResult();
58+
WriteOutput(response, response.Model);
59+
FinishProcessing(response);
60+
}
61+
catch (OciException ex)
62+
{
63+
TerminatingErrorDuringExecution(ex);
64+
}
65+
catch (Exception ex)
66+
{
67+
TerminatingErrorDuringExecution(ex);
68+
}
69+
}
70+
71+
protected override void StopProcessing()
72+
{
73+
base.StopProcessing();
74+
TerminatingErrorDuringExecution(new OperationCanceledException("Cmdlet execution interrupted"));
75+
}
76+
77+
private RemoveModelLockResponse response;
78+
}
79+
}

Aidocument/Cmdlets/Remove-OCIAidocumentProject.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ public class RemoveOCIAidocumentProject : OCIAIServiceDocumentCmdlet
2828
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"The client request ID for tracing.")]
2929
public string OpcRequestId { get; set; }
3030

31+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"Whether to override locks (if any exist).")]
32+
public System.Nullable<bool> IsLockOverride { get; set; }
33+
3134
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Ignore confirmation and force the Cmdlet to complete action.")]
3235
public SwitchParameter Force { get; set; }
3336

@@ -48,7 +51,8 @@ protected override void ProcessRecord()
4851
{
4952
ProjectId = ProjectId,
5053
IfMatch = IfMatch,
51-
OpcRequestId = OpcRequestId
54+
OpcRequestId = OpcRequestId,
55+
IsLockOverride = IsLockOverride
5256
};
5357

5458
response = client.DeleteProject(request).GetAwaiter().GetResult();

0 commit comments

Comments
 (0)