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
’sauthentication_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:
- Raises:
- delete(resource_group_name: str, health_model_name: str, authentication_setting_name: str, **kwargs: Any) None [source]
Delete a AuthenticationSetting.
- Parameters:
- Returns:
None
- Return type:
None
- Raises:
- get(resource_group_name: str, health_model_name: str, authentication_setting_name: str, **kwargs: Any) AuthenticationSetting [source]
Get a AuthenticationSetting.
- Parameters:
- Returns:
AuthenticationSetting. The AuthenticationSetting is compatible with MutableMapping
- Return type:
- Raises:
- 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
’sdiscovery_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:
- Raises:
- delete(resource_group_name: str, health_model_name: str, discovery_rule_name: str, **kwargs: Any) None [source]
Delete a DiscoveryRule.
- Parameters:
- Returns:
None
- Return type:
None
- Raises:
- get(resource_group_name: str, health_model_name: str, discovery_rule_name: str, **kwargs: Any) DiscoveryRule [source]
Get a DiscoveryRule.
- Parameters:
- Returns:
DiscoveryRule. The DiscoveryRule is compatible with MutableMapping
- Return type:
- Raises:
- 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:
- 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:
- Raises:
- 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
’sentities
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:
- Raises:
- delete(resource_group_name: str, health_model_name: str, entity_name: str, **kwargs: Any) None [source]
Delete a Entity.
- Parameters:
- Returns:
None
- Return type:
None
- Raises:
- get(resource_group_name: str, health_model_name: str, entity_name: str, **kwargs: Any) Entity [source]
Get a Entity.
- Parameters:
- Returns:
Entity. The Entity is compatible with MutableMapping
- Return type:
- Raises:
- 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:
- 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:
- Raises:
- 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
’shealth_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:
- Raises:
- begin_delete(resource_group_name: str, health_model_name: str, **kwargs: Any) LROPoller[None] [source]
Delete a HealthModel.
- Parameters:
- Returns:
An instance of LROPoller that returns None
- Return type:
LROPoller[None]
- Raises:
- 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:
- Raises:
- get(resource_group_name: str, health_model_name: str, **kwargs: Any) HealthModel [source]
Get a HealthModel.
- Parameters:
- Returns:
HealthModel. The HealthModel is compatible with MutableMapping
- Return type:
- Raises:
- 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:
- Raises:
- list_by_subscription(**kwargs: Any) ItemPaged[HealthModel] [source]
List HealthModel resources by subscription ID.
- Returns:
An iterator like instance of HealthModel
- Return type:
- Raises:
- 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
’soperations
attribute.
- 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
’srelationships
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:
- Raises:
- 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:
- 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:
- Raises:
- 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:
- 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:
- Raises:
- 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
’ssignal_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:
- Raises:
- delete(resource_group_name: str, health_model_name: str, signal_definition_name: str, **kwargs: Any) None [source]
Delete a SignalDefinition.
- Parameters:
- Returns:
None
- Return type:
None
- Raises:
- get(resource_group_name: str, health_model_name: str, signal_definition_name: str, **kwargs: Any) SignalDefinition [source]
Get a SignalDefinition.
- Parameters:
- Returns:
SignalDefinition. The SignalDefinition is compatible with MutableMapping
- Return type:
- Raises:
- 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:
- 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:
- Raises: