-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Generated Confluent Azure Powershell cmdlets #29151
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
base: main
Are you sure you want to change the base?
Changes from 2 commits
77bb99f
4f852e8
c773536
3940b72
1d300ec
c9cdf6a
33262f0
624148f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -44,12 +44,13 @@ In this directory, run AutoRest: | |||||
| > see https://aka.ms/autorest | ||||||
|
|
||||||
| ``` yaml | ||||||
| commit: a71245db9eb5b27e3d95f266422c65be4df8789e | ||||||
| commit: da3e3a42110d96609505c4bcb5b4d768341203a8 | ||||||
|
||||||
| require: | ||||||
| - $(this-folder)/../../readme.azure.noprofile.md | ||||||
| # lock the commit | ||||||
| input-file: | ||||||
| - $(repo)/specification/confluent/resource-manager/Microsoft.Confluent/stable/2020-03-01/confluent.json | ||||||
| - $(repo)/specification/confluent/resource-manager/readme.md | ||||||
|
Comment on lines
+47
to
+50
|
||||||
|
|
||||||
| try-require: | ||||||
| - $(repo)/specification/confluent/resource-manager/readme.powershell.md | ||||||
|
|
||||||
| module-version: 0.2.0 | ||||||
|
||||||
| module-version: 0.2.0 | |
| module-version: 0.3.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,95 @@ | ||
| { | ||
| "resourceType": "organizations/apiKeys", | ||
| "apiVersion": "2025-08-18-preview", | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.confluent" | ||
| }, | ||
| "commands": [ | ||
| { | ||
| "name": "Get-AzConfluentOrganizationClusterApiKey", | ||
| "description": "Get API key details of a kafka or schema registry cluster", | ||
| "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/apiKeys/{apiKeyId}", | ||
| "help": { | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.confluent/get-azconfluentorganizationclusterapikey" | ||
| }, | ||
| "parameterSets": [ | ||
| { | ||
| "parameters": [ | ||
| "-ApiKeyId <String>", | ||
| "-OrganizationName <String>", | ||
| "-ResourceGroupName <String>", | ||
| "[-SubscriptionId <String[]>]" | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "examples": [ | ||
| { | ||
| "description": "Get API key details of a kafka or schema registry cluster", | ||
| "parameters": [ | ||
| { | ||
| "name": "-ApiKeyId", | ||
| "value": "[Path.apiKeyId]" | ||
| }, | ||
| { | ||
| "name": "-OrganizationName", | ||
| "value": "[Path.organizationName]" | ||
| }, | ||
| { | ||
| "name": "-ResourceGroupName", | ||
| "value": "[Path.resourceGroupName]" | ||
| }, | ||
| { | ||
| "name": "-SubscriptionId", | ||
| "value": "[Path.subscriptionId]" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "name": "Remove-AzConfluentOrganizationClusterApiKey", | ||
| "description": "Deletes API key of a kafka or schema registry cluster", | ||
| "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/apiKeys/{apiKeyId}", | ||
| "help": { | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.confluent/remove-azconfluentorganizationclusterapikey" | ||
| }, | ||
| "parameterSets": [ | ||
| { | ||
| "parameters": [ | ||
| "-ApiKeyId <String>", | ||
| "-OrganizationName <String>", | ||
| "-ResourceGroupName <String>", | ||
| "[-SubscriptionId <String>]" | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "examples": [ | ||
| { | ||
| "description": "Deletes API key of a kafka or schema registry cluster", | ||
| "parameters": [ | ||
| { | ||
| "name": "-ApiKeyId", | ||
| "value": "[Path.apiKeyId]" | ||
| }, | ||
| { | ||
| "name": "-OrganizationName", | ||
| "value": "[Path.organizationName]" | ||
| }, | ||
| { | ||
| "name": "-ResourceGroupName", | ||
| "value": "[Path.resourceGroupName]" | ||
| }, | ||
| { | ||
| "name": "-SubscriptionId", | ||
| "value": "[Path.subscriptionId]" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| { | ||
| "resourceType": "organizations/deleteRoleBinding", | ||
| "apiVersion": "2025-08-18-preview", | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.confluent" | ||
| }, | ||
| "commands": [ | ||
| { | ||
| "name": "Remove-AzConfluentAccessRoleBinding", | ||
| "description": "Organization role bindings", | ||
| "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/access/default/deleteRoleBinding/{roleBindingId}", | ||
| "help": { | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.confluent/remove-azconfluentaccessrolebinding" | ||
| }, | ||
| "parameterSets": [ | ||
| { | ||
| "parameters": [ | ||
| "-OrganizationName <String>", | ||
| "-ResourceGroupName <String>", | ||
| "-RoleBindingId <String>", | ||
| "[-SubscriptionId <String>]" | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "examples": [ | ||
| { | ||
| "description": "Organization role bindings", | ||
| "parameters": [ | ||
| { | ||
| "name": "-OrganizationName", | ||
| "value": "[Path.organizationName]" | ||
| }, | ||
| { | ||
| "name": "-ResourceGroupName", | ||
| "value": "[Path.resourceGroupName]" | ||
| }, | ||
| { | ||
| "name": "-RoleBindingId", | ||
| "value": "[Path.roleBindingId]" | ||
| }, | ||
| { | ||
| "name": "-SubscriptionId", | ||
| "value": "[Path.subscriptionId]" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,115 @@ | ||
| { | ||
| "resourceType": "organizations/environments/clusters/connectors", | ||
| "apiVersion": "2025-08-18-preview", | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.confluent" | ||
| }, | ||
| "commands": [ | ||
| { | ||
| "name": "Get-AzConfluentConnector", | ||
| "description": "Get confluent connector by Name", | ||
| "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/clusters/{clusterId}/connectors/{connectorName}", | ||
| "help": { | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.confluent/get-azconfluentconnector" | ||
| }, | ||
| "parameterSets": [ | ||
| { | ||
| "parameters": [ | ||
| "-ClusterId <String>", | ||
| "-EnvironmentId <String>", | ||
| "-Name <String>", | ||
| "-OrganizationName <String>", | ||
| "-ResourceGroupName <String>", | ||
| "[-SubscriptionId <String[]>]" | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "examples": [ | ||
| { | ||
| "description": "Get confluent connector by Name", | ||
| "parameters": [ | ||
| { | ||
| "name": "-ClusterId", | ||
| "value": "[Path.clusterId]" | ||
| }, | ||
| { | ||
| "name": "-EnvironmentId", | ||
| "value": "[Path.environmentId]" | ||
| }, | ||
| { | ||
| "name": "-Name", | ||
| "value": "[Path.connectorName]" | ||
| }, | ||
| { | ||
| "name": "-OrganizationName", | ||
| "value": "[Path.organizationName]" | ||
| }, | ||
| { | ||
| "name": "-ResourceGroupName", | ||
| "value": "[Path.resourceGroupName]" | ||
| }, | ||
| { | ||
| "name": "-SubscriptionId", | ||
| "value": "[Path.subscriptionId]" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "name": "Remove-AzConfluentConnector", | ||
| "description": "Delete confluent connector by name", | ||
| "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId}/clusters/{clusterId}/connectors/{connectorName}", | ||
| "help": { | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.confluent/remove-azconfluentconnector" | ||
| }, | ||
| "parameterSets": [ | ||
| { | ||
| "parameters": [ | ||
| "-ClusterId <String>", | ||
| "-EnvironmentId <String>", | ||
| "-Name <String>", | ||
| "-OrganizationName <String>", | ||
| "-ResourceGroupName <String>", | ||
| "[-SubscriptionId <String>]" | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "examples": [ | ||
| { | ||
| "description": "Delete confluent connector by name", | ||
| "parameters": [ | ||
| { | ||
| "name": "-ClusterId", | ||
| "value": "[Path.clusterId]" | ||
| }, | ||
| { | ||
| "name": "-EnvironmentId", | ||
| "value": "[Path.environmentId]" | ||
| }, | ||
| { | ||
| "name": "-Name", | ||
| "value": "[Path.connectorName]" | ||
| }, | ||
| { | ||
| "name": "-OrganizationName", | ||
| "value": "[Path.organizationName]" | ||
| }, | ||
| { | ||
| "name": "-ResourceGroupName", | ||
| "value": "[Path.resourceGroupName]" | ||
| }, | ||
| { | ||
| "name": "-SubscriptionId", | ||
| "value": "[Path.subscriptionId]" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The README.md file should include a comment explaining why this specific commit hash is being used for the API specification reference. According to custom coding guideline 1000002, all API specification references should use commit hashes rather than branch names, and should include comments explaining the purpose. Consider adding a comment like "# Lock to commit containing connector management API (2025-08-18-preview)" above the commit reference.