azure.mgmt.cloudhealth.operations module

class azure.mgmt.cloudhealth.operations.AuthenticationSettingsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

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

create_or_update(resource_group_name: str, health_model_name: str, authentication_setting_name: str, resource: AuthenticationSetting | MutableMapping[str, Any] | IO[bytes], **kwargs: Any) AuthenticationSetting[source]

Create a AuthenticationSetting.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

  • authentication_setting_name (str) – Name of the authentication setting. Must be unique within a health model. Required.

  • resource (AuthenticationSetting or JSON or IO[bytes]) – Resource create parameters. Is one of the following types: AuthenticationSetting, JSON, IO[bytes] Required.

Returns:

AuthenticationSetting. The AuthenticationSetting is compatible with MutableMapping

Return type:

AuthenticationSetting

Raises:

HttpResponseError

delete(resource_group_name: str, health_model_name: str, authentication_setting_name: str, **kwargs: Any) None[source]

Delete a AuthenticationSetting.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

  • authentication_setting_name (str) – Name of the authentication setting. Must be unique within a health model. Required.

Returns:

None

Return type:

None

Raises:

HttpResponseError

get(resource_group_name: str, health_model_name: str, authentication_setting_name: str, **kwargs: Any) AuthenticationSetting[source]

Get a AuthenticationSetting.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

  • authentication_setting_name (str) – Name of the authentication setting. Must be unique within a health model. Required.

Returns:

AuthenticationSetting. The AuthenticationSetting is compatible with MutableMapping

Return type:

AuthenticationSetting

Raises:

HttpResponseError

list_by_health_model(resource_group_name: str, health_model_name: str, **kwargs: Any) ItemPaged[AuthenticationSetting][source]

List AuthenticationSetting resources by HealthModel.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

Returns:

An iterator like instance of AuthenticationSetting

Return type:

ItemPaged[AuthenticationSetting]

Raises:

HttpResponseError

class azure.mgmt.cloudhealth.operations.DiscoveryRulesOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

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

create_or_update(resource_group_name: str, health_model_name: str, discovery_rule_name: str, resource: DiscoveryRule | MutableMapping[str, Any] | IO[bytes], **kwargs: Any) DiscoveryRule[source]

Create a DiscoveryRule.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

  • discovery_rule_name (str) – Name of the discovery rule. Must be unique within a health model. Required.

  • resource (DiscoveryRule or JSON or IO[bytes]) – Resource create parameters. Is one of the following types: DiscoveryRule, JSON, IO[bytes] Required.

Returns:

DiscoveryRule. The DiscoveryRule is compatible with MutableMapping

Return type:

DiscoveryRule

Raises:

HttpResponseError

delete(resource_group_name: str, health_model_name: str, discovery_rule_name: str, **kwargs: Any) None[source]

Delete a DiscoveryRule.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

  • discovery_rule_name (str) – Name of the discovery rule. Must be unique within a health model. Required.

Returns:

None

Return type:

None

Raises:

HttpResponseError

get(resource_group_name: str, health_model_name: str, discovery_rule_name: str, **kwargs: Any) DiscoveryRule[source]

Get a DiscoveryRule.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

  • discovery_rule_name (str) – Name of the discovery rule. Must be unique within a health model. Required.

Returns:

DiscoveryRule. The DiscoveryRule is compatible with MutableMapping

Return type:

DiscoveryRule

Raises:

HttpResponseError

list_by_health_model(resource_group_name: str, health_model_name: str, *, timestamp: datetime | None = None, **kwargs: Any) ItemPaged[DiscoveryRule][source]

List DiscoveryRule resources by HealthModel.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

Keyword Arguments:

timestamp (datetime) – Timestamp to use for the operation. When specified, the version of the resource at this point in time is retrieved. If not specified, the latest version is used. Default value is None.

Returns:

An iterator like instance of DiscoveryRule

Return type:

ItemPaged[DiscoveryRule]

Raises:

HttpResponseError

class azure.mgmt.cloudhealth.operations.EntitiesOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

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

create_or_update(resource_group_name: str, health_model_name: str, entity_name: str, resource: Entity | MutableMapping[str, Any] | IO[bytes], **kwargs: Any) Entity[source]

Create a Entity.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

  • entity_name (str) – Name of the entity. Must be unique within a health model. Required.

  • resource (Entity or JSON or IO[bytes]) – Resource create parameters. Is one of the following types: Entity, JSON, IO[bytes] Required.

Returns:

Entity. The Entity is compatible with MutableMapping

Return type:

Entity

Raises:

HttpResponseError

delete(resource_group_name: str, health_model_name: str, entity_name: str, **kwargs: Any) None[source]

Delete a Entity.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

  • entity_name (str) – Name of the entity. Must be unique within a health model. Required.

Returns:

None

Return type:

None

Raises:

HttpResponseError

get(resource_group_name: str, health_model_name: str, entity_name: str, **kwargs: Any) Entity[source]

Get a Entity.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

  • entity_name (str) – Name of the entity. Must be unique within a health model. Required.

Returns:

Entity. The Entity is compatible with MutableMapping

Return type:

Entity

Raises:

HttpResponseError

list_by_health_model(resource_group_name: str, health_model_name: str, *, timestamp: datetime | None = None, **kwargs: Any) ItemPaged[Entity][source]

List Entity resources by HealthModel.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

Keyword Arguments:

timestamp (datetime) – Timestamp to use for the operation. When specified, the version of the resource at this point in time is retrieved. If not specified, the latest version is used. Default value is None.

Returns:

An iterator like instance of Entity

Return type:

ItemPaged[Entity]

Raises:

HttpResponseError

class azure.mgmt.cloudhealth.operations.HealthModelsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

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

begin_create(resource_group_name: str, health_model_name: str, resource: HealthModel | MutableMapping[str, Any] | IO[bytes], **kwargs: Any) LROPoller[HealthModel][source]

Create a HealthModel.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

  • resource (HealthModel or JSON or IO[bytes]) – Resource create parameters. Is one of the following types: HealthModel, JSON, IO[bytes] Required.

Returns:

An instance of LROPoller that returns HealthModel. The HealthModel is compatible with MutableMapping

Return type:

LROPoller[HealthModel]

Raises:

HttpResponseError

begin_delete(resource_group_name: str, health_model_name: str, **kwargs: Any) LROPoller[None][source]

Delete a HealthModel.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

Returns:

An instance of LROPoller that returns None

Return type:

LROPoller[None]

Raises:

HttpResponseError

begin_update(resource_group_name: str, health_model_name: str, properties: HealthModelUpdate | MutableMapping[str, Any] | IO[bytes], **kwargs: Any) LROPoller[HealthModel][source]

Update a HealthModel.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

  • properties (HealthModelUpdate or JSON or IO[bytes]) – The resource properties to be updated. Is one of the following types: HealthModelUpdate, JSON, IO[bytes] Required.

Returns:

An instance of LROPoller that returns HealthModel. The HealthModel is compatible with MutableMapping

Return type:

LROPoller[HealthModel]

Raises:

HttpResponseError

get(resource_group_name: str, health_model_name: str, **kwargs: Any) HealthModel[source]

Get a HealthModel.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

Returns:

HealthModel. The HealthModel is compatible with MutableMapping

Return type:

HealthModel

Raises:

HttpResponseError

list_by_resource_group(resource_group_name: str, **kwargs: Any) ItemPaged[HealthModel][source]

List HealthModel resources by resource group.

Parameters:

resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

Returns:

An iterator like instance of HealthModel

Return type:

ItemPaged[HealthModel]

Raises:

HttpResponseError

list_by_subscription(**kwargs: Any) ItemPaged[HealthModel][source]

List HealthModel resources by subscription ID.

Returns:

An iterator like instance of HealthModel

Return type:

ItemPaged[HealthModel]

Raises:

HttpResponseError

class azure.mgmt.cloudhealth.operations.Operations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

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

list(**kwargs: Any) ItemPaged[Operation][source]

List the operations for the provider.

Returns:

An iterator like instance of Operation

Return type:

ItemPaged[Operation]

Raises:

HttpResponseError

class azure.mgmt.cloudhealth.operations.RelationshipsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

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

create_or_update(resource_group_name: str, health_model_name: str, relationship_name: str, resource: Relationship | MutableMapping[str, Any] | IO[bytes], **kwargs: Any) Relationship[source]

Create a Relationship.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

  • relationship_name (str) – Name of the relationship. Must be unique within a health model. For example, a concatenation of parentEntityName and childEntityName can be used as the name. Required.

  • resource (Relationship or JSON or IO[bytes]) – Resource create parameters. Is one of the following types: Relationship, JSON, IO[bytes] Required.

Returns:

Relationship. The Relationship is compatible with MutableMapping

Return type:

Relationship

Raises:

HttpResponseError

delete(resource_group_name: str, health_model_name: str, relationship_name: str, **kwargs: Any) None[source]

Delete a Relationship.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

  • relationship_name (str) – Name of the relationship. Must be unique within a health model. For example, a concatenation of parentEntityName and childEntityName can be used as the name. Required.

Returns:

None

Return type:

None

Raises:

HttpResponseError

get(resource_group_name: str, health_model_name: str, relationship_name: str, **kwargs: Any) Relationship[source]

Get a Relationship.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

  • relationship_name (str) – Name of the relationship. Must be unique within a health model. For example, a concatenation of parentEntityName and childEntityName can be used as the name. Required.

Returns:

Relationship. The Relationship is compatible with MutableMapping

Return type:

Relationship

Raises:

HttpResponseError

list_by_health_model(resource_group_name: str, health_model_name: str, *, timestamp: datetime | None = None, **kwargs: Any) ItemPaged[Relationship][source]

List Relationship resources by HealthModel.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

Keyword Arguments:

timestamp (datetime) – Timestamp to use for the operation. When specified, the version of the resource at this point in time is retrieved. If not specified, the latest version is used. Default value is None.

Returns:

An iterator like instance of Relationship

Return type:

ItemPaged[Relationship]

Raises:

HttpResponseError

class azure.mgmt.cloudhealth.operations.SignalDefinitionsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

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

create_or_update(resource_group_name: str, health_model_name: str, signal_definition_name: str, resource: SignalDefinition | MutableMapping[str, Any] | IO[bytes], **kwargs: Any) SignalDefinition[source]

Create a SignalDefinition.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

  • signal_definition_name (str) – Name of the signal definition. Must be unique within a health model. Required.

  • resource (SignalDefinition or JSON or IO[bytes]) – Resource create parameters. Is one of the following types: SignalDefinition, JSON, IO[bytes] Required.

Returns:

SignalDefinition. The SignalDefinition is compatible with MutableMapping

Return type:

SignalDefinition

Raises:

HttpResponseError

delete(resource_group_name: str, health_model_name: str, signal_definition_name: str, **kwargs: Any) None[source]

Delete a SignalDefinition.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

  • signal_definition_name (str) – Name of the signal definition. Must be unique within a health model. Required.

Returns:

None

Return type:

None

Raises:

HttpResponseError

get(resource_group_name: str, health_model_name: str, signal_definition_name: str, **kwargs: Any) SignalDefinition[source]

Get a SignalDefinition.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

  • signal_definition_name (str) – Name of the signal definition. Must be unique within a health model. Required.

Returns:

SignalDefinition. The SignalDefinition is compatible with MutableMapping

Return type:

SignalDefinition

Raises:

HttpResponseError

list_by_health_model(resource_group_name: str, health_model_name: str, *, timestamp: datetime | None = None, **kwargs: Any) ItemPaged[SignalDefinition][source]

List SignalDefinition resources by HealthModel.

Parameters:
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • health_model_name (str) – Name of health model resource. Required.

Keyword Arguments:

timestamp (datetime) – Timestamp to use for the operation. When specified, the version of the resource at this point in time is retrieved. If not specified, the latest version is used. Default value is None.

Returns:

An iterator like instance of SignalDefinition

Return type:

ItemPaged[SignalDefinition]

Raises:

HttpResponseError