Skip to content

Commit dd5d41a

Browse files
Releasing version 97.1.0
Releasing version 97.1.0
2 parents 8417678 + b013424 commit dd5d41a

File tree

183 files changed

+3121
-470
lines changed

Some content is hidden

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

183 files changed

+3121
-470
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 = '97.0.0'
14+
ModuleVersion = '97.1.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 = '97.0.0'; })
53+
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '97.1.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 = '97.0.0'
14+
ModuleVersion = '97.1.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 = '97.0.0'; })
53+
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '97.1.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 = '97.0.0'
14+
ModuleVersion = '97.1.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 = '97.0.0'; })
53+
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '97.1.0'; })
5454

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

Aidocument/OCI.PSModules.Aidocument.psd1

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

1313
# Version number of this module.
14-
ModuleVersion = '97.0.0'
14+
ModuleVersion = '97.1.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 = '97.0.0'; })
53+
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '97.1.0'; })
5454

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

Ailanguage/OCI.PSModules.Ailanguage.psd1

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

1313
# Version number of this module.
14-
ModuleVersion = '97.0.0'
14+
ModuleVersion = '97.1.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 = '97.0.0'; })
53+
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '97.1.0'; })
5454

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

Aispeech/OCI.PSModules.Aispeech.psd1

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

1313
# Version number of this module.
14-
ModuleVersion = '97.0.0'
14+
ModuleVersion = '97.1.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 = '97.0.0'; })
53+
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '97.1.0'; })
5454

5555
# Assemblies that must be loaded prior to importing this module
5656
RequiredAssemblies = 'assemblies/OCI.DotNetSDK.Aispeech.dll'
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
/*
2+
* NOTE: Generated using OracleSDKGenerator, API Version: 20220125
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.AivisionService.Requests;
12+
using Oci.AivisionService.Responses;
13+
using Oci.AivisionService.Models;
14+
using Oci.Common.Model;
15+
using Oci.Common.Waiters;
16+
17+
namespace Oci.AivisionService.Cmdlets
18+
{
19+
[Cmdlet("Get", "OCIAivisionVideoJob", DefaultParameterSetName = Default)]
20+
[OutputType(new System.Type[] { typeof(Oci.AivisionService.Models.VideoJob), typeof(Oci.AivisionService.Responses.GetVideoJobResponse) })]
21+
public class GetOCIAivisionVideoJob : OCIAIServiceVisionCmdlet
22+
{
23+
24+
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"Video job id.", ParameterSetName = LifecycleStateParamSet)]
25+
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"Video job id.", ParameterSetName = Default)]
26+
public string VideoJobId { get; set; }
27+
28+
29+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"The client request ID for tracing.", ParameterSetName = LifecycleStateParamSet)]
30+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"The client request ID for tracing.", ParameterSetName = Default)]
31+
public string OpcRequestId { get; set; }
32+
33+
[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)]
34+
public Oci.AivisionService.Models.VideoJob.LifecycleStateEnum[] WaitForLifecycleState { get; set; }
35+
36+
[Parameter(Mandatory = false, HelpMessage = @"Check every WaitIntervalSeconds to see whether the resource has reached a desired state.", ParameterSetName = LifecycleStateParamSet)]
37+
public int WaitIntervalSeconds { get; set; } = WAIT_INTERVAL_SECONDS;
38+
39+
[Parameter(Mandatory = false, HelpMessage = @"Maximum number of attempts to be made until the resource reaches a desired state.", ParameterSetName = LifecycleStateParamSet)]
40+
public int MaxWaitAttempts { get; set; } = MAX_WAITER_ATTEMPTS;
41+
42+
protected override void ProcessRecord()
43+
{
44+
base.ProcessRecord();
45+
GetVideoJobRequest request;
46+
47+
try
48+
{
49+
request = new GetVideoJobRequest
50+
{
51+
VideoJobId = VideoJobId,
52+
OpcRequestId = OpcRequestId
53+
};
54+
55+
HandleOutput(request);
56+
FinishProcessing(response);
57+
}
58+
catch (OciException ex)
59+
{
60+
TerminatingErrorDuringExecution(ex);
61+
}
62+
catch (Exception ex)
63+
{
64+
TerminatingErrorDuringExecution(ex);
65+
}
66+
}
67+
68+
protected override void StopProcessing()
69+
{
70+
base.StopProcessing();
71+
TerminatingErrorDuringExecution(new OperationCanceledException("Cmdlet execution interrupted"));
72+
}
73+
74+
private void HandleOutput(GetVideoJobRequest request)
75+
{
76+
var waiterConfig = new WaiterConfiguration
77+
{
78+
MaxAttempts = MaxWaitAttempts,
79+
GetNextDelayInSeconds = (_) => WaitIntervalSeconds
80+
};
81+
82+
switch (ParameterSetName)
83+
{
84+
case LifecycleStateParamSet:
85+
response = client.Waiters.ForVideoJob(request, waiterConfig, WaitForLifecycleState).Execute();
86+
break;
87+
88+
case Default:
89+
response = client.GetVideoJob(request).GetAwaiter().GetResult();
90+
break;
91+
}
92+
WriteOutput(response, response.VideoJob);
93+
}
94+
95+
private GetVideoJobResponse response;
96+
private const string LifecycleStateParamSet = "LifecycleStateParamSet";
97+
private const string Default = "Default";
98+
}
99+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
/*
2+
* NOTE: Generated using OracleSDKGenerator, API Version: 20220125
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.AivisionService.Requests;
12+
using Oci.AivisionService.Responses;
13+
using Oci.AivisionService.Models;
14+
using Oci.Common.Model;
15+
16+
namespace Oci.AivisionService.Cmdlets
17+
{
18+
[Cmdlet("New", "OCIAivisionVideoJob")]
19+
[OutputType(new System.Type[] { typeof(Oci.AivisionService.Models.VideoJob), typeof(Oci.AivisionService.Responses.CreateVideoJobResponse) })]
20+
public class NewOCIAivisionVideoJob : OCIAIServiceVisionCmdlet
21+
{
22+
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"Details about the video analysis.")]
23+
public CreateVideoJobDetails CreateVideoJobDetails { get; set; }
24+
25+
[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.")]
26+
public string OpcRetryToken { get; set; }
27+
28+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"The client request ID for tracing.")]
29+
public string OpcRequestId { get; set; }
30+
31+
protected override void ProcessRecord()
32+
{
33+
base.ProcessRecord();
34+
CreateVideoJobRequest request;
35+
36+
try
37+
{
38+
request = new CreateVideoJobRequest
39+
{
40+
CreateVideoJobDetails = CreateVideoJobDetails,
41+
OpcRetryToken = OpcRetryToken,
42+
OpcRequestId = OpcRequestId
43+
};
44+
45+
response = client.CreateVideoJob(request).GetAwaiter().GetResult();
46+
WriteOutput(response, response.VideoJob);
47+
FinishProcessing(response);
48+
}
49+
catch (OciException ex)
50+
{
51+
TerminatingErrorDuringExecution(ex);
52+
}
53+
catch (Exception ex)
54+
{
55+
TerminatingErrorDuringExecution(ex);
56+
}
57+
}
58+
59+
protected override void StopProcessing()
60+
{
61+
base.StopProcessing();
62+
TerminatingErrorDuringExecution(new OperationCanceledException("Cmdlet execution interrupted"));
63+
}
64+
65+
private CreateVideoJobResponse response;
66+
}
67+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
/*
2+
* NOTE: Generated using OracleSDKGenerator, API Version: 20220125
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.AivisionService.Requests;
12+
using Oci.AivisionService.Responses;
13+
using Oci.AivisionService.Models;
14+
using Oci.Common.Model;
15+
16+
namespace Oci.AivisionService.Cmdlets
17+
{
18+
[Cmdlet("Stop", "OCIAivisionVideoJob")]
19+
[OutputType(new System.Type[] { typeof(void), typeof(Oci.AivisionService.Responses.CancelVideoJobResponse) })]
20+
public class StopOCIAivisionVideoJob : OCIAIServiceVisionCmdlet
21+
{
22+
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = @"Video job id.")]
23+
public string VideoJobId { get; set; }
24+
25+
[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.")]
26+
public string IfMatch { get; set; }
27+
28+
[Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = @"The client request ID for tracing.")]
29+
public string OpcRequestId { get; set; }
30+
31+
protected override void ProcessRecord()
32+
{
33+
base.ProcessRecord();
34+
CancelVideoJobRequest request;
35+
36+
try
37+
{
38+
request = new CancelVideoJobRequest
39+
{
40+
VideoJobId = VideoJobId,
41+
IfMatch = IfMatch,
42+
OpcRequestId = OpcRequestId
43+
};
44+
45+
response = client.CancelVideoJob(request).GetAwaiter().GetResult();
46+
WriteOutput(response);
47+
FinishProcessing(response);
48+
}
49+
catch (OciException ex)
50+
{
51+
TerminatingErrorDuringExecution(ex);
52+
}
53+
catch (Exception ex)
54+
{
55+
TerminatingErrorDuringExecution(ex);
56+
}
57+
}
58+
59+
protected override void StopProcessing()
60+
{
61+
base.StopProcessing();
62+
TerminatingErrorDuringExecution(new OperationCanceledException("Cmdlet execution interrupted"));
63+
}
64+
65+
private CancelVideoJobResponse response;
66+
}
67+
}

Aivision/OCI.PSModules.Aivision.psd1

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

1313
# Version number of this module.
14-
ModuleVersion = '97.0.0'
14+
ModuleVersion = '97.1.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 = '97.0.0'; })
53+
RequiredModules = @(@{ModuleName = 'OCI.PSModules.Common'; GUID = 'b3061a0d-375b-4099-ae76-f92fb3cdcdae'; RequiredVersion = '97.1.0'; })
5454

5555
# Assemblies that must be loaded prior to importing this module
5656
RequiredAssemblies = 'assemblies/OCI.DotNetSDK.Aivision.dll'
@@ -74,7 +74,7 @@ FunctionsToExport = '*'
7474
CmdletsToExport = 'Get-OCIAivisionDocumentJob', 'Get-OCIAivisionImageJob',
7575
'Get-OCIAivisionModel', 'Get-OCIAivisionModelsList',
7676
'Get-OCIAivisionProject', 'Get-OCIAivisionProjectsList',
77-
'Get-OCIAivisionWorkRequest',
77+
'Get-OCIAivisionVideoJob', 'Get-OCIAivisionWorkRequest',
7878
'Get-OCIAivisionWorkRequestErrorsList',
7979
'Get-OCIAivisionWorkRequestLogsList',
8080
'Get-OCIAivisionWorkRequestsList',
@@ -83,9 +83,10 @@ CmdletsToExport = 'Get-OCIAivisionDocumentJob', 'Get-OCIAivisionImageJob',
8383
'Move-OCIAivisionModelCompartment',
8484
'Move-OCIAivisionProjectCompartment', 'New-OCIAivisionDocumentJob',
8585
'New-OCIAivisionImageJob', 'New-OCIAivisionModel',
86-
'New-OCIAivisionProject', 'Remove-OCIAivisionModel',
87-
'Remove-OCIAivisionProject', 'Stop-OCIAivisionDocumentJob',
88-
'Stop-OCIAivisionImageJob', 'Stop-OCIAivisionWorkRequest',
86+
'New-OCIAivisionProject', 'New-OCIAivisionVideoJob',
87+
'Remove-OCIAivisionModel', 'Remove-OCIAivisionProject',
88+
'Stop-OCIAivisionDocumentJob', 'Stop-OCIAivisionImageJob',
89+
'Stop-OCIAivisionVideoJob', 'Stop-OCIAivisionWorkRequest',
8990
'Update-OCIAivisionModel', 'Update-OCIAivisionProject'
9091

9192
# Variables to export from this module

0 commit comments

Comments
 (0)