Microsoft Azure Stack Hub Region Set Custom Properties

Microsoft.SystemCenter.AzureStack.Region.CustomProperty.Discovery (Discovery)

By means of this discovery, you can set custom properties for Azure Stack Hub regions via the override. This discovery contains additional properties that allow storing information about a region in the Operations Manager, such as associating additional customer details, displaying the current flag of the automatic maintenance mode state and alert exclude list.

Knowledge Base article:

Summary

By means of this discovery, you can set additional information property for Azure Stack Hub regions via the override. This discovery contains additional properties that allow storing information about a region in the Operations Manager, such as associating additional customer details and and displaying the current flag of the automatic maintenance mode state. Note that to override additional information property, it is recommended to use the “Set Additional Information” task.

Element properties:

TargetMicrosoft.SystemCenter.AzureStack.Region
EnabledTrue
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDataSource DataSource Microsoft.SystemCenter.AzureStack.Region.CustomProperty.Discovery.DS.Managed Default

Source Code:

<Discovery ID="Microsoft.SystemCenter.AzureStack.Region.CustomProperty.Discovery" Enabled="true" Target="Microsoft.SystemCenter.AzureStack.Region" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SystemCenter.AzureStack.Region">
<Property TypeID="Microsoft.SystemCenter.AzureStack.Region" PropertyID="AdditionalInfo"/>
<Property TypeID="Microsoft.SystemCenter.AzureStack.Region" PropertyID="AutoMaintenanceMode"/>
<Property TypeID="Microsoft.SystemCenter.AzureStack.Region" PropertyID="Wildcards"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="Microsoft.SystemCenter.AzureStack.Region.CustomProperty.Discovery.DS.Managed">
<DeploymentId>$Target/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/EndpointUrl$</DeploymentId>
<RegionId>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/RegionId$</RegionId>
<AdditionalInfo/>
<AutoMaintenanceMode>On</AutoMaintenanceMode>
<Wildcards/>
<RegionClass>$MPElement[Name="Microsoft.SystemCenter.AzureStack.Region"]$</RegionClass>
<TargetId>$Target/Id$</TargetId>
<SourceId>$MPElement[Name="Microsoft.SystemCenter.AzureStack.Region.CustomProperty.Discovery"]$</SourceId>
<MgName>$Target/ManagementGroup/Name$</MgName>
</DataSource>
</Discovery>