Skip to content

Commit

Permalink
Update tier supported log
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwzho committed Dec 21, 2021
1 parent fcad67a commit 6be294d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
14 changes: 7 additions & 7 deletions src/spring-cloud/azext_spring_cloud/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@

helps['spring-cloud config-server'] = """
type: group
short-summary: Commands to manage Config Server in Azure Spring Cloud.
short-summary: (Support Standard Tier and Basic Tier) Commands to manage Config Server in Azure Spring Cloud.
"""

helps['spring-cloud config-server show'] = """
Expand Down Expand Up @@ -579,7 +579,7 @@

helps['spring-cloud service-registry'] = """
type: group
short-summary: (Enterprise Tier Only) Commands to manage Service Registry in Azure Spring Cloud.
short-summary: (Support Enterprise Tier Only) Commands to manage Service Registry in Azure Spring Cloud.
"""

helps['spring-cloud service-registry show'] = """
Expand All @@ -605,7 +605,7 @@

helps['spring-cloud application-configuration-service'] = """
type: group
short-summary: (Enterprise Tier Only) Commands to manage Application Configuration Service in Azure Spring Cloud.
short-summary: (Support Enterprise Tier Only) Commands to manage Application Configuration Service in Azure Spring Cloud.
"""

helps['spring-cloud application-configuration-service show'] = """
Expand Down Expand Up @@ -665,7 +665,7 @@

helps['spring-cloud build-service builder'] = """
type: group
short-summary: (Enterprise Tier Only) Commands to manage Builder Resource
short-summary: (Support Enterprise Tier Only) Commands to manage Builder Resource
"""

helps['spring-cloud build-service builder create'] = """
Expand Down Expand Up @@ -702,7 +702,7 @@

helps['spring-cloud build-service buildpacks-binding'] = """
type: group
short-summary: (Enterprise Tier Only) Commands to manage buildpack Binding
short-summary: (Support Enterprise Tier Only) Commands to manage buildpack Binding
"""

helps['spring-cloud build-service builder buildpack-binding create'] = """
Expand Down Expand Up @@ -753,7 +753,7 @@

helps['spring-cloud gateway'] = """
type: group
short-summary: (Enterprise Tier Only) Commands to manage gateway in Azure Spring Cloud.
short-summary: (Support Enterprise Tier Only) Commands to manage gateway in Azure Spring Cloud.
"""

helps['spring-cloud gateway clear'] = """
Expand Down Expand Up @@ -860,7 +860,7 @@

helps['spring-cloud api-portal'] = """
type: group
short-summary: (Enterprise Tier Only) Commands to manage API portal in Azure Spring Cloud.
short-summary: (Support Enterprise Tier Only) Commands to manage API portal in Azure Spring Cloud.
"""

helps['spring-cloud api-portal clear'] = """
Expand Down
20 changes: 10 additions & 10 deletions src/spring-cloud/azext_spring_cloud/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,41 +85,41 @@ def load_arguments(self, _):
validator=validate_build_pool_size,
default='S1',
is_preview=True,
help='Only support in enterprise tier now. Size of build agent pool.')
help='(Support Enterprise Tier Only) Size of build agent pool.')
c.argument('enable_application_configuration_service',
arg_type=get_three_state_flag(),
default=False,
is_preview=True,
help='Only support in enterprise tier now. Enable Application Configuration Service.')
help='(Support Enterprise Tier Only) Enable Application Configuration Service.')
c.argument('enable_service_registry',
arg_type=get_three_state_flag(),
default=False,
is_preview=True,
help='Only support in enterprise tier now. Enable Service Registry.')
help='(Support Enterprise Tier Only) Enable Service Registry.')
c.argument('enable_gateway',
arg_group="Spring Cloud Gateway",
arg_type=get_three_state_flag(),
default=False,
is_preview=True,
help='Only support in enterprise tier now. Enable Spring Cloud Gateway.')
help='(Support Enterprise Tier Only) Enable Spring Cloud Gateway.')
c.argument('gateway_instance_count',
arg_group="Spring Cloud Gateway",
type=int,
validator=validate_gateway_instance_count,
is_preview=True,
help='Only support in enterprise tier now. Number of Spring Cloud Gateway instances.')
help='(Support Enterprise Tier Only) Number of Spring Cloud Gateway instances.')
c.argument('enable_api_portal',
arg_group="API portal",
arg_type=get_three_state_flag(),
default=False,
is_preview=True,
help='Only support in enterprise tier now. Enable API portal.')
help='(Support Enterprise Tier Only) Enable API portal.')
c.argument('api_portal_instance_count',
arg_group="API portal",
type=int,
validator=validate_api_portal_instance_count,
is_preview=True,
help='Only support in enterprise tier now. Number of API portal instances.')
help='(Support Enterprise Tier Only) Number of API portal instances.')

with self.argument_context('spring-cloud update') as c:
c.argument('sku', arg_type=get_enum_type(['Basic', 'Standard', 'Enterprise']), validator=validate_sku, help='Name of SKU.')
Expand Down Expand Up @@ -149,7 +149,7 @@ def load_arguments(self, _):
c.argument('build_pool_size',
arg_type=get_enum_type(['S1', 'S2', 'S3', 'S4', 'S5']),
is_preview=True,
help='Only support in enterprise tier now. Size of build agent pool.')
help='(Support Enterprise Tier Only) Size of build agent pool.')

for scope in ['spring-cloud create', 'spring-cloud update']:
with self.argument_context(scope) as c:
Expand Down Expand Up @@ -258,7 +258,7 @@ def prepare_logs_argument(c):
for scope in ['spring-cloud app update', 'spring-cloud app deployment create', 'spring-cloud app deploy']:
with self.argument_context(scope) as c:
c.argument('config_file_patterns', type=str,
help="Only support in enterprise tier now. Config file patterns separated with \',\' to decide which patterns of Application Configuration Service will be used. Use '\"\"' to clear existing configurations.",
help="(Support Enterprise Tier Only) Config file patterns separated with \',\' to decide which patterns of Application Configuration Service will be used. Use '\"\"' to clear existing configurations.",
validator=validate_config_file_patterns, is_preview=True)

with self.argument_context('spring-cloud app scale') as c:
Expand All @@ -283,7 +283,7 @@ def prepare_logs_argument(c):
'main_entry', options_list=[
'--main-entry', '-m'], help="A string containing the path to the .NET executable relative to zip root.")
c.argument(
'builder', help="Only support in enterprise tier now. The name of builder.", default="default", validator=validate_builder, is_preview=True)
'builder', help="(Support Enterprise Tier Only) The name of builder.", default="default", validator=validate_builder, is_preview=True)
c.argument(
'target_module', help='Child module to be deployed, required for multiple jar packages built from source code.')
c.argument(
Expand Down

0 comments on commit 6be294d

Please sign in to comment.