forked from Azure/azure-powershell
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Liftr Informatica ps cmdlets for stable version 2024-05-08 (Azure#25437)
* Liftr Informatica ps cmdlets for stable version 2024-05-08 * Add examples for Informatica * Change CompanyDetailBusiness to Business * added examples for serverless runtime resources * fix build issues * fix build issues * fix static analysis issues for informatica organization * fix static analysis issues for update informatica organization * fix remove informatica organization * fix static analaysis issues in update and new informatica organization commands * update Bussiness phone number parameter name * Create ExampleIssues.csv * Create SignatureIssues.csv --------- Co-authored-by: Srinivas Alluri <[email protected]> Co-authored-by: Yabo Hu <[email protected]>
- Loading branch information
1 parent
3487b20
commit eb41d92
Showing
58 changed files
with
5,607 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=auto |
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,16 @@ | ||
bin | ||
obj | ||
.vs | ||
generated | ||
internal | ||
exports | ||
tools | ||
custom/*.psm1 | ||
custom/autogen-model-cmdlets | ||
test/*-TestResults.xml | ||
/*.ps1 | ||
/*.ps1xml | ||
/*.psm1 | ||
/*.snk | ||
/*.csproj | ||
/*.nuspec |
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,23 @@ | ||
@{ | ||
GUID = '2cc23942-2b17-4b45-84c4-ebd4d2af2292' | ||
RootModule = './Az.Informatica.psm1' | ||
ModuleVersion = '0.1.0' | ||
CompatiblePSEditions = 'Core', 'Desktop' | ||
Author = 'Microsoft Corporation' | ||
CompanyName = 'Microsoft Corporation' | ||
Copyright = 'Microsoft Corporation. All rights reserved.' | ||
Description = 'Microsoft Azure PowerShell: Informatica cmdlets' | ||
PowerShellVersion = '5.1' | ||
DotNetFrameworkVersion = '4.7.2' | ||
RequiredAssemblies = './bin/Az.Informatica.private.dll' | ||
FormatsToProcess = './Az.Informatica.format.ps1xml' | ||
FunctionsToExport = 'Get-AzInformaticaOrganization', 'Get-AzInformaticaOrganizationServerlessMetadata', 'Get-AzInformaticaOrganizationServerlessRuntime', 'Get-AzInformaticaServerlessRuntime', 'Invoke-AzInformaticaServerlessRuntimeResource', 'New-AzInformaticaOrganization', 'New-AzInformaticaServerlessRuntime', 'Remove-AzInformaticaOrganization', 'Remove-AzInformaticaServerlessRuntime', 'Start-AzInformaticaServerlessRuntimeFailedServerlessRuntime', 'Test-AzInformaticaServerlessRuntimeDependency', 'Update-AzInformaticaOrganization', 'Update-AzInformaticaServerlessRuntime' | ||
PrivateData = @{ | ||
PSData = @{ | ||
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'Informatica' | ||
LicenseUri = 'https://aka.ms/azps-license' | ||
ProjectUri = 'https://github.com/Azure/azure-powershell' | ||
ReleaseNotes = '' | ||
} | ||
} | ||
} |
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,75 @@ | ||
<!-- region Generated --> | ||
# Az.Informatica | ||
This directory contains the PowerShell module for the Informatica service. | ||
|
||
--- | ||
## Info | ||
- Modifiable: yes | ||
- Generated: all | ||
- Committed: yes | ||
- Packaged: yes | ||
|
||
--- | ||
## Detail | ||
This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. | ||
|
||
## Module Requirements | ||
- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 2.7.5 or greater | ||
|
||
## Authentication | ||
AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. | ||
|
||
## Development | ||
For information on how to develop for `Az.Informatica`, see [how-to.md](how-to.md). | ||
<!-- endregion --> | ||
|
||
### AutoRest Configuration | ||
> see https://aka.ms/autorest | ||
```yaml | ||
# pin the swagger version by using the commit id instead of branch name | ||
commit: e74d8dd12e73c21bd8e837afd25951cd970a261a | ||
require: | ||
# readme.azure.noprofile.md is the common configuration file | ||
- $(this-folder)/../../readme.azure.noprofile.md | ||
- $(repo)/specification/informatica/resource-manager/readme.md | ||
# If the swagger has not been put in the repo, you may uncomment the following line and refer to it locally | ||
# - (this-folder)/relative-path-to-your-local-readme.md | ||
|
||
try-require: | ||
- $(repo)/specification/informatica/resource-manager/readme.powershell.md | ||
|
||
# For new RP, the version is 0.1.0 | ||
module-version: 0.1.0 | ||
# Normally, title is the service name | ||
title: Informatica | ||
subject-prefix: $Informatica | ||
|
||
# The next three configurations are exclusive to v3, and in v4, they are activated by default. If you are still using v3, please uncomment them. | ||
# identity-correction-for-post: true | ||
# resourcegroup-append: true | ||
# nested-object-to-string: true | ||
|
||
directive: | ||
# Following are common directives which are normally required in all the RPs | ||
# 1. Remove the unexpanded parameter set | ||
# 2. For New-* cmdlets, ViaIdentity is not required | ||
# Following two directives are v4 specific: | ||
- no-inline: # choose ONE of these models to disable inlining | ||
- InformaticaOrganizationResourceUpdate | ||
- where: | ||
variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString)) | ||
remove: true | ||
- where: | ||
variant: ^CreateViaIdentity.*$ | ||
remove: true | ||
# Follow directive is v3 specific. If you are using v3, uncomment following directive and comments out two directives above | ||
#- where: | ||
# variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$ | ||
# remove: true | ||
|
||
# Remove the set-* cmdlet | ||
- where: | ||
verb: Set | ||
remove: true | ||
``` |
224 changes: 224 additions & 0 deletions
224
.../Informatica.Autorest/UX/Informatica.DataManagement/organizations-serverlessRuntimes.json
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,224 @@ | ||
{ | ||
"resourceType": "organizations/serverlessRuntimes", | ||
"apiVersion": "2024-05-08", | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.informatica" | ||
}, | ||
"commands": [ | ||
{ | ||
"name": "Get-AzInformaticaServerlessRuntime", | ||
"description": "Get a InformaticaServerlessRuntimeResource", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.informatica/get-azinformaticaserverlessruntime" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-Name <String>", | ||
"-OrganizationName <String>", | ||
"-ResourceGroupName <String>", | ||
"[-SubscriptionId <String[]>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Get a InformaticaServerlessRuntimeResource", | ||
"parameters": [ | ||
{ | ||
"name": "-Name", | ||
"value": "[Path.serverlessRuntimeName]" | ||
}, | ||
{ | ||
"name": "-OrganizationName", | ||
"value": "[Path.organizationName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Invoke-AzInformaticaServerlessRuntimeResource", | ||
"description": "Returns a serverless runtime resource by ID", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}/serverlessResourceById", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.informatica/invoke-azinformaticaserverlessruntimeresource" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-OrganizationName <String>", | ||
"-ResourceGroupName <String>", | ||
"-ServerlessRuntimeName <String>", | ||
"[-SubscriptionId <String>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Returns a serverless runtime resource by ID", | ||
"parameters": [ | ||
{ | ||
"name": "-OrganizationName", | ||
"value": "[Path.organizationName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-ServerlessRuntimeName", | ||
"value": "[Path.serverlessRuntimeName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Remove-AzInformaticaServerlessRuntime", | ||
"description": "Delete a InformaticaServerlessRuntimeResource", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.informatica/remove-azinformaticaserverlessruntime" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-Name <String>", | ||
"-OrganizationName <String>", | ||
"-ResourceGroupName <String>", | ||
"[-SubscriptionId <String>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Delete a InformaticaServerlessRuntimeResource", | ||
"parameters": [ | ||
{ | ||
"name": "-Name", | ||
"value": "[Path.serverlessRuntimeName]" | ||
}, | ||
{ | ||
"name": "-OrganizationName", | ||
"value": "[Path.organizationName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Start-AzInformaticaServerlessRuntimeFailedServerlessRuntime", | ||
"description": "Starts a failed runtime resource", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}/startFailedServerlessRuntime", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.informatica/start-azinformaticaserverlessruntimefailedserverlessruntime" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-OrganizationName <String>", | ||
"-ResourceGroupName <String>", | ||
"-ServerlessRuntimeName <String>", | ||
"[-SubscriptionId <String>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Starts a failed runtime resource", | ||
"parameters": [ | ||
{ | ||
"name": "-OrganizationName", | ||
"value": "[Path.organizationName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-ServerlessRuntimeName", | ||
"value": "[Path.serverlessRuntimeName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Test-AzInformaticaServerlessRuntimeDependency", | ||
"description": "Checks all dependencies for a serverless runtime resource", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Informatica.DataManagement/organizations/{organizationName}/serverlessRuntimes/{serverlessRuntimeName}/checkDependencies", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.informatica/test-azinformaticaserverlessruntimedependency" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-OrganizationName <String>", | ||
"-ResourceGroupName <String>", | ||
"-ServerlessRuntimeName <String>", | ||
"[-SubscriptionId <String>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Checks all dependencies for a serverless runtime resource", | ||
"parameters": [ | ||
{ | ||
"name": "-OrganizationName", | ||
"value": "[Path.organizationName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-ServerlessRuntimeName", | ||
"value": "[Path.serverlessRuntimeName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.