HybridComputeSettingsProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. HybridComputeSettingsProperties
- com.
public final class HybridComputeSettingsProperties
Settings for hybrid compute management.
Constructor Summary
Constructor | Description |
---|---|
HybridComputeSettingsProperties() |
Creates an instance of Hybrid |
Method Summary
Modifier and Type | Method and Description |
---|---|
Auto |
autoProvision()
Get the auto |
Hybrid |
hybridComputeProvisioningState()
Get the hybrid |
Proxy |
proxyServer()
Get the proxy |
String |
region()
Get the region property: The location where the metadata of machines will be stored. |
String |
resourceGroupName()
Get the resource |
Service |
servicePrincipal()
Get the service |
void |
validate()
Validates the instance. |
Hybrid |
withAutoProvision(AutoProvision autoProvision)
Set the auto |
Hybrid |
withProxyServer(ProxyServerProperties proxyServer)
Set the proxy |
Hybrid |
withRegion(String region)
Set the region property: The location where the metadata of machines will be stored. |
Hybrid |
withResourceGroupName(String resourceGroupName)
Set the resource |
Hybrid |
withServicePrincipal(ServicePrincipalProperties servicePrincipal)
Set the service |
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:
hybridComputeProvisioningState
public HybridComputeProvisioningState hybridComputeProvisioningState()
Get the hybridComputeProvisioningState property: State of the service principal and its secret.
Returns:
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:
region
public String region()
Get the region property: The location where the metadata of machines will be stored.
Returns:
resourceGroupName
public String resourceGroupName()
Get the resourceGroupName property: The name of the resource group where Arc (Hybrid Compute) connectors are connected.
Returns:
servicePrincipal
public ServicePrincipalProperties servicePrincipal()
Get the servicePrincipal property: An object to access resources that are secured by an Azure AD tenant.
Returns:
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:
Returns:
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:
Returns:
withRegion
public HybridComputeSettingsProperties withRegion(String region)
Set the region property: The location where the metadata of machines will be stored.
Parameters:
Returns:
withResourceGroupName
public HybridComputeSettingsProperties withResourceGroupName(String resourceGroupName)
Set the resourceGroupName property: The name of the resource group where Arc (Hybrid Compute) connectors are connected.
Parameters:
Returns:
withServicePrincipal
public HybridComputeSettingsProperties withServicePrincipal(ServicePrincipalProperties servicePrincipal)
Set the servicePrincipal property: An object to access resources that are secured by an Azure AD tenant.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for