Class HybridComputeSettingsProperties
java.lang.Object
com.azure.resourcemanager.security.models.HybridComputeSettingsProperties
Settings for hybrid compute management.
-
Constructor Summary
ConstructorDescriptionCreates an instance of HybridComputeSettingsProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the autoProvision property: Whether or not to automatically install Azure Arc (hybrid compute) agents on machines.Get the hybridComputeProvisioningState property: State of the service principal and its secret.Get the proxyServer property: For a non-Azure machine that is not connected directly to the internet, specify a proxy server that the non-Azure machine can use.region()
Get the region property: The location where the metadata of machines will be stored.Get the resourceGroupName property: The name of the resource group where Arc (Hybrid Compute) connectors are connected.Get the servicePrincipal property: An object to access resources that are secured by an Azure AD tenant.void
validate()
Validates the instance.withAutoProvision
(AutoProvision autoProvision) Set the autoProvision property: Whether or not to automatically install Azure Arc (hybrid compute) agents on machines.withProxyServer
(ProxyServerProperties proxyServer) Set the proxyServer property: For a non-Azure machine that is not connected directly to the internet, specify a proxy server that the non-Azure machine can use.withRegion
(String region) Set the region property: The location where the metadata of machines will be stored.withResourceGroupName
(String resourceGroupName) Set the resourceGroupName property: The name of the resource group where Arc (Hybrid Compute) connectors are connected.withServicePrincipal
(ServicePrincipalProperties servicePrincipal) Set the servicePrincipal property: An object to access resources that are secured by an Azure AD tenant.
-
Constructor Details
-
HybridComputeSettingsProperties
public HybridComputeSettingsProperties()Creates an instance of HybridComputeSettingsProperties class.
-
-
Method Details
-
hybridComputeProvisioningState
Get the hybridComputeProvisioningState property: State of the service principal and its secret.- Returns:
- the hybridComputeProvisioningState value.
-
autoProvision
Get the autoProvision property: Whether or not to automatically install Azure Arc (hybrid compute) agents on machines.- Returns:
- the autoProvision value.
-
withAutoProvision
Set the autoProvision property: Whether or not to automatically install Azure Arc (hybrid compute) agents on machines.- Parameters:
autoProvision
- the autoProvision value to set.- Returns:
- the HybridComputeSettingsProperties object itself.
-
resourceGroupName
Get the resourceGroupName property: The name of the resource group where Arc (Hybrid Compute) connectors are connected.- Returns:
- the resourceGroupName value.
-
withResourceGroupName
Set the resourceGroupName property: The name of the resource group where Arc (Hybrid Compute) connectors are connected.- Parameters:
resourceGroupName
- the resourceGroupName value to set.- Returns:
- the HybridComputeSettingsProperties object itself.
-
region
Get the region property: The location where the metadata of machines will be stored.- Returns:
- the region value.
-
withRegion
Set the region property: The location where the metadata of machines will be stored.- Parameters:
region
- the region value to set.- Returns:
- the HybridComputeSettingsProperties object itself.
-
proxyServer
Get the proxyServer property: For a non-Azure machine that is not connected directly to the internet, specify a proxy server that the non-Azure machine can use.- Returns:
- the proxyServer value.
-
withProxyServer
Set the proxyServer property: For a non-Azure machine that is not connected directly to the internet, specify a proxy server that the non-Azure machine can use.- Parameters:
proxyServer
- the proxyServer value to set.- Returns:
- the HybridComputeSettingsProperties object itself.
-
servicePrincipal
Get the servicePrincipal property: An object to access resources that are secured by an Azure AD tenant.- Returns:
- the servicePrincipal value.
-
withServicePrincipal
public HybridComputeSettingsProperties withServicePrincipal(ServicePrincipalProperties servicePrincipal) Set the servicePrincipal property: An object to access resources that are secured by an Azure AD tenant.- Parameters:
servicePrincipal
- the servicePrincipal value to set.- Returns:
- the HybridComputeSettingsProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-