Esempio n. 1
0
def load_command_table(self, _):

    from azext_security_v1_0.generated._client_factory import cf_security_security
    security_v1_0_security_security = CliCommandType(
        operations_tmpl='azext_security_v1_0.vendored_sdks.security.operations._security_security_operations#SecuritySe'
        'curityOperations.{}',
        client_factory=cf_security_security)
    with self.command_group('security', security_v1_0_security_security, client_factory=cf_security_security) as g:
        g.custom_command('get-security', 'security_get_security')
        g.custom_command('update-security', 'security_update_security')

    from azext_security_v1_0.generated._client_factory import cf_security
    security_v1_0_security = CliCommandType(
        operations_tmpl='azext_security_v1_0.vendored_sdks.security.operations._security_operations#SecurityOperations.'
        '{}',
        client_factory=cf_security)
    with self.command_group('security', security_v1_0_security, client_factory=cf_security) as g:
        g.custom_command('delete', 'security_delete', confirmation=True)
        g.custom_command('create-alert', 'security_create_alert')
        g.custom_command('create-secure-score', 'security_create_secure_score')
        g.custom_command('create-secure-score-control-profile', 'security_create_secure_score_control_profile')
        g.custom_command('get-alert', 'security_get_alert')
        g.custom_command('get-secure-score', 'security_get_secure_score')
        g.custom_command('get-secure-score-control-profile', 'security_get_secure_score_control_profile')
        g.custom_command('list-alert', 'security_list_alert')
        g.custom_command('list-secure-score', 'security_list_secure_score')
        g.custom_command('list-secure-score-control-profile', 'security_list_secure_score_control_profile')
        g.custom_command('update-alert', 'security_update_alert')
        g.custom_command('update-secure-score', 'security_update_secure_score')
        g.custom_command('update-secure-score-control-profile', 'security_update_secure_score_control_profile')
Esempio n. 2
0
def load_command_table(self, _):

    from azext_search_beta.generated._client_factory import cf_external_external
    search_beta_external_external = CliCommandType(
        operations_tmpl=
        'azext_search_beta.vendored_sdks.search.operations._external_external_operations#ExternalExtern'
        'alOperations.{}',
        client_factory=cf_external_external)
    with self.command_group('search',
                            search_beta_external_external,
                            client_factory=cf_external_external) as g:
        g.custom_command('get-external', 'search_get_external')
        g.custom_command('update-external', 'search_update_external')

    from azext_search_beta.generated._client_factory import cf_external
    search_beta_external = CliCommandType(
        operations_tmpl=
        'azext_search_beta.vendored_sdks.search.operations._external_operations#ExternalOperations.{}',
        client_factory=cf_external)
    with self.command_group('search',
                            search_beta_external,
                            client_factory=cf_external) as g:
        g.custom_command('delete', 'search_delete', confirmation=True)
        g.custom_command('create-connection', 'search_create_connection')
        g.custom_command('get-connection', 'search_get_connection')
        g.custom_command('list-connection', 'search_list_connection')
        g.custom_command('update-connection', 'search_update_connection')

    from azext_search_beta.generated._client_factory import cf_search_search_entity
    search_beta_search_search_entity = CliCommandType(
        operations_tmpl=
        'azext_search_beta.vendored_sdks.search.operations._search_search_entity_operations#SearchSearc'
        'hEntityOperations.{}',
        client_factory=cf_search_search_entity)
    with self.command_group('search',
                            search_beta_search_search_entity,
                            client_factory=cf_search_search_entity) as g:
        g.custom_command('get-search-entity', 'search_get_search_entity')
        g.custom_command('update-search-entity', 'search_update_search_entity')

    from azext_search_beta.generated._client_factory import cf_search
    search_beta_search = CliCommandType(
        operations_tmpl=
        'azext_search_beta.vendored_sdks.search.operations._search_operations#SearchOperations.{}',
        client_factory=cf_search)
    with self.command_group('search',
                            search_beta_search,
                            client_factory=cf_search) as g:
        g.custom_command('query', 'search_query')
Esempio n. 3
0
def load_command_table(self, _):

    from azext_directoryobjects_v1_0.generated._client_factory import cf_directory_object_directory_object
    directoryobjects_v1_0_directory_object_directory_object = CliCommandType(
        operations_tmpl=
        'azext_directoryobjects_v1_0.vendored_sdks.directoryobjects.operations._directory_object_direct'
        'ory_object_operations#DirectoryObjectDirectoryObjectOperations.{}',
        client_factory=cf_directory_object_directory_object)
    with self.command_group(
            'directoryobjects',
            directoryobjects_v1_0_directory_object_directory_object,
            client_factory=cf_directory_object_directory_object) as g:
        g.custom_command('delete',
                         'directoryobjects_delete',
                         confirmation=True)
        g.custom_command('create-directory-object',
                         'directoryobjects_create_directory_object')
        g.custom_command('get-directory-object',
                         'directoryobjects_get_directory_object')
        g.custom_command('list-directory-object',
                         'directoryobjects_list_directory_object')
        g.custom_command('update-directory-object',
                         'directoryobjects_update_directory_object')

    from azext_directoryobjects_v1_0.generated._client_factory import cf_directory_object
    directoryobjects_v1_0_directory_object = CliCommandType(
        operations_tmpl=
        'azext_directoryobjects_v1_0.vendored_sdks.directoryobjects.operations._directory_object_operat'
        'ions#DirectoryObjectOperations.{}',
        client_factory=cf_directory_object)
    with self.command_group('directoryobjects',
                            directoryobjects_v1_0_directory_object,
                            client_factory=cf_directory_object) as g:
        g.custom_command('check-member-group',
                         'directoryobjects_check_member_group')
        g.custom_command('check-member-object',
                         'directoryobjects_check_member_object')
        g.custom_command('get-available-extension-property',
                         'directoryobjects_get_available_extension_property')
        g.custom_command('get-by-id', 'directoryobjects_get_by_id')
        g.custom_command('get-member-group',
                         'directoryobjects_get_member_group')
        g.custom_command('get-member-object',
                         'directoryobjects_get_member_object')
        g.custom_command('restore', 'directoryobjects_restore')
        g.custom_command('validate-property',
                         'directoryobjects_validate_property')
Esempio n. 4
0
 def __init__(self, cli_ctx=None):
     from msgraph.cli.core.commands import CliCommandType
     from azext_security_v1_0.generated._client_factory import cf_security_v1_0_cl
     security_v1_0_custom = CliCommandType(
         operations_tmpl='azext_security_v1_0.custom#{}',
         client_factory=cf_security_v1_0_cl)
     parent = super(SecurityCommandsLoader, self)
     parent.__init__(cli_ctx=cli_ctx, custom_command_type=security_v1_0_custom)
Esempio n. 5
0
 def __init__(self, cli_ctx=None):
     from msgraph.cli.core.commands import CliCommandType
     from azext_schemaextensions_beta.generated._client_factory import cf_schemaextensions_beta_cl
     schemaextensions_beta_custom = CliCommandType(
         operations_tmpl='azext_schemaextensions_beta.custom#{}',
         client_factory=cf_schemaextensions_beta_cl)
     parent = super(SchemaExtensionsCommandsLoader, self)
     parent.__init__(cli_ctx=cli_ctx, custom_command_type=schemaextensions_beta_custom)
Esempio n. 6
0
 def __init__(self, cli_ctx=None):
     from msgraph.cli.core.commands import CliCommandType
     from azext_devicescorpmgt_v1_0.generated._client_factory import cf_devicescorpmgt_v1_0_cl
     devicescorpmgt_v1_0_custom = CliCommandType(
         operations_tmpl='azext_devicescorpmgt_v1_0.custom#{}',
         client_factory=cf_devicescorpmgt_v1_0_cl)
     parent = super(DevicesCorporateManagementCommandsLoader, self)
     parent.__init__(cli_ctx=cli_ctx, custom_command_type=devicescorpmgt_v1_0_custom)
Esempio n. 7
0
 def __init__(self, cli_ctx=None):
     from msgraph.cli.core.commands import CliCommandType
     from azext_identitydirmgt_v1_0.generated._client_factory import cf_identitydirmgt_v1_0_cl
     identitydirmgt_v1_0_custom = CliCommandType(
         operations_tmpl='azext_identitydirmgt_v1_0.custom#{}',
         client_factory=cf_identitydirmgt_v1_0_cl)
     parent = super(IdentityDirectoryManagementCommandsLoader, self)
     parent.__init__(cli_ctx=cli_ctx,
                     custom_command_type=identitydirmgt_v1_0_custom)
Esempio n. 8
0
 def __init__(self, cli_ctx=None):
     from msgraph.cli.core.commands import CliCommandType
     from azext_personalcontacts_v1_0.generated._client_factory import cf_personalcontacts_v1_0_cl
     personalcontacts_v1_0_custom = CliCommandType(
         operations_tmpl='azext_personalcontacts_v1_0.custom#{}',
         client_factory=cf_personalcontacts_v1_0_cl)
     parent = super(PersonalContactsCommandsLoader, self)
     parent.__init__(cli_ctx=cli_ctx,
                     custom_command_type=personalcontacts_v1_0_custom)
Esempio n. 9
0
 def __init__(self, cli_ctx=None):
     from msgraph.cli.core.commands import CliCommandType
     from azext_crossdeviceexperiences_beta.generated._client_factory import cf_crossdeviceexperiences_beta_cl
     crossdeviceexperiences_beta_custom = CliCommandType(
         operations_tmpl='azext_crossdeviceexperiences_beta.custom#{}',
         client_factory=cf_crossdeviceexperiences_beta_cl)
     parent = super(CrossDeviceExperiencesCommandsLoader, self)
     parent.__init__(cli_ctx=cli_ctx,
                     custom_command_type=crossdeviceexperiences_beta_custom)
Esempio n. 10
0
 def __init__(self, cli_ctx=None):
     from msgraph.cli.core.commands import CliCommandType
     from azext_identitysignins_beta.generated._client_factory import cf_identitysignins_beta_cl
     identitysignins_beta_custom = CliCommandType(
         operations_tmpl='azext_identitysignins_beta.custom#{}',
         client_factory=cf_identitysignins_beta_cl)
     parent = super(IdentitySignInsCommandsLoader, self)
     parent.__init__(cli_ctx=cli_ctx,
                     custom_command_type=identitysignins_beta_custom)
Esempio n. 11
0
 def __init__(self, cli_ctx=None):
     from msgraph.cli.core.commands import CliCommandType
     from azext_directoryobjects_beta.generated._client_factory import cf_directoryobjects_beta_cl
     directoryobjects_beta_custom = CliCommandType(
         operations_tmpl='azext_directoryobjects_beta.custom#{}',
         client_factory=cf_directoryobjects_beta_cl)
     parent = super(DirectoryObjectsCommandsLoader, self)
     parent.__init__(cli_ctx=cli_ctx,
                     custom_command_type=directoryobjects_beta_custom)
Esempio n. 12
0
    def load_command_table(self, args):
        # operations_tmpl is the file that contains the implementation of the command
        command_type = CliCommandType(
            operations_tmpl='msgraph.command_modules.authentication.custom#{}',
            exception_handler=auth_exception_handler)
        with self.command_group('', command_type) as group:
            group.command('login', 'login')
            group.command('logout', 'logout')

        return self.command_table
Esempio n. 13
0
def load_command_table(self, _):

    from azext_crossdeviceexperiences_v1_0.generated._client_factory import cf_user
    crossdeviceexperiences_v1_0_user = CliCommandType(
        operations_tmpl='azext_crossdeviceexperiences_v1_0.vendored_sdks.crossdeviceexperiences.operations._user_operat'
        'ions#UserOperations.{}',
        client_factory=cf_user)
    with self.command_group('crossdeviceexperiences', crossdeviceexperiences_v1_0_user, client_factory=cf_user) as g:
        g.custom_command('delete', 'crossdeviceexperiences_delete', confirmation=True)
        g.custom_command('create-activity', 'crossdeviceexperiences_create_activity')
        g.custom_command('get-activity', 'crossdeviceexperiences_get_activity')
        g.custom_command('list-activity', 'crossdeviceexperiences_list_activity')
        g.custom_command('update-activity', 'crossdeviceexperiences_update_activity')

    from azext_crossdeviceexperiences_v1_0.generated._client_factory import cf_user_activity
    crossdeviceexperiences_v1_0_user_activity = CliCommandType(
        operations_tmpl='azext_crossdeviceexperiences_v1_0.vendored_sdks.crossdeviceexperiences.operations._user_activi'
        'ty_operations#UserActivityOperations.{}',
        client_factory=cf_user_activity)
    with self.command_group('crossdeviceexperiences', crossdeviceexperiences_v1_0_user_activity,
                            client_factory=cf_user_activity) as g:
        g.custom_command('delete', 'crossdeviceexperiences_delete', confirmation=True)
        g.custom_command('create-history-item', 'crossdeviceexperiences_create_history_item')
        g.custom_command('get-history-item', 'crossdeviceexperiences_get_history_item')
        g.custom_command('list-history-item', 'crossdeviceexperiences_list_history_item')
        g.custom_command('update-history-item', 'crossdeviceexperiences_update_history_item')

    from azext_crossdeviceexperiences_v1_0.generated._client_factory import cf_user_activity_history_item
    crossdeviceexperiences_v1_0_user_activity_history_item = CliCommandType(
        operations_tmpl='azext_crossdeviceexperiences_v1_0.vendored_sdks.crossdeviceexperiences.operations._user_activi'
        'ty_history_item_operations#UserActivityHistoryItemOperations.{}',
        client_factory=cf_user_activity_history_item)
    with self.command_group('crossdeviceexperiences', crossdeviceexperiences_v1_0_user_activity_history_item,
                            client_factory=cf_user_activity_history_item) as g:
        g.custom_command('delete', 'crossdeviceexperiences_delete', confirmation=True)
        g.custom_command('get-activity', 'crossdeviceexperiences_get_activity')
        g.custom_command('get-ref-activity', 'crossdeviceexperiences_get_ref_activity')
        g.custom_command('set-ref-activity', 'crossdeviceexperiences_set_ref_activity')
Esempio n. 14
0
def load_command_table(self, _):

    from azext_schemaextensions_beta.generated._client_factory import cf_schema_extension_schema_extension
    schemaextensions_beta_schema_extension_schema_extension = CliCommandType(
        operations_tmpl='azext_schemaextensions_beta.vendored_sdks.schemaextensions.operations._schema_extension_schema'
        '_extension_operations#SchemaExtensionSchemaExtensionOperations.{}',
        client_factory=cf_schema_extension_schema_extension)
    with self.command_group('schemaextensions', schemaextensions_beta_schema_extension_schema_extension,
                            client_factory=cf_schema_extension_schema_extension) as g:
        g.custom_command('delete', 'schemaextensions_delete', confirmation=True)
        g.custom_command('create-schema-extension', 'schemaextensions_create_schema_extension')
        g.custom_command('get-schema-extension', 'schemaextensions_get_schema_extension')
        g.custom_command('list-schema-extension', 'schemaextensions_list_schema_extension')
        g.custom_command('update-schema-extension', 'schemaextensions_update_schema_extension')
Esempio n. 15
0
def load_command_table(self, _):

    from azext_changenotifications_v1_0.generated._client_factory import cf_subscription_subscription
    changenotifications_v1_0_subscription_subscription = CliCommandType(
        operations_tmpl='azext_changenotifications_v1_0.vendored_sdks.changenotifications.operations._subscription_subs'
        'cription_operations#SubscriptionSubscriptionOperations.{}',
        client_factory=cf_subscription_subscription)
    with self.command_group('changenotifications', changenotifications_v1_0_subscription_subscription,
                            client_factory=cf_subscription_subscription) as g:
        g.custom_command('delete', 'changenotifications_delete', confirmation=True)
        g.custom_command('create-subscription', 'changenotifications_create_subscription')
        g.custom_command('get-subscription', 'changenotifications_get_subscription')
        g.custom_command('list-subscription', 'changenotifications_list_subscription')
        g.custom_command('update-subscription', 'changenotifications_update_subscription')
Esempio n. 16
0
    def load_command_table(self, args):
        # operations_tmpl is the file that contains the implementation of the command
        command_type = CliCommandType(
            operations_tmpl='msgraph.command_modules.profile.custom#{}',
            exception_handler=profile_exception_handler)
        with self.command_group('profile', command_type) as group:
            group.command('select-cloud', 'select_cloud')
            group.command('add-cloud', 'add_cloud')
            group.command('update-cloud', 'update_cloud')
            group.command('delete-cloud', 'delete_cloud')
            group.command('select-version', 'select_version')
            group.command('show-profile', 'show_profile')

        return self.command_table
Esempio n. 17
0
def load_command_table(self, _):

    from azext_cloudcommunications_v1_0.generated._client_factory import cf_user
    cloudcommunications_v1_0_user = CliCommandType(
        operations_tmpl=
        'azext_cloudcommunications_v1_0.vendored_sdks.cloudcommunications.operations._user_operations#U'
        'serOperations.{}',
        client_factory=cf_user)
    with self.command_group('cloudcommunications',
                            cloudcommunications_v1_0_user,
                            client_factory=cf_user) as g:
        g.custom_command('delete',
                         'cloudcommunications_delete',
                         confirmation=True)
        g.custom_command('create-online-meeting',
                         'cloudcommunications_create_online_meeting')
        g.custom_command('get-online-meeting',
                         'cloudcommunications_get_online_meeting')
        g.custom_command('list-online-meeting',
                         'cloudcommunications_list_online_meeting')
        g.custom_command('update-online-meeting',
                         'cloudcommunications_update_online_meeting')
Esempio n. 18
0
def load_command_table(self, _):

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_contact_org_contact
    identitydirmgt_v1_0_contact_org_contact = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._contact_org_contact_operati'
        'ons#ContactOrgContactOperations.{}',
        client_factory=cf_contact_org_contact)
    with self.command_group('identitydirmgt',
                            identitydirmgt_v1_0_contact_org_contact,
                            client_factory=cf_contact_org_contact) as g:
        g.custom_command('delete', 'identitydirmgt_delete', confirmation=True)
        g.custom_command('create-org-contact',
                         'identitydirmgt_create_org_contact')
        g.custom_command('get-org-contact', 'identitydirmgt_get_org_contact')
        g.custom_command('list-org-contact', 'identitydirmgt_list_org_contact')
        g.custom_command('update-org-contact',
                         'identitydirmgt_update_org_contact')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_contact
    identitydirmgt_v1_0_contact = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._contact_operations#ContactO'
        'perations.{}',
        client_factory=cf_contact)
    with self.command_group('identitydirmgt',
                            identitydirmgt_v1_0_contact,
                            client_factory=cf_contact) as g:
        g.custom_command('delete', 'identitydirmgt_delete', confirmation=True)
        g.custom_command('check-member-group',
                         'identitydirmgt_check_member_group')
        g.custom_command('check-member-object',
                         'identitydirmgt_check_member_object')
        g.custom_command('create-ref-direct-report',
                         'identitydirmgt_create_ref_direct_report')
        g.custom_command('create-ref-member-of',
                         'identitydirmgt_create_ref_member_of')
        g.custom_command('create-ref-transitive-member-of',
                         'identitydirmgt_create_ref_transitive_member_of')
        g.custom_command('delta', 'identitydirmgt_delta')
        g.custom_command('get-available-extension-property',
                         'identitydirmgt_get_available_extension_property')
        g.custom_command('get-by-id', 'identitydirmgt_get_by_id')
        g.custom_command('get-manager', 'identitydirmgt_get_manager')
        g.custom_command('get-member-group', 'identitydirmgt_get_member_group')
        g.custom_command('get-member-object',
                         'identitydirmgt_get_member_object')
        g.custom_command('get-ref-manager', 'identitydirmgt_get_ref_manager')
        g.custom_command('list-direct-report',
                         'identitydirmgt_list_direct_report')
        g.custom_command('list-member-of', 'identitydirmgt_list_member_of')
        g.custom_command('list-ref-direct-report',
                         'identitydirmgt_list_ref_direct_report')
        g.custom_command('list-ref-member-of',
                         'identitydirmgt_list_ref_member_of')
        g.custom_command('list-ref-transitive-member-of',
                         'identitydirmgt_list_ref_transitive_member_of')
        g.custom_command('list-transitive-member-of',
                         'identitydirmgt_list_transitive_member_of')
        g.custom_command('restore', 'identitydirmgt_restore')
        g.custom_command('set-ref-manager', 'identitydirmgt_set_ref_manager')
        g.custom_command('validate-property',
                         'identitydirmgt_validate_property')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_contract_contract
    identitydirmgt_v1_0_contract_contract = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._contract_contract_operation'
        's#ContractContractOperations.{}',
        client_factory=cf_contract_contract)
    with self.command_group('identitydirmgt',
                            identitydirmgt_v1_0_contract_contract,
                            client_factory=cf_contract_contract) as g:
        g.custom_command('delete', 'identitydirmgt_delete', confirmation=True)
        g.custom_command('create-contract', 'identitydirmgt_create_contract')
        g.custom_command('get-contract', 'identitydirmgt_get_contract')
        g.custom_command('list-contract', 'identitydirmgt_list_contract')
        g.custom_command('update-contract', 'identitydirmgt_update_contract')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_contract
    identitydirmgt_v1_0_contract = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._contract_operations#Contrac'
        'tOperations.{}',
        client_factory=cf_contract)
    with self.command_group('identitydirmgt',
                            identitydirmgt_v1_0_contract,
                            client_factory=cf_contract) as g:
        g.custom_command('check-member-group',
                         'identitydirmgt_check_member_group')
        g.custom_command('check-member-object',
                         'identitydirmgt_check_member_object')
        g.custom_command('get-available-extension-property',
                         'identitydirmgt_get_available_extension_property')
        g.custom_command('get-by-id', 'identitydirmgt_get_by_id')
        g.custom_command('get-member-group', 'identitydirmgt_get_member_group')
        g.custom_command('get-member-object',
                         'identitydirmgt_get_member_object')
        g.custom_command('restore', 'identitydirmgt_restore')
        g.custom_command('validate-property',
                         'identitydirmgt_validate_property')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_device_device
    identitydirmgt_v1_0_device_device = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._device_device_operations#De'
        'viceDeviceOperations.{}',
        client_factory=cf_device_device)
    with self.command_group('identitydirmgt',
                            identitydirmgt_v1_0_device_device,
                            client_factory=cf_device_device) as g:
        g.custom_command('delete', 'identitydirmgt_delete', confirmation=True)
        g.custom_command('create-device', 'identitydirmgt_create_device')
        g.custom_command('get-device', 'identitydirmgt_get_device')
        g.custom_command('list-device', 'identitydirmgt_list_device')
        g.custom_command('update-device', 'identitydirmgt_update_device')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_device
    identitydirmgt_v1_0_device = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._device_operations#DeviceOpe'
        'rations.{}',
        client_factory=cf_device)
    with self.command_group('identitydirmgt',
                            identitydirmgt_v1_0_device,
                            client_factory=cf_device) as g:
        g.custom_command('delete', 'identitydirmgt_delete', confirmation=True)
        g.custom_command('check-member-group',
                         'identitydirmgt_check_member_group')
        g.custom_command('check-member-object',
                         'identitydirmgt_check_member_object')
        g.custom_command('create-extension', 'identitydirmgt_create_extension')
        g.custom_command('create-ref-member-of',
                         'identitydirmgt_create_ref_member_of')
        g.custom_command('create-ref-registered-owner',
                         'identitydirmgt_create_ref_registered_owner')
        g.custom_command('create-ref-registered-user',
                         'identitydirmgt_create_ref_registered_user')
        g.custom_command('create-ref-transitive-member-of',
                         'identitydirmgt_create_ref_transitive_member_of')
        g.custom_command('get-available-extension-property',
                         'identitydirmgt_get_available_extension_property')
        g.custom_command('get-by-id', 'identitydirmgt_get_by_id')
        g.custom_command('get-extension', 'identitydirmgt_get_extension')
        g.custom_command('get-member-group', 'identitydirmgt_get_member_group')
        g.custom_command('get-member-object',
                         'identitydirmgt_get_member_object')
        g.custom_command('list-extension', 'identitydirmgt_list_extension')
        g.custom_command('list-member-of', 'identitydirmgt_list_member_of')
        g.custom_command('list-ref-member-of',
                         'identitydirmgt_list_ref_member_of')
        g.custom_command('list-ref-registered-owner',
                         'identitydirmgt_list_ref_registered_owner')
        g.custom_command('list-ref-registered-user',
                         'identitydirmgt_list_ref_registered_user')
        g.custom_command('list-ref-transitive-member-of',
                         'identitydirmgt_list_ref_transitive_member_of')
        g.custom_command('list-registered-owner',
                         'identitydirmgt_list_registered_owner')
        g.custom_command('list-registered-user',
                         'identitydirmgt_list_registered_user')
        g.custom_command('list-transitive-member-of',
                         'identitydirmgt_list_transitive_member_of')
        g.custom_command('restore', 'identitydirmgt_restore')
        g.custom_command('update-extension', 'identitydirmgt_update_extension')
        g.custom_command('validate-property',
                         'identitydirmgt_validate_property')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_directory_directory
    identitydirmgt_v1_0_directory_directory = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._directory_directory_operati'
        'ons#DirectoryDirectoryOperations.{}',
        client_factory=cf_directory_directory)
    with self.command_group('identitydirmgt',
                            identitydirmgt_v1_0_directory_directory,
                            client_factory=cf_directory_directory) as g:
        g.custom_command('get-directory', 'identitydirmgt_get_directory')
        g.custom_command('update-directory', 'identitydirmgt_update_directory')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_directory
    identitydirmgt_v1_0_directory = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._directory_operations#Direct'
        'oryOperations.{}',
        client_factory=cf_directory)
    with self.command_group('identitydirmgt',
                            identitydirmgt_v1_0_directory,
                            client_factory=cf_directory) as g:
        g.custom_command('delete', 'identitydirmgt_delete', confirmation=True)
        g.custom_command('create-administrative-unit',
                         'identitydirmgt_create_administrative_unit')
        g.custom_command('create-deleted-item',
                         'identitydirmgt_create_deleted_item')
        g.custom_command('get-administrative-unit',
                         'identitydirmgt_get_administrative_unit')
        g.custom_command('get-deleted-item', 'identitydirmgt_get_deleted_item')
        g.custom_command('list-administrative-unit',
                         'identitydirmgt_list_administrative_unit')
        g.custom_command('list-deleted-item',
                         'identitydirmgt_list_deleted_item')
        g.custom_command('update-administrative-unit',
                         'identitydirmgt_update_administrative_unit')
        g.custom_command('update-deleted-item',
                         'identitydirmgt_update_deleted_item')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_directory_administrative_unit
    identitydirmgt_v1_0_directory_administrative_unit = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._directory_administrative_un'
        'it_operations#DirectoryAdministrativeUnitOperations.{}',
        client_factory=cf_directory_administrative_unit)
    with self.command_group(
            'identitydirmgt',
            identitydirmgt_v1_0_directory_administrative_unit,
            client_factory=cf_directory_administrative_unit) as g:
        g.custom_command('delete', 'identitydirmgt_delete', confirmation=True)
        g.custom_command('create-extension', 'identitydirmgt_create_extension')
        g.custom_command('create-ref-member',
                         'identitydirmgt_create_ref_member')
        g.custom_command('create-scoped-role-member',
                         'identitydirmgt_create_scoped_role_member')
        g.custom_command('delta', 'identitydirmgt_delta')
        g.custom_command('get-extension', 'identitydirmgt_get_extension')
        g.custom_command('get-scoped-role-member',
                         'identitydirmgt_get_scoped_role_member')
        g.custom_command('list-extension', 'identitydirmgt_list_extension')
        g.custom_command('list-member', 'identitydirmgt_list_member')
        g.custom_command('list-ref-member', 'identitydirmgt_list_ref_member')
        g.custom_command('list-scoped-role-member',
                         'identitydirmgt_list_scoped_role_member')
        g.custom_command('update-extension', 'identitydirmgt_update_extension')
        g.custom_command('update-scoped-role-member',
                         'identitydirmgt_update_scoped_role_member')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_directory_role_directory_role
    identitydirmgt_v1_0_directory_role_directory_role = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._directory_role_directory_ro'
        'le_operations#DirectoryRoleDirectoryRoleOperations.{}',
        client_factory=cf_directory_role_directory_role)
    with self.command_group(
            'identitydirmgt',
            identitydirmgt_v1_0_directory_role_directory_role,
            client_factory=cf_directory_role_directory_role) as g:
        g.custom_command('delete', 'identitydirmgt_delete', confirmation=True)
        g.custom_command('create-directory-role',
                         'identitydirmgt_create_directory_role')
        g.custom_command('get-directory-role',
                         'identitydirmgt_get_directory_role')
        g.custom_command('list-directory-role',
                         'identitydirmgt_list_directory_role')
        g.custom_command('update-directory-role',
                         'identitydirmgt_update_directory_role')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_directory_role
    identitydirmgt_v1_0_directory_role = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._directory_role_operations#D'
        'irectoryRoleOperations.{}',
        client_factory=cf_directory_role)
    with self.command_group('identitydirmgt',
                            identitydirmgt_v1_0_directory_role,
                            client_factory=cf_directory_role) as g:
        g.custom_command('delete', 'identitydirmgt_delete', confirmation=True)
        g.custom_command('check-member-group',
                         'identitydirmgt_check_member_group')
        g.custom_command('check-member-object',
                         'identitydirmgt_check_member_object')
        g.custom_command('create-ref-member',
                         'identitydirmgt_create_ref_member')
        g.custom_command('create-scoped-member',
                         'identitydirmgt_create_scoped_member')
        g.custom_command('delta', 'identitydirmgt_delta')
        g.custom_command('get-available-extension-property',
                         'identitydirmgt_get_available_extension_property')
        g.custom_command('get-by-id', 'identitydirmgt_get_by_id')
        g.custom_command('get-member-group', 'identitydirmgt_get_member_group')
        g.custom_command('get-member-object',
                         'identitydirmgt_get_member_object')
        g.custom_command('get-scoped-member',
                         'identitydirmgt_get_scoped_member')
        g.custom_command('list-member', 'identitydirmgt_list_member')
        g.custom_command('list-ref-member', 'identitydirmgt_list_ref_member')
        g.custom_command('list-scoped-member',
                         'identitydirmgt_list_scoped_member')
        g.custom_command('restore', 'identitydirmgt_restore')
        g.custom_command('update-scoped-member',
                         'identitydirmgt_update_scoped_member')
        g.custom_command('validate-property',
                         'identitydirmgt_validate_property')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_directory_role_template_directory_role_template
    identitydirmgt_v1_0_directory_role_template_directory_role_template = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._directory_role_template_dir'
        'ectory_role_template_operations#DirectoryRoleTemplateDirectoryRoleTemplateOperations.{}',
        client_factory=cf_directory_role_template_directory_role_template)
    with self.command_group(
            'identitydirmgt',
            identitydirmgt_v1_0_directory_role_template_directory_role_template,
            client_factory=cf_directory_role_template_directory_role_template
    ) as g:
        g.custom_command('delete', 'identitydirmgt_delete', confirmation=True)
        g.custom_command('create-directory-role-template',
                         'identitydirmgt_create_directory_role_template')
        g.custom_command('get-directory-role-template',
                         'identitydirmgt_get_directory_role_template')
        g.custom_command('list-directory-role-template',
                         'identitydirmgt_list_directory_role_template')
        g.custom_command('update-directory-role-template',
                         'identitydirmgt_update_directory_role_template')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_directory_role_template
    identitydirmgt_v1_0_directory_role_template = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._directory_role_template_ope'
        'rations#DirectoryRoleTemplateOperations.{}',
        client_factory=cf_directory_role_template)
    with self.command_group('identitydirmgt',
                            identitydirmgt_v1_0_directory_role_template,
                            client_factory=cf_directory_role_template) as g:
        g.custom_command('check-member-group',
                         'identitydirmgt_check_member_group')
        g.custom_command('check-member-object',
                         'identitydirmgt_check_member_object')
        g.custom_command('get-available-extension-property',
                         'identitydirmgt_get_available_extension_property')
        g.custom_command('get-by-id', 'identitydirmgt_get_by_id')
        g.custom_command('get-member-group', 'identitydirmgt_get_member_group')
        g.custom_command('get-member-object',
                         'identitydirmgt_get_member_object')
        g.custom_command('restore', 'identitydirmgt_restore')
        g.custom_command('validate-property',
                         'identitydirmgt_validate_property')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_domain_domain
    identitydirmgt_v1_0_domain_domain = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._domain_domain_operations#Do'
        'mainDomainOperations.{}',
        client_factory=cf_domain_domain)
    with self.command_group('identitydirmgt',
                            identitydirmgt_v1_0_domain_domain,
                            client_factory=cf_domain_domain) as g:
        g.custom_command('delete', 'identitydirmgt_delete', confirmation=True)
        g.custom_command('create-domain', 'identitydirmgt_create_domain')
        g.custom_command('get-domain', 'identitydirmgt_get_domain')
        g.custom_command('list-domain', 'identitydirmgt_list_domain')
        g.custom_command('update-domain', 'identitydirmgt_update_domain')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_domain
    identitydirmgt_v1_0_domain = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._domain_operations#DomainOpe'
        'rations.{}',
        client_factory=cf_domain)
    with self.command_group('identitydirmgt',
                            identitydirmgt_v1_0_domain,
                            client_factory=cf_domain) as g:
        g.custom_command('delete', 'identitydirmgt_delete', confirmation=True)
        g.custom_command('create-ref-domain-name-reference',
                         'identitydirmgt_create_ref_domain_name_reference')
        g.custom_command('create-service-configuration-record',
                         'identitydirmgt_create_service_configuration_record')
        g.custom_command('create-verification-dns-record',
                         'identitydirmgt_create_verification_dns_record')
        g.custom_command('force-delete', 'identitydirmgt_force_delete')
        g.custom_command('get-service-configuration-record',
                         'identitydirmgt_get_service_configuration_record')
        g.custom_command('get-verification-dns-record',
                         'identitydirmgt_get_verification_dns_record')
        g.custom_command('list-domain-name-reference',
                         'identitydirmgt_list_domain_name_reference')
        g.custom_command('list-ref-domain-name-reference',
                         'identitydirmgt_list_ref_domain_name_reference')
        g.custom_command('list-service-configuration-record',
                         'identitydirmgt_list_service_configuration_record')
        g.custom_command('list-verification-dns-record',
                         'identitydirmgt_list_verification_dns_record')
        g.custom_command('update-service-configuration-record',
                         'identitydirmgt_update_service_configuration_record')
        g.custom_command('update-verification-dns-record',
                         'identitydirmgt_update_verification_dns_record')
        g.custom_command('verify', 'identitydirmgt_verify')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_organization_organization
    identitydirmgt_v1_0_organization_organization = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._organization_organization_o'
        'perations#OrganizationOrganizationOperations.{}',
        client_factory=cf_organization_organization)
    with self.command_group('identitydirmgt',
                            identitydirmgt_v1_0_organization_organization,
                            client_factory=cf_organization_organization) as g:
        g.custom_command('delete', 'identitydirmgt_delete', confirmation=True)
        g.custom_command('create-organization',
                         'identitydirmgt_create_organization')
        g.custom_command('get-organization', 'identitydirmgt_get_organization')
        g.custom_command('list-organization',
                         'identitydirmgt_list_organization')
        g.custom_command('update-organization',
                         'identitydirmgt_update_organization')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_organization
    identitydirmgt_v1_0_organization = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._organization_operations#Org'
        'anizationOperations.{}',
        client_factory=cf_organization)
    with self.command_group('identitydirmgt',
                            identitydirmgt_v1_0_organization,
                            client_factory=cf_organization) as g:
        g.custom_command('delete', 'identitydirmgt_delete', confirmation=True)
        g.custom_command('check-member-group',
                         'identitydirmgt_check_member_group')
        g.custom_command('check-member-object',
                         'identitydirmgt_check_member_object')
        g.custom_command('create-extension', 'identitydirmgt_create_extension')
        g.custom_command('get-available-extension-property',
                         'identitydirmgt_get_available_extension_property')
        g.custom_command('get-by-id', 'identitydirmgt_get_by_id')
        g.custom_command('get-extension', 'identitydirmgt_get_extension')
        g.custom_command('get-member-group', 'identitydirmgt_get_member_group')
        g.custom_command('get-member-object',
                         'identitydirmgt_get_member_object')
        g.custom_command('list-extension', 'identitydirmgt_list_extension')
        g.custom_command('restore', 'identitydirmgt_restore')
        g.custom_command(
            'set-mobile-device-management-authority',
            'identitydirmgt_set_mobile_device_management_authori'
            'ty')
        g.custom_command('update-extension', 'identitydirmgt_update_extension')
        g.custom_command('validate-property',
                         'identitydirmgt_validate_property')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_subscribed_sku_subscribed_sku
    identitydirmgt_v1_0_subscribed_sku_subscribed_sku = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._subscribed_sku_subscribed_s'
        'ku_operations#SubscribedSkuSubscribedSkuOperations.{}',
        client_factory=cf_subscribed_sku_subscribed_sku)
    with self.command_group(
            'identitydirmgt',
            identitydirmgt_v1_0_subscribed_sku_subscribed_sku,
            client_factory=cf_subscribed_sku_subscribed_sku) as g:
        g.custom_command('delete', 'identitydirmgt_delete', confirmation=True)
        g.custom_command('create-subscribed-sku',
                         'identitydirmgt_create_subscribed_sku')
        g.custom_command('get-subscribed-sku',
                         'identitydirmgt_get_subscribed_sku')
        g.custom_command('list-subscribed-sku',
                         'identitydirmgt_list_subscribed_sku')
        g.custom_command('update-subscribed-sku',
                         'identitydirmgt_update_subscribed_sku')

    from azext_identitydirmgt_v1_0.generated._client_factory import cf_user
    identitydirmgt_v1_0_user = CliCommandType(
        operations_tmpl=
        'azext_identitydirmgt_v1_0.vendored_sdks.identitydirmgt.operations._user_operations#UserOperati'
        'ons.{}',
        client_factory=cf_user)
    with self.command_group('identitydirmgt',
                            identitydirmgt_v1_0_user,
                            client_factory=cf_user) as g:
        g.custom_command('delete', 'identitydirmgt_delete', confirmation=True)
        g.custom_command('create-scoped-role-member-of',
                         'identitydirmgt_create_scoped_role_member_of')
        g.custom_command('get-scoped-role-member-of',
                         'identitydirmgt_get_scoped_role_member_of')
        g.custom_command('list-scoped-role-member-of',
                         'identitydirmgt_list_scoped_role_member_of')
        g.custom_command('update-scoped-role-member-of',
                         'identitydirmgt_update_scoped_role_member_of')
Esempio n. 19
0
def load_command_table(self, _):

    from azext_reports_v1_0.generated._client_factory import cf_audit_log_audit_log_root
    reports_v1_0_audit_log_audit_log_root = CliCommandType(
        operations_tmpl=
        'azext_reports_v1_0.vendored_sdks.reports.operations._audit_log_audit_log_root_operations#Audit'
        'LogAuditLogRootOperations.{}',
        client_factory=cf_audit_log_audit_log_root)
    with self.command_group('reports',
                            reports_v1_0_audit_log_audit_log_root,
                            client_factory=cf_audit_log_audit_log_root) as g:
        g.custom_command('get-audit-log-root', 'reports_get_audit_log_root')
        g.custom_command('update-audit-log-root',
                         'reports_update_audit_log_root')

    from azext_reports_v1_0.generated._client_factory import cf_audit_log
    reports_v1_0_audit_log = CliCommandType(
        operations_tmpl=
        'azext_reports_v1_0.vendored_sdks.reports.operations._audit_log_operations#AuditLogOperations.{'
        '}',
        client_factory=cf_audit_log)
    with self.command_group('reports',
                            reports_v1_0_audit_log,
                            client_factory=cf_audit_log) as g:
        g.custom_command('delete', 'reports_delete', confirmation=True)
        g.custom_command('create-directory-audit',
                         'reports_create_directory_audit')
        g.custom_command('create-restricted-sign-in',
                         'reports_create_restricted_sign_in')
        g.custom_command('create-sign-in', 'reports_create_sign_in')
        g.custom_command('get-directory-audit', 'reports_get_directory_audit')
        g.custom_command('get-restricted-sign-in',
                         'reports_get_restricted_sign_in')
        g.custom_command('get-sign-in', 'reports_get_sign_in')
        g.custom_command('list-directory-audit',
                         'reports_list_directory_audit')
        g.custom_command('list-restricted-sign-in',
                         'reports_list_restricted_sign_in')
        g.custom_command('list-sign-in', 'reports_list_sign_in')
        g.custom_command('update-directory-audit',
                         'reports_update_directory_audit')
        g.custom_command('update-restricted-sign-in',
                         'reports_update_restricted_sign_in')
        g.custom_command('update-sign-in', 'reports_update_sign_in')

    from azext_reports_v1_0.generated._client_factory import cf_report_report_root
    reports_v1_0_report_report_root = CliCommandType(
        operations_tmpl=
        'azext_reports_v1_0.vendored_sdks.reports.operations._report_report_root_operations#ReportRepor'
        'tRootOperations.{}',
        client_factory=cf_report_report_root)
    with self.command_group('reports',
                            reports_v1_0_report_report_root,
                            client_factory=cf_report_report_root) as g:
        g.custom_command('get-report-root', 'reports_get_report_root')
        g.custom_command('update-report-root', 'reports_update_report_root')

    from azext_reports_v1_0.generated._client_factory import cf_report
    reports_v1_0_report = CliCommandType(
        operations_tmpl=
        'azext_reports_v1_0.vendored_sdks.reports.operations._report_operations#ReportOperations.{}',
        client_factory=cf_report)
    with self.command_group('reports',
                            reports_v1_0_report,
                            client_factory=cf_report) as g:
        g.custom_command('device-configuration-device-activity',
                         'reports_device_configuration_device_activity')
        g.custom_command('device-configuration-user-activity',
                         'reports_device_configuration_user_activity')
        g.custom_command('get-email-activity-count',
                         'reports_get_email_activity_count')
        g.custom_command('get-email-activity-user-count',
                         'reports_get_email_activity_user_count')
        g.custom_command('get-email-activity-user-detail-ddb2',
                         'reports_get_email_activity_user_detail_ddb2')
        g.custom_command('get-email-activity-user-detail-fe32',
                         'reports_get_email_activity_user_detail_fe32')
        g.custom_command('get-email-app-usage-app-user-count',
                         'reports_get_email_app_usage_app_user_count')
        g.custom_command('get-email-app-usage-user-count',
                         'reports_get_email_app_usage_user_count')
        g.custom_command('get-email-app-usage-user-detail546-b',
                         'reports_get_email_app_usage_user_detail546_b')
        g.custom_command('get-email-app-usage-user-detail62-ec',
                         'reports_get_email_app_usage_user_detail62_ec')
        g.custom_command('get-email-app-usage-version-user-count',
                         'reports_get_email_app_usage_version_user_count')
        g.custom_command('get-mailbox-usage-detail',
                         'reports_get_mailbox_usage_detail')
        g.custom_command('get-mailbox-usage-mailbox-count',
                         'reports_get_mailbox_usage_mailbox_count')
        g.custom_command(
            'get-mailbox-usage-quota-status-mailbox-count',
            'reports_get_mailbox_usage_quota_status_mailbo'
            'x_count')
        g.custom_command('get-mailbox-usage-storage',
                         'reports_get_mailbox_usage_storage')
        g.custom_command('get-office365-activation-count',
                         'reports_get_office365_activation_count')
        g.custom_command('get-office365-activation-user-count',
                         'reports_get_office365_activation_user_count')
        g.custom_command('get-office365-activation-user-detail',
                         'reports_get_office365_activation_user_detail')
        g.custom_command('get-office365-active-user-count',
                         'reports_get_office365_active_user_count')
        g.custom_command('get-office365-active-user-detail-d389',
                         'reports_get_office365_active_user_detail_d389')
        g.custom_command('get-office365-active-user-detail68-ad',
                         'reports_get_office365_active_user_detail68_ad')
        g.custom_command('get-office365-group-activity-count',
                         'reports_get_office365_group_activity_count')
        g.custom_command('get-office365-group-activity-detail38-f6',
                         'reports_get_office365_group_activity_detail38_f6')
        g.custom_command('get-office365-group-activity-detail81-cc',
                         'reports_get_office365_group_activity_detail81_cc')
        g.custom_command('get-office365-group-activity-file-count',
                         'reports_get_office365_group_activity_file_count')
        g.custom_command('get-office365-group-activity-group-count',
                         'reports_get_office365_group_activity_group_count')
        g.custom_command('get-office365-group-activity-storage',
                         'reports_get_office365_group_activity_storage')
        g.custom_command('get-office365-service-user-count',
                         'reports_get_office365_service_user_count')
        g.custom_command('get-one-drive-activity-file-count',
                         'reports_get_one_drive_activity_file_count')
        g.custom_command('get-one-drive-activity-user-count',
                         'reports_get_one_drive_activity_user_count')
        g.custom_command('get-one-drive-activity-user-detail-c424',
                         'reports_get_one_drive_activity_user_detail_c424')
        g.custom_command('get-one-drive-activity-user-detail05-f1',
                         'reports_get_one_drive_activity_user_detail05_f1')
        g.custom_command('get-one-drive-usage-account-count',
                         'reports_get_one_drive_usage_account_count')
        g.custom_command('get-one-drive-usage-account-detail-dd7-f',
                         'reports_get_one_drive_usage_account_detail_dd7_f')
        g.custom_command('get-one-drive-usage-account-detail-e827',
                         'reports_get_one_drive_usage_account_detail_e827')
        g.custom_command('get-one-drive-usage-file-count',
                         'reports_get_one_drive_usage_file_count')
        g.custom_command('get-one-drive-usage-storage',
                         'reports_get_one_drive_usage_storage')
        g.custom_command('get-share-point-activity-file-count',
                         'reports_get_share_point_activity_file_count')
        g.custom_command('get-share-point-activity-page',
                         'reports_get_share_point_activity_page')
        g.custom_command('get-share-point-activity-user-count',
                         'reports_get_share_point_activity_user_count')
        g.custom_command(
            'get-share-point-activity-user-detail-b778',
            'reports_get_share_point_activity_user_detail_b77'
            '8')
        g.custom_command(
            'get-share-point-activity-user-detail-f3-be',
            'reports_get_share_point_activity_user_detail_f3'
            '_be')
        g.custom_command('get-share-point-site-usage-detail-d27-a',
                         'reports_get_share_point_site_usage_detail_d27_a')
        g.custom_command('get-share-point-site-usage-detail204-b',
                         'reports_get_share_point_site_usage_detail204_b')
        g.custom_command('get-share-point-site-usage-file-count',
                         'reports_get_share_point_site_usage_file_count')
        g.custom_command('get-share-point-site-usage-page',
                         'reports_get_share_point_site_usage_page')
        g.custom_command('get-share-point-site-usage-site-count',
                         'reports_get_share_point_site_usage_site_count')
        g.custom_command('get-share-point-site-usage-storage',
                         'reports_get_share_point_site_usage_storage')
        g.custom_command('get-skype-for-business-activity-count',
                         'reports_get_skype_for_business_activity_count')
        g.custom_command(
            'get-skype-for-business-activity-user-count',
            'reports_get_skype_for_business_activity_user_co'
            'unt')
        g.custom_command(
            'get-skype-for-business-activity-user-detail-e4-c9',
            'reports_get_skype_for_business_activity_'
            'user_detail_e4_c9')
        g.custom_command(
            'get-skype-for-business-activity-user-detail744-e',
            'reports_get_skype_for_business_activity_u'
            'ser_detail744_e')
        g.custom_command(
            'get-skype-for-business-device-usage-distribution-user-count', ''
            'reports_get_skype_for_business_device_usage_distribution_user_count'
        )
        g.custom_command(
            'get-skype-for-business-device-usage-user-count',
            'reports_get_skype_for_business_device_usage'
            '_user_count')
        g.custom_command(
            'get-skype-for-business-device-usage-user-detail-a692',
            'reports_get_skype_for_business_device'
            '_usage_user_detail_a692')
        g.custom_command(
            'get-skype-for-business-device-usage-user-detail-e753',
            'reports_get_skype_for_business_device'
            '_usage_user_detail_e753')
        g.custom_command(
            'get-skype-for-business-organizer-activity-count',
            'reports_get_skype_for_business_organizer_a'
            'ctivity_count')
        g.custom_command(
            'get-skype-for-business-organizer-activity-minute-count',
            'reports_get_skype_for_business_orga'
            'nizer_activity_minute_count')
        g.custom_command(
            'get-skype-for-business-organizer-activity-user-count',
            'reports_get_skype_for_business_organi'
            'zer_activity_user_count')
        g.custom_command(
            'get-skype-for-business-participant-activity-count',
            'reports_get_skype_for_business_participa'
            'nt_activity_count')
        g.custom_command(
            'get-skype-for-business-participant-activity-minute-count',
            'reports_get_skype_for_business_pa'
            'rticipant_activity_minute_count')
        g.custom_command(
            'get-skype-for-business-participant-activity-user-count',
            'reports_get_skype_for_business_part'
            'icipant_activity_user_count')
        g.custom_command(
            'get-skype-for-business-peer-to-peer-activity-count',
            'reports_get_skype_for_business_peer_to_'
            'peer_activity_count')
        g.custom_command(
            'get-skype-for-business-peer-to-peer-activity-minute-count',
            'reports_get_skype_for_business_p'
            'eer_to_peer_activity_minute_count')
        g.custom_command(
            'get-skype-for-business-peer-to-peer-activity-user-count',
            'reports_get_skype_for_business_pee'
            'r_to_peer_activity_user_count')
        g.custom_command(
            'get-team-device-usage-distribution-user-count',
            'reports_get_team_device_usage_distribution_u'
            'ser_count')
        g.custom_command('get-team-device-usage-user-count',
                         'reports_get_team_device_usage_user_count')
        g.custom_command('get-team-device-usage-user-detail7148',
                         'reports_get_team_device_usage_user_detail7148')
        g.custom_command('get-team-device-usage-user-detail7565',
                         'reports_get_team_device_usage_user_detail7565')
        g.custom_command('get-team-user-activity-count',
                         'reports_get_team_user_activity_count')
        g.custom_command('get-team-user-activity-user-count',
                         'reports_get_team_user_activity_user_count')
        g.custom_command('get-team-user-activity-user-detail-a3-f1',
                         'reports_get_team_user_activity_user_detail_a3_f1')
        g.custom_command('get-team-user-activity-user-detail-eb13',
                         'reports_get_team_user_activity_user_detail_eb13')
        g.custom_command('get-yammer-activity-count',
                         'reports_get_yammer_activity_count')
        g.custom_command('get-yammer-activity-user-count',
                         'reports_get_yammer_activity_user_count')
        g.custom_command('get-yammer-activity-user-detail-ac30',
                         'reports_get_yammer_activity_user_detail_ac30')
        g.custom_command('get-yammer-activity-user-detail15-a5',
                         'reports_get_yammer_activity_user_detail15_a5')
        g.custom_command(
            'get-yammer-device-usage-distribution-user-count',
            'reports_get_yammer_device_usage_distributi'
            'on_user_count')
        g.custom_command('get-yammer-device-usage-user-count',
                         'reports_get_yammer_device_usage_user_count')
        g.custom_command('get-yammer-device-usage-user-detail-cfad',
                         'reports_get_yammer_device_usage_user_detail_cfad')
        g.custom_command(
            'get-yammer-device-usage-user-detail-d0-ac',
            'reports_get_yammer_device_usage_user_detail_d0_a'
            'c')
        g.custom_command('get-yammer-group-activity-count',
                         'reports_get_yammer_group_activity_count')
        g.custom_command('get-yammer-group-activity-detail-da9-a',
                         'reports_get_yammer_group_activity_detail_da9_a')
        g.custom_command('get-yammer-group-activity-detail0-d7-d',
                         'reports_get_yammer_group_activity_detail0_d7_d')
        g.custom_command('get-yammer-group-activity-group-count',
                         'reports_get_yammer_group_activity_group_count')
        g.custom_command(
            'managed-device-enrollment-failure-details027-e',
            'reports_managed_device_enrollment_failure_d'
            'etails027_e')
        g.custom_command(
            'managed-device-enrollment-failure-details2-b3-d',
            'reports_managed_device_enrollment_failure_'
            'details2_b3_d')
        g.custom_command(
            'managed-device-enrollment-top-failure-afd1',
            'reports_managed_device_enrollment_top_failure_a'
            'fd1')
        g.custom_command(
            'managed-device-enrollment-top-failures4669',
            'reports_managed_device_enrollment_top_failures4'
            '669')
Esempio n. 20
0
def load_command_table(self, _):

    from azext_compliance_beta.generated._client_factory import cf_compliance_compliance
    compliance_beta_compliance_compliance = CliCommandType(
        operations_tmpl=
        'azext_compliance_beta.vendored_sdks.compliance.operations._compliance_compliance_operations#Co'
        'mplianceComplianceOperations.{}',
        client_factory=cf_compliance_compliance)
    with self.command_group('compliance',
                            compliance_beta_compliance_compliance,
                            client_factory=cf_compliance_compliance) as g:
        g.custom_command('get-compliance', 'compliance_get_compliance')
        g.custom_command('update-compliance', 'compliance_update_compliance')

    from azext_compliance_beta.generated._client_factory import cf_compliance
    compliance_beta_compliance = CliCommandType(
        operations_tmpl=
        'azext_compliance_beta.vendored_sdks.compliance.operations._compliance_operations#ComplianceOpe'
        'rations.{}',
        client_factory=cf_compliance)
    with self.command_group('compliance',
                            compliance_beta_compliance,
                            client_factory=cf_compliance) as g:
        g.custom_command('delete', 'compliance_delete', confirmation=True)
        g.custom_command('get-ediscovery', 'compliance_get_ediscovery')
        g.custom_command('update-ediscovery', 'compliance_update_ediscovery')

    from azext_compliance_beta.generated._client_factory import cf_compliance_ediscovery
    compliance_beta_compliance_ediscovery = CliCommandType(
        operations_tmpl=
        'azext_compliance_beta.vendored_sdks.compliance.operations._compliance_ediscovery_operations#Co'
        'mplianceEdiscoveryOperations.{}',
        client_factory=cf_compliance_ediscovery)
    with self.command_group('compliance',
                            compliance_beta_compliance_ediscovery,
                            client_factory=cf_compliance_ediscovery) as g:
        g.custom_command('delete', 'compliance_delete', confirmation=True)
        g.custom_command('create-case', 'compliance_create_case')
        g.custom_command('get-case', 'compliance_get_case')
        g.custom_command('list-case', 'compliance_list_case')
        g.custom_command('update-case', 'compliance_update_case')

    from azext_compliance_beta.generated._client_factory import cf_compliance_ediscovery_case
    compliance_beta_compliance_ediscovery_case = CliCommandType(
        operations_tmpl=
        'azext_compliance_beta.vendored_sdks.compliance.operations._compliance_ediscovery_case_operatio'
        'ns#ComplianceEdiscoveryCaseOperations.{}',
        client_factory=cf_compliance_ediscovery_case)
    with self.command_group('compliance',
                            compliance_beta_compliance_ediscovery_case,
                            client_factory=cf_compliance_ediscovery_case) as g:
        g.custom_command('delete', 'compliance_delete', confirmation=True)
        g.custom_command('close', 'compliance_close')
        g.custom_command('create-custodian', 'compliance_create_custodian')
        g.custom_command('create-review-set', 'compliance_create_review_set')
        g.custom_command('get-custodian', 'compliance_get_custodian')
        g.custom_command('get-review-set', 'compliance_get_review_set')
        g.custom_command('list-custodian', 'compliance_list_custodian')
        g.custom_command('list-review-set', 'compliance_list_review_set')
        g.custom_command('reopen', 'compliance_reopen')
        g.custom_command('update-custodian', 'compliance_update_custodian')
        g.custom_command('update-review-set', 'compliance_update_review_set')

    from azext_compliance_beta.generated._client_factory import cf_compliance_ediscovery_case_custodian
    compliance_beta_compliance_ediscovery_case_custodian = CliCommandType(
        operations_tmpl=
        'azext_compliance_beta.vendored_sdks.compliance.operations._compliance_ediscovery_case_custodia'
        'n_operations#ComplianceEdiscoveryCaseCustodianOperations.{}',
        client_factory=cf_compliance_ediscovery_case_custodian)
    with self.command_group(
            'compliance',
            compliance_beta_compliance_ediscovery_case_custodian,
            client_factory=cf_compliance_ediscovery_case_custodian) as g:
        g.custom_command('delete', 'compliance_delete', confirmation=True)
        g.custom_command('activate', 'compliance_activate')
        g.custom_command('create-site-source', 'compliance_create_site_source')
        g.custom_command('create-unified-group-source',
                         'compliance_create_unified_group_source')
        g.custom_command('create-user-source', 'compliance_create_user_source')
        g.custom_command('get-last-index-operation',
                         'compliance_get_last_index_operation')
        g.custom_command('get-ref-last-index-operation',
                         'compliance_get_ref_last_index_operation')
        g.custom_command('get-site-source', 'compliance_get_site_source')
        g.custom_command('get-unified-group-source',
                         'compliance_get_unified_group_source')
        g.custom_command('get-user-source', 'compliance_get_user_source')
        g.custom_command('list-site-source', 'compliance_list_site_source')
        g.custom_command('list-unified-group-source',
                         'compliance_list_unified_group_source')
        g.custom_command('list-user-source', 'compliance_list_user_source')
        g.custom_command('release', 'compliance_release')
        g.custom_command('set-ref-last-index-operation',
                         'compliance_set_ref_last_index_operation')
        g.custom_command('update-index', 'compliance_update_index')
        g.custom_command('update-site-source', 'compliance_update_site_source')
        g.custom_command('update-unified-group-source',
                         'compliance_update_unified_group_source')
        g.custom_command('update-user-source', 'compliance_update_user_source')

    from azext_compliance_beta.generated._client_factory import cf_compliance_ediscovery_case_custodian_site_source
    compliance_beta_compliance_ediscovery_case_custodian_site_source = CliCommandType(
        operations_tmpl=
        'azext_compliance_beta.vendored_sdks.compliance.operations._compliance_ediscovery_case_custodia'
        'n_site_source_operations#ComplianceEdiscoveryCaseCustodianSiteSourceOperations.{}',
        client_factory=cf_compliance_ediscovery_case_custodian_site_source)
    with self.command_group(
            'compliance',
            compliance_beta_compliance_ediscovery_case_custodian_site_source,
            client_factory=cf_compliance_ediscovery_case_custodian_site_source
    ) as g:
        g.custom_command('delete', 'compliance_delete', confirmation=True)
        g.custom_command('get-ref-site', 'compliance_get_ref_site')
        g.custom_command('get-site', 'compliance_get_site')
        g.custom_command('set-ref-site', 'compliance_set_ref_site')

    from azext_compliance_beta.generated._client_factory import cf_compliance_ediscovery_case_custodian_unified_group_source
    compliance_beta_compliance_ediscovery_case_custodian_unified_group_source = CliCommandType(
        operations_tmpl=
        'azext_compliance_beta.vendored_sdks.compliance.operations._compliance_ediscovery_case_custodia'
        'n_unified_group_source_operations#ComplianceEdiscoveryCaseCustodianUnifiedGroupSourceOperations.{}',
        client_factory=
        cf_compliance_ediscovery_case_custodian_unified_group_source)
    with self.command_group(
            'compliance',
            compliance_beta_compliance_ediscovery_case_custodian_unified_group_source,
            client_factory=
            cf_compliance_ediscovery_case_custodian_unified_group_source) as g:
        g.custom_command('delete', 'compliance_delete', confirmation=True)
        g.custom_command('get-group', 'compliance_get_group')
        g.custom_command('get-ref-group', 'compliance_get_ref_group')
        g.custom_command('set-ref-group', 'compliance_set_ref_group')

    from azext_compliance_beta.generated._client_factory import cf_compliance_ediscovery_case_review_set
    compliance_beta_compliance_ediscovery_case_review_set = CliCommandType(
        operations_tmpl=
        'azext_compliance_beta.vendored_sdks.compliance.operations._compliance_ediscovery_case_review_s'
        'et_operations#ComplianceEdiscoveryCaseReviewSetOperations.{}',
        client_factory=cf_compliance_ediscovery_case_review_set)
    with self.command_group(
            'compliance',
            compliance_beta_compliance_ediscovery_case_review_set,
            client_factory=cf_compliance_ediscovery_case_review_set) as g:
        g.custom_command('delete', 'compliance_delete', confirmation=True)
        g.custom_command('create-query', 'compliance_create_query')
        g.custom_command('get-query', 'compliance_get_query')
        g.custom_command('list-query', 'compliance_list_query')
        g.custom_command('update-query', 'compliance_update_query')
Esempio n. 21
0
def load_command_table(self, _):

    from azext_mail_v1_0.generated._client_factory import cf_user
    mail_v1_0_user = CliCommandType(
        operations_tmpl=
        'azext_mail_v1_0.vendored_sdks.mail.operations._user_operations#UserOperations.{}',
        client_factory=cf_user)
    with self.command_group('mail', mail_v1_0_user,
                            client_factory=cf_user) as g:
        g.custom_command('delete', 'mail_delete', confirmation=True)
        g.custom_command('create-mail-folder', 'mail_create_mail_folder')
        g.custom_command('create-message', 'mail_create_message')
        g.custom_command('get-inference-classification',
                         'mail_get_inference_classification')
        g.custom_command('get-mail-folder', 'mail_get_mail_folder')
        g.custom_command('get-message', 'mail_get_message')
        g.custom_command('list-mail-folder', 'mail_list_mail_folder')
        g.custom_command('list-message', 'mail_list_message')
        g.custom_command('update-inference-classification',
                         'mail_update_inference_classification')
        g.custom_command('update-mail-folder', 'mail_update_mail_folder')
        g.custom_command('update-message', 'mail_update_message')

    from azext_mail_v1_0.generated._client_factory import cf_user_inference_classification
    mail_v1_0_user_inference_classification = CliCommandType(
        operations_tmpl=
        'azext_mail_v1_0.vendored_sdks.mail.operations._user_inference_classification_operations#UserIn'
        'ferenceClassificationOperations.{}',
        client_factory=cf_user_inference_classification)
    with self.command_group(
            'mail',
            mail_v1_0_user_inference_classification,
            client_factory=cf_user_inference_classification) as g:
        g.custom_command('delete', 'mail_delete', confirmation=True)
        g.custom_command('create-override', 'mail_create_override')
        g.custom_command('get-override', 'mail_get_override')
        g.custom_command('list-override', 'mail_list_override')
        g.custom_command('update-override', 'mail_update_override')

    from azext_mail_v1_0.generated._client_factory import cf_user_mail_folder
    mail_v1_0_user_mail_folder = CliCommandType(
        operations_tmpl=
        'azext_mail_v1_0.vendored_sdks.mail.operations._user_mail_folder_operations#UserMailFolderOpera'
        'tions.{}',
        client_factory=cf_user_mail_folder)
    with self.command_group('mail',
                            mail_v1_0_user_mail_folder,
                            client_factory=cf_user_mail_folder) as g:
        g.custom_command('delete', 'mail_delete', confirmation=True)
        g.custom_command('create-child-folder', 'mail_create_child_folder')
        g.custom_command('create-message', 'mail_create_message')
        g.custom_command('create-message-rule', 'mail_create_message_rule')
        g.custom_command('create-multi-value-extended-property',
                         'mail_create_multi_value_extended_property')
        g.custom_command('create-single-value-extended-property',
                         'mail_create_single_value_extended_property')
        g.custom_command('get-child-folder', 'mail_get_child_folder')
        g.custom_command('get-message', 'mail_get_message')
        g.custom_command('get-message-rule', 'mail_get_message_rule')
        g.custom_command('get-multi-value-extended-property',
                         'mail_get_multi_value_extended_property')
        g.custom_command('get-single-value-extended-property',
                         'mail_get_single_value_extended_property')
        g.custom_command('list-child-folder', 'mail_list_child_folder')
        g.custom_command('list-message', 'mail_list_message')
        g.custom_command('list-message-rule', 'mail_list_message_rule')
        g.custom_command('list-multi-value-extended-property',
                         'mail_list_multi_value_extended_property')
        g.custom_command('list-single-value-extended-property',
                         'mail_list_single_value_extended_property')
        g.custom_command('update-child-folder', 'mail_update_child_folder')
        g.custom_command('update-message', 'mail_update_message')
        g.custom_command('update-message-rule', 'mail_update_message_rule')
        g.custom_command('update-multi-value-extended-property',
                         'mail_update_multi_value_extended_property')
        g.custom_command('update-single-value-extended-property',
                         'mail_update_single_value_extended_property')

    from azext_mail_v1_0.generated._client_factory import cf_user_mail_folder_message
    mail_v1_0_user_mail_folder_message = CliCommandType(
        operations_tmpl=
        'azext_mail_v1_0.vendored_sdks.mail.operations._user_mail_folder_message_operations#UserMailFol'
        'derMessageOperations.{}',
        client_factory=cf_user_mail_folder_message)
    with self.command_group('mail',
                            mail_v1_0_user_mail_folder_message,
                            client_factory=cf_user_mail_folder_message) as g:
        g.custom_command('delete', 'mail_delete', confirmation=True)
        g.custom_command('create-attachment', 'mail_create_attachment')
        g.custom_command('create-extension', 'mail_create_extension')
        g.custom_command('create-multi-value-extended-property',
                         'mail_create_multi_value_extended_property')
        g.custom_command('create-single-value-extended-property',
                         'mail_create_single_value_extended_property')
        g.custom_command('get-attachment', 'mail_get_attachment')
        g.custom_command('get-extension', 'mail_get_extension')
        g.custom_command('get-multi-value-extended-property',
                         'mail_get_multi_value_extended_property')
        g.custom_command('get-single-value-extended-property',
                         'mail_get_single_value_extended_property')
        g.custom_command('list-attachment', 'mail_list_attachment')
        g.custom_command('list-extension', 'mail_list_extension')
        g.custom_command('list-multi-value-extended-property',
                         'mail_list_multi_value_extended_property')
        g.custom_command('list-single-value-extended-property',
                         'mail_list_single_value_extended_property')
        g.custom_command('update-attachment', 'mail_update_attachment')
        g.custom_command('update-extension', 'mail_update_extension')
        g.custom_command('update-multi-value-extended-property',
                         'mail_update_multi_value_extended_property')
        g.custom_command('update-single-value-extended-property',
                         'mail_update_single_value_extended_property')

    from azext_mail_v1_0.generated._client_factory import cf_user_message
    mail_v1_0_user_message = CliCommandType(
        operations_tmpl=
        'azext_mail_v1_0.vendored_sdks.mail.operations._user_message_operations#UserMessageOperations.{'
        '}',
        client_factory=cf_user_message)
    with self.command_group('mail',
                            mail_v1_0_user_message,
                            client_factory=cf_user_message) as g:
        g.custom_command('delete', 'mail_delete', confirmation=True)
        g.custom_command('create-attachment', 'mail_create_attachment')
        g.custom_command('create-extension', 'mail_create_extension')
        g.custom_command('create-multi-value-extended-property',
                         'mail_create_multi_value_extended_property')
        g.custom_command('create-single-value-extended-property',
                         'mail_create_single_value_extended_property')
        g.custom_command('get-attachment', 'mail_get_attachment')
        g.custom_command('get-extension', 'mail_get_extension')
        g.custom_command('get-multi-value-extended-property',
                         'mail_get_multi_value_extended_property')
        g.custom_command('get-single-value-extended-property',
                         'mail_get_single_value_extended_property')
        g.custom_command('list-attachment', 'mail_list_attachment')
        g.custom_command('list-extension', 'mail_list_extension')
        g.custom_command('list-multi-value-extended-property',
                         'mail_list_multi_value_extended_property')
        g.custom_command('list-single-value-extended-property',
                         'mail_list_single_value_extended_property')
        g.custom_command('update-attachment', 'mail_update_attachment')
        g.custom_command('update-extension', 'mail_update_extension')
        g.custom_command('update-multi-value-extended-property',
                         'mail_update_multi_value_extended_property')
        g.custom_command('update-single-value-extended-property',
                         'mail_update_single_value_extended_property')
Esempio n. 22
0
def load_command_table(self, _):

    from azext_security_beta.generated._client_factory import cf_security_security
    security_beta_security_security = CliCommandType(
        operations_tmpl=
        'azext_security_beta.vendored_sdks.security.operations._security_security_operations#SecuritySe'
        'curityOperations.{}',
        client_factory=cf_security_security)
    with self.command_group('security',
                            security_beta_security_security,
                            client_factory=cf_security_security) as g:
        g.custom_command('get-security', 'security_get_security')
        g.custom_command('update-security', 'security_update_security')

    from azext_security_beta.generated._client_factory import cf_security
    security_beta_security = CliCommandType(
        operations_tmpl=
        'azext_security_beta.vendored_sdks.security.operations._security_operations#SecurityOperations.'
        '{}',
        client_factory=cf_security)
    with self.command_group('security',
                            security_beta_security,
                            client_factory=cf_security) as g:
        g.custom_command('delete', 'security_delete', confirmation=True)
        g.custom_command('create-alert', 'security_create_alert')
        g.custom_command('create-cloud-app-security-profile',
                         'security_create_cloud_app_security_profile')
        g.custom_command('create-domain-security-profile',
                         'security_create_domain_security_profile')
        g.custom_command('create-file-security-profile',
                         'security_create_file_security_profile')
        g.custom_command('create-host-security-profile',
                         'security_create_host_security_profile')
        g.custom_command('create-ip-security-profile',
                         'security_create_ip_security_profile')
        g.custom_command('create-provider-tenant-setting',
                         'security_create_provider_tenant_setting')
        g.custom_command('create-secure-score', 'security_create_secure_score')
        g.custom_command('create-secure-score-control-profile',
                         'security_create_secure_score_control_profile')
        g.custom_command('create-security-action',
                         'security_create_security_action')
        g.custom_command('create-ti-indicator', 'security_create_ti_indicator')
        g.custom_command('create-user-security-profile',
                         'security_create_user_security_profile')
        g.custom_command('get-alert', 'security_get_alert')
        g.custom_command('get-cloud-app-security-profile',
                         'security_get_cloud_app_security_profile')
        g.custom_command('get-domain-security-profile',
                         'security_get_domain_security_profile')
        g.custom_command('get-file-security-profile',
                         'security_get_file_security_profile')
        g.custom_command('get-host-security-profile',
                         'security_get_host_security_profile')
        g.custom_command('get-ip-security-profile',
                         'security_get_ip_security_profile')
        g.custom_command('get-provider-tenant-setting',
                         'security_get_provider_tenant_setting')
        g.custom_command('get-secure-score', 'security_get_secure_score')
        g.custom_command('get-secure-score-control-profile',
                         'security_get_secure_score_control_profile')
        g.custom_command('get-security-action', 'security_get_security_action')
        g.custom_command('get-ti-indicator', 'security_get_ti_indicator')
        g.custom_command('get-user-security-profile',
                         'security_get_user_security_profile')
        g.custom_command('list-alert', 'security_list_alert')
        g.custom_command('list-cloud-app-security-profile',
                         'security_list_cloud_app_security_profile')
        g.custom_command('list-domain-security-profile',
                         'security_list_domain_security_profile')
        g.custom_command('list-file-security-profile',
                         'security_list_file_security_profile')
        g.custom_command('list-host-security-profile',
                         'security_list_host_security_profile')
        g.custom_command('list-ip-security-profile',
                         'security_list_ip_security_profile')
        g.custom_command('list-provider-tenant-setting',
                         'security_list_provider_tenant_setting')
        g.custom_command('list-secure-score', 'security_list_secure_score')
        g.custom_command('list-secure-score-control-profile',
                         'security_list_secure_score_control_profile')
        g.custom_command('list-security-action',
                         'security_list_security_action')
        g.custom_command('list-ti-indicator', 'security_list_ti_indicator')
        g.custom_command('list-user-security-profile',
                         'security_list_user_security_profile')
        g.custom_command('update-alert', 'security_update_alert')
        g.custom_command('update-cloud-app-security-profile',
                         'security_update_cloud_app_security_profile')
        g.custom_command('update-domain-security-profile',
                         'security_update_domain_security_profile')
        g.custom_command('update-file-security-profile',
                         'security_update_file_security_profile')
        g.custom_command('update-host-security-profile',
                         'security_update_host_security_profile')
        g.custom_command('update-ip-security-profile',
                         'security_update_ip_security_profile')
        g.custom_command('update-provider-tenant-setting',
                         'security_update_provider_tenant_setting')
        g.custom_command('update-secure-score', 'security_update_secure_score')
        g.custom_command('update-secure-score-control-profile',
                         'security_update_secure_score_control_profile')
        g.custom_command('update-security-action',
                         'security_update_security_action')
        g.custom_command('update-ti-indicator', 'security_update_ti_indicator')
        g.custom_command('update-user-security-profile',
                         'security_update_user_security_profile')

    from azext_security_beta.generated._client_factory import cf_security_alert
    security_beta_security_alert = CliCommandType(
        operations_tmpl=
        'azext_security_beta.vendored_sdks.security.operations._security_alert_operations#SecurityAlert'
        'Operations.{}',
        client_factory=cf_security_alert)
    with self.command_group('security',
                            security_beta_security_alert,
                            client_factory=cf_security_alert) as g:
        g.custom_command('update-alert', 'security_update_alert')

    from azext_security_beta.generated._client_factory import cf_security_security_action
    security_beta_security_security_action = CliCommandType(
        operations_tmpl=
        'azext_security_beta.vendored_sdks.security.operations._security_security_action_operations#Sec'
        'uritySecurityActionOperations.{}',
        client_factory=cf_security_security_action)
    with self.command_group('security',
                            security_beta_security_security_action,
                            client_factory=cf_security_security_action) as g:
        g.custom_command('cancel-security-action',
                         'security_cancel_security_action')

    from azext_security_beta.generated._client_factory import cf_security_tiindicator
    security_beta_security_tiindicator = CliCommandType(
        operations_tmpl=
        'azext_security_beta.vendored_sdks.security.operations._security_ti_indicator_operations#Securi'
        'tyTIIndicatorOperations.{}',
        client_factory=cf_security_tiindicator)
    with self.command_group('security',
                            security_beta_security_tiindicator,
                            client_factory=cf_security_tiindicator) as g:
        g.custom_command('delete-ti-indicator', 'security_delete_ti_indicator')
        g.custom_command('delete-ti-indicator-by-external-id',
                         'security_delete_ti_indicator_by_external_id')
        g.custom_command('submit-ti-indicator', 'security_submit_ti_indicator')
        g.custom_command('update-ti-indicator', 'security_update_ti_indicator')
Esempio n. 23
0
def load_command_table(self, _):

    from azext_devicescloudprint_beta.generated._client_factory import cf_print_print
    devicescloudprint_beta_print_print = CliCommandType(
        operations_tmpl='azext_devicescloudprint_beta.vendored_sdks.devicescloudprint.operations._print_print_operation'
        's#PrintPrintOperations.{}',
        client_factory=cf_print_print)
    with self.command_group('devicescloudprint', devicescloudprint_beta_print_print,
                            client_factory=cf_print_print) as g:
        g.custom_command('get-print', 'devicescloudprint_get_print')
        g.custom_command('update-print', 'devicescloudprint_update_print')

    from azext_devicescloudprint_beta.generated._client_factory import cf_print
    devicescloudprint_beta_print = CliCommandType(
        operations_tmpl='azext_devicescloudprint_beta.vendored_sdks.devicescloudprint.operations._print_operations#Prin'
        'tOperations.{}',
        client_factory=cf_print)
    with self.command_group('devicescloudprint', devicescloudprint_beta_print, client_factory=cf_print) as g:
        g.custom_command('delete', 'devicescloudprint_delete', confirmation=True)
        g.custom_command('create-connector', 'devicescloudprint_create_connector')
        g.custom_command('create-operation', 'devicescloudprint_create_operation')
        g.custom_command('create-printer', 'devicescloudprint_create_printer')
        g.custom_command('create-printer-share', 'devicescloudprint_create_printer_share')
        g.custom_command('create-report', 'devicescloudprint_create_report')
        g.custom_command('create-service', 'devicescloudprint_create_service')
        g.custom_command('create-share', 'devicescloudprint_create_share')
        g.custom_command('create-task-definition', 'devicescloudprint_create_task_definition')
        g.custom_command('get-connector', 'devicescloudprint_get_connector')
        g.custom_command('get-operation', 'devicescloudprint_get_operation')
        g.custom_command('get-printer', 'devicescloudprint_get_printer')
        g.custom_command('get-printer-share', 'devicescloudprint_get_printer_share')
        g.custom_command('get-report', 'devicescloudprint_get_report')
        g.custom_command('get-service', 'devicescloudprint_get_service')
        g.custom_command('get-share', 'devicescloudprint_get_share')
        g.custom_command('get-task-definition', 'devicescloudprint_get_task_definition')
        g.custom_command('list-connector', 'devicescloudprint_list_connector')
        g.custom_command('list-operation', 'devicescloudprint_list_operation')
        g.custom_command('list-printer', 'devicescloudprint_list_printer')
        g.custom_command('list-printer-share', 'devicescloudprint_list_printer_share')
        g.custom_command('list-report', 'devicescloudprint_list_report')
        g.custom_command('list-service', 'devicescloudprint_list_service')
        g.custom_command('list-share', 'devicescloudprint_list_share')
        g.custom_command('list-task-definition', 'devicescloudprint_list_task_definition')
        g.custom_command('update-connector', 'devicescloudprint_update_connector')
        g.custom_command('update-operation', 'devicescloudprint_update_operation')
        g.custom_command('update-printer', 'devicescloudprint_update_printer')
        g.custom_command('update-printer-share', 'devicescloudprint_update_printer_share')
        g.custom_command('update-report', 'devicescloudprint_update_report')
        g.custom_command('update-service', 'devicescloudprint_update_service')
        g.custom_command('update-share', 'devicescloudprint_update_share')
        g.custom_command('update-task-definition', 'devicescloudprint_update_task_definition')

    from azext_devicescloudprint_beta.generated._client_factory import cf_print_printer
    devicescloudprint_beta_print_printer = CliCommandType(
        operations_tmpl='azext_devicescloudprint_beta.vendored_sdks.devicescloudprint.operations._print_printer_operati'
        'ons#PrintPrinterOperations.{}',
        client_factory=cf_print_printer)
    with self.command_group('devicescloudprint', devicescloudprint_beta_print_printer,
                            client_factory=cf_print_printer) as g:
        g.custom_command('create', 'devicescloudprint_create')
        g.custom_command('delete', 'devicescloudprint_delete', confirmation=True)
        g.custom_command('create-allowed-group', 'devicescloudprint_create_allowed_group')
        g.custom_command('create-allowed-user', 'devicescloudprint_create_allowed_user')
        g.custom_command('create-ref-connector', 'devicescloudprint_create_ref_connector')
        g.custom_command('create-ref-share', 'devicescloudprint_create_ref_share')
        g.custom_command('create-task-trigger', 'devicescloudprint_create_task_trigger')
        g.custom_command('get-allowed-group', 'devicescloudprint_get_allowed_group')
        g.custom_command('get-allowed-user', 'devicescloudprint_get_allowed_user')
        g.custom_command('get-capability', 'devicescloudprint_get_capability')
        g.custom_command('get-ref-share', 'devicescloudprint_get_ref_share')
        g.custom_command('get-share', 'devicescloudprint_get_share')
        g.custom_command('get-task-trigger', 'devicescloudprint_get_task_trigger')
        g.custom_command('list-allowed-group', 'devicescloudprint_list_allowed_group')
        g.custom_command('list-allowed-user', 'devicescloudprint_list_allowed_user')
        g.custom_command('list-connector', 'devicescloudprint_list_connector')
        g.custom_command('list-ref-connector', 'devicescloudprint_list_ref_connector')
        g.custom_command('list-ref-share', 'devicescloudprint_list_ref_share')
        g.custom_command('list-share', 'devicescloudprint_list_share')
        g.custom_command('list-task-trigger', 'devicescloudprint_list_task_trigger')
        g.custom_command('reset-default', 'devicescloudprint_reset_default')
        g.custom_command('restore-factory-default', 'devicescloudprint_restore_factory_default')
        g.custom_command('set-ref-share', 'devicescloudprint_set_ref_share')
        g.custom_command('update-allowed-group', 'devicescloudprint_update_allowed_group')
        g.custom_command('update-allowed-user', 'devicescloudprint_update_allowed_user')
        g.custom_command('update-task-trigger', 'devicescloudprint_update_task_trigger')

    from azext_devicescloudprint_beta.generated._client_factory import cf_print_printer_task_trigger
    devicescloudprint_beta_print_printer_task_trigger = CliCommandType(
        operations_tmpl='azext_devicescloudprint_beta.vendored_sdks.devicescloudprint.operations._print_printer_task_tr'
        'igger_operations#PrintPrinterTaskTriggerOperations.{}',
        client_factory=cf_print_printer_task_trigger)
    with self.command_group('devicescloudprint', devicescloudprint_beta_print_printer_task_trigger,
                            client_factory=cf_print_printer_task_trigger) as g:
        g.custom_command('delete', 'devicescloudprint_delete', confirmation=True)
        g.custom_command('get-definition', 'devicescloudprint_get_definition')
        g.custom_command('get-ref-definition', 'devicescloudprint_get_ref_definition')
        g.custom_command('set-ref-definition', 'devicescloudprint_set_ref_definition')

    from azext_devicescloudprint_beta.generated._client_factory import cf_print_printer_share
    devicescloudprint_beta_print_printer_share = CliCommandType(
        operations_tmpl='azext_devicescloudprint_beta.vendored_sdks.devicescloudprint.operations._print_printer_share_o'
        'perations#PrintPrinterShareOperations.{}',
        client_factory=cf_print_printer_share)
    with self.command_group('devicescloudprint', devicescloudprint_beta_print_printer_share,
                            client_factory=cf_print_printer_share) as g:
        g.custom_command('delete', 'devicescloudprint_delete', confirmation=True)
        g.custom_command('create-allowed-group', 'devicescloudprint_create_allowed_group')
        g.custom_command('create-allowed-user', 'devicescloudprint_create_allowed_user')
        g.custom_command('get-allowed-group', 'devicescloudprint_get_allowed_group')
        g.custom_command('get-allowed-user', 'devicescloudprint_get_allowed_user')
        g.custom_command('get-printer', 'devicescloudprint_get_printer')
        g.custom_command('get-ref-printer', 'devicescloudprint_get_ref_printer')
        g.custom_command('list-allowed-group', 'devicescloudprint_list_allowed_group')
        g.custom_command('list-allowed-user', 'devicescloudprint_list_allowed_user')
        g.custom_command('set-ref-printer', 'devicescloudprint_set_ref_printer')
        g.custom_command('update-allowed-group', 'devicescloudprint_update_allowed_group')
        g.custom_command('update-allowed-user', 'devicescloudprint_update_allowed_user')

    from azext_devicescloudprint_beta.generated._client_factory import cf_print_printer_share_printer
    devicescloudprint_beta_print_printer_share_printer = CliCommandType(
        operations_tmpl='azext_devicescloudprint_beta.vendored_sdks.devicescloudprint.operations._print_printer_share_p'
        'rinter_operations#PrintPrinterSharePrinterOperations.{}',
        client_factory=cf_print_printer_share_printer)
    with self.command_group('devicescloudprint', devicescloudprint_beta_print_printer_share_printer,
                            client_factory=cf_print_printer_share_printer) as g:
        g.custom_command('get-capability', 'devicescloudprint_get_capability')
        g.custom_command('reset-default', 'devicescloudprint_reset_default')
        g.custom_command('restore-factory-default', 'devicescloudprint_restore_factory_default')

    from azext_devicescloudprint_beta.generated._client_factory import cf_print_report
    devicescloudprint_beta_print_report = CliCommandType(
        operations_tmpl='azext_devicescloudprint_beta.vendored_sdks.devicescloudprint.operations._print_report_operatio'
        'ns#PrintReportOperations.{}',
        client_factory=cf_print_report)
    with self.command_group('devicescloudprint', devicescloudprint_beta_print_report,
                            client_factory=cf_print_report) as g:
        g.custom_command('get-group-archived-print-job', 'devicescloudprint_get_group_archived_print_job')
        g.custom_command('get-group-print-usage-summary', 'devicescloudprint_get_group_print_usage_summary')
        g.custom_command('get-overall-print-usage-summary', 'devicescloudprint_get_overall_print_usage_summary')
        g.custom_command('get-print-usage-summary-by-group', 'devicescloudprint_get_print_usage_summary_by_group')
        g.custom_command('get-print-usage-summary-by-printer', 'devicescloudprint_get_print_usage_summary_by_printer')
        g.custom_command('get-print-usage-summary-by-time-span', 'devicescloudprint_get_print_usage_summary_by_time_spa'
                         'n')
        g.custom_command('get-print-usage-summary-by-user', 'devicescloudprint_get_print_usage_summary_by_user')
        g.custom_command('get-printer-archived-print-job', 'devicescloudprint_get_printer_archived_print_job')
        g.custom_command('get-printer-usage-summary', 'devicescloudprint_get_printer_usage_summary')
        g.custom_command('get-user-archived-print-job', 'devicescloudprint_get_user_archived_print_job')
        g.custom_command('get-user-print-usage-summary', 'devicescloudprint_get_user_print_usage_summary')

    from azext_devicescloudprint_beta.generated._client_factory import cf_print_service
    devicescloudprint_beta_print_service = CliCommandType(
        operations_tmpl='azext_devicescloudprint_beta.vendored_sdks.devicescloudprint.operations._print_service_operati'
        'ons#PrintServiceOperations.{}',
        client_factory=cf_print_service)
    with self.command_group('devicescloudprint', devicescloudprint_beta_print_service,
                            client_factory=cf_print_service) as g:
        g.custom_command('delete', 'devicescloudprint_delete', confirmation=True)
        g.custom_command('create-endpoint', 'devicescloudprint_create_endpoint')
        g.custom_command('get-endpoint', 'devicescloudprint_get_endpoint')
        g.custom_command('list-endpoint', 'devicescloudprint_list_endpoint')
        g.custom_command('update-endpoint', 'devicescloudprint_update_endpoint')

    from azext_devicescloudprint_beta.generated._client_factory import cf_print_share
    devicescloudprint_beta_print_share = CliCommandType(
        operations_tmpl='azext_devicescloudprint_beta.vendored_sdks.devicescloudprint.operations._print_share_operation'
        's#PrintShareOperations.{}',
        client_factory=cf_print_share)
    with self.command_group('devicescloudprint', devicescloudprint_beta_print_share,
                            client_factory=cf_print_share) as g:
        g.custom_command('delete', 'devicescloudprint_delete', confirmation=True)
        g.custom_command('create-allowed-group', 'devicescloudprint_create_allowed_group')
        g.custom_command('create-allowed-user', 'devicescloudprint_create_allowed_user')
        g.custom_command('get-allowed-group', 'devicescloudprint_get_allowed_group')
        g.custom_command('get-allowed-user', 'devicescloudprint_get_allowed_user')
        g.custom_command('get-printer', 'devicescloudprint_get_printer')
        g.custom_command('get-ref-printer', 'devicescloudprint_get_ref_printer')
        g.custom_command('list-allowed-group', 'devicescloudprint_list_allowed_group')
        g.custom_command('list-allowed-user', 'devicescloudprint_list_allowed_user')
        g.custom_command('set-ref-printer', 'devicescloudprint_set_ref_printer')
        g.custom_command('update-allowed-group', 'devicescloudprint_update_allowed_group')
        g.custom_command('update-allowed-user', 'devicescloudprint_update_allowed_user')

    from azext_devicescloudprint_beta.generated._client_factory import cf_print_share_printer
    devicescloudprint_beta_print_share_printer = CliCommandType(
        operations_tmpl='azext_devicescloudprint_beta.vendored_sdks.devicescloudprint.operations._print_share_printer_o'
        'perations#PrintSharePrinterOperations.{}',
        client_factory=cf_print_share_printer)
    with self.command_group('devicescloudprint', devicescloudprint_beta_print_share_printer,
                            client_factory=cf_print_share_printer) as g:
        g.custom_command('get-capability', 'devicescloudprint_get_capability')
        g.custom_command('reset-default', 'devicescloudprint_reset_default')
        g.custom_command('restore-factory-default', 'devicescloudprint_restore_factory_default')

    from azext_devicescloudprint_beta.generated._client_factory import cf_print_task_definition
    devicescloudprint_beta_print_task_definition = CliCommandType(
        operations_tmpl='azext_devicescloudprint_beta.vendored_sdks.devicescloudprint.operations._print_task_definition'
        '_operations#PrintTaskDefinitionOperations.{}',
        client_factory=cf_print_task_definition)
    with self.command_group('devicescloudprint', devicescloudprint_beta_print_task_definition,
                            client_factory=cf_print_task_definition) as g:
        g.custom_command('delete', 'devicescloudprint_delete', confirmation=True)
        g.custom_command('create-task', 'devicescloudprint_create_task')
        g.custom_command('get-task', 'devicescloudprint_get_task')
        g.custom_command('list-task', 'devicescloudprint_list_task')
        g.custom_command('update-task', 'devicescloudprint_update_task')

    from azext_devicescloudprint_beta.generated._client_factory import cf_print_task_definition_task
    devicescloudprint_beta_print_task_definition_task = CliCommandType(
        operations_tmpl='azext_devicescloudprint_beta.vendored_sdks.devicescloudprint.operations._print_task_definition'
        '_task_operations#PrintTaskDefinitionTaskOperations.{}',
        client_factory=cf_print_task_definition_task)
    with self.command_group('devicescloudprint', devicescloudprint_beta_print_task_definition_task,
                            client_factory=cf_print_task_definition_task) as g:
        g.custom_command('delete', 'devicescloudprint_delete', confirmation=True)
        g.custom_command('get-definition', 'devicescloudprint_get_definition')
        g.custom_command('get-ref-definition', 'devicescloudprint_get_ref_definition')
        g.custom_command('get-ref-trigger', 'devicescloudprint_get_ref_trigger')
        g.custom_command('get-trigger', 'devicescloudprint_get_trigger')
        g.custom_command('set-ref-definition', 'devicescloudprint_set_ref_definition')
        g.custom_command('set-ref-trigger', 'devicescloudprint_set_ref_trigger')
Esempio n. 24
0
def load_command_table(self, _):

    from azext_planner_v1_0.generated._client_factory import cf_group
    planner_v1_0_group = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._group_operations#GroupOperations.{}',
        client_factory=cf_group)
    with self.command_group('planner', planner_v1_0_group, client_factory=cf_group) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('get-planner', 'planner_get_planner')
        g.custom_command('update-planner', 'planner_update_planner')

    from azext_planner_v1_0.generated._client_factory import cf_group_planner
    planner_v1_0_group_planner = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._group_planner_operations#GroupPlannerOper'
        'ations.{}',
        client_factory=cf_group_planner)
    with self.command_group('planner', planner_v1_0_group_planner, client_factory=cf_group_planner) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('create-plan', 'planner_create_plan')
        g.custom_command('get-plan', 'planner_get_plan')
        g.custom_command('list-plan', 'planner_list_plan')
        g.custom_command('update-plan', 'planner_update_plan')

    from azext_planner_v1_0.generated._client_factory import cf_group_planner_plan
    planner_v1_0_group_planner_plan = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._group_planner_plan_operations#GroupPlanne'
        'rPlanOperations.{}',
        client_factory=cf_group_planner_plan)
    with self.command_group('planner', planner_v1_0_group_planner_plan, client_factory=cf_group_planner_plan) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('create-bucket', 'planner_create_bucket')
        g.custom_command('create-task', 'planner_create_task')
        g.custom_command('get-bucket', 'planner_get_bucket')
        g.custom_command('get-detail', 'planner_get_detail')
        g.custom_command('get-task', 'planner_get_task')
        g.custom_command('list-bucket', 'planner_list_bucket')
        g.custom_command('list-task', 'planner_list_task')
        g.custom_command('update-bucket', 'planner_update_bucket')
        g.custom_command('update-detail', 'planner_update_detail')
        g.custom_command('update-task', 'planner_update_task')

    from azext_planner_v1_0.generated._client_factory import cf_group_planner_plan_bucket
    planner_v1_0_group_planner_plan_bucket = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._group_planner_plan_bucket_operations#Grou'
        'pPlannerPlanBucketOperations.{}',
        client_factory=cf_group_planner_plan_bucket)
    with self.command_group('planner', planner_v1_0_group_planner_plan_bucket,
                            client_factory=cf_group_planner_plan_bucket) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('create-task', 'planner_create_task')
        g.custom_command('get-task', 'planner_get_task')
        g.custom_command('list-task', 'planner_list_task')
        g.custom_command('update-task', 'planner_update_task')

    from azext_planner_v1_0.generated._client_factory import cf_group_planner_plan_bucket_task
    planner_v1_0_group_planner_plan_bucket_task = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._group_planner_plan_bucket_task_operations'
        '#GroupPlannerPlanBucketTaskOperations.{}',
        client_factory=cf_group_planner_plan_bucket_task)
    with self.command_group('planner', planner_v1_0_group_planner_plan_bucket_task,
                            client_factory=cf_group_planner_plan_bucket_task) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('get-assigned-to-task-board-format', 'planner_get_assigned_to_task_board_format')
        g.custom_command('get-bucket-task-board-format', 'planner_get_bucket_task_board_format')
        g.custom_command('get-detail', 'planner_get_detail')
        g.custom_command('get-progress-task-board-format', 'planner_get_progress_task_board_format')
        g.custom_command('update-assigned-to-task-board-format', 'planner_update_assigned_to_task_board_format')
        g.custom_command('update-bucket-task-board-format', 'planner_update_bucket_task_board_format')
        g.custom_command('update-detail', 'planner_update_detail')
        g.custom_command('update-progress-task-board-format', 'planner_update_progress_task_board_format')

    from azext_planner_v1_0.generated._client_factory import cf_group_planner_plan_task
    planner_v1_0_group_planner_plan_task = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._group_planner_plan_task_operations#GroupP'
        'lannerPlanTaskOperations.{}',
        client_factory=cf_group_planner_plan_task)
    with self.command_group('planner', planner_v1_0_group_planner_plan_task,
                            client_factory=cf_group_planner_plan_task) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('get-assigned-to-task-board-format', 'planner_get_assigned_to_task_board_format')
        g.custom_command('get-bucket-task-board-format', 'planner_get_bucket_task_board_format')
        g.custom_command('get-detail', 'planner_get_detail')
        g.custom_command('get-progress-task-board-format', 'planner_get_progress_task_board_format')
        g.custom_command('update-assigned-to-task-board-format', 'planner_update_assigned_to_task_board_format')
        g.custom_command('update-bucket-task-board-format', 'planner_update_bucket_task_board_format')
        g.custom_command('update-detail', 'planner_update_detail')
        g.custom_command('update-progress-task-board-format', 'planner_update_progress_task_board_format')

    from azext_planner_v1_0.generated._client_factory import cf_planner_planner
    planner_v1_0_planner_planner = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._planner_planner_operations#PlannerPlanner'
        'Operations.{}',
        client_factory=cf_planner_planner)
    with self.command_group('planner', planner_v1_0_planner_planner, client_factory=cf_planner_planner) as g:
        g.custom_command('get-planner', 'planner_get_planner')
        g.custom_command('update-planner', 'planner_update_planner')

    from azext_planner_v1_0.generated._client_factory import cf_planner
    planner_v1_0_planner = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._planner_operations#PlannerOperations.{}',
        client_factory=cf_planner)
    with self.command_group('planner', planner_v1_0_planner, client_factory=cf_planner) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('create-bucket', 'planner_create_bucket')
        g.custom_command('create-plan', 'planner_create_plan')
        g.custom_command('create-task', 'planner_create_task')
        g.custom_command('get-bucket', 'planner_get_bucket')
        g.custom_command('get-plan', 'planner_get_plan')
        g.custom_command('get-task', 'planner_get_task')
        g.custom_command('list-bucket', 'planner_list_bucket')
        g.custom_command('list-plan', 'planner_list_plan')
        g.custom_command('list-task', 'planner_list_task')
        g.custom_command('update-bucket', 'planner_update_bucket')
        g.custom_command('update-plan', 'planner_update_plan')
        g.custom_command('update-task', 'planner_update_task')

    from azext_planner_v1_0.generated._client_factory import cf_planner_bucket
    planner_v1_0_planner_bucket = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._planner_bucket_operations#PlannerBucketOp'
        'erations.{}',
        client_factory=cf_planner_bucket)
    with self.command_group('planner', planner_v1_0_planner_bucket, client_factory=cf_planner_bucket) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('create-task', 'planner_create_task')
        g.custom_command('get-task', 'planner_get_task')
        g.custom_command('list-task', 'planner_list_task')
        g.custom_command('update-task', 'planner_update_task')

    from azext_planner_v1_0.generated._client_factory import cf_planner_bucket_task
    planner_v1_0_planner_bucket_task = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._planner_bucket_task_operations#PlannerBuc'
        'ketTaskOperations.{}',
        client_factory=cf_planner_bucket_task)
    with self.command_group('planner', planner_v1_0_planner_bucket_task, client_factory=cf_planner_bucket_task) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('get-assigned-to-task-board-format', 'planner_get_assigned_to_task_board_format')
        g.custom_command('get-bucket-task-board-format', 'planner_get_bucket_task_board_format')
        g.custom_command('get-detail', 'planner_get_detail')
        g.custom_command('get-progress-task-board-format', 'planner_get_progress_task_board_format')
        g.custom_command('update-assigned-to-task-board-format', 'planner_update_assigned_to_task_board_format')
        g.custom_command('update-bucket-task-board-format', 'planner_update_bucket_task_board_format')
        g.custom_command('update-detail', 'planner_update_detail')
        g.custom_command('update-progress-task-board-format', 'planner_update_progress_task_board_format')

    from azext_planner_v1_0.generated._client_factory import cf_planner_plan
    planner_v1_0_planner_plan = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._planner_plan_operations#PlannerPlanOperat'
        'ions.{}',
        client_factory=cf_planner_plan)
    with self.command_group('planner', planner_v1_0_planner_plan, client_factory=cf_planner_plan) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('create-bucket', 'planner_create_bucket')
        g.custom_command('create-task', 'planner_create_task')
        g.custom_command('get-bucket', 'planner_get_bucket')
        g.custom_command('get-detail', 'planner_get_detail')
        g.custom_command('get-task', 'planner_get_task')
        g.custom_command('list-bucket', 'planner_list_bucket')
        g.custom_command('list-task', 'planner_list_task')
        g.custom_command('update-bucket', 'planner_update_bucket')
        g.custom_command('update-detail', 'planner_update_detail')
        g.custom_command('update-task', 'planner_update_task')

    from azext_planner_v1_0.generated._client_factory import cf_planner_plan_bucket
    planner_v1_0_planner_plan_bucket = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._planner_plan_bucket_operations#PlannerPla'
        'nBucketOperations.{}',
        client_factory=cf_planner_plan_bucket)
    with self.command_group('planner', planner_v1_0_planner_plan_bucket, client_factory=cf_planner_plan_bucket) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('create-task', 'planner_create_task')
        g.custom_command('get-task', 'planner_get_task')
        g.custom_command('list-task', 'planner_list_task')
        g.custom_command('update-task', 'planner_update_task')

    from azext_planner_v1_0.generated._client_factory import cf_planner_plan_bucket_task
    planner_v1_0_planner_plan_bucket_task = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._planner_plan_bucket_task_operations#Plann'
        'erPlanBucketTaskOperations.{}',
        client_factory=cf_planner_plan_bucket_task)
    with self.command_group('planner', planner_v1_0_planner_plan_bucket_task,
                            client_factory=cf_planner_plan_bucket_task) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('get-assigned-to-task-board-format', 'planner_get_assigned_to_task_board_format')
        g.custom_command('get-bucket-task-board-format', 'planner_get_bucket_task_board_format')
        g.custom_command('get-detail', 'planner_get_detail')
        g.custom_command('get-progress-task-board-format', 'planner_get_progress_task_board_format')
        g.custom_command('update-assigned-to-task-board-format', 'planner_update_assigned_to_task_board_format')
        g.custom_command('update-bucket-task-board-format', 'planner_update_bucket_task_board_format')
        g.custom_command('update-detail', 'planner_update_detail')
        g.custom_command('update-progress-task-board-format', 'planner_update_progress_task_board_format')

    from azext_planner_v1_0.generated._client_factory import cf_planner_plan_task
    planner_v1_0_planner_plan_task = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._planner_plan_task_operations#PlannerPlanT'
        'askOperations.{}',
        client_factory=cf_planner_plan_task)
    with self.command_group('planner', planner_v1_0_planner_plan_task, client_factory=cf_planner_plan_task) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('get-assigned-to-task-board-format', 'planner_get_assigned_to_task_board_format')
        g.custom_command('get-bucket-task-board-format', 'planner_get_bucket_task_board_format')
        g.custom_command('get-detail', 'planner_get_detail')
        g.custom_command('get-progress-task-board-format', 'planner_get_progress_task_board_format')
        g.custom_command('update-assigned-to-task-board-format', 'planner_update_assigned_to_task_board_format')
        g.custom_command('update-bucket-task-board-format', 'planner_update_bucket_task_board_format')
        g.custom_command('update-detail', 'planner_update_detail')
        g.custom_command('update-progress-task-board-format', 'planner_update_progress_task_board_format')

    from azext_planner_v1_0.generated._client_factory import cf_planner_task
    planner_v1_0_planner_task = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._planner_task_operations#PlannerTaskOperat'
        'ions.{}',
        client_factory=cf_planner_task)
    with self.command_group('planner', planner_v1_0_planner_task, client_factory=cf_planner_task) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('get-assigned-to-task-board-format', 'planner_get_assigned_to_task_board_format')
        g.custom_command('get-bucket-task-board-format', 'planner_get_bucket_task_board_format')
        g.custom_command('get-detail', 'planner_get_detail')
        g.custom_command('get-progress-task-board-format', 'planner_get_progress_task_board_format')
        g.custom_command('update-assigned-to-task-board-format', 'planner_update_assigned_to_task_board_format')
        g.custom_command('update-bucket-task-board-format', 'planner_update_bucket_task_board_format')
        g.custom_command('update-detail', 'planner_update_detail')
        g.custom_command('update-progress-task-board-format', 'planner_update_progress_task_board_format')

    from azext_planner_v1_0.generated._client_factory import cf_user
    planner_v1_0_user = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._user_operations#UserOperations.{}',
        client_factory=cf_user)
    with self.command_group('planner', planner_v1_0_user, client_factory=cf_user) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('get-planner', 'planner_get_planner')
        g.custom_command('update-planner', 'planner_update_planner')

    from azext_planner_v1_0.generated._client_factory import cf_user_planner
    planner_v1_0_user_planner = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._user_planner_operations#UserPlannerOperat'
        'ions.{}',
        client_factory=cf_user_planner)
    with self.command_group('planner', planner_v1_0_user_planner, client_factory=cf_user_planner) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('create-plan', 'planner_create_plan')
        g.custom_command('create-task', 'planner_create_task')
        g.custom_command('get-plan', 'planner_get_plan')
        g.custom_command('get-task', 'planner_get_task')
        g.custom_command('list-plan', 'planner_list_plan')
        g.custom_command('list-task', 'planner_list_task')
        g.custom_command('update-plan', 'planner_update_plan')
        g.custom_command('update-task', 'planner_update_task')

    from azext_planner_v1_0.generated._client_factory import cf_user_planner_plan
    planner_v1_0_user_planner_plan = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._user_planner_plan_operations#UserPlannerP'
        'lanOperations.{}',
        client_factory=cf_user_planner_plan)
    with self.command_group('planner', planner_v1_0_user_planner_plan, client_factory=cf_user_planner_plan) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('create-bucket', 'planner_create_bucket')
        g.custom_command('create-task', 'planner_create_task')
        g.custom_command('get-bucket', 'planner_get_bucket')
        g.custom_command('get-detail', 'planner_get_detail')
        g.custom_command('get-task', 'planner_get_task')
        g.custom_command('list-bucket', 'planner_list_bucket')
        g.custom_command('list-task', 'planner_list_task')
        g.custom_command('update-bucket', 'planner_update_bucket')
        g.custom_command('update-detail', 'planner_update_detail')
        g.custom_command('update-task', 'planner_update_task')

    from azext_planner_v1_0.generated._client_factory import cf_user_planner_plan_bucket
    planner_v1_0_user_planner_plan_bucket = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._user_planner_plan_bucket_operations#UserP'
        'lannerPlanBucketOperations.{}',
        client_factory=cf_user_planner_plan_bucket)
    with self.command_group('planner', planner_v1_0_user_planner_plan_bucket,
                            client_factory=cf_user_planner_plan_bucket) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('create-task', 'planner_create_task')
        g.custom_command('get-task', 'planner_get_task')
        g.custom_command('list-task', 'planner_list_task')
        g.custom_command('update-task', 'planner_update_task')

    from azext_planner_v1_0.generated._client_factory import cf_user_planner_plan_bucket_task
    planner_v1_0_user_planner_plan_bucket_task = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._user_planner_plan_bucket_task_operations#'
        'UserPlannerPlanBucketTaskOperations.{}',
        client_factory=cf_user_planner_plan_bucket_task)
    with self.command_group('planner', planner_v1_0_user_planner_plan_bucket_task,
                            client_factory=cf_user_planner_plan_bucket_task) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('get-assigned-to-task-board-format', 'planner_get_assigned_to_task_board_format')
        g.custom_command('get-bucket-task-board-format', 'planner_get_bucket_task_board_format')
        g.custom_command('get-detail', 'planner_get_detail')
        g.custom_command('get-progress-task-board-format', 'planner_get_progress_task_board_format')
        g.custom_command('update-assigned-to-task-board-format', 'planner_update_assigned_to_task_board_format')
        g.custom_command('update-bucket-task-board-format', 'planner_update_bucket_task_board_format')
        g.custom_command('update-detail', 'planner_update_detail')
        g.custom_command('update-progress-task-board-format', 'planner_update_progress_task_board_format')

    from azext_planner_v1_0.generated._client_factory import cf_user_planner_plan_task
    planner_v1_0_user_planner_plan_task = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._user_planner_plan_task_operations#UserPla'
        'nnerPlanTaskOperations.{}',
        client_factory=cf_user_planner_plan_task)
    with self.command_group('planner', planner_v1_0_user_planner_plan_task,
                            client_factory=cf_user_planner_plan_task) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('get-assigned-to-task-board-format', 'planner_get_assigned_to_task_board_format')
        g.custom_command('get-bucket-task-board-format', 'planner_get_bucket_task_board_format')
        g.custom_command('get-detail', 'planner_get_detail')
        g.custom_command('get-progress-task-board-format', 'planner_get_progress_task_board_format')
        g.custom_command('update-assigned-to-task-board-format', 'planner_update_assigned_to_task_board_format')
        g.custom_command('update-bucket-task-board-format', 'planner_update_bucket_task_board_format')
        g.custom_command('update-detail', 'planner_update_detail')
        g.custom_command('update-progress-task-board-format', 'planner_update_progress_task_board_format')

    from azext_planner_v1_0.generated._client_factory import cf_user_planner_task
    planner_v1_0_user_planner_task = CliCommandType(
        operations_tmpl='azext_planner_v1_0.vendored_sdks.planner.operations._user_planner_task_operations#UserPlannerT'
        'askOperations.{}',
        client_factory=cf_user_planner_task)
    with self.command_group('planner', planner_v1_0_user_planner_task, client_factory=cf_user_planner_task) as g:
        g.custom_command('delete', 'planner_delete', confirmation=True)
        g.custom_command('get-assigned-to-task-board-format', 'planner_get_assigned_to_task_board_format')
        g.custom_command('get-bucket-task-board-format', 'planner_get_bucket_task_board_format')
        g.custom_command('get-detail', 'planner_get_detail')
        g.custom_command('get-progress-task-board-format', 'planner_get_progress_task_board_format')
        g.custom_command('update-assigned-to-task-board-format', 'planner_update_assigned_to_task_board_format')
        g.custom_command('update-bucket-task-board-format', 'planner_update_bucket_task_board_format')
        g.custom_command('update-detail', 'planner_update_detail')
        g.custom_command('update-progress-task-board-format', 'planner_update_progress_task_board_format')
Esempio n. 25
0
def load_command_table(self, _):

    from azext_education_beta.generated._client_factory import cf_education_education_root
    education_beta_education_education_root = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_education_root_operations#E'
        'ducationEducationRootOperations.{}',
        client_factory=cf_education_education_root)
    with self.command_group('education',
                            education_beta_education_education_root,
                            client_factory=cf_education_education_root) as g:
        g.custom_command('get-education-root', 'education_get_education_root')
        g.custom_command('update-education-root',
                         'education_update_education_root')

    from azext_education_beta.generated._client_factory import cf_education
    education_beta_education = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_operations#EducationOperati'
        'ons.{}',
        client_factory=cf_education)
    with self.command_group('education',
                            education_beta_education,
                            client_factory=cf_education) as g:
        g.custom_command('delete', 'education_delete', confirmation=True)
        g.custom_command('create-class', 'education_create_class')
        g.custom_command('create-school', 'education_create_school')
        g.custom_command('create-synchronization-profile',
                         'education_create_synchronization_profile')
        g.custom_command('create-user', 'education_create_user')
        g.custom_command('get-class', 'education_get_class')
        g.custom_command('get-me', 'education_get_me')
        g.custom_command('get-school', 'education_get_school')
        g.custom_command('get-synchronization-profile',
                         'education_get_synchronization_profile')
        g.custom_command('get-user', 'education_get_user')
        g.custom_command('list-class', 'education_list_class')
        g.custom_command('list-school', 'education_list_school')
        g.custom_command('list-synchronization-profile',
                         'education_list_synchronization_profile')
        g.custom_command('list-user', 'education_list_user')
        g.custom_command('update-class', 'education_update_class')
        g.custom_command('update-me', 'education_update_me')
        g.custom_command('update-school', 'education_update_school')
        g.custom_command('update-synchronization-profile',
                         'education_update_synchronization_profile')
        g.custom_command('update-user', 'education_update_user')

    from azext_education_beta.generated._client_factory import cf_education_class
    education_beta_education_class = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_class_operations#EducationC'
        'lassOperations.{}',
        client_factory=cf_education_class)
    with self.command_group('education',
                            education_beta_education_class,
                            client_factory=cf_education_class) as g:
        g.custom_command('delete', 'education_delete', confirmation=True)
        g.custom_command('create-assignment', 'education_create_assignment')
        g.custom_command('create-assignment-category',
                         'education_create_assignment_category')
        g.custom_command('create-ref-member', 'education_create_ref_member')
        g.custom_command('create-ref-school', 'education_create_ref_school')
        g.custom_command('create-ref-teacher', 'education_create_ref_teacher')
        g.custom_command('delta', 'education_delta')
        g.custom_command('get-assignment', 'education_get_assignment')
        g.custom_command('get-assignment-category',
                         'education_get_assignment_category')
        g.custom_command('get-group', 'education_get_group')
        g.custom_command('get-ref-group', 'education_get_ref_group')
        g.custom_command('list-assignment', 'education_list_assignment')
        g.custom_command('list-assignment-category',
                         'education_list_assignment_category')
        g.custom_command('list-member', 'education_list_member')
        g.custom_command('list-ref-member', 'education_list_ref_member')
        g.custom_command('list-ref-school', 'education_list_ref_school')
        g.custom_command('list-ref-teacher', 'education_list_ref_teacher')
        g.custom_command('list-school', 'education_list_school')
        g.custom_command('list-teacher', 'education_list_teacher')
        g.custom_command('set-ref-group', 'education_set_ref_group')
        g.custom_command('update-assignment', 'education_update_assignment')
        g.custom_command('update-assignment-category',
                         'education_update_assignment_category')

    from azext_education_beta.generated._client_factory import cf_education_class_assignment
    education_beta_education_class_assignment = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_class_assignment_operations'
        '#EducationClassAssignmentOperations.{}',
        client_factory=cf_education_class_assignment)
    with self.command_group('education',
                            education_beta_education_class_assignment,
                            client_factory=cf_education_class_assignment) as g:
        g.custom_command('delete', 'education_delete', confirmation=True)
        g.custom_command('create-category', 'education_create_category')
        g.custom_command('create-resource', 'education_create_resource')
        g.custom_command('create-submission', 'education_create_submission')
        g.custom_command('get-category', 'education_get_category')
        g.custom_command('get-resource', 'education_get_resource')
        g.custom_command('get-resource-folder-url',
                         'education_get_resource_folder_url')
        g.custom_command('get-rubric', 'education_get_rubric')
        g.custom_command('get-submission', 'education_get_submission')
        g.custom_command('list-category', 'education_list_category')
        g.custom_command('list-resource', 'education_list_resource')
        g.custom_command('list-submission', 'education_list_submission')
        g.custom_command('publish', 'education_publish')
        g.custom_command('update-category', 'education_update_category')
        g.custom_command('update-resource', 'education_update_resource')
        g.custom_command('update-rubric', 'education_update_rubric')
        g.custom_command('update-submission', 'education_update_submission')

    from azext_education_beta.generated._client_factory import cf_education_class_assignment_submission
    education_beta_education_class_assignment_submission = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_class_assignment_submission'
        '_operations#EducationClassAssignmentSubmissionOperations.{}',
        client_factory=cf_education_class_assignment_submission)
    with self.command_group(
            'education',
            education_beta_education_class_assignment_submission,
            client_factory=cf_education_class_assignment_submission) as g:
        g.custom_command('delete', 'education_delete', confirmation=True)
        g.custom_command('create-outcome', 'education_create_outcome')
        g.custom_command('create-resource', 'education_create_resource')
        g.custom_command('create-submitted-resource',
                         'education_create_submitted_resource')
        g.custom_command('get-outcome', 'education_get_outcome')
        g.custom_command('get-resource', 'education_get_resource')
        g.custom_command('get-submitted-resource',
                         'education_get_submitted_resource')
        g.custom_command('list-outcome', 'education_list_outcome')
        g.custom_command('list-resource', 'education_list_resource')
        g.custom_command('list-submitted-resource',
                         'education_list_submitted_resource')
        g.custom_command('return', 'education_return')
        g.custom_command('submit', 'education_submit')
        g.custom_command('unsubmit', 'education_unsubmit')
        g.custom_command('update-outcome', 'education_update_outcome')
        g.custom_command('update-resource', 'education_update_resource')
        g.custom_command('update-submitted-resource',
                         'education_update_submitted_resource')

    from azext_education_beta.generated._client_factory import cf_education_class_member
    education_beta_education_class_member = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_class_member_operations#Edu'
        'cationClassMemberOperations.{}',
        client_factory=cf_education_class_member)
    with self.command_group('education',
                            education_beta_education_class_member,
                            client_factory=cf_education_class_member) as g:
        g.custom_command('delta', 'education_delta')

    from azext_education_beta.generated._client_factory import cf_education_class_school
    education_beta_education_class_school = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_class_school_operations#Edu'
        'cationClassSchoolOperations.{}',
        client_factory=cf_education_class_school)
    with self.command_group('education',
                            education_beta_education_class_school,
                            client_factory=cf_education_class_school) as g:
        g.custom_command('delta', 'education_delta')

    from azext_education_beta.generated._client_factory import cf_education_class_teacher
    education_beta_education_class_teacher = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_class_teacher_operations#Ed'
        'ucationClassTeacherOperations.{}',
        client_factory=cf_education_class_teacher)
    with self.command_group('education',
                            education_beta_education_class_teacher,
                            client_factory=cf_education_class_teacher) as g:
        g.custom_command('delta', 'education_delta')

    from azext_education_beta.generated._client_factory import cf_education_me
    education_beta_education_me = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_me_operations#EducationMeOp'
        'erations.{}',
        client_factory=cf_education_me)
    with self.command_group('education',
                            education_beta_education_me,
                            client_factory=cf_education_me) as g:
        g.custom_command('delete', 'education_delete', confirmation=True)
        g.custom_command('create-assignment', 'education_create_assignment')
        g.custom_command('create-ref-class', 'education_create_ref_class')
        g.custom_command('create-ref-school', 'education_create_ref_school')
        g.custom_command('create-ref-taught-class',
                         'education_create_ref_taught_class')
        g.custom_command('create-rubric', 'education_create_rubric')
        g.custom_command('get-assignment', 'education_get_assignment')
        g.custom_command('get-ref-user', 'education_get_ref_user')
        g.custom_command('get-rubric', 'education_get_rubric')
        g.custom_command('get-user', 'education_get_user')
        g.custom_command('list-assignment', 'education_list_assignment')
        g.custom_command('list-class', 'education_list_class')
        g.custom_command('list-ref-class', 'education_list_ref_class')
        g.custom_command('list-ref-school', 'education_list_ref_school')
        g.custom_command('list-ref-taught-class',
                         'education_list_ref_taught_class')
        g.custom_command('list-rubric', 'education_list_rubric')
        g.custom_command('list-school', 'education_list_school')
        g.custom_command('list-taught-class', 'education_list_taught_class')
        g.custom_command('set-ref-user', 'education_set_ref_user')
        g.custom_command('update-assignment', 'education_update_assignment')
        g.custom_command('update-rubric', 'education_update_rubric')

    from azext_education_beta.generated._client_factory import cf_education_me_assignment
    education_beta_education_me_assignment = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_me_assignment_operations#Ed'
        'ucationMeAssignmentOperations.{}',
        client_factory=cf_education_me_assignment)
    with self.command_group('education',
                            education_beta_education_me_assignment,
                            client_factory=cf_education_me_assignment) as g:
        g.custom_command('delete', 'education_delete', confirmation=True)
        g.custom_command('create-category', 'education_create_category')
        g.custom_command('create-resource', 'education_create_resource')
        g.custom_command('create-submission', 'education_create_submission')
        g.custom_command('get-category', 'education_get_category')
        g.custom_command('get-resource', 'education_get_resource')
        g.custom_command('get-resource-folder-url',
                         'education_get_resource_folder_url')
        g.custom_command('get-rubric', 'education_get_rubric')
        g.custom_command('get-submission', 'education_get_submission')
        g.custom_command('list-category', 'education_list_category')
        g.custom_command('list-resource', 'education_list_resource')
        g.custom_command('list-submission', 'education_list_submission')
        g.custom_command('publish', 'education_publish')
        g.custom_command('update-category', 'education_update_category')
        g.custom_command('update-resource', 'education_update_resource')
        g.custom_command('update-rubric', 'education_update_rubric')
        g.custom_command('update-submission', 'education_update_submission')

    from azext_education_beta.generated._client_factory import cf_education_me_assignment_submission
    education_beta_education_me_assignment_submission = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_me_assignment_submission_op'
        'erations#EducationMeAssignmentSubmissionOperations.{}',
        client_factory=cf_education_me_assignment_submission)
    with self.command_group(
            'education',
            education_beta_education_me_assignment_submission,
            client_factory=cf_education_me_assignment_submission) as g:
        g.custom_command('delete', 'education_delete', confirmation=True)
        g.custom_command('create-outcome', 'education_create_outcome')
        g.custom_command('create-resource', 'education_create_resource')
        g.custom_command('create-submitted-resource',
                         'education_create_submitted_resource')
        g.custom_command('get-outcome', 'education_get_outcome')
        g.custom_command('get-resource', 'education_get_resource')
        g.custom_command('get-submitted-resource',
                         'education_get_submitted_resource')
        g.custom_command('list-outcome', 'education_list_outcome')
        g.custom_command('list-resource', 'education_list_resource')
        g.custom_command('list-submitted-resource',
                         'education_list_submitted_resource')
        g.custom_command('return', 'education_return')
        g.custom_command('submit', 'education_submit')
        g.custom_command('unsubmit', 'education_unsubmit')
        g.custom_command('update-outcome', 'education_update_outcome')
        g.custom_command('update-resource', 'education_update_resource')
        g.custom_command('update-submitted-resource',
                         'education_update_submitted_resource')

    from azext_education_beta.generated._client_factory import cf_education_me_class
    education_beta_education_me_class = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_me_class_operations#Educati'
        'onMeClassOperations.{}',
        client_factory=cf_education_me_class)
    with self.command_group('education',
                            education_beta_education_me_class,
                            client_factory=cf_education_me_class) as g:
        g.custom_command('delta', 'education_delta')

    from azext_education_beta.generated._client_factory import cf_education_me_school
    education_beta_education_me_school = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_me_school_operations#Educat'
        'ionMeSchoolOperations.{}',
        client_factory=cf_education_me_school)
    with self.command_group('education',
                            education_beta_education_me_school,
                            client_factory=cf_education_me_school) as g:
        g.custom_command('delta', 'education_delta')

    from azext_education_beta.generated._client_factory import cf_education_me_taught_class
    education_beta_education_me_taught_class = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_me_taught_class_operations#'
        'EducationMeTaughtClassOperations.{}',
        client_factory=cf_education_me_taught_class)
    with self.command_group('education',
                            education_beta_education_me_taught_class,
                            client_factory=cf_education_me_taught_class) as g:
        g.custom_command('delta', 'education_delta')

    from azext_education_beta.generated._client_factory import cf_education_school
    education_beta_education_school = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_school_operations#Education'
        'SchoolOperations.{}',
        client_factory=cf_education_school)
    with self.command_group('education',
                            education_beta_education_school,
                            client_factory=cf_education_school) as g:
        g.custom_command('delete', 'education_delete', confirmation=True)
        g.custom_command('create-ref-class', 'education_create_ref_class')
        g.custom_command('create-ref-user', 'education_create_ref_user')
        g.custom_command('delta', 'education_delta')
        g.custom_command('get-administrative-unit',
                         'education_get_administrative_unit')
        g.custom_command('get-ref-administrative-unit',
                         'education_get_ref_administrative_unit')
        g.custom_command('list-class', 'education_list_class')
        g.custom_command('list-ref-class', 'education_list_ref_class')
        g.custom_command('list-ref-user', 'education_list_ref_user')
        g.custom_command('list-user', 'education_list_user')
        g.custom_command('set-ref-administrative-unit',
                         'education_set_ref_administrative_unit')

    from azext_education_beta.generated._client_factory import cf_education_school_class
    education_beta_education_school_class = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_school_class_operations#Edu'
        'cationSchoolClassOperations.{}',
        client_factory=cf_education_school_class)
    with self.command_group('education',
                            education_beta_education_school_class,
                            client_factory=cf_education_school_class) as g:
        g.custom_command('delta', 'education_delta')

    from azext_education_beta.generated._client_factory import cf_education_school_user
    education_beta_education_school_user = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_school_user_operations#Educ'
        'ationSchoolUserOperations.{}',
        client_factory=cf_education_school_user)
    with self.command_group('education',
                            education_beta_education_school_user,
                            client_factory=cf_education_school_user) as g:
        g.custom_command('delta', 'education_delta')

    from azext_education_beta.generated._client_factory import cf_education_synchronization_profile
    education_beta_education_synchronization_profile = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_synchronization_profile_ope'
        'rations#EducationSynchronizationProfileOperations.{}',
        client_factory=cf_education_synchronization_profile)
    with self.command_group(
            'education',
            education_beta_education_synchronization_profile,
            client_factory=cf_education_synchronization_profile) as g:
        g.custom_command('delete', 'education_delete', confirmation=True)
        g.custom_command('create-error', 'education_create_error')
        g.custom_command('get-error', 'education_get_error')
        g.custom_command('get-profile-status', 'education_get_profile_status')
        g.custom_command('list-error', 'education_list_error')
        g.custom_command('pause', 'education_pause')
        g.custom_command('reset', 'education_reset')
        g.custom_command('resume', 'education_resume')
        g.custom_command('start', 'education_start')
        g.custom_command('update-error', 'education_update_error')
        g.custom_command('update-profile-status',
                         'education_update_profile_status')
        g.custom_command('upload-url', 'education_upload_url')

    from azext_education_beta.generated._client_factory import cf_education_user
    education_beta_education_user = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_user_operations#EducationUs'
        'erOperations.{}',
        client_factory=cf_education_user)
    with self.command_group('education',
                            education_beta_education_user,
                            client_factory=cf_education_user) as g:
        g.custom_command('delete', 'education_delete', confirmation=True)
        g.custom_command('create-assignment', 'education_create_assignment')
        g.custom_command('create-ref-class', 'education_create_ref_class')
        g.custom_command('create-ref-school', 'education_create_ref_school')
        g.custom_command('create-ref-taught-class',
                         'education_create_ref_taught_class')
        g.custom_command('create-rubric', 'education_create_rubric')
        g.custom_command('delta', 'education_delta')
        g.custom_command('get-assignment', 'education_get_assignment')
        g.custom_command('get-ref-user', 'education_get_ref_user')
        g.custom_command('get-rubric', 'education_get_rubric')
        g.custom_command('get-user', 'education_get_user')
        g.custom_command('list-assignment', 'education_list_assignment')
        g.custom_command('list-class', 'education_list_class')
        g.custom_command('list-ref-class', 'education_list_ref_class')
        g.custom_command('list-ref-school', 'education_list_ref_school')
        g.custom_command('list-ref-taught-class',
                         'education_list_ref_taught_class')
        g.custom_command('list-rubric', 'education_list_rubric')
        g.custom_command('list-school', 'education_list_school')
        g.custom_command('list-taught-class', 'education_list_taught_class')
        g.custom_command('set-ref-user', 'education_set_ref_user')
        g.custom_command('update-assignment', 'education_update_assignment')
        g.custom_command('update-rubric', 'education_update_rubric')

    from azext_education_beta.generated._client_factory import cf_education_user_assignment
    education_beta_education_user_assignment = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_user_assignment_operations#'
        'EducationUserAssignmentOperations.{}',
        client_factory=cf_education_user_assignment)
    with self.command_group('education',
                            education_beta_education_user_assignment,
                            client_factory=cf_education_user_assignment) as g:
        g.custom_command('delete', 'education_delete', confirmation=True)
        g.custom_command('create-category', 'education_create_category')
        g.custom_command('create-resource', 'education_create_resource')
        g.custom_command('create-submission', 'education_create_submission')
        g.custom_command('get-category', 'education_get_category')
        g.custom_command('get-resource', 'education_get_resource')
        g.custom_command('get-resource-folder-url',
                         'education_get_resource_folder_url')
        g.custom_command('get-rubric', 'education_get_rubric')
        g.custom_command('get-submission', 'education_get_submission')
        g.custom_command('list-category', 'education_list_category')
        g.custom_command('list-resource', 'education_list_resource')
        g.custom_command('list-submission', 'education_list_submission')
        g.custom_command('publish', 'education_publish')
        g.custom_command('update-category', 'education_update_category')
        g.custom_command('update-resource', 'education_update_resource')
        g.custom_command('update-rubric', 'education_update_rubric')
        g.custom_command('update-submission', 'education_update_submission')

    from azext_education_beta.generated._client_factory import cf_education_user_assignment_submission
    education_beta_education_user_assignment_submission = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_user_assignment_submission_'
        'operations#EducationUserAssignmentSubmissionOperations.{}',
        client_factory=cf_education_user_assignment_submission)
    with self.command_group(
            'education',
            education_beta_education_user_assignment_submission,
            client_factory=cf_education_user_assignment_submission) as g:
        g.custom_command('delete', 'education_delete', confirmation=True)
        g.custom_command('create-outcome', 'education_create_outcome')
        g.custom_command('create-resource', 'education_create_resource')
        g.custom_command('create-submitted-resource',
                         'education_create_submitted_resource')
        g.custom_command('get-outcome', 'education_get_outcome')
        g.custom_command('get-resource', 'education_get_resource')
        g.custom_command('get-submitted-resource',
                         'education_get_submitted_resource')
        g.custom_command('list-outcome', 'education_list_outcome')
        g.custom_command('list-resource', 'education_list_resource')
        g.custom_command('list-submitted-resource',
                         'education_list_submitted_resource')
        g.custom_command('return', 'education_return')
        g.custom_command('submit', 'education_submit')
        g.custom_command('unsubmit', 'education_unsubmit')
        g.custom_command('update-outcome', 'education_update_outcome')
        g.custom_command('update-resource', 'education_update_resource')
        g.custom_command('update-submitted-resource',
                         'education_update_submitted_resource')

    from azext_education_beta.generated._client_factory import cf_education_user_class
    education_beta_education_user_class = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_user_class_operations#Educa'
        'tionUserClassOperations.{}',
        client_factory=cf_education_user_class)
    with self.command_group('education',
                            education_beta_education_user_class,
                            client_factory=cf_education_user_class) as g:
        g.custom_command('delta', 'education_delta')

    from azext_education_beta.generated._client_factory import cf_education_user_school
    education_beta_education_user_school = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_user_school_operations#Educ'
        'ationUserSchoolOperations.{}',
        client_factory=cf_education_user_school)
    with self.command_group('education',
                            education_beta_education_user_school,
                            client_factory=cf_education_user_school) as g:
        g.custom_command('delta', 'education_delta')

    from azext_education_beta.generated._client_factory import cf_education_user_taught_class
    education_beta_education_user_taught_class = CliCommandType(
        operations_tmpl=
        'azext_education_beta.vendored_sdks.education.operations._education_user_taught_class_operation'
        's#EducationUserTaughtClassOperations.{}',
        client_factory=cf_education_user_taught_class)
    with self.command_group(
            'education',
            education_beta_education_user_taught_class,
            client_factory=cf_education_user_taught_class) as g:
        g.custom_command('delta', 'education_delta')
Esempio n. 26
0
def load_command_table(self, _):

    from azext_teams_beta.generated._client_factory import cf_app_catalog
    teams_beta_app_catalog = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._app_catalog_operations#AppCatalogOperations.{'
        '}',
        client_factory=cf_app_catalog)
    with self.command_group('teams',
                            teams_beta_app_catalog,
                            client_factory=cf_app_catalog) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('create-team-app', 'teams_create_team_app')
        g.custom_command('get-team-app', 'teams_get_team_app')
        g.custom_command('list-team-app', 'teams_list_team_app')
        g.custom_command('update-team-app', 'teams_update_team_app')

    from azext_teams_beta.generated._client_factory import cf_app_catalog_team_app
    teams_beta_app_catalog_team_app = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._app_catalog_team_app_operations#AppCatalogTea'
        'mAppOperations.{}',
        client_factory=cf_app_catalog_team_app)
    with self.command_group('teams',
                            teams_beta_app_catalog_team_app,
                            client_factory=cf_app_catalog_team_app) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('create-app-definition',
                         'teams_create_app_definition')
        g.custom_command('get-app-definition', 'teams_get_app_definition')
        g.custom_command('list-app-definition', 'teams_list_app_definition')
        g.custom_command('update-app-definition',
                         'teams_update_app_definition')

    from azext_teams_beta.generated._client_factory import cf_chat_chat
    teams_beta_chat_chat = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._chat_chat_operations#ChatChatOperations.{}',
        client_factory=cf_chat_chat)
    with self.command_group('teams',
                            teams_beta_chat_chat,
                            client_factory=cf_chat_chat) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('create-chat', 'teams_create_chat')
        g.custom_command('get-chat', 'teams_get_chat')
        g.custom_command('list-chat', 'teams_list_chat')
        g.custom_command('update-chat', 'teams_update_chat')

    from azext_teams_beta.generated._client_factory import cf_chat
    teams_beta_chat = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._chat_operations#ChatOperations.{}',
        client_factory=cf_chat)
    with self.command_group('teams', teams_beta_chat,
                            client_factory=cf_chat) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('all-message', 'teams_all_message')
        g.custom_command('create-installed-app', 'teams_create_installed_app')
        g.custom_command('create-member', 'teams_create_member')
        g.custom_command('create-message', 'teams_create_message')
        g.custom_command('create-tab', 'teams_create_tab')
        g.custom_command('get-all-message', 'teams_get_all_message')
        g.custom_command('get-installed-app', 'teams_get_installed_app')
        g.custom_command('get-member', 'teams_get_member')
        g.custom_command('get-message', 'teams_get_message')
        g.custom_command('get-tab', 'teams_get_tab')
        g.custom_command('list-installed-app', 'teams_list_installed_app')
        g.custom_command('list-member', 'teams_list_member')
        g.custom_command('list-message', 'teams_list_message')
        g.custom_command('list-tab', 'teams_list_tab')
        g.custom_command('send-activity-notification',
                         'teams_send_activity_notification')
        g.custom_command('update-installed-app', 'teams_update_installed_app')
        g.custom_command('update-member', 'teams_update_member')
        g.custom_command('update-message', 'teams_update_message')
        g.custom_command('update-tab', 'teams_update_tab')

    from azext_teams_beta.generated._client_factory import cf_chat_installed_app
    teams_beta_chat_installed_app = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._chat_installed_app_operations#ChatInstalledAp'
        'pOperations.{}',
        client_factory=cf_chat_installed_app)
    with self.command_group('teams',
                            teams_beta_chat_installed_app,
                            client_factory=cf_chat_installed_app) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('get-ref-team-app', 'teams_get_ref_team_app')
        g.custom_command('get-ref-team-app-definition',
                         'teams_get_ref_team_app_definition')
        g.custom_command('get-team-app', 'teams_get_team_app')
        g.custom_command('get-team-app-definition',
                         'teams_get_team_app_definition')
        g.custom_command('set-ref-team-app', 'teams_set_ref_team_app')
        g.custom_command('set-ref-team-app-definition',
                         'teams_set_ref_team_app_definition')
        g.custom_command('upgrade', 'teams_upgrade')

    from azext_teams_beta.generated._client_factory import cf_chat_member
    teams_beta_chat_member = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._chat_member_operations#ChatMemberOperations.{'
        '}',
        client_factory=cf_chat_member)
    with self.command_group('teams',
                            teams_beta_chat_member,
                            client_factory=cf_chat_member) as g:
        g.custom_command('add', 'teams_add')

    from azext_teams_beta.generated._client_factory import cf_chat_message
    teams_beta_chat_message = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._chat_message_operations#ChatMessageOperations'
        '.{}',
        client_factory=cf_chat_message)
    with self.command_group('teams',
                            teams_beta_chat_message,
                            client_factory=cf_chat_message) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('create-hosted-content',
                         'teams_create_hosted_content')
        g.custom_command('create-reply', 'teams_create_reply')
        g.custom_command('delta', 'teams_delta')
        g.custom_command('get-hosted-content', 'teams_get_hosted_content')
        g.custom_command('get-hosted-content-content',
                         'teams_get_hosted_content_content')
        g.custom_command('get-reply', 'teams_get_reply')
        g.custom_command('list-hosted-content', 'teams_list_hosted_content')
        g.custom_command('list-reply', 'teams_list_reply')
        g.custom_command('set-hosted-content-content',
                         'teams_set_hosted_content_content')
        g.custom_command('update-hosted-content',
                         'teams_update_hosted_content')
        g.custom_command('update-reply', 'teams_update_reply')

    from azext_teams_beta.generated._client_factory import cf_chat_message_reply
    teams_beta_chat_message_reply = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._chat_message_reply_operations#ChatMessageRepl'
        'yOperations.{}',
        client_factory=cf_chat_message_reply)
    with self.command_group('teams',
                            teams_beta_chat_message_reply,
                            client_factory=cf_chat_message_reply) as g:
        g.custom_command('delta', 'teams_delta')

    from azext_teams_beta.generated._client_factory import cf_chat_tab
    teams_beta_chat_tab = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._chat_tab_operations#ChatTabOperations.{}',
        client_factory=cf_chat_tab)
    with self.command_group('teams',
                            teams_beta_chat_tab,
                            client_factory=cf_chat_tab) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('get-ref-team-app', 'teams_get_ref_team_app')
        g.custom_command('get-team-app', 'teams_get_team_app')
        g.custom_command('set-ref-team-app', 'teams_set_ref_team_app')

    from azext_teams_beta.generated._client_factory import cf_group
    teams_beta_group = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._group_operations#GroupOperations.{}',
        client_factory=cf_group)
    with self.command_group('teams', teams_beta_group,
                            client_factory=cf_group) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('get-team', 'teams_get_team')
        g.custom_command('update-team', 'teams_update_team')

    from azext_teams_beta.generated._client_factory import cf_team_team
    teams_beta_team_team = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._team_team_operations#TeamTeamOperations.{}',
        client_factory=cf_team_team)
    with self.command_group('teams',
                            teams_beta_team_team,
                            client_factory=cf_team_team) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('create-team', 'teams_create_team')
        g.custom_command('get-team', 'teams_get_team')
        g.custom_command('list-team', 'teams_list_team')
        g.custom_command('update-team', 'teams_update_team')

    from azext_teams_beta.generated._client_factory import cf_team
    teams_beta_team = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._team_operations#TeamOperations.{}',
        client_factory=cf_team)
    with self.command_group('teams', teams_beta_team,
                            client_factory=cf_team) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('all-message', 'teams_all_message')
        g.custom_command('archive', 'teams_archive')
        g.custom_command('clone', 'teams_clone')
        g.custom_command('complete-migration', 'teams_complete_migration')
        g.custom_command('create-channel', 'teams_create_channel')
        g.custom_command('create-installed-app', 'teams_create_installed_app')
        g.custom_command('create-member', 'teams_create_member')
        g.custom_command('create-operation', 'teams_create_operation')
        g.custom_command('create-ref-owner', 'teams_create_ref_owner')
        g.custom_command('get-all-message', 'teams_get_all_message')
        g.custom_command('get-channel', 'teams_get_channel')
        g.custom_command('get-group', 'teams_get_group')
        g.custom_command('get-installed-app', 'teams_get_installed_app')
        g.custom_command('get-member', 'teams_get_member')
        g.custom_command('get-operation', 'teams_get_operation')
        g.custom_command('get-photo', 'teams_get_photo')
        g.custom_command('get-photo-content', 'teams_get_photo_content')
        g.custom_command('get-primary-channel', 'teams_get_primary_channel')
        g.custom_command('get-ref-group', 'teams_get_ref_group')
        g.custom_command('get-ref-template', 'teams_get_ref_template')
        g.custom_command('get-schedule', 'teams_get_schedule')
        g.custom_command('get-template', 'teams_get_template')
        g.custom_command('list-channel', 'teams_list_channel')
        g.custom_command('list-installed-app', 'teams_list_installed_app')
        g.custom_command('list-member', 'teams_list_member')
        g.custom_command('list-operation', 'teams_list_operation')
        g.custom_command('list-owner', 'teams_list_owner')
        g.custom_command('list-ref-owner', 'teams_list_ref_owner')
        g.custom_command('send-activity-notification',
                         'teams_send_activity_notification')
        g.custom_command('set-photo-content', 'teams_set_photo_content')
        g.custom_command('set-ref-group', 'teams_set_ref_group')
        g.custom_command('set-ref-template', 'teams_set_ref_template')
        g.custom_command('unarchive', 'teams_unarchive')
        g.custom_command('update-channel', 'teams_update_channel')
        g.custom_command('update-installed-app', 'teams_update_installed_app')
        g.custom_command('update-member', 'teams_update_member')
        g.custom_command('update-operation', 'teams_update_operation')
        g.custom_command('update-photo', 'teams_update_photo')
        g.custom_command('update-primary-channel',
                         'teams_update_primary_channel')
        g.custom_command('update-schedule', 'teams_update_schedule')

    from azext_teams_beta.generated._client_factory import cf_team_channel
    teams_beta_team_channel = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._team_channel_operations#TeamChannelOperations'
        '.{}',
        client_factory=cf_team_channel)
    with self.command_group('teams',
                            teams_beta_team_channel,
                            client_factory=cf_team_channel) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('all-message', 'teams_all_message')
        g.custom_command('complete-migration', 'teams_complete_migration')
        g.custom_command('create-member', 'teams_create_member')
        g.custom_command('create-message', 'teams_create_message')
        g.custom_command('create-tab', 'teams_create_tab')
        g.custom_command('get-file-folder', 'teams_get_file_folder')
        g.custom_command('get-file-folder-content',
                         'teams_get_file_folder_content')
        g.custom_command('get-member', 'teams_get_member')
        g.custom_command('get-message', 'teams_get_message')
        g.custom_command('get-tab', 'teams_get_tab')
        g.custom_command('list-member', 'teams_list_member')
        g.custom_command('list-message', 'teams_list_message')
        g.custom_command('list-tab', 'teams_list_tab')
        g.custom_command('set-file-folder-content',
                         'teams_set_file_folder_content')
        g.custom_command('update-file-folder', 'teams_update_file_folder')
        g.custom_command('update-member', 'teams_update_member')
        g.custom_command('update-message', 'teams_update_message')
        g.custom_command('update-tab', 'teams_update_tab')

    from azext_teams_beta.generated._client_factory import cf_team_channel_member
    teams_beta_team_channel_member = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._team_channel_member_operations#TeamChannelMem'
        'berOperations.{}',
        client_factory=cf_team_channel_member)
    with self.command_group('teams',
                            teams_beta_team_channel_member,
                            client_factory=cf_team_channel_member) as g:
        g.custom_command('add', 'teams_add')

    from azext_teams_beta.generated._client_factory import cf_team_channel_message
    teams_beta_team_channel_message = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._team_channel_message_operations#TeamChannelMe'
        'ssageOperations.{}',
        client_factory=cf_team_channel_message)
    with self.command_group('teams',
                            teams_beta_team_channel_message,
                            client_factory=cf_team_channel_message) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('create-hosted-content',
                         'teams_create_hosted_content')
        g.custom_command('create-reply', 'teams_create_reply')
        g.custom_command('delta', 'teams_delta')
        g.custom_command('get-hosted-content', 'teams_get_hosted_content')
        g.custom_command('get-hosted-content-content',
                         'teams_get_hosted_content_content')
        g.custom_command('get-reply', 'teams_get_reply')
        g.custom_command('list-hosted-content', 'teams_list_hosted_content')
        g.custom_command('list-reply', 'teams_list_reply')
        g.custom_command('set-hosted-content-content',
                         'teams_set_hosted_content_content')
        g.custom_command('update-hosted-content',
                         'teams_update_hosted_content')
        g.custom_command('update-reply', 'teams_update_reply')

    from azext_teams_beta.generated._client_factory import cf_team_channel_message_reply
    teams_beta_team_channel_message_reply = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._team_channel_message_reply_operations#TeamCha'
        'nnelMessageReplyOperations.{}',
        client_factory=cf_team_channel_message_reply)
    with self.command_group('teams',
                            teams_beta_team_channel_message_reply,
                            client_factory=cf_team_channel_message_reply) as g:
        g.custom_command('delta', 'teams_delta')

    from azext_teams_beta.generated._client_factory import cf_team_channel_tab
    teams_beta_team_channel_tab = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._team_channel_tab_operations#TeamChannelTabOpe'
        'rations.{}',
        client_factory=cf_team_channel_tab)
    with self.command_group('teams',
                            teams_beta_team_channel_tab,
                            client_factory=cf_team_channel_tab) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('get-ref-team-app', 'teams_get_ref_team_app')
        g.custom_command('get-team-app', 'teams_get_team_app')
        g.custom_command('set-ref-team-app', 'teams_set_ref_team_app')

    from azext_teams_beta.generated._client_factory import cf_team_installed_app
    teams_beta_team_installed_app = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._team_installed_app_operations#TeamInstalledAp'
        'pOperations.{}',
        client_factory=cf_team_installed_app)
    with self.command_group('teams',
                            teams_beta_team_installed_app,
                            client_factory=cf_team_installed_app) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('get-ref-team-app', 'teams_get_ref_team_app')
        g.custom_command('get-ref-team-app-definition',
                         'teams_get_ref_team_app_definition')
        g.custom_command('get-team-app', 'teams_get_team_app')
        g.custom_command('get-team-app-definition',
                         'teams_get_team_app_definition')
        g.custom_command('set-ref-team-app', 'teams_set_ref_team_app')
        g.custom_command('set-ref-team-app-definition',
                         'teams_set_ref_team_app_definition')
        g.custom_command('upgrade', 'teams_upgrade')

    from azext_teams_beta.generated._client_factory import cf_team_member
    teams_beta_team_member = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._team_member_operations#TeamMemberOperations.{'
        '}',
        client_factory=cf_team_member)
    with self.command_group('teams',
                            teams_beta_team_member,
                            client_factory=cf_team_member) as g:
        g.custom_command('add', 'teams_add')

    from azext_teams_beta.generated._client_factory import cf_team_primary_channel
    teams_beta_team_primary_channel = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._team_primary_channel_operations#TeamPrimaryCh'
        'annelOperations.{}',
        client_factory=cf_team_primary_channel)
    with self.command_group('teams',
                            teams_beta_team_primary_channel,
                            client_factory=cf_team_primary_channel) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('complete-migration', 'teams_complete_migration')
        g.custom_command('create-member', 'teams_create_member')
        g.custom_command('create-message', 'teams_create_message')
        g.custom_command('create-tab', 'teams_create_tab')
        g.custom_command('get-file-folder', 'teams_get_file_folder')
        g.custom_command('get-file-folder-content',
                         'teams_get_file_folder_content')
        g.custom_command('get-member', 'teams_get_member')
        g.custom_command('get-message', 'teams_get_message')
        g.custom_command('get-tab', 'teams_get_tab')
        g.custom_command('list-member', 'teams_list_member')
        g.custom_command('list-message', 'teams_list_message')
        g.custom_command('list-tab', 'teams_list_tab')
        g.custom_command('set-file-folder-content',
                         'teams_set_file_folder_content')
        g.custom_command('update-file-folder', 'teams_update_file_folder')
        g.custom_command('update-member', 'teams_update_member')
        g.custom_command('update-message', 'teams_update_message')
        g.custom_command('update-tab', 'teams_update_tab')

    from azext_teams_beta.generated._client_factory import cf_team_primary_channel_member
    teams_beta_team_primary_channel_member = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._team_primary_channel_member_operations#TeamPr'
        'imaryChannelMemberOperations.{}',
        client_factory=cf_team_primary_channel_member)
    with self.command_group(
            'teams',
            teams_beta_team_primary_channel_member,
            client_factory=cf_team_primary_channel_member) as g:
        g.custom_command('add', 'teams_add')

    from azext_teams_beta.generated._client_factory import cf_team_primary_channel_message
    teams_beta_team_primary_channel_message = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._team_primary_channel_message_operations#TeamP'
        'rimaryChannelMessageOperations.{}',
        client_factory=cf_team_primary_channel_message)
    with self.command_group(
            'teams',
            teams_beta_team_primary_channel_message,
            client_factory=cf_team_primary_channel_message) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('create-hosted-content',
                         'teams_create_hosted_content')
        g.custom_command('create-reply', 'teams_create_reply')
        g.custom_command('delta', 'teams_delta')
        g.custom_command('get-hosted-content', 'teams_get_hosted_content')
        g.custom_command('get-hosted-content-content',
                         'teams_get_hosted_content_content')
        g.custom_command('get-reply', 'teams_get_reply')
        g.custom_command('list-hosted-content', 'teams_list_hosted_content')
        g.custom_command('list-reply', 'teams_list_reply')
        g.custom_command('set-hosted-content-content',
                         'teams_set_hosted_content_content')
        g.custom_command('update-hosted-content',
                         'teams_update_hosted_content')
        g.custom_command('update-reply', 'teams_update_reply')

    from azext_teams_beta.generated._client_factory import cf_team_primary_channel_message_reply
    teams_beta_team_primary_channel_message_reply = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._team_primary_channel_message_reply_operations'
        '#TeamPrimaryChannelMessageReplyOperations.{}',
        client_factory=cf_team_primary_channel_message_reply)
    with self.command_group(
            'teams',
            teams_beta_team_primary_channel_message_reply,
            client_factory=cf_team_primary_channel_message_reply) as g:
        g.custom_command('delta', 'teams_delta')

    from azext_teams_beta.generated._client_factory import cf_team_primary_channel_tab
    teams_beta_team_primary_channel_tab = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._team_primary_channel_tab_operations#TeamPrima'
        'ryChannelTabOperations.{}',
        client_factory=cf_team_primary_channel_tab)
    with self.command_group('teams',
                            teams_beta_team_primary_channel_tab,
                            client_factory=cf_team_primary_channel_tab) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('get-ref-team-app', 'teams_get_ref_team_app')
        g.custom_command('get-team-app', 'teams_get_team_app')
        g.custom_command('set-ref-team-app', 'teams_set_ref_team_app')

    from azext_teams_beta.generated._client_factory import cf_team_schedule
    teams_beta_team_schedule = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._team_schedule_operations#TeamScheduleOperatio'
        'ns.{}',
        client_factory=cf_team_schedule)
    with self.command_group('teams',
                            teams_beta_team_schedule,
                            client_factory=cf_team_schedule) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('create-offer-shift-request',
                         'teams_create_offer_shift_request')
        g.custom_command('create-open-shift', 'teams_create_open_shift')
        g.custom_command('create-open-shift-change-request',
                         'teams_create_open_shift_change_request')
        g.custom_command('create-scheduling-group',
                         'teams_create_scheduling_group')
        g.custom_command('create-shift', 'teams_create_shift')
        g.custom_command('create-swap-shift-change-request',
                         'teams_create_swap_shift_change_request')
        g.custom_command('create-time-card', 'teams_create_time_card')
        g.custom_command('create-time-off', 'teams_create_time_off')
        g.custom_command('create-time-off-reason',
                         'teams_create_time_off_reason')
        g.custom_command('create-time-off-request',
                         'teams_create_time_off_request')
        g.custom_command('get-offer-shift-request',
                         'teams_get_offer_shift_request')
        g.custom_command('get-open-shift', 'teams_get_open_shift')
        g.custom_command('get-open-shift-change-request',
                         'teams_get_open_shift_change_request')
        g.custom_command('get-scheduling-group', 'teams_get_scheduling_group')
        g.custom_command('get-shift', 'teams_get_shift')
        g.custom_command('get-swap-shift-change-request',
                         'teams_get_swap_shift_change_request')
        g.custom_command('get-time-card', 'teams_get_time_card')
        g.custom_command('get-time-off', 'teams_get_time_off')
        g.custom_command('get-time-off-reason', 'teams_get_time_off_reason')
        g.custom_command('get-time-off-request', 'teams_get_time_off_request')
        g.custom_command('list-offer-shift-request',
                         'teams_list_offer_shift_request')
        g.custom_command('list-open-shift', 'teams_list_open_shift')
        g.custom_command('list-open-shift-change-request',
                         'teams_list_open_shift_change_request')
        g.custom_command('list-scheduling-group',
                         'teams_list_scheduling_group')
        g.custom_command('list-shift', 'teams_list_shift')
        g.custom_command('list-swap-shift-change-request',
                         'teams_list_swap_shift_change_request')
        g.custom_command('list-time-card', 'teams_list_time_card')
        g.custom_command('list-time-off', 'teams_list_time_off')
        g.custom_command('list-time-off-reason', 'teams_list_time_off_reason')
        g.custom_command('list-time-off-request',
                         'teams_list_time_off_request')
        g.custom_command('share', 'teams_share')
        g.custom_command('update-offer-shift-request',
                         'teams_update_offer_shift_request')
        g.custom_command('update-open-shift', 'teams_update_open_shift')
        g.custom_command('update-open-shift-change-request',
                         'teams_update_open_shift_change_request')
        g.custom_command('update-scheduling-group',
                         'teams_update_scheduling_group')
        g.custom_command('update-shift', 'teams_update_shift')
        g.custom_command('update-swap-shift-change-request',
                         'teams_update_swap_shift_change_request')
        g.custom_command('update-time-card', 'teams_update_time_card')
        g.custom_command('update-time-off', 'teams_update_time_off')
        g.custom_command('update-time-off-reason',
                         'teams_update_time_off_reason')
        g.custom_command('update-time-off-request',
                         'teams_update_time_off_request')

    from azext_teams_beta.generated._client_factory import cf_team_schedule_time_card
    teams_beta_team_schedule_time_card = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._team_schedule_time_card_operations#TeamSchedu'
        'leTimeCardOperations.{}',
        client_factory=cf_team_schedule_time_card)
    with self.command_group('teams',
                            teams_beta_team_schedule_time_card,
                            client_factory=cf_team_schedule_time_card) as g:
        g.custom_command('clock-in', 'teams_clock_in')
        g.custom_command('clock-out', 'teams_clock_out')
        g.custom_command('confirm', 'teams_confirm')
        g.custom_command('end-break', 'teams_end_break')
        g.custom_command('start-break', 'teams_start_break')

    from azext_teams_beta.generated._client_factory import cf_teamwork_teamwork
    teams_beta_teamwork_teamwork = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._teamwork_teamwork_operations#TeamworkTeamwork'
        'Operations.{}',
        client_factory=cf_teamwork_teamwork)
    with self.command_group('teams',
                            teams_beta_teamwork_teamwork,
                            client_factory=cf_teamwork_teamwork) as g:
        g.custom_command('get-teamwork', 'teams_get_teamwork')
        g.custom_command('update-teamwork', 'teams_update_teamwork')

    from azext_teams_beta.generated._client_factory import cf_teamwork
    teams_beta_teamwork = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._teamwork_operations#TeamworkOperations.{}',
        client_factory=cf_teamwork)
    with self.command_group('teams',
                            teams_beta_teamwork,
                            client_factory=cf_teamwork) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('create-workforce-integration',
                         'teams_create_workforce_integration')
        g.custom_command('get-workforce-integration',
                         'teams_get_workforce_integration')
        g.custom_command('list-workforce-integration',
                         'teams_list_workforce_integration')
        g.custom_command('update-workforce-integration',
                         'teams_update_workforce_integration')

    from azext_teams_beta.generated._client_factory import cf_user
    teams_beta_user = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._user_operations#UserOperations.{}',
        client_factory=cf_user)
    with self.command_group('teams', teams_beta_user,
                            client_factory=cf_user) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('create-chat', 'teams_create_chat')
        g.custom_command('create-joined-team', 'teams_create_joined_team')
        g.custom_command('get-chat', 'teams_get_chat')
        g.custom_command('get-joined-team', 'teams_get_joined_team')
        g.custom_command('get-teamwork', 'teams_get_teamwork')
        g.custom_command('list-chat', 'teams_list_chat')
        g.custom_command('list-joined-team', 'teams_list_joined_team')
        g.custom_command('update-chat', 'teams_update_chat')
        g.custom_command('update-joined-team', 'teams_update_joined_team')
        g.custom_command('update-teamwork', 'teams_update_teamwork')

    from azext_teams_beta.generated._client_factory import cf_user_teamwork
    teams_beta_user_teamwork = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._user_teamwork_operations#UserTeamworkOperatio'
        'ns.{}',
        client_factory=cf_user_teamwork)
    with self.command_group('teams',
                            teams_beta_user_teamwork,
                            client_factory=cf_user_teamwork) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('create-installed-app', 'teams_create_installed_app')
        g.custom_command('get-installed-app', 'teams_get_installed_app')
        g.custom_command('list-installed-app', 'teams_list_installed_app')
        g.custom_command('update-installed-app', 'teams_update_installed_app')

    from azext_teams_beta.generated._client_factory import cf_user_teamwork_installed_app
    teams_beta_user_teamwork_installed_app = CliCommandType(
        operations_tmpl=
        'azext_teams_beta.vendored_sdks.teams.operations._user_teamwork_installed_app_operations#UserTe'
        'amworkInstalledAppOperations.{}',
        client_factory=cf_user_teamwork_installed_app)
    with self.command_group(
            'teams',
            teams_beta_user_teamwork_installed_app,
            client_factory=cf_user_teamwork_installed_app) as g:
        g.custom_command('delete', 'teams_delete', confirmation=True)
        g.custom_command('get-chat', 'teams_get_chat')
        g.custom_command('get-ref-chat', 'teams_get_ref_chat')
        g.custom_command('set-ref-chat', 'teams_set_ref_chat')
Esempio n. 27
0
def load_command_table(self, _):

    from azext_personalcontacts_beta.generated._client_factory import cf_user
    personalcontacts_beta_user = CliCommandType(
        operations_tmpl=
        'azext_personalcontacts_beta.vendored_sdks.personalcontacts.operations._user_operations#UserOpe'
        'rations.{}',
        client_factory=cf_user)
    with self.command_group('personalcontacts',
                            personalcontacts_beta_user,
                            client_factory=cf_user) as g:
        g.custom_command('delete',
                         'personalcontacts_delete',
                         confirmation=True)
        g.custom_command('create-contact', 'personalcontacts_create_contact')
        g.custom_command('create-contact-folder',
                         'personalcontacts_create_contact_folder')
        g.custom_command('get-contact', 'personalcontacts_get_contact')
        g.custom_command('get-contact-folder',
                         'personalcontacts_get_contact_folder')
        g.custom_command('list-contact', 'personalcontacts_list_contact')
        g.custom_command('list-contact-folder',
                         'personalcontacts_list_contact_folder')
        g.custom_command('update-contact', 'personalcontacts_update_contact')
        g.custom_command('update-contact-folder',
                         'personalcontacts_update_contact_folder')

    from azext_personalcontacts_beta.generated._client_factory import cf_user_contact_folder
    personalcontacts_beta_user_contact_folder = CliCommandType(
        operations_tmpl=
        'azext_personalcontacts_beta.vendored_sdks.personalcontacts.operations._user_contact_folder_ope'
        'rations#UserContactFolderOperations.{}',
        client_factory=cf_user_contact_folder)
    with self.command_group('personalcontacts',
                            personalcontacts_beta_user_contact_folder,
                            client_factory=cf_user_contact_folder) as g:
        g.custom_command('delete',
                         'personalcontacts_delete',
                         confirmation=True)
        g.custom_command('create-child-folder',
                         'personalcontacts_create_child_folder')
        g.custom_command('create-contact', 'personalcontacts_create_contact')
        g.custom_command(
            'create-multi-value-extended-property',
            'personalcontacts_create_multi_value_extended_property'
            '')
        g.custom_command(
            'create-single-value-extended-property',
            'personalcontacts_create_single_value_extended_proper'
            'ty')
        g.custom_command('get-child-folder',
                         'personalcontacts_get_child_folder')
        g.custom_command('get-contact', 'personalcontacts_get_contact')
        g.custom_command('get-multi-value-extended-property',
                         'personalcontacts_get_multi_value_extended_property')
        g.custom_command(
            'get-single-value-extended-property',
            'personalcontacts_get_single_value_extended_property')
        g.custom_command('list-child-folder',
                         'personalcontacts_list_child_folder')
        g.custom_command('list-contact', 'personalcontacts_list_contact')
        g.custom_command(
            'list-multi-value-extended-property',
            'personalcontacts_list_multi_value_extended_property')
        g.custom_command(
            'list-single-value-extended-property',
            'personalcontacts_list_single_value_extended_property')
        g.custom_command('update-child-folder',
                         'personalcontacts_update_child_folder')
        g.custom_command('update-contact', 'personalcontacts_update_contact')
        g.custom_command(
            'update-multi-value-extended-property',
            'personalcontacts_update_multi_value_extended_property'
            '')
        g.custom_command(
            'update-single-value-extended-property',
            'personalcontacts_update_single_value_extended_proper'
            'ty')

    from azext_personalcontacts_beta.generated._client_factory import cf_user_contact_folder_contact
    personalcontacts_beta_user_contact_folder_contact = CliCommandType(
        operations_tmpl=
        'azext_personalcontacts_beta.vendored_sdks.personalcontacts.operations._user_contact_folder_con'
        'tact_operations#UserContactFolderContactOperations.{}',
        client_factory=cf_user_contact_folder_contact)
    with self.command_group(
            'personalcontacts',
            personalcontacts_beta_user_contact_folder_contact,
            client_factory=cf_user_contact_folder_contact) as g:
        g.custom_command('delete',
                         'personalcontacts_delete',
                         confirmation=True)
        g.custom_command('create-extension',
                         'personalcontacts_create_extension')
        g.custom_command(
            'create-multi-value-extended-property',
            'personalcontacts_create_multi_value_extended_property'
            '')
        g.custom_command(
            'create-single-value-extended-property',
            'personalcontacts_create_single_value_extended_proper'
            'ty')
        g.custom_command('get-extension', 'personalcontacts_get_extension')
        g.custom_command('get-multi-value-extended-property',
                         'personalcontacts_get_multi_value_extended_property')
        g.custom_command('get-photo', 'personalcontacts_get_photo')
        g.custom_command('get-photo-content',
                         'personalcontacts_get_photo_content')
        g.custom_command(
            'get-single-value-extended-property',
            'personalcontacts_get_single_value_extended_property')
        g.custom_command('list-extension', 'personalcontacts_list_extension')
        g.custom_command(
            'list-multi-value-extended-property',
            'personalcontacts_list_multi_value_extended_property')
        g.custom_command(
            'list-single-value-extended-property',
            'personalcontacts_list_single_value_extended_property')
        g.custom_command('set-photo-content',
                         'personalcontacts_set_photo_content')
        g.custom_command('update-extension',
                         'personalcontacts_update_extension')
        g.custom_command(
            'update-multi-value-extended-property',
            'personalcontacts_update_multi_value_extended_property'
            '')
        g.custom_command('update-photo', 'personalcontacts_update_photo')
        g.custom_command(
            'update-single-value-extended-property',
            'personalcontacts_update_single_value_extended_proper'
            'ty')

    from azext_personalcontacts_beta.generated._client_factory import cf_user_contact
    personalcontacts_beta_user_contact = CliCommandType(
        operations_tmpl=
        'azext_personalcontacts_beta.vendored_sdks.personalcontacts.operations._user_contact_operations'
        '#UserContactOperations.{}',
        client_factory=cf_user_contact)
    with self.command_group('personalcontacts',
                            personalcontacts_beta_user_contact,
                            client_factory=cf_user_contact) as g:
        g.custom_command('delete',
                         'personalcontacts_delete',
                         confirmation=True)
        g.custom_command('create-extension',
                         'personalcontacts_create_extension')
        g.custom_command(
            'create-multi-value-extended-property',
            'personalcontacts_create_multi_value_extended_property'
            '')
        g.custom_command(
            'create-single-value-extended-property',
            'personalcontacts_create_single_value_extended_proper'
            'ty')
        g.custom_command('get-extension', 'personalcontacts_get_extension')
        g.custom_command('get-multi-value-extended-property',
                         'personalcontacts_get_multi_value_extended_property')
        g.custom_command('get-photo', 'personalcontacts_get_photo')
        g.custom_command('get-photo-content',
                         'personalcontacts_get_photo_content')
        g.custom_command(
            'get-single-value-extended-property',
            'personalcontacts_get_single_value_extended_property')
        g.custom_command('list-extension', 'personalcontacts_list_extension')
        g.custom_command(
            'list-multi-value-extended-property',
            'personalcontacts_list_multi_value_extended_property')
        g.custom_command(
            'list-single-value-extended-property',
            'personalcontacts_list_single_value_extended_property')
        g.custom_command('set-photo-content',
                         'personalcontacts_set_photo_content')
        g.custom_command('update-extension',
                         'personalcontacts_update_extension')
        g.custom_command(
            'update-multi-value-extended-property',
            'personalcontacts_update_multi_value_extended_property'
            '')
        g.custom_command('update-photo', 'personalcontacts_update_photo')
        g.custom_command(
            'update-single-value-extended-property',
            'personalcontacts_update_single_value_extended_proper'
            'ty')
Esempio n. 28
0
def load_command_table(self, _):

    from azext_files_v1_0.generated._client_factory import cf_drive_drive
    files_v1_0_drive_drive = CliCommandType(
        operations_tmpl=
        'azext_files_v1_0.vendored_sdks.files.operations._drive_drive_operations#DriveDriveOperations.{'
        '}',
        client_factory=cf_drive_drive)
    with self.command_group('files',
                            files_v1_0_drive_drive,
                            client_factory=cf_drive_drive) as g:
        g.custom_command('delete', 'files_delete', confirmation=True)
        g.custom_command('create-drive', 'files_create_drive')
        g.custom_command('get-drive', 'files_get_drive')
        g.custom_command('list-drive', 'files_list_drive')
        g.custom_command('update-drive', 'files_update_drive')

    from azext_files_v1_0.generated._client_factory import cf_drive
    files_v1_0_drive = CliCommandType(
        operations_tmpl=
        'azext_files_v1_0.vendored_sdks.files.operations._drive_operations#DriveOperations.{}',
        client_factory=cf_drive)
    with self.command_group('files', files_v1_0_drive,
                            client_factory=cf_drive) as g:
        g.custom_command('delete', 'files_delete', confirmation=True)
        g.custom_command('create-following', 'files_create_following')
        g.custom_command('create-item', 'files_create_item')
        g.custom_command('create-special', 'files_create_special')
        g.custom_command('get-following', 'files_get_following')
        g.custom_command('get-item', 'files_get_item')
        g.custom_command('get-list', 'files_get_list')
        g.custom_command('get-root', 'files_get_root')
        g.custom_command('get-special', 'files_get_special')
        g.custom_command('list-following', 'files_list_following')
        g.custom_command('list-item', 'files_list_item')
        g.custom_command('list-special', 'files_list_special')
        g.custom_command('recent', 'files_recent')
        g.custom_command('search', 'files_search')
        g.custom_command('shared-with-me', 'files_shared_with_me')
        g.custom_command('update-following', 'files_update_following')
        g.custom_command('update-item', 'files_update_item')
        g.custom_command('update-list', 'files_update_list')
        g.custom_command('update-root', 'files_update_root')
        g.custom_command('update-special', 'files_update_special')

    from azext_files_v1_0.generated._client_factory import cf_drive_list
    files_v1_0_drive_list = CliCommandType(
        operations_tmpl=
        'azext_files_v1_0.vendored_sdks.files.operations._drive_list_operations#DriveListOperations.{}',
        client_factory=cf_drive_list)
    with self.command_group('files',
                            files_v1_0_drive_list,
                            client_factory=cf_drive_list) as g:
        g.custom_command('delete', 'files_delete', confirmation=True)
        g.custom_command('create-column', 'files_create_column')
        g.custom_command('create-content-type', 'files_create_content_type')
        g.custom_command('create-item', 'files_create_item')
        g.custom_command('create-subscription', 'files_create_subscription')
        g.custom_command('get-column', 'files_get_column')
        g.custom_command('get-content-type', 'files_get_content_type')
        g.custom_command('get-drive', 'files_get_drive')
        g.custom_command('get-item', 'files_get_item')
        g.custom_command('get-subscription', 'files_get_subscription')
        g.custom_command('list-column', 'files_list_column')
        g.custom_command('list-content-type', 'files_list_content_type')
        g.custom_command('list-item', 'files_list_item')
        g.custom_command('list-subscription', 'files_list_subscription')
        g.custom_command('update-column', 'files_update_column')
        g.custom_command('update-content-type', 'files_update_content_type')
        g.custom_command('update-drive', 'files_update_drive')
        g.custom_command('update-item', 'files_update_item')
        g.custom_command('update-subscription', 'files_update_subscription')

    from azext_files_v1_0.generated._client_factory import cf_drive_list_content_type
    files_v1_0_drive_list_content_type = CliCommandType(
        operations_tmpl=
        'azext_files_v1_0.vendored_sdks.files.operations._drive_list_content_type_operations#DriveListC'
        'ontentTypeOperations.{}',
        client_factory=cf_drive_list_content_type)
    with self.command_group('files',
                            files_v1_0_drive_list_content_type,
                            client_factory=cf_drive_list_content_type) as g:
        g.custom_command('delete', 'files_delete', confirmation=True)
        g.custom_command('create-column-link', 'files_create_column_link')
        g.custom_command('get-column-link', 'files_get_column_link')
        g.custom_command('list-column-link', 'files_list_column_link')
        g.custom_command('update-column-link', 'files_update_column_link')

    from azext_files_v1_0.generated._client_factory import cf_drive_list_item
    files_v1_0_drive_list_item = CliCommandType(
        operations_tmpl=
        'azext_files_v1_0.vendored_sdks.files.operations._drive_list_item_operations#DriveListItemOpera'
        'tions.{}',
        client_factory=cf_drive_list_item)
    with self.command_group('files',
                            files_v1_0_drive_list_item,
                            client_factory=cf_drive_list_item) as g:
        g.custom_command('delete', 'files_delete', confirmation=True)
        g.custom_command('create-version', 'files_create_version')
        g.custom_command('get-activity-by-interval53-ee',
                         'files_get_activity_by_interval53_ee')
        g.custom_command('get-activity-by-interval96-b0',
                         'files_get_activity_by_interval96_b0')
        g.custom_command('get-analytic', 'files_get_analytic')
        g.custom_command('get-drive-item', 'files_get_drive_item')
        g.custom_command('get-field', 'files_get_field')
        g.custom_command('get-ref-analytic', 'files_get_ref_analytic')
        g.custom_command('get-version', 'files_get_version')
        g.custom_command('list-version', 'files_list_version')
        g.custom_command('set-ref-analytic', 'files_set_ref_analytic')
        g.custom_command('update-drive-item', 'files_update_drive_item')
        g.custom_command('update-field', 'files_update_field')
        g.custom_command('update-version', 'files_update_version')

    from azext_files_v1_0.generated._client_factory import cf_drive_list_item_version
    files_v1_0_drive_list_item_version = CliCommandType(
        operations_tmpl=
        'azext_files_v1_0.vendored_sdks.files.operations._drive_list_item_version_operations#DriveListI'
        'temVersionOperations.{}',
        client_factory=cf_drive_list_item_version)
    with self.command_group('files',
                            files_v1_0_drive_list_item_version,
                            client_factory=cf_drive_list_item_version) as g:
        g.custom_command('delete', 'files_delete', confirmation=True)
        g.custom_command('get-field', 'files_get_field')
        g.custom_command('restore-version', 'files_restore_version')
        g.custom_command('update-field', 'files_update_field')

    from azext_files_v1_0.generated._client_factory import cf_group
    files_v1_0_group = CliCommandType(
        operations_tmpl=
        'azext_files_v1_0.vendored_sdks.files.operations._group_operations#GroupOperations.{}',
        client_factory=cf_group)
    with self.command_group('files', files_v1_0_group,
                            client_factory=cf_group) as g:
        g.custom_command('delete', 'files_delete', confirmation=True)
        g.custom_command('create-drive', 'files_create_drive')
        g.custom_command('get-drive', 'files_get_drive')
        g.custom_command('list-drive', 'files_list_drive')
        g.custom_command('update-drive', 'files_update_drive')

    from azext_files_v1_0.generated._client_factory import cf_share_shared_drive_item
    files_v1_0_share_shared_drive_item = CliCommandType(
        operations_tmpl=
        'azext_files_v1_0.vendored_sdks.files.operations._share_shared_drive_item_operations#ShareShare'
        'dDriveItemOperations.{}',
        client_factory=cf_share_shared_drive_item)
    with self.command_group('files',
                            files_v1_0_share_shared_drive_item,
                            client_factory=cf_share_shared_drive_item) as g:
        g.custom_command('delete', 'files_delete', confirmation=True)
        g.custom_command('create-shared-drive-item',
                         'files_create_shared_drive_item')
        g.custom_command('get-shared-drive-item',
                         'files_get_shared_drive_item')
        g.custom_command('list-shared-drive-item',
                         'files_list_shared_drive_item')
        g.custom_command('update-shared-drive-item',
                         'files_update_shared_drive_item')

    from azext_files_v1_0.generated._client_factory import cf_share
    files_v1_0_share = CliCommandType(
        operations_tmpl=
        'azext_files_v1_0.vendored_sdks.files.operations._share_operations#ShareOperations.{}',
        client_factory=cf_share)
    with self.command_group('files', files_v1_0_share,
                            client_factory=cf_share) as g:
        g.custom_command('delete', 'files_delete', confirmation=True)
        g.custom_command('create-item', 'files_create_item')
        g.custom_command('get-drive-item', 'files_get_drive_item')
        g.custom_command('get-item', 'files_get_item')
        g.custom_command('get-list', 'files_get_list')
        g.custom_command('get-list-item', 'files_get_list_item')
        g.custom_command('get-permission', 'files_get_permission')
        g.custom_command('get-root', 'files_get_root')
        g.custom_command('get-site', 'files_get_site')
        g.custom_command('list-item', 'files_list_item')
        g.custom_command('update-drive-item', 'files_update_drive_item')
        g.custom_command('update-item', 'files_update_item')
        g.custom_command('update-list', 'files_update_list')
        g.custom_command('update-list-item', 'files_update_list_item')
        g.custom_command('update-permission', 'files_update_permission')
        g.custom_command('update-root', 'files_update_root')
        g.custom_command('update-site', 'files_update_site')

    from azext_files_v1_0.generated._client_factory import cf_share_list
    files_v1_0_share_list = CliCommandType(
        operations_tmpl=
        'azext_files_v1_0.vendored_sdks.files.operations._share_list_operations#ShareListOperations.{}',
        client_factory=cf_share_list)
    with self.command_group('files',
                            files_v1_0_share_list,
                            client_factory=cf_share_list) as g:
        g.custom_command('delete', 'files_delete', confirmation=True)
        g.custom_command('create-column', 'files_create_column')
        g.custom_command('create-content-type', 'files_create_content_type')
        g.custom_command('create-item', 'files_create_item')
        g.custom_command('create-subscription', 'files_create_subscription')
        g.custom_command('get-column', 'files_get_column')
        g.custom_command('get-content-type', 'files_get_content_type')
        g.custom_command('get-drive', 'files_get_drive')
        g.custom_command('get-item', 'files_get_item')
        g.custom_command('get-subscription', 'files_get_subscription')
        g.custom_command('list-column', 'files_list_column')
        g.custom_command('list-content-type', 'files_list_content_type')
        g.custom_command('list-item', 'files_list_item')
        g.custom_command('list-subscription', 'files_list_subscription')
        g.custom_command('update-column', 'files_update_column')
        g.custom_command('update-content-type', 'files_update_content_type')
        g.custom_command('update-drive', 'files_update_drive')
        g.custom_command('update-item', 'files_update_item')
        g.custom_command('update-subscription', 'files_update_subscription')

    from azext_files_v1_0.generated._client_factory import cf_share_list_content_type
    files_v1_0_share_list_content_type = CliCommandType(
        operations_tmpl=
        'azext_files_v1_0.vendored_sdks.files.operations._share_list_content_type_operations#ShareListC'
        'ontentTypeOperations.{}',
        client_factory=cf_share_list_content_type)
    with self.command_group('files',
                            files_v1_0_share_list_content_type,
                            client_factory=cf_share_list_content_type) as g:
        g.custom_command('delete', 'files_delete', confirmation=True)
        g.custom_command('create-column-link', 'files_create_column_link')
        g.custom_command('get-column-link', 'files_get_column_link')
        g.custom_command('list-column-link', 'files_list_column_link')
        g.custom_command('update-column-link', 'files_update_column_link')

    from azext_files_v1_0.generated._client_factory import cf_share_list_item
    files_v1_0_share_list_item = CliCommandType(
        operations_tmpl=
        'azext_files_v1_0.vendored_sdks.files.operations._share_list_item_operations#ShareListItemOpera'
        'tions.{}',
        client_factory=cf_share_list_item)
    with self.command_group('files',
                            files_v1_0_share_list_item,
                            client_factory=cf_share_list_item) as g:
        g.custom_command('delete', 'files_delete', confirmation=True)
        g.custom_command('create-version', 'files_create_version')
        g.custom_command('get-activity-by-interval53-ee',
                         'files_get_activity_by_interval53_ee')
        g.custom_command('get-activity-by-interval96-b0',
                         'files_get_activity_by_interval96_b0')
        g.custom_command('get-analytic', 'files_get_analytic')
        g.custom_command('get-drive-item', 'files_get_drive_item')
        g.custom_command('get-field', 'files_get_field')
        g.custom_command('get-ref-analytic', 'files_get_ref_analytic')
        g.custom_command('get-version', 'files_get_version')
        g.custom_command('list-version', 'files_list_version')
        g.custom_command('set-ref-analytic', 'files_set_ref_analytic')
        g.custom_command('update-drive-item', 'files_update_drive_item')
        g.custom_command('update-field', 'files_update_field')
        g.custom_command('update-version', 'files_update_version')

    from azext_files_v1_0.generated._client_factory import cf_share_list_item_version
    files_v1_0_share_list_item_version = CliCommandType(
        operations_tmpl=
        'azext_files_v1_0.vendored_sdks.files.operations._share_list_item_version_operations#ShareListI'
        'temVersionOperations.{}',
        client_factory=cf_share_list_item_version)
    with self.command_group('files',
                            files_v1_0_share_list_item_version,
                            client_factory=cf_share_list_item_version) as g:
        g.custom_command('delete', 'files_delete', confirmation=True)
        g.custom_command('get-field', 'files_get_field')
        g.custom_command('restore-version', 'files_restore_version')
        g.custom_command('update-field', 'files_update_field')

    from azext_files_v1_0.generated._client_factory import cf_share_list_item
    files_v1_0_share_list_item = CliCommandType(
        operations_tmpl=
        'azext_files_v1_0.vendored_sdks.files.operations._share_list_item_operations#ShareListItemOpera'
        'tions.{}',
        client_factory=cf_share_list_item)
    with self.command_group('files',
                            files_v1_0_share_list_item,
                            client_factory=cf_share_list_item) as g:
        g.custom_command('delete', 'files_delete', confirmation=True)
        g.custom_command('create-version', 'files_create_version')
        g.custom_command('get-activity-by-interval53-ee',
                         'files_get_activity_by_interval53_ee')
        g.custom_command('get-activity-by-interval96-b0',
                         'files_get_activity_by_interval96_b0')
        g.custom_command('get-analytic', 'files_get_analytic')
        g.custom_command('get-drive-item', 'files_get_drive_item')
        g.custom_command('get-field', 'files_get_field')
        g.custom_command('get-ref-analytic', 'files_get_ref_analytic')
        g.custom_command('get-version', 'files_get_version')
        g.custom_command('list-version', 'files_list_version')
        g.custom_command('set-ref-analytic', 'files_set_ref_analytic')
        g.custom_command('update-drive-item', 'files_update_drive_item')
        g.custom_command('update-field', 'files_update_field')
        g.custom_command('update-version', 'files_update_version')

    from azext_files_v1_0.generated._client_factory import cf_share_list_item_version
    files_v1_0_share_list_item_version = CliCommandType(
        operations_tmpl=
        'azext_files_v1_0.vendored_sdks.files.operations._share_list_item_version_operations#ShareListI'
        'temVersionOperations.{}',
        client_factory=cf_share_list_item_version)
    with self.command_group('files',
                            files_v1_0_share_list_item_version,
                            client_factory=cf_share_list_item_version) as g:
        g.custom_command('delete', 'files_delete', confirmation=True)
        g.custom_command('get-field', 'files_get_field')
        g.custom_command('restore-version', 'files_restore_version')
        g.custom_command('update-field', 'files_update_field')

    from azext_files_v1_0.generated._client_factory import cf_share_permission
    files_v1_0_share_permission = CliCommandType(
        operations_tmpl=
        'azext_files_v1_0.vendored_sdks.files.operations._share_permission_operations#SharePermissionOp'
        'erations.{}',
        client_factory=cf_share_permission)
    with self.command_group('files',
                            files_v1_0_share_permission,
                            client_factory=cf_share_permission) as g:
        g.custom_command('grant', 'files_grant')

    from azext_files_v1_0.generated._client_factory import cf_user
    files_v1_0_user = CliCommandType(
        operations_tmpl=
        'azext_files_v1_0.vendored_sdks.files.operations._user_operations#UserOperations.{}',
        client_factory=cf_user)
    with self.command_group('files', files_v1_0_user,
                            client_factory=cf_user) as g:
        g.custom_command('delete', 'files_delete', confirmation=True)
        g.custom_command('create-drive', 'files_create_drive')
        g.custom_command('get-drive', 'files_get_drive')
        g.custom_command('list-drive', 'files_list_drive')
        g.custom_command('update-drive', 'files_update_drive')
Esempio n. 29
0
def load_command_table(self, _):

    from azext_users_v1_0.generated._client_factory import cf_user_user
    users_v1_0_user_user = CliCommandType(
        operations_tmpl=
        'azext_users_v1_0.vendored_sdks.users.operations._user_user_operations#UserUserOperations.{}',
        client_factory=cf_user_user)
    with self.command_group('users',
                            users_v1_0_user_user,
                            client_factory=cf_user_user) as g:
        g.custom_command('delete', 'users_delete', confirmation=True)
        g.custom_command('create-user', 'users_create_user')
        g.custom_command('get-user', 'users_get_user')
        g.custom_command('list-user', 'users_list_user')
        g.custom_command('update-user', 'users_update_user')

    from azext_users_v1_0.generated._client_factory import cf_user
    users_v1_0_user = CliCommandType(
        operations_tmpl=
        'azext_users_v1_0.vendored_sdks.users.operations._user_operations#UserOperations.{}',
        client_factory=cf_user)
    with self.command_group('users', users_v1_0_user,
                            client_factory=cf_user) as g:
        g.custom_command('delete', 'users_delete', confirmation=True)
        g.custom_command('create-extension', 'users_create_extension')
        g.custom_command('create-license-detail',
                         'users_create_license_detail')
        g.custom_command('create-photo', 'users_create_photo')
        g.custom_command('create-ref-created-object',
                         'users_create_ref_created_object')
        g.custom_command('create-ref-direct-report',
                         'users_create_ref_direct_report')
        g.custom_command('create-ref-member-of', 'users_create_ref_member_of')
        g.custom_command('create-ref-oauth2-permission-grant',
                         'users_create_ref_oauth2_permission_grant')
        g.custom_command('create-ref-owned-device',
                         'users_create_ref_owned_device')
        g.custom_command('create-ref-owned-object',
                         'users_create_ref_owned_object')
        g.custom_command('create-ref-registered-device',
                         'users_create_ref_registered_device')
        g.custom_command('create-ref-transitive-member-of',
                         'users_create_ref_transitive_member_of')
        g.custom_command('get-extension', 'users_get_extension')
        g.custom_command('get-license-detail', 'users_get_license_detail')
        g.custom_command('get-manager', 'users_get_manager')
        g.custom_command('get-outlook', 'users_get_outlook')
        g.custom_command('get-photo', 'users_get_photo')
        g.custom_command('get-ref-manager', 'users_get_ref_manager')
        g.custom_command('get-setting', 'users_get_setting')
        g.custom_command('list-created-object', 'users_list_created_object')
        g.custom_command('list-direct-report', 'users_list_direct_report')
        g.custom_command('list-extension', 'users_list_extension')
        g.custom_command('list-license-detail', 'users_list_license_detail')
        g.custom_command('list-member-of', 'users_list_member_of')
        g.custom_command('list-oauth2-permission-grant',
                         'users_list_oauth2_permission_grant')
        g.custom_command('list-owned-device', 'users_list_owned_device')
        g.custom_command('list-owned-object', 'users_list_owned_object')
        g.custom_command('list-photo', 'users_list_photo')
        g.custom_command('list-ref-created-object',
                         'users_list_ref_created_object')
        g.custom_command('list-ref-direct-report',
                         'users_list_ref_direct_report')
        g.custom_command('list-ref-member-of', 'users_list_ref_member_of')
        g.custom_command('list-ref-oauth2-permission-grant',
                         'users_list_ref_oauth2_permission_grant')
        g.custom_command('list-ref-owned-device',
                         'users_list_ref_owned_device')
        g.custom_command('list-ref-owned-object',
                         'users_list_ref_owned_object')
        g.custom_command('list-ref-registered-device',
                         'users_list_ref_registered_device')
        g.custom_command('list-ref-transitive-member-of',
                         'users_list_ref_transitive_member_of')
        g.custom_command('list-registered-device',
                         'users_list_registered_device')
        g.custom_command('list-transitive-member-of',
                         'users_list_transitive_member_of')
        g.custom_command('set-ref-manager', 'users_set_ref_manager')
        g.custom_command('update-extension', 'users_update_extension')
        g.custom_command('update-license-detail',
                         'users_update_license_detail')
        g.custom_command('update-outlook', 'users_update_outlook')
        g.custom_command('update-photo', 'users_update_photo')
        g.custom_command('update-setting', 'users_update_setting')

    from azext_users_v1_0.generated._client_factory import cf_user_outlook
    users_v1_0_user_outlook = CliCommandType(
        operations_tmpl=
        'azext_users_v1_0.vendored_sdks.users.operations._user_outlook_operations#UserOutlookOperations'
        '.{}',
        client_factory=cf_user_outlook)
    with self.command_group('users',
                            users_v1_0_user_outlook,
                            client_factory=cf_user_outlook) as g:
        g.custom_command('delete', 'users_delete', confirmation=True)
        g.custom_command('create-master-category',
                         'users_create_master_category')
        g.custom_command('get-master-category', 'users_get_master_category')
        g.custom_command('list-master-category', 'users_list_master_category')
        g.custom_command('update-master-category',
                         'users_update_master_category')

    from azext_users_v1_0.generated._client_factory import cf_user_setting
    users_v1_0_user_setting = CliCommandType(
        operations_tmpl=
        'azext_users_v1_0.vendored_sdks.users.operations._user_setting_operations#UserSettingOperations'
        '.{}',
        client_factory=cf_user_setting)
    with self.command_group('users',
                            users_v1_0_user_setting,
                            client_factory=cf_user_setting) as g:
        g.custom_command('delete', 'users_delete', confirmation=True)
        g.custom_command('get-shift-preference', 'users_get_shift_preference')
        g.custom_command('update-shift-preference',
                         'users_update_shift_preference')
Esempio n. 30
0
def load_command_table(self, _):

    from azext_users_beta.generated._client_factory import cf_user_user
    users_beta_user_user = CliCommandType(
        operations_tmpl='azext_users_beta.vendored_sdks.users.operations._user_user_operations#UserUserOperations.{}',
        client_factory=cf_user_user)
    with self.command_group('users', users_beta_user_user, client_factory=cf_user_user) as g:
        g.custom_command('delete', 'users_delete', confirmation=True)
        g.custom_command('create-user', 'users_create_user')
        g.custom_command('get-user', 'users_get_user')
        g.custom_command('list-user', 'users_list_user')
        g.custom_command('update-user', 'users_update_user')

    from azext_users_beta.generated._client_factory import cf_user
    users_beta_user = CliCommandType(
        operations_tmpl='azext_users_beta.vendored_sdks.users.operations._user_operations#UserOperations.{}',
        client_factory=cf_user)
    with self.command_group('users', users_beta_user, client_factory=cf_user) as g:
        g.custom_command('delete', 'users_delete', confirmation=True)
        g.custom_command('create-extension', 'users_create_extension')
        g.custom_command('create-license-detail', 'users_create_license_detail')
        g.custom_command('create-notification', 'users_create_notification')
        g.custom_command('create-photo', 'users_create_photo')
        g.custom_command('create-ref-created-object', 'users_create_ref_created_object')
        g.custom_command('create-ref-direct-report', 'users_create_ref_direct_report')
        g.custom_command('create-ref-member-of', 'users_create_ref_member_of')
        g.custom_command('create-ref-owned-device', 'users_create_ref_owned_device')
        g.custom_command('create-ref-owned-object', 'users_create_ref_owned_object')
        g.custom_command('create-ref-registered-device', 'users_create_ref_registered_device')
        g.custom_command('create-ref-transitive-member-of', 'users_create_ref_transitive_member_of')
        g.custom_command('get-extension', 'users_get_extension')
        g.custom_command('get-license-detail', 'users_get_license_detail')
        g.custom_command('get-manager', 'users_get_manager')
        g.custom_command('get-notification', 'users_get_notification')
        g.custom_command('get-outlook', 'users_get_outlook')
        g.custom_command('get-photo', 'users_get_photo')
        g.custom_command('get-photo-content', 'users_get_photo_content')
        g.custom_command('get-ref-manager', 'users_get_ref_manager')
        g.custom_command('get-setting', 'users_get_setting')
        g.custom_command('get-todo', 'users_get_todo')
        g.custom_command('list-created-object', 'users_list_created_object')
        g.custom_command('list-direct-report', 'users_list_direct_report')
        g.custom_command('list-extension', 'users_list_extension')
        g.custom_command('list-license-detail', 'users_list_license_detail')
        g.custom_command('list-member-of', 'users_list_member_of')
        g.custom_command('list-notification', 'users_list_notification')
        g.custom_command('list-owned-device', 'users_list_owned_device')
        g.custom_command('list-owned-object', 'users_list_owned_object')
        g.custom_command('list-photo', 'users_list_photo')
        g.custom_command('list-ref-created-object', 'users_list_ref_created_object')
        g.custom_command('list-ref-direct-report', 'users_list_ref_direct_report')
        g.custom_command('list-ref-member-of', 'users_list_ref_member_of')
        g.custom_command('list-ref-owned-device', 'users_list_ref_owned_device')
        g.custom_command('list-ref-owned-object', 'users_list_ref_owned_object')
        g.custom_command('list-ref-registered-device', 'users_list_ref_registered_device')
        g.custom_command('list-ref-transitive-member-of', 'users_list_ref_transitive_member_of')
        g.custom_command('list-registered-device', 'users_list_registered_device')
        g.custom_command('list-transitive-member-of', 'users_list_transitive_member_of')
        g.custom_command('set-photo-content', 'users_set_photo_content')
        g.custom_command('set-ref-manager', 'users_set_ref_manager')
        g.custom_command('update-extension', 'users_update_extension')
        g.custom_command('update-license-detail', 'users_update_license_detail')
        g.custom_command('update-notification', 'users_update_notification')
        g.custom_command('update-outlook', 'users_update_outlook')
        g.custom_command('update-photo', 'users_update_photo')
        g.custom_command('update-setting', 'users_update_setting')
        g.custom_command('update-todo', 'users_update_todo')

    from azext_users_beta.generated._client_factory import cf_user_outlook
    users_beta_user_outlook = CliCommandType(
        operations_tmpl='azext_users_beta.vendored_sdks.users.operations._user_outlook_operations#UserOutlookOperations'
        '.{}',
        client_factory=cf_user_outlook)
    with self.command_group('users', users_beta_user_outlook, client_factory=cf_user_outlook) as g:
        g.custom_command('delete', 'users_delete', confirmation=True)
        g.custom_command('create-master-category', 'users_create_master_category')
        g.custom_command('create-task', 'users_create_task')
        g.custom_command('create-task-folder', 'users_create_task_folder')
        g.custom_command('create-task-group', 'users_create_task_group')
        g.custom_command('get-master-category', 'users_get_master_category')
        g.custom_command('get-task', 'users_get_task')
        g.custom_command('get-task-folder', 'users_get_task_folder')
        g.custom_command('get-task-group', 'users_get_task_group')
        g.custom_command('list-master-category', 'users_list_master_category')
        g.custom_command('list-task', 'users_list_task')
        g.custom_command('list-task-folder', 'users_list_task_folder')
        g.custom_command('list-task-group', 'users_list_task_group')
        g.custom_command('update-master-category', 'users_update_master_category')
        g.custom_command('update-task', 'users_update_task')
        g.custom_command('update-task-folder', 'users_update_task_folder')
        g.custom_command('update-task-group', 'users_update_task_group')

    from azext_users_beta.generated._client_factory import cf_user_outlook_task_folder
    users_beta_user_outlook_task_folder = CliCommandType(
        operations_tmpl='azext_users_beta.vendored_sdks.users.operations._user_outlook_task_folder_operations#UserOutlo'
        'okTaskFolderOperations.{}',
        client_factory=cf_user_outlook_task_folder)
    with self.command_group('users', users_beta_user_outlook_task_folder,
                            client_factory=cf_user_outlook_task_folder) as g:
        g.custom_command('delete', 'users_delete', confirmation=True)
        g.custom_command('create-multi-value-extended-property', 'users_create_multi_value_extended_property')
        g.custom_command('create-single-value-extended-property', 'users_create_single_value_extended_property')
        g.custom_command('create-task', 'users_create_task')
        g.custom_command('get-multi-value-extended-property', 'users_get_multi_value_extended_property')
        g.custom_command('get-single-value-extended-property', 'users_get_single_value_extended_property')
        g.custom_command('get-task', 'users_get_task')
        g.custom_command('list-multi-value-extended-property', 'users_list_multi_value_extended_property')
        g.custom_command('list-single-value-extended-property', 'users_list_single_value_extended_property')
        g.custom_command('list-task', 'users_list_task')
        g.custom_command('update-multi-value-extended-property', 'users_update_multi_value_extended_property')
        g.custom_command('update-single-value-extended-property', 'users_update_single_value_extended_property')
        g.custom_command('update-task', 'users_update_task')

    from azext_users_beta.generated._client_factory import cf_user_outlook_task_folder_task
    users_beta_user_outlook_task_folder_task = CliCommandType(
        operations_tmpl='azext_users_beta.vendored_sdks.users.operations._user_outlook_task_folder_task_operations#User'
        'OutlookTaskFolderTaskOperations.{}',
        client_factory=cf_user_outlook_task_folder_task)
    with self.command_group('users', users_beta_user_outlook_task_folder_task,
                            client_factory=cf_user_outlook_task_folder_task) as g:
        g.custom_command('delete', 'users_delete', confirmation=True)
        g.custom_command('create-attachment', 'users_create_attachment')
        g.custom_command('create-multi-value-extended-property', 'users_create_multi_value_extended_property')
        g.custom_command('create-single-value-extended-property', 'users_create_single_value_extended_property')
        g.custom_command('get-attachment', 'users_get_attachment')
        g.custom_command('get-multi-value-extended-property', 'users_get_multi_value_extended_property')
        g.custom_command('get-single-value-extended-property', 'users_get_single_value_extended_property')
        g.custom_command('list-attachment', 'users_list_attachment')
        g.custom_command('list-multi-value-extended-property', 'users_list_multi_value_extended_property')
        g.custom_command('list-single-value-extended-property', 'users_list_single_value_extended_property')
        g.custom_command('update-attachment', 'users_update_attachment')
        g.custom_command('update-multi-value-extended-property', 'users_update_multi_value_extended_property')
        g.custom_command('update-single-value-extended-property', 'users_update_single_value_extended_property')

    from azext_users_beta.generated._client_factory import cf_user_outlook_task_group
    users_beta_user_outlook_task_group = CliCommandType(
        operations_tmpl='azext_users_beta.vendored_sdks.users.operations._user_outlook_task_group_operations#UserOutloo'
        'kTaskGroupOperations.{}',
        client_factory=cf_user_outlook_task_group)
    with self.command_group('users', users_beta_user_outlook_task_group,
                            client_factory=cf_user_outlook_task_group) as g:
        g.custom_command('delete', 'users_delete', confirmation=True)
        g.custom_command('create-task-folder', 'users_create_task_folder')
        g.custom_command('get-task-folder', 'users_get_task_folder')
        g.custom_command('list-task-folder', 'users_list_task_folder')
        g.custom_command('update-task-folder', 'users_update_task_folder')

    from azext_users_beta.generated._client_factory import cf_user_outlook_task_group_task_folder
    users_beta_user_outlook_task_group_task_folder = CliCommandType(
        operations_tmpl='azext_users_beta.vendored_sdks.users.operations._user_outlook_task_group_task_folder_operation'
        's#UserOutlookTaskGroupTaskFolderOperations.{}',
        client_factory=cf_user_outlook_task_group_task_folder)
    with self.command_group('users', users_beta_user_outlook_task_group_task_folder,
                            client_factory=cf_user_outlook_task_group_task_folder) as g:
        g.custom_command('delete', 'users_delete', confirmation=True)
        g.custom_command('create-multi-value-extended-property', 'users_create_multi_value_extended_property')
        g.custom_command('create-single-value-extended-property', 'users_create_single_value_extended_property')
        g.custom_command('create-task', 'users_create_task')
        g.custom_command('get-multi-value-extended-property', 'users_get_multi_value_extended_property')
        g.custom_command('get-single-value-extended-property', 'users_get_single_value_extended_property')
        g.custom_command('get-task', 'users_get_task')
        g.custom_command('list-multi-value-extended-property', 'users_list_multi_value_extended_property')
        g.custom_command('list-single-value-extended-property', 'users_list_single_value_extended_property')
        g.custom_command('list-task', 'users_list_task')
        g.custom_command('update-multi-value-extended-property', 'users_update_multi_value_extended_property')
        g.custom_command('update-single-value-extended-property', 'users_update_single_value_extended_property')
        g.custom_command('update-task', 'users_update_task')

    from azext_users_beta.generated._client_factory import cf_user_outlook_task_group_task_folder_task
    users_beta_user_outlook_task_group_task_folder_task = CliCommandType(
        operations_tmpl='azext_users_beta.vendored_sdks.users.operations._user_outlook_task_group_task_folder_task_oper'
        'ations#UserOutlookTaskGroupTaskFolderTaskOperations.{}',
        client_factory=cf_user_outlook_task_group_task_folder_task)
    with self.command_group('users', users_beta_user_outlook_task_group_task_folder_task,
                            client_factory=cf_user_outlook_task_group_task_folder_task) as g:
        g.custom_command('delete', 'users_delete', confirmation=True)
        g.custom_command('create-attachment', 'users_create_attachment')
        g.custom_command('create-multi-value-extended-property', 'users_create_multi_value_extended_property')
        g.custom_command('create-single-value-extended-property', 'users_create_single_value_extended_property')
        g.custom_command('get-attachment', 'users_get_attachment')
        g.custom_command('get-multi-value-extended-property', 'users_get_multi_value_extended_property')
        g.custom_command('get-single-value-extended-property', 'users_get_single_value_extended_property')
        g.custom_command('list-attachment', 'users_list_attachment')
        g.custom_command('list-multi-value-extended-property', 'users_list_multi_value_extended_property')
        g.custom_command('list-single-value-extended-property', 'users_list_single_value_extended_property')
        g.custom_command('update-attachment', 'users_update_attachment')
        g.custom_command('update-multi-value-extended-property', 'users_update_multi_value_extended_property')
        g.custom_command('update-single-value-extended-property', 'users_update_single_value_extended_property')

    from azext_users_beta.generated._client_factory import cf_user_outlook_task
    users_beta_user_outlook_task = CliCommandType(
        operations_tmpl='azext_users_beta.vendored_sdks.users.operations._user_outlook_task_operations#UserOutlookTaskO'
        'perations.{}',
        client_factory=cf_user_outlook_task)
    with self.command_group('users', users_beta_user_outlook_task, client_factory=cf_user_outlook_task) as g:
        g.custom_command('delete', 'users_delete', confirmation=True)
        g.custom_command('create-attachment', 'users_create_attachment')
        g.custom_command('create-multi-value-extended-property', 'users_create_multi_value_extended_property')
        g.custom_command('create-single-value-extended-property', 'users_create_single_value_extended_property')
        g.custom_command('get-attachment', 'users_get_attachment')
        g.custom_command('get-multi-value-extended-property', 'users_get_multi_value_extended_property')
        g.custom_command('get-single-value-extended-property', 'users_get_single_value_extended_property')
        g.custom_command('list-attachment', 'users_list_attachment')
        g.custom_command('list-multi-value-extended-property', 'users_list_multi_value_extended_property')
        g.custom_command('list-single-value-extended-property', 'users_list_single_value_extended_property')
        g.custom_command('update-attachment', 'users_update_attachment')
        g.custom_command('update-multi-value-extended-property', 'users_update_multi_value_extended_property')
        g.custom_command('update-single-value-extended-property', 'users_update_single_value_extended_property')

    from azext_users_beta.generated._client_factory import cf_user_setting
    users_beta_user_setting = CliCommandType(
        operations_tmpl='azext_users_beta.vendored_sdks.users.operations._user_setting_operations#UserSettingOperations'
        '.{}',
        client_factory=cf_user_setting)
    with self.command_group('users', users_beta_user_setting, client_factory=cf_user_setting) as g:
        g.custom_command('delete', 'users_delete', confirmation=True)
        g.custom_command('get-regional-and-language-setting', 'users_get_regional_and_language_setting')
        g.custom_command('get-shift-preference', 'users_get_shift_preference')
        g.custom_command('update-regional-and-language-setting', 'users_update_regional_and_language_setting')
        g.custom_command('update-shift-preference', 'users_update_shift_preference')

    from azext_users_beta.generated._client_factory import cf_user_todo
    users_beta_user_todo = CliCommandType(
        operations_tmpl='azext_users_beta.vendored_sdks.users.operations._user_todo_operations#UserTodoOperations.{}',
        client_factory=cf_user_todo)
    with self.command_group('users', users_beta_user_todo, client_factory=cf_user_todo) as g:
        g.custom_command('delete', 'users_delete', confirmation=True)
        g.custom_command('create-list', 'users_create_list')
        g.custom_command('get-list', 'users_get_list')
        g.custom_command('list-list', 'users_list_list')
        g.custom_command('update-list', 'users_update_list')

    from azext_users_beta.generated._client_factory import cf_user_todo_list
    users_beta_user_todo_list = CliCommandType(
        operations_tmpl='azext_users_beta.vendored_sdks.users.operations._user_todo_list_operations#UserTodoListOperati'
        'ons.{}',
        client_factory=cf_user_todo_list)
    with self.command_group('users', users_beta_user_todo_list, client_factory=cf_user_todo_list) as g:
        g.custom_command('delete', 'users_delete', confirmation=True)
        g.custom_command('create-extension', 'users_create_extension')
        g.custom_command('create-task', 'users_create_task')
        g.custom_command('get-extension', 'users_get_extension')
        g.custom_command('get-task', 'users_get_task')
        g.custom_command('list-extension', 'users_list_extension')
        g.custom_command('list-task', 'users_list_task')
        g.custom_command('update-extension', 'users_update_extension')
        g.custom_command('update-task', 'users_update_task')

    from azext_users_beta.generated._client_factory import cf_user_todo_list_task
    users_beta_user_todo_list_task = CliCommandType(
        operations_tmpl='azext_users_beta.vendored_sdks.users.operations._user_todo_list_task_operations#UserTodoListTa'
        'skOperations.{}',
        client_factory=cf_user_todo_list_task)
    with self.command_group('users', users_beta_user_todo_list_task, client_factory=cf_user_todo_list_task) as g:
        g.custom_command('delete', 'users_delete', confirmation=True)
        g.custom_command('create-extension', 'users_create_extension')
        g.custom_command('create-linked-resource', 'users_create_linked_resource')
        g.custom_command('get-extension', 'users_get_extension')
        g.custom_command('get-linked-resource', 'users_get_linked_resource')
        g.custom_command('list-extension', 'users_list_extension')
        g.custom_command('list-linked-resource', 'users_list_linked_resource')
        g.custom_command('update-extension', 'users_update_extension')
        g.custom_command('update-linked-resource', 'users_update_linked_resource')