-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
25f5d75
commit 1e9d134
Showing
40 changed files
with
2,306 additions
and
991 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
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
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
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
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
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
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
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
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
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,27 @@ | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
|
||
def load_arguments(self, _): | ||
with self.argument_context('confluent organization create') as c: | ||
c.argument('publisher_id', type=str, help='Publisher Id', default='confluentinc', arg_group='Offer Detail') | ||
c.argument('offer_id', type=str, help='Offer Id', default='confluent-cloud-azure-prod', | ||
arg_group='Offer Detail') | ||
c.argument('plan_id', type=str, help='Offer Plan Id', arg_group='Offer Detail') | ||
c.argument('plan_name', type=str, help='Offer Plan Name', arg_group='Offer Detail') | ||
c.argument('term_unit', type=str, help='Offer Plan Term unit', arg_group='Offer Detail') | ||
|
||
with self.argument_context('confluent organization delete') as c: | ||
c.argument('yes', options_list=['--yes', '-y'], action='store_true', help='Do not prompt for confirmation.') | ||
|
||
with self.argument_context('confluent offer-detail show') as c: | ||
c.argument('publisher_id', type=str, help='Publisher Id', default='confluentinc') | ||
c.argument('offer_id', type=str, help='Offer Id', default='confluent-cloud-azure-prod', | ||
arg_group='Offer Detail') |
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,27 @@ | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
# pylint: disable=import-outside-toplevel | ||
|
||
from azure.cli.core.commands import CliCommandType | ||
|
||
|
||
def load_command_table(self, _): | ||
|
||
from azext_confluent.generated._client_factory import cf_organization | ||
|
||
confluent_organization = CliCommandType( | ||
operations_tmpl='azext_confluent.vendored_sdks.confluent.operations._organization_operations#OrganizationOperat' | ||
'ions.{}', | ||
client_factory=cf_organization) | ||
with self.command_group('confluent organization', confluent_organization, client_factory=cf_organization) as g: | ||
g.custom_command('delete', 'confluent_organization_delete', supports_no_wait=True) | ||
|
||
with self.command_group('confluent offer-detail') as g: | ||
g.custom_show_command('show', 'confluent_offer_detail_show') |
Oops, something went wrong.