Skip to content

Commit

Permalink
Remove serverless commands and add README
Browse files Browse the repository at this point in the history
  • Loading branch information
almasak committed Jul 11, 2024
1 parent b057c4c commit 7dcfd1c
Show file tree
Hide file tree
Showing 19 changed files with 445 additions and 4,773 deletions.
37 changes: 36 additions & 1 deletion src/informatica/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,39 @@
This is an extension to Azure CLI to manage Informatica resources.

## How to use ##
Please add commands usage here.
#### Install the extension ####
Install this extension using the below CLI command
```
az extension add --name informatica
```
#### Check the version ####
```
az extension show --name informatica --query version
```
#### Connect to Azure subscription ####
```
az login
az account set -s {subs_id}
```
#### Create a resource group (or use an existing one) ####
```
az group create -n testrg -l eastus
```
# Create Informatica Organization
```
az informatica data-management organization create --resource-group {resource_group} --org-name {name} --subscription {subscription} --location {location} --company-details '{"company-name": "{company_name}", "office-address": "{office_address}", "country": "{country}", "domain": "{domain}", "number-of-employees": {number_of_employee}}' --marketplace-details '{"marketplace-subscription-id": "{marketplace_subscription_id}", "offer-details": {"offer-id": "{offer_id}", "plan-id": "{plan_id}", "plan-name": "{plan_name}", "publisher-id": "{publisher_id}", "term-unit": "{term_unit}", "term-id": "{term_id}"}}' --user-details '{"first-name": "{user_first_name}", "last-name": "{user_last_name}", "email-address": "{user_email}", "upn": "{user_upn}", "phone-number": "{user_phone}"}' --informatica-properties '{"organization-id": "{org_id}", "organization-name": "{org_name}", "informatica-region": "{informatica_region}"}' --link-organization '{"token": "{link_token}"}'
```
# Show an Informatica Organization Resource
```
az informatica data-management organization show -g {resource_group} -n {org_name} --subscription {subscription}
```
# List Informatica Organization Resourcs by subscription ID
```
az informatica data-management organization list --subscription {subscription} --resource-group {resource_group}
```
# Delete Informatica Organization
```
az informatica data-management organization delete -n {org_name} -g {resource_group} --subscription {subscription} --yes
```

If you have issues, please give feedback by opening an issue at https://github.com/Azure/azure-cli-extensions/issues.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
from .__cmd_group import *
from ._create import *
from ._delete import *
from ._get_all_serverless_runtime import *
from ._get_serverless_metadatum import *
from ._list import *
from ._show import *
from ._update import *
from ._wait import *

This file was deleted.

Loading

0 comments on commit 7dcfd1c

Please sign in to comment.