HybridComputeSettingsProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.HybridComputeSettingsProperties

public final class HybridComputeSettingsProperties

Settings for hybrid compute management.

Constructor Summary

Constructor Description
HybridComputeSettingsProperties()

Creates an instance of HybridComputeSettingsProperties class.

Method Summary

Modifier and Type Method and Description
AutoProvision autoProvision()

Get the autoProvision property: Whether or not to automatically install Azure Arc (hybrid compute) agents on machines.

HybridComputeProvisioningState hybridComputeProvisioningState()

Get the hybridComputeProvisioningState property: State of the service principal and its secret.

ProxyServerProperties 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.

String region()

Get the region property: The location where the metadata of machines will be stored.

String resourceGroupName()

Get the resourceGroupName property: The name of the resource group where Arc (Hybrid Compute) connectors are connected.

ServicePrincipalProperties servicePrincipal()

Get the servicePrincipal property: An object to access resources that are secured by an Azure AD tenant.

void validate()

Validates the instance.

HybridComputeSettingsProperties withAutoProvision(AutoProvision autoProvision)

Set the autoProvision property: Whether or not to automatically install Azure Arc (hybrid compute) agents on machines.

HybridComputeSettingsProperties 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.

HybridComputeSettingsProperties withRegion(String region)

Set the region property: The location where the metadata of machines will be stored.

HybridComputeSettingsProperties withResourceGroupName(String resourceGroupName)

Set the resourceGroupName property: The name of the resource group where Arc (Hybrid Compute) connectors are connected.

HybridComputeSettingsProperties withServicePrincipal(ServicePrincipalProperties servicePrincipal)

Set the servicePrincipal property: An object to access resources that are secured by an Azure AD tenant.

Methods inherited from java.lang.Object

Constructor Details

HybridComputeSettingsProperties

public HybridComputeSettingsProperties()

Creates an instance of HybridComputeSettingsProperties class.

Method Details

autoProvision

public AutoProvision autoProvision()

Get the autoProvision property: Whether or not to automatically install Azure Arc (hybrid compute) agents on machines.

Returns:

the autoProvision value.

hybridComputeProvisioningState

public HybridComputeProvisioningState hybridComputeProvisioningState()

Get the hybridComputeProvisioningState property: State of the service principal and its secret.

Returns:

the hybridComputeProvisioningState value.

proxyServer

public ProxyServerProperties 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.

region

public String region()

Get the region property: The location where the metadata of machines will be stored.

Returns:

the region value.

resourceGroupName

public String resourceGroupName()

Get the resourceGroupName property: The name of the resource group where Arc (Hybrid Compute) connectors are connected.

Returns:

the resourceGroupName value.

servicePrincipal

public ServicePrincipalProperties servicePrincipal()

Get the servicePrincipal property: An object to access resources that are secured by an Azure AD tenant.

Returns:

the servicePrincipal value.

validate

public void validate()

Validates the instance.

withAutoProvision

public HybridComputeSettingsProperties withAutoProvision(AutoProvision autoProvision)

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.

withProxyServer

public HybridComputeSettingsProperties 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.

Parameters:

proxyServer - the proxyServer value to set.

Returns:

the HybridComputeSettingsProperties object itself.

withRegion

public HybridComputeSettingsProperties withRegion(String region)

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.

withResourceGroupName

public HybridComputeSettingsProperties withResourceGroupName(String resourceGroupName)

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.

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.

Applies to