azure.mgmt.managedservices.operations module

class azure.mgmt.managedservices.operations.MarketplaceRegistrationDefinitionsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through ManagedServicesClient’s marketplace_registration_definitions attribute.

get(scope: str, marketplace_identifier: str, **kwargs: Any)azure.mgmt.managedservices.models._models_py3.MarketplaceRegistrationDefinition[source]

Get the marketplace registration definition for the marketplace identifier.

Parameters
  • scope (str) – The scope of the resource. Required.

  • marketplace_identifier (str) – The Azure Marketplace identifier. Expected formats: {publisher}.{product[-preview]}.{planName}.{version} or {publisher}.{product[-preview]}.{planName} or {publisher}.{product[-preview]} or {publisher}). Required.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

MarketplaceRegistrationDefinition or the result of cls(response)

Return type

MarketplaceRegistrationDefinition

Raises

HttpResponseError

list(scope: str, filter: Optional[str] = None, **kwargs: Any)Iterable[azure.mgmt.managedservices.models._models_py3.MarketplaceRegistrationDefinition][source]

Gets a list of the marketplace registration definitions for the marketplace identifier.

Parameters
  • scope (str) – The scope of the resource. Required.

  • filter (str) – The filter query parameter to filter managed services resources by. Default value is None.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

An iterator like instance of either MarketplaceRegistrationDefinition or the result of cls(response)

Return type

ItemPaged[MarketplaceRegistrationDefinition]

Raises

HttpResponseError

models = <module 'azure.mgmt.managedservices.models' from '/mnt/vss/_work/1/s/sdk/managedservices/azure-mgmt-managedservices/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/managedservices/models/__init__.py'>
class azure.mgmt.managedservices.operations.MarketplaceRegistrationDefinitionsWithoutScopeOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through ManagedServicesClient’s marketplace_registration_definitions_without_scope attribute.

get(marketplace_identifier: str, **kwargs: Any)azure.mgmt.managedservices.models._models_py3.MarketplaceRegistrationDefinition[source]

Get the marketplace registration definition for the marketplace identifier.

Parameters

marketplace_identifier (str) – The Azure Marketplace identifier. Expected formats: {publisher}.{product[-preview]}.{planName}.{version} or {publisher}.{product[-preview]}.{planName} or {publisher}.{product[-preview]} or {publisher}). Required.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

MarketplaceRegistrationDefinition or the result of cls(response)

Return type

MarketplaceRegistrationDefinition

Raises

HttpResponseError

list(filter: Optional[str] = None, **kwargs: Any)Iterable[azure.mgmt.managedservices.models._models_py3.MarketplaceRegistrationDefinition][source]

Gets a list of the marketplace registration definitions for the marketplace identifier.

Parameters

filter (str) – The filter query parameter to filter managed services resources by. Default value is None.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

An iterator like instance of either MarketplaceRegistrationDefinition or the result of cls(response)

Return type

ItemPaged[MarketplaceRegistrationDefinition]

Raises

HttpResponseError

models = <module 'azure.mgmt.managedservices.models' from '/mnt/vss/_work/1/s/sdk/managedservices/azure-mgmt-managedservices/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/managedservices/models/__init__.py'>
class azure.mgmt.managedservices.operations.Operations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through ManagedServicesClient’s operations attribute.

list(**kwargs: Any)azure.mgmt.managedservices.models._models_py3.OperationList[source]

Gets a list of the operations.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

OperationList or the result of cls(response)

Return type

OperationList

Raises

HttpResponseError

models = <module 'azure.mgmt.managedservices.models' from '/mnt/vss/_work/1/s/sdk/managedservices/azure-mgmt-managedservices/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/managedservices/models/__init__.py'>
class azure.mgmt.managedservices.operations.OperationsWithScopeOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through ManagedServicesClient’s operations_with_scope attribute.

list(scope: str, **kwargs: Any)azure.mgmt.managedservices.models._models_py3.OperationList[source]

Gets a list of the operations with the scope.

Parameters

scope (str) – The scope of the resource. Required.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

OperationList or the result of cls(response)

Return type

OperationList

Raises

HttpResponseError

models = <module 'azure.mgmt.managedservices.models' from '/mnt/vss/_work/1/s/sdk/managedservices/azure-mgmt-managedservices/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/managedservices/models/__init__.py'>
class azure.mgmt.managedservices.operations.RegistrationAssignmentsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through ManagedServicesClient’s registration_assignments attribute.

begin_create_or_update(scope: str, registration_assignment_id: str, request_body: _models.RegistrationAssignment, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.RegistrationAssignment][source]
begin_create_or_update(scope: str, registration_assignment_id: str, request_body: IO, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.RegistrationAssignment]

Creates or updates a registration assignment.

Parameters
  • scope (str) – The scope of the resource. Required.

  • registration_assignment_id (str) – The GUID of the registration assignment. Required.

  • request_body (RegistrationAssignment or IO) – The parameters required to create new registration assignment. Is either a model type or a IO type. Required.

Keyword Arguments
  • content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.

  • cls (callable) – A custom type or function that will be passed the direct response

  • continuation_token (str) – A continuation token to restart a poller from a saved state.

  • polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of LROPoller that returns either RegistrationAssignment or the result of cls(response)

Return type

LROPoller[RegistrationAssignment]

Raises

HttpResponseError

begin_delete(scope: str, registration_assignment_id: str, **kwargs: Any)azure.core.polling._poller.LROPoller[None][source]

Deletes the specified registration assignment.

Parameters
  • scope (str) – The scope of the resource. Required.

  • registration_assignment_id (str) – The GUID of the registration assignment. Required.

Keyword Arguments
  • cls (callable) – A custom type or function that will be passed the direct response

  • continuation_token (str) – A continuation token to restart a poller from a saved state.

  • polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of LROPoller that returns either None or the result of cls(response)

Return type

LROPoller[None]

Raises

HttpResponseError

get(scope: str, registration_assignment_id: str, expand_registration_definition: Optional[bool] = None, **kwargs: Any)azure.mgmt.managedservices.models._models_py3.RegistrationAssignment[source]

Gets the details of the specified registration assignment.

Parameters
  • scope (str) – The scope of the resource. Required.

  • registration_assignment_id (str) – The GUID of the registration assignment. Required.

  • expand_registration_definition (bool) – The flag indicating whether to return the registration definition details along with the registration assignment details. Default value is None.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

RegistrationAssignment or the result of cls(response)

Return type

RegistrationAssignment

Raises

HttpResponseError

list(scope: str, expand_registration_definition: Optional[bool] = None, filter: Optional[str] = None, **kwargs: Any)Iterable[azure.mgmt.managedservices.models._models_py3.RegistrationAssignment][source]

Gets a list of the registration assignments.

Parameters
  • scope (str) – The scope of the resource. Required.

  • expand_registration_definition (bool) – The flag indicating whether to return the registration definition details along with the registration assignment details. Default value is None.

  • filter (str) – The filter query parameter to filter managed services resources by. Default value is None.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

An iterator like instance of either RegistrationAssignment or the result of cls(response)

Return type

ItemPaged[RegistrationAssignment]

Raises

HttpResponseError

models = <module 'azure.mgmt.managedservices.models' from '/mnt/vss/_work/1/s/sdk/managedservices/azure-mgmt-managedservices/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/managedservices/models/__init__.py'>
class azure.mgmt.managedservices.operations.RegistrationDefinitionsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through ManagedServicesClient’s registration_definitions attribute.

begin_create_or_update(registration_definition_id: str, scope: str, request_body: _models.RegistrationDefinition, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.RegistrationDefinition][source]
begin_create_or_update(registration_definition_id: str, scope: str, request_body: IO, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.RegistrationDefinition]

Creates or updates a registration definition.

Parameters
  • registration_definition_id (str) – The GUID of the registration definition. Required.

  • scope (str) – The scope of the resource. Required.

  • request_body (RegistrationDefinition or IO) – The parameters required to create a new registration definition. Is either a model type or a IO type. Required.

Keyword Arguments
  • content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.

  • cls (callable) – A custom type or function that will be passed the direct response

  • continuation_token (str) – A continuation token to restart a poller from a saved state.

  • polling (bool or PollingMethod) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of LROPoller that returns either RegistrationDefinition or the result of cls(response)

Return type

LROPoller[RegistrationDefinition]

Raises

HttpResponseError

delete(registration_definition_id: str, scope: str, **kwargs: Any)None[source]

Deletes the registration definition.

Parameters
  • registration_definition_id (str) – The GUID of the registration definition. Required.

  • scope (str) – The scope of the resource. Required.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

None or the result of cls(response)

Return type

None

Raises

HttpResponseError

get(scope: str, registration_definition_id: str, **kwargs: Any)azure.mgmt.managedservices.models._models_py3.RegistrationDefinition[source]

Gets the registration definition details.

Parameters
  • scope (str) – The scope of the resource. Required.

  • registration_definition_id (str) – The GUID of the registration definition. Required.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

RegistrationDefinition or the result of cls(response)

Return type

RegistrationDefinition

Raises

HttpResponseError

list(scope: str, filter: Optional[str] = None, **kwargs: Any)Iterable[azure.mgmt.managedservices.models._models_py3.RegistrationDefinition][source]

Gets a list of the registration definitions.

Parameters
  • scope (str) – The scope of the resource. Required.

  • filter (str) – The filter query parameter to filter managed services resources by. Default value is None.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

An iterator like instance of either RegistrationDefinition or the result of cls(response)

Return type

ItemPaged[RegistrationDefinition]

Raises

HttpResponseError

models = <module 'azure.mgmt.managedservices.models' from '/mnt/vss/_work/1/s/sdk/managedservices/azure-mgmt-managedservices/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/managedservices/models/__init__.py'>