# --------------------------------------------------------------------------
# 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=too-many-lines

from knack.help_files import helps


helps['cloud-service role-instance'] = """
    type: group
    short-summary: Manage cloud service role instance with cloud service
"""

helps['cloud-service role-instance list'] = """
    type: command
    short-summary: "Get the list of all role instances in a cloud service."
"""

helps['cloud-service role-instance show'] = """
    type: command
    short-summary: "Get a role instance from a cloud service."
"""

helps['cloud-service role-instance delete'] = """
    type: command
    short-summary: "Delete a role instance from a cloud service."
"""

helps['cloud-service role-instance rebuild'] = """
    type: command
    short-summary: "The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of \
web roles or worker roles and initializes the storage resources that are used by them. If you do not want to \
initialize storage resources, you can use Reimage Role Instance."
"""

helps['cloud-service role-instance reimage'] = """
    type: command
    short-summary: "The Reimage Role Instance asynchronous operation reinstalls the operating system on instances of \
web roles or worker roles."
"""

helps['cloud-service role-instance restart'] = """
    type: command
    short-summary: "The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud \
service."
"""

helps['cloud-service role-instance show-instance-view'] = """
    type: command
    short-summary: "Retrieve information about the run-time state of a role instance in a cloud service."
"""

helps['cloud-service role-instance show-remote-desktop-file'] = """
    type: command
    short-summary: "Get a remote desktop file for a role instance in a cloud service."
"""

helps['cloud-service role'] = """
    type: group
    short-summary: Manage cloud service role with cloud service
"""

helps['cloud-service role list'] = """
    type: command
    short-summary: "Get a list of all roles in a cloud service."
"""

helps['cloud-service role show'] = """
    type: command
    short-summary: "Get a role from a cloud service."
"""

helps['cloud-service'] = """
    type: group
    short-summary: Manage cloud service (extended support).
"""

helps['cloud-service list'] = """
    type: command
    short-summary: "Get a list of all cloud services under a resource group."
"""

helps['cloud-service show'] = """
    type: command
    short-summary: "Display information about a cloud service."
"""

helps['cloud-service create'] = """
    type: command
    short-summary: "Create a cloud service (extended support). Please note some properties can be set only during cloud service creation."
    examples:
      - name: Create a cloud service with 2 roles, 2 load balancers (one has a public IP and another has a private IP), secrets and extensions.
        text: |-
               az cloud-service create -g ResourceGroup -n CloudService --roles ContosoFrontend:Standard_D1_v2:1:Standard ContosoBackend:Standard_D1_v2:1:Standard --package-url PackageURL --configuration Config --load-balancer-configurations MyLoadBalancer:MyFe:PublicIP:: MyLoadBalancer2:MyFe2::SubnetIDd:PrivateIPID --secrets Vault0:Cert0:Cert1 Vault1:Cert2:Cert3:Cert4 --extensions "@extensions.json"
"""

helps['cloud-service update'] = """
    type: command
    short-summary: "Update a cloud service."
"""

helps['cloud-service delete'] = """
    type: command
    short-summary: "Delete a cloud service."
"""

helps['cloud-service delete-instance'] = """
    type: command
    short-summary: "Delete role instances in a cloud service."
"""

helps['cloud-service list-all'] = """
    type: command
    short-summary: "Get a list of all cloud services in the subscription, regardless of the associated resource \
group."
"""

helps['cloud-service power-off'] = """
    type: command
    short-summary: "Power off the cloud service. Note that resources are still attached and you are getting charged \
for the resources."
"""

helps['cloud-service rebuild'] = """
    type: command
    short-summary: "Rebuild Role Instances. Reinstall the operating system on instances of web roles or worker roles \
and initialize the storage resources that are used by them. If you do not want to initialize storage resources, you \
can use Reimage Role Instances."
"""

helps['cloud-service reimage'] = """
    type: command
    short-summary: "Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker \
roles."
"""

helps['cloud-service restart'] = """
    type: command
    short-summary: "Restart one or more role instances in a cloud service."
"""

helps['cloud-service show-instance-view'] = """
    type: command
    short-summary: "Get the status of a cloud service."
"""

helps['cloud-service start'] = """
    type: command
    short-summary: "Start the cloud service."
"""

helps['cloud-service wait'] = """
    type: command
    short-summary: Place the CLI in a waiting state until a condition of the cloud-service is met.
"""

helps['cloud-service update-domain'] = """
    type: group
    short-summary: Manage cloud service update domain with cloud service
"""

helps['cloud-service update-domain list-update-domain'] = """
    type: command
    short-summary: "Get a list of all update domains in a cloud service."
"""

helps['cloud-service update-domain show-update-domain'] = """
    type: command
    short-summary: "Get the specified update domain of a cloud service."
"""

helps['cloud-service update-domain walk-update-domain'] = """
    type: command
    short-summary: "Update the role instances in the specified update domain."
"""
