Class HybridComputeSettingsProperties

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

public final class HybridComputeSettingsProperties extends Object
Settings for hybrid compute management.
  • Constructor Details

    • HybridComputeSettingsProperties

      public HybridComputeSettingsProperties()
  • Method Details

    • hybridComputeProvisioningState

      public HybridComputeProvisioningState hybridComputeProvisioningState()
      Get the hybridComputeProvisioningState property: State of the service principal and its secret.
      Returns:
      the hybridComputeProvisioningState value.
    • 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.
    • 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.
    • 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.
    • 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.
    • region

      public String region()
      Get the region property: The location where the metadata of machines will be stored.
      Returns:
      the region value.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.