Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liftr Informatica ps cmdlets for stable version 2024-05-08 #25437

Merged
merged 13 commits into from
Jul 11, 2024
1 change: 1 addition & 0 deletions src/Informatica/Informatica.Autorest/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
16 changes: 16 additions & 0 deletions src/Informatica/Informatica.Autorest/.gitignore
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
23 changes: 23 additions & 0 deletions src/Informatica/Informatica.Autorest/Az.Informatica.psd1
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 = ''
}
}
}
75 changes: 75 additions & 0 deletions src/Informatica/Informatica.Autorest/README.md
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
```
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]"
}
]
}
]
}
]
}
Loading
Loading