desc stringlengths 3 26.7k | decl stringlengths 11 7.89k | bodies stringlengths 8 553k |
|---|---|---|
'Deletes an integration account partner.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param partner_name: The integration account partner name.
:type partner_name: str
:param dict c... | def delete(self, resource_group_name, integration_account_name, partner_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGro... |
'Gets a list of workflow run actions.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param run_name: The workflow run name.
:type run_name: str
:param top: The number of items to be included in the result.
:type top:... | def list(self, resource_group_name, workflow_name, run_name, top=None, filter=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions'
path_format_arguments = {'subscriptionId': self._serialize.url('sel... |
'Gets a workflow run action.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param run_name: The workflow run name.
:type run_name: str
:param action_name: The workflow action name.
:type action_name: str
:param dict ... | def get(self, resource_group_name, workflow_name, run_name, action_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName'... |
'Gets a list of integration accounts by subscription.
:param top: The number of items to be included in the result.
:type top: int
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operati... | def list_by_subscription(self, top=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/subscriptions/{subscriptionId}/providers/Microsoft.Logic/integrationAccounts'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str')}... |
'Gets a list of integration accounts by resource group.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param top: The number of items to be included in the result.
:type top: int
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the dire... | def list_by_resource_group(self, resource_group_name, top=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', s... |
'Gets an integration account.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct r... | def get(self, resource_group_name, integration_account_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName': self._serializ... |
'Creates or updates an integration account.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param integration_account: The integration account.
:type integration_account: :class:`Integ... | def create_or_update(self, resource_group_name, integration_account_name, integration_account, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName': self._serializ... |
'Updates an integration account.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param integration_account: The integration account.
:type integration_account: :class:`IntegrationAccou... | def update(self, resource_group_name, integration_account_name, integration_account, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName': self._serializ... |
'Deletes an integration account.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direc... | def delete(self, resource_group_name, integration_account_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName': self._serializ... |
'Gets the integration account callback URL.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param not_after: The expiry time.
:type not_after: datetime
:param key_type: The key type. P... | def get_callback_url(self, resource_group_name, integration_account_name, not_after=None, key_type=None, custom_headers=None, raw=False, **operation_config):
| parameters = models.GetCallbackUrlParameters(not_after=not_after, key_type=key_type)
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/listCallbackUrl'
path_format_arguments = {'subscriptionId': self._serialize.ur... |
'Gets a list of integration account maps.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param top: The number of items to be included in the result.
:type top: int
:param filter: The... | def list_by_integration_accounts(self, resource_group_name, integration_account_name, top=None, filter=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps'
path_format_arguments = {'subscriptionId': self._serialize.url('s... |
'Gets an integration account map.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param map_name: The integration account map name.
:type map_name: str
:param dict custom_headers: head... | def get(self, resource_group_name, integration_account_name, map_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps/{mapName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName':... |
'Creates or updates an integration account map.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param map_name: The integration account map name.
:type map_name: str
:param map: The in... | def create_or_update(self, resource_group_name, integration_account_name, map_name, map, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps/{mapName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName':... |
'Deletes an integration account map.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param map_name: The integration account map name.
:type map_name: str
:param dict custom_headers: h... | def delete(self, resource_group_name, integration_account_name, map_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps/{mapName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName':... |
'Gets a list of workflow triggers.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param top: The number of items to be included in the result.
:type top: int
:param filter: The filter to apply on the operation.
:type... | def list(self, resource_group_name, workflow_name, top=None, filter=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subs... |
'Gets a workflow trigger.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param trigger_name: The workflow trigger name.
:type trigger_name: str
:param dict custom_headers: headers that will be added to the request
:p... | def get(self, resource_group_name, workflow_name, trigger_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName': self._seria... |
'Runs a workflow trigger.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param trigger_name: The workflow trigger name.
:type trigger_name: str
:param dict custom_headers: headers that will be added to the request
:p... | def run(self, resource_group_name, workflow_name, trigger_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/run'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName': self._s... |
'Gets the callback URL for a workflow trigger.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param trigger_name: The workflow trigger name.
:type trigger_name: str
:param dict custom_headers: headers that will be ad... | def list_callback_url(self, resource_group_name, workflow_name, trigger_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/listCallbackUrl'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupNa... |
'Gets a list of integration account sessions.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param top: The number of items to be included in the result.
:type top: int
:param filter:... | def list_by_integration_accounts(self, resource_group_name, integration_account_name, top=None, filter=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/sessions'
path_format_arguments = {'subscriptionId': self._serialize.ur... |
'Gets an integration account session.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param session_name: The integration account session name.
:type session_name: str
:param dict cust... | def get(self, resource_group_name, integration_account_name, session_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/sessions/{sessionName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGro... |
'Creates or updates an integration account session.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param session_name: The integration account session name.
:type session_name: str
:p... | def create_or_update(self, resource_group_name, integration_account_name, session_name, session, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/sessions/{sessionName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGro... |
'Deletes an integration account session.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param session_name: The integration account session name.
:type session_name: str
:param dict c... | def delete(self, resource_group_name, integration_account_name, session_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/sessions/{sessionName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGro... |
'Gets a list of integration account certificates.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param top: The number of items to be included in the result.
:type top: int
:param dic... | def list_by_integration_accounts(self, resource_group_name, integration_account_name, top=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates'
path_format_arguments = {'subscriptionId': self._serializ... |
'Gets an integration account certificate.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param certificate_name: The integration account certificate name.
:type certificate_name: str
... | def get(self, resource_group_name, integration_account_name, certificate_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates/{certificateName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'res... |
'Creates or updates an integration account certificate.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param certificate_name: The integration account certificate name.
:type certific... | def create_or_update(self, resource_group_name, integration_account_name, certificate_name, certificate, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates/{certificateName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'res... |
'Deletes an integration account certificate.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param certificate_name: The integration account certificate name.
:type certificate_name: s... | def delete(self, resource_group_name, integration_account_name, certificate_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates/{certificateName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'res... |
'Gets a list of workflow runs.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param top: The number of items to be included in the result.
:type top: int
:param filter: The filter to apply on the operation.
:type fil... | def list(self, resource_group_name, workflow_name, top=None, filter=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscript... |
'Gets a workflow run.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param run_name: The workflow run name.
:type run_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: r... | def get(self, resource_group_name, workflow_name, run_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url... |
'Cancels a workflow run.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param run_name: The workflow run name.
:type run_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw... | def cancel(self, resource_group_name, workflow_name, run_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/cancel'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName': self._serial... |
'Gets a list of workflows by subscription.
:param top: The number of items to be included in the result.
:type top: int
:param filter: The filter to apply on the operation.
:type filter: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
... | def list_by_subscription(self, top=None, filter=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/subscriptions/{subscriptionId}/providers/Microsoft.Logic/workflows'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str')}
... |
'Gets a list of workflows by resource group.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param top: The number of items to be included in the result.
:type top: int
:param filter: The filter to apply on the operation.
:type filter: str
:param dict custom_headers: headers that wi... | def list_by_resource_group(self, resource_group_name, top=None, filter=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config... |
'Gets a workflow.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:... | def get(self, resource_group_name, workflow_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url('resource_grou... |
'Creates or updates a workflow.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param workflow: The workflow.
:type workflow: :class:`Workflow <azure.mgmt.logic.models.Workflow>`
:param dict custom_headers: headers th... | def create_or_update(self, resource_group_name, workflow_name, workflow, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url('resource_grou... |
'Updates a workflow.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param workflow: The workflow.
:type workflow: :class:`Workflow <azure.mgmt.logic.models.Workflow>`
:param dict custom_headers: headers that will be ... | def update(self, resource_group_name, workflow_name, workflow, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url('resource_grou... |
'Deletes a workflow.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized respons... | def delete(self, resource_group_name, workflow_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url('resource_grou... |
'Disables a workflow.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized respon... | def disable(self, resource_group_name, workflow_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/disable'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url('resou... |
'Enables a workflow.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized respons... | def enable(self, resource_group_name, workflow_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/enable'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url('resour... |
'Generates the upgraded definition for a workflow.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param target_schema_version: The target schema version.
:type target_schema_version: str
:param dict custom_headers: h... | def generate_upgraded_definition(self, resource_group_name, workflow_name, target_schema_version=None, custom_headers=None, raw=False, **operation_config):
| parameters = models.GenerateUpgradedDefinitionParameters(target_schema_version=target_schema_version)
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/generateUpgradedDefinition'
path_format_arguments = {'subscriptionId': self._seri... |
'Gets an OpenAPI definition for the workflow.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside... | def list_swagger(self, resource_group_name, workflow_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/listSwagger'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url('r... |
'Regenerates the callback URL access key for request triggers.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param key_type: The key type. Possible values include:
\'NotSpecified\', \'Primary\', \'Secondary\'
:type ... | def regenerate_access_key(self, resource_group_name, workflow_name, key_type=None, custom_headers=None, raw=False, **operation_config):
| key_type1 = models.RegenerateActionParameter(key_type=key_type)
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/regenerateAccessKey'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self... |
'Validates the workflow definition.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param location: The workflow location.
:type location: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param workflow: The workflow definition.
:type workflow: :class:`Workflow... | def validate(self, resource_group_name, location, workflow_name, workflow, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/locations/{location}/workflows/{workflowName}/validate'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName': self... |
'Gets a list of workflow trigger histories.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param trigger_name: The workflow trigger name.
:type trigger_name: str
:param top: The number of items to be included in the ... | def list(self, resource_group_name, workflow_name, trigger_name, top=None, filter=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/histories'
path_format_arguments = {'subscriptionId': self._serializ... |
'Gets a workflow trigger history.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param trigger_name: The workflow trigger name.
:type trigger_name: str
:param history_name: The workflow trigger history name. Correspo... | def get(self, resource_group_name, workflow_name, trigger_name, history_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/histories/{historyName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourc... |
'Resubmits a workflow run based on the trigger history.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param trigger_name: The workflow trigger name.
:type trigger_name: str
:param history_name: The workflow trigger ... | def resubmit(self, resource_group_name, workflow_name, trigger_name, history_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}/histories/{historyName}/resubmit'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'),... |
'Gets a list of integration account schemas.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param top: The number of items to be included in the result.
:type top: int
:param filter: ... | def list_by_integration_accounts(self, resource_group_name, integration_account_name, top=None, filter=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas'
path_format_arguments = {'subscriptionId': self._serialize.url... |
'Gets an integration account schema.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param schema_name: The integration account schema name.
:type schema_name: str
:param dict custom_h... | def get(self, resource_group_name, integration_account_name, schema_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas/{schemaName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroup... |
'Creates or updates an integration account schema.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param schema_name: The integration account schema name.
:type schema_name: str
:param... | def create_or_update(self, resource_group_name, integration_account_name, schema_name, schema, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas/{schemaName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroup... |
'Deletes an integration account schema.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param integration_account_name: The integration account name.
:type integration_account_name: str
:param schema_name: The integration account schema name.
:type schema_name: str
:param dict custo... | def delete(self, resource_group_name, integration_account_name, schema_name, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas/{schemaName}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroup... |
'Gets a list of workflow versions.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param top: The number of items to be included in the result.
:type top: int
:param dict custom_headers: headers that will be added to ... | def list(self, resource_group_name, workflow_name, top=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/versions'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subsc... |
'Gets a workflow version.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param version_id: The workflow versionId.
:type version_id: str
:param dict custom_headers: headers that will be added to the request
:param bo... | def get(self, resource_group_name, workflow_name, version_id, custom_headers=None, raw=False, **operation_config):
| url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/versions/{versionId}'
path_format_arguments = {'subscriptionId': self._serialize.url('self.config.subscription_id', self.config.subscription_id, 'str'), 'resourceGroupName': self._seriali... |
'Lists the callback URL for a trigger of a workflow version.
:param resource_group_name: The resource group name.
:type resource_group_name: str
:param workflow_name: The workflow name.
:type workflow_name: str
:param version_id: The workflow versionId.
:type version_id: str
:param trigger_name: The workflow trigger na... | def list_callback_url(self, resource_group_name, workflow_name, version_id, trigger_name, not_after=None, key_type=None, custom_headers=None, raw=False, **operation_config):
| parameters = None
if ((not_after is not None) or (key_type is not None)):
parameters = models.GetCallbackUrlParameters(not_after=not_after, key_type=key_type)
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/versions/{versio... |
'Return distribution full name with - replaced with _'
| @property
def wheel_dist_name(self):
| return '-'.join((safer_name(self.distribution.get_name()), safer_version(self.distribution.get_version())))
|
'Return archive name without extension'
| def get_archive_basename(self):
| (impl_tag, abi_tag, plat_tag) = self.get_tag()
archive_basename = ('%s-%s-%s-%s' % (self.wheel_dist_name, impl_tag, abi_tag, plat_tag))
return archive_basename
|
'Return license filename from a license-file key in setup.cfg, or None.'
| def license_file(self):
| metadata = self.distribution.get_option_dict('metadata')
if (not ('license_file' in metadata)):
return None
return metadata['license_file'][1]
|
'Generate requirements from setup.cfg as
(\'Requires-Dist\', \'requirement; qualifier\') tuples. From a metadata
section in setup.cfg:
[metadata]
provides-extra = extra1
extra2
requires-dist = requirement; qualifier
another; qualifier2
unqualified
Yields
(\'Provides-Extra\', \'extra1\'),
(\'Provides-Extra\', \'extra2\'... | def setupcfg_requirements(self):
| metadata = self.distribution.get_option_dict('metadata')
for (key, title) in (('provides_extra', 'Provides-Extra'), ('requires_dist', 'Requires-Dist')):
if (not (key in metadata)):
continue
field = metadata[key]
for line in field[1].splitlines():
line = line.strip... |
'Add additional requirements from setup.cfg to file metadata_path'
| def add_requirements(self, metadata_path):
| additional = list(self.setupcfg_requirements())
if (not additional):
return
pkg_info = read_pkg_info(metadata_path)
if (('Provides-Extra' in pkg_info) or ('Requires-Dist' in pkg_info)):
warnings.warn('setup.cfg requirements overwrite values from setup.py')
del pkg_... |
'Convert an .egg-info directory into a .dist-info directory'
| def egg2dist(self, egginfo_path, distinfo_path):
| def adios(p):
'Appropriately delete directory, file or link.'
if (os.path.exists(p) and (not os.path.islink(p)) and os.path.isdir(p)):
shutil.rmtree(p)
elif os.path.exists(p):
os.unlink(p)
adios(distinfo_path)
if (not os.path.exists(egginfo_path... |
'Provisions a script which invokes an iSCSI connection to the backup
data. Executing this script opens a file explorer displaying all the
recoverable files and folders. This is an asynchronous operation. To
know the status of provisioning, call GetProtectedItemOperationResult
API.
:param vault_name: The name of the rec... | def provision(self, vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, parameters, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}/provisionInstantItemRecovery'
path_format_argument... |
'Revokes an iSCSI connection which can be used to download a script.
Executing this script opens a file explorer displaying all recoverable
files and folders. This is an asynchronous operation.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the ... | def revoke(self, vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}/revokeInstantItemRecovery'
path_format_arguments =... |
'Fetches resource vault config.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param dict custom_headers: headers that will be added to the request
... | def get(self, vault_name, resource_group_name, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupconfig/vaultconfig'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize.url('resource_group_name', ... |
'Updates vault security config.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param parameters: resource config request
:type parameters: :class:`B... | def update(self, vault_name, resource_group_name, parameters, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupconfig/vaultconfig'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize.url('resource_group_name', ... |
'Gets exteded information associated with the job.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param job_name: Name of the job whose details are ... | def get(self, vault_name, resource_group_name, job_name, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs/{jobName}'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize.url('resource_group_name', reso... |
'Lists the backup copies for the backed up item.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param fabric_name: Fabric name associated with the b... | def list(self, vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}... |
'Provides the information of the backed up data identified using
RecoveryPointID. This is an asynchronous operation. To know the status
of the operation, call the GetProtectedItemOperationResult API.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name o... | def get(self, vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}'
path_format_arguments = {'vaultName': self._seria... |
'Provides the details of the backup policies associated to Recovery
Services Vault. This is an asynchronous operation. Status of the
operation can be fetched using GetPolicyOperationResult API.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the ... | def get(self, vault_name, resource_group_name, policy_name, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies/{policyName}'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize.url('resource_group_name... |
'Creates or modifies a backup policy. This is an asynchronous operation.
Status of the operation can be fetched using GetPolicyOperationResult
API.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vau... | def create_or_update(self, vault_name, resource_group_name, policy_name, parameters, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies/{policyName}'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize.url('resource_group_name... |
'Deletes specified backup policy from your Recovery Services Vault. This
is an asynchronous operation. Status of the operation can be fetched
using GetPolicyOperationResult API.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group w... | def delete(self, vault_name, resource_group_name, policy_name, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies/{policyName}'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize.url('resource_group_name... |
'Lists of backup policies associated with Recovery Services Vault. API
provides pagination parameters to fetch scoped results.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type ... | def list(self, vault_name, resource_group_name, filter=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies'
path_format_arguments = {'vaultName': self._serialize.url('vault_name'... |
'Fetches the status of an operation such as triggering a backup,
restore. The status can be in progress, completed or failed. You can
refer to the OperationStatus enum for all the possible states of the
operation. Some operations create jobs. This method returns the list of
jobs associated with the operation.
:param va... | def get(self, vault_name, resource_group_name, fabric_name, container_name, protected_item_name, operation_id, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/operationsStatus/{operationId}'
path_format_arguments = {'vaultName': self._seriali... |
'Provides the details of the backed up item. This is an asynchronous
operation. To know the status of the operation, call the
GetItemOperationResult API.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery servic... | def get(self, vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter=None, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name... |
'Enables backup of an item or to modifies the backup policy information
of an already backed up item. This is an asynchronous operation. To
know the status of the operation, call the GetItemOperationResult API.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name:... | def create_or_update(self, vault_name, resource_group_name, fabric_name, container_name, protected_item_name, parameters, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name... |
'Used to disable backup of an item within a container. This is an
asynchronous operation. To know the status of the request, call the
GetItemOperationResult API.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recover... | def delete(self, vault_name, resource_group_name, fabric_name, container_name, protected_item_name, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name... |
'Returns the list of available operations.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: An iterator like inst... | def list(self, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/providers/Microsoft.RecoveryServices/operations'
query_parameters = {}
query_parameters['api-version'] = self._serialize.query('self.api_version', self.api_version, 'str')
else:
... |
'Fetches the backup management usage summaries of the vault.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param filter: OData filter options.
:typ... | def list(self, vault_name, resource_group_name, filter=None, skip_token=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupUsageSummaries'
path_format_arguments = {'vaultName': self._serialize.url('vault... |
'Lists the containers registered to Recovery Services Vault.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param filter: OData filter options.
:typ... | def list(self, vault_name, resource_group_name, filter=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectionContainers'
path_format_arguments = {'vaultName': self._serialize.url(... |
'Gets the operation result of operation triggered by Export Jobs API. If
the operation is successful, then it also contains URL of a Blob and a
SAS key to access the same. The blob contains exported jobs in JSON
serialized format.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param ... | def get(self, vault_name, resource_group_name, operation_id, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs/operationResults/{operationId}'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize.url('resou... |
'Provides a pageable list of all items that are backed up within a
vault.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param filter: OData filter ... | def list(self, vault_name, resource_group_name, filter=None, skip_token=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectedItems'
path_format_arguments = {'vaultName': self._serialize.url('vault... |
'Provides a pageable list of protectable objects within your
subscription according to the query filter and the pagination
parameters.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present... | def list(self, vault_name, resource_group_name, filter=None, skip_token=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectableItems'
path_format_arguments = {'vaultName': self._serialize.url('vau... |
'Provides the status of the asynchronous operations like backup,
restore. The status can be in progress, completed or failed. You can
refer to the Operation Status enum for all the possible states of an
operation. Some operations create jobs. This method returns the list of
jobs associated with operation.
:param vault_... | def get(self, vault_name, resource_group_name, policy_name, operation_id, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies/{policyName}/operations/{operationId}'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize... |
'Fetches the result of any operation on the container.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param fabric_name: Fabric name associated with... | def get(self, vault_name, resource_group_name, fabric_name, container_name, operation_id, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/operationResults/{operationId}'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 's... |
'Fetches the result of any operation on the backup item.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param fabric_name: Fabric name associated wi... | def get(self, vault_name, resource_group_name, fabric_name, container_name, protected_item_name, operation_id, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/operationResults/{operationId}'
path_format_arguments = {'vaultName': self._seriali... |
'Get the security PIN.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param dict custom_headers: headers that will be added to the request
:param bo... | def get(self, vault_name, resource_group_name, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupSecurityPIN'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize.url('resource_group_name', resourc... |
'Gets details of the specific container registered to your Recovery
Services Vault.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param fabric_name... | def get(self, vault_name, resource_group_name, fabric_name, container_name, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self... |
'Discovers all the containers in the subscription that can be backed up
to Recovery Services Vault. This is an asynchronous operation. To know
the status of the operation, call GetRefreshOperationResult API.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: Th... | def refresh(self, vault_name, resource_group_name, fabric_name, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/refreshContainers'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize.url('re... |
'Provides the result of the refresh operation triggered by the
BeginRefresh operation.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param fabric_n... | def get(self, vault_name, resource_group_name, fabric_name, operation_id, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/operationResults/{operationId}'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._seri... |
'Restores the specified backed up data. This is an asynchronous
operation. To know the status of this API call, use
GetProtectedItemOperationResult API.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery service... | def trigger(self, vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, parameters, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}/restore'
path_format_arguments = {'vaultName': sel... |
'Backup management servers registered to Recovery Services Vault.
Returns a pageable list of servers.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
... | def list(self, vault_name, resource_group_name, filter=None, skip_token=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines'
path_format_arguments = {'vaultName': self._serialize.url('vault_name',... |
'Returns backup management server registered to Recovery Services Vault.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param backup_engine_name: Na... | def get(self, vault_name, resource_group_name, backup_engine_name, filter=None, skip_token=None, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines/{backupEngineName}'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize.url('resource_group... |
'Fetches the result of any operation.
the operation.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param job_name: Job name whose operation result ... | def get(self, vault_name, resource_group_name, job_name, operation_id, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs/{jobName}/operationResults/{operationId}'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize.... |
'Cancels a job. This is an asynchronous operation. To know the status of
the cancellation, call GetCancelOperationResult API.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type r... | def trigger(self, vault_name, resource_group_name, job_name, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs/{jobName}/cancel'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize.url('resource_group_name... |
'Provides the result of an operation.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param policy_name: Backup policy name whose operation\'s result... | def get(self, vault_name, resource_group_name, policy_name, operation_id, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies/{policyName}/operationResults/{operationId}'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._ser... |
'Triggers backup for specified backed up item. This is an asynchronous
operation. To know the status of the operation, call
GetProtectedItemOperationResult API.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery... | def trigger(self, vault_name, resource_group_name, fabric_name, container_name, protected_item_name, parameters, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/backup'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vau... |
'Fetches the status of an operation such as triggering a backup,
restore. The status can be in progress, completed or failed. You can
refer to the OperationStatus enum for all the possible states of an
operation. Some operations create jobs. This method returns the list of
jobs when the operation is complete.
:param va... | def get(self, vault_name, resource_group_name, operation_id, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupOperations/{operationId}'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize.url('resource_group_n... |
'Triggers export of jobs specified by filters and returns an OperationID
to track.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param filter: ODat... | def export(self, vault_name, resource_group_name, filter=None, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobsExport'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize.url('resource_group_name', resource... |
'Provides a pageable list of jobs.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param filter: OData filter options.
:type filter: str
:param skip_... | def list(self, vault_name, resource_group_name, filter=None, skip_token=None, custom_headers=None, raw=False, **operation_config):
| def internal_paging(next_link=None, raw=False):
if (not next_link):
url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', va... |
'Provides the status of the delete operations such as deleting backed up
item. Once the operation has started, the status code in the response
would be Accepted. It will continue to be in this state till it reaches
completion. On successful completion, the status code will be OK. This
method expects OperationID as an a... | def get(self, vault_name, resource_group_name, operation_id, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupOperationResults/{operationId}'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize.url('resource_g... |
'Fetches resource storage config.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param dict custom_headers: headers that will be added to the reques... | def get(self, vault_name, resource_group_name, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize.url('resource... |
'Updates vault storage model type.
:param vault_name: The name of the recovery services vault.
:type vault_name: str
:param resource_group_name: The name of the resource group where the
recovery services vault is present.
:type resource_group_name: str
:param dict custom_headers: headers that will be added to the reque... | def update(self, vault_name, resource_group_name, custom_headers=None, raw=False, **operation_config):
| url = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig'
path_format_arguments = {'vaultName': self._serialize.url('vault_name', vault_name, 'str'), 'resourceGroupName': self._serialize.url('resource... |
'Return distribution full name with - replaced with _'
| @property
def wheel_dist_name(self):
| return '-'.join((safer_name(self.distribution.get_name()), safer_version(self.distribution.get_version())))
|
'Return archive name without extension'
| def get_archive_basename(self):
| (impl_tag, abi_tag, plat_tag) = self.get_tag()
archive_basename = ('%s-%s-%s-%s' % (self.wheel_dist_name, impl_tag, abi_tag, plat_tag))
return archive_basename
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.