Class ServicesProperties


  • public final class ServicesProperties
    extends Object
    The properties of a service instance.
    • Constructor Detail

      • ServicesProperties

        public ServicesProperties()
    • Method Detail

      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: The provisioning state.
        Returns:
        the provisioningState value.
      • accessPolicies

        public List<ServiceAccessPolicyEntry> accessPolicies()
        Get the accessPolicies property: The access policies of the service instance.
        Returns:
        the accessPolicies value.
      • withAccessPolicies

        public ServicesProperties withAccessPolicies​(List<ServiceAccessPolicyEntry> accessPolicies)
        Set the accessPolicies property: The access policies of the service instance.
        Parameters:
        accessPolicies - the accessPolicies value to set.
        Returns:
        the ServicesProperties object itself.
      • cosmosDbConfiguration

        public ServiceCosmosDbConfigurationInfo cosmosDbConfiguration()
        Get the cosmosDbConfiguration property: The settings for the Cosmos DB database backing the service.
        Returns:
        the cosmosDbConfiguration value.
      • withCosmosDbConfiguration

        public ServicesProperties withCosmosDbConfiguration​(ServiceCosmosDbConfigurationInfo cosmosDbConfiguration)
        Set the cosmosDbConfiguration property: The settings for the Cosmos DB database backing the service.
        Parameters:
        cosmosDbConfiguration - the cosmosDbConfiguration value to set.
        Returns:
        the ServicesProperties object itself.
      • authenticationConfiguration

        public ServiceAuthenticationConfigurationInfo authenticationConfiguration()
        Get the authenticationConfiguration property: The authentication configuration for the service instance.
        Returns:
        the authenticationConfiguration value.
      • withAuthenticationConfiguration

        public ServicesProperties withAuthenticationConfiguration​(ServiceAuthenticationConfigurationInfo authenticationConfiguration)
        Set the authenticationConfiguration property: The authentication configuration for the service instance.
        Parameters:
        authenticationConfiguration - the authenticationConfiguration value to set.
        Returns:
        the ServicesProperties object itself.
      • corsConfiguration

        public ServiceCorsConfigurationInfo corsConfiguration()
        Get the corsConfiguration property: The settings for the CORS configuration of the service instance.
        Returns:
        the corsConfiguration value.
      • withCorsConfiguration

        public ServicesProperties withCorsConfiguration​(ServiceCorsConfigurationInfo corsConfiguration)
        Set the corsConfiguration property: The settings for the CORS configuration of the service instance.
        Parameters:
        corsConfiguration - the corsConfiguration value to set.
        Returns:
        the ServicesProperties object itself.
      • exportConfiguration

        public ServiceExportConfigurationInfo exportConfiguration()
        Get the exportConfiguration property: The settings for the export operation of the service instance.
        Returns:
        the exportConfiguration value.
      • withExportConfiguration

        public ServicesProperties withExportConfiguration​(ServiceExportConfigurationInfo exportConfiguration)
        Set the exportConfiguration property: The settings for the export operation of the service instance.
        Parameters:
        exportConfiguration - the exportConfiguration value to set.
        Returns:
        the ServicesProperties object itself.
      • privateEndpointConnections

        public List<PrivateEndpointConnection> privateEndpointConnections()
        Get the privateEndpointConnections property: The list of private endpoint connections that are set up for this resource.
        Returns:
        the privateEndpointConnections value.
      • withPrivateEndpointConnections

        public ServicesProperties withPrivateEndpointConnections​(List<PrivateEndpointConnection> privateEndpointConnections)
        Set the privateEndpointConnections property: The list of private endpoint connections that are set up for this resource.
        Parameters:
        privateEndpointConnections - the privateEndpointConnections value to set.
        Returns:
        the ServicesProperties object itself.
      • publicNetworkAccess

        public PublicNetworkAccess publicNetworkAccess()
        Get the publicNetworkAccess property: Control permission for data plane traffic coming from public networks while private endpoint is enabled.
        Returns:
        the publicNetworkAccess value.
      • withPublicNetworkAccess

        public ServicesProperties withPublicNetworkAccess​(PublicNetworkAccess publicNetworkAccess)
        Set the publicNetworkAccess property: Control permission for data plane traffic coming from public networks while private endpoint is enabled.
        Parameters:
        publicNetworkAccess - the publicNetworkAccess value to set.
        Returns:
        the ServicesProperties object itself.
      • acrConfiguration

        public ServiceAcrConfigurationInfo acrConfiguration()
        Get the acrConfiguration property: The azure container registry settings used for convert data operation of the service instance.
        Returns:
        the acrConfiguration value.
      • withAcrConfiguration

        public ServicesProperties withAcrConfiguration​(ServiceAcrConfigurationInfo acrConfiguration)
        Set the acrConfiguration property: The azure container registry settings used for convert data operation of the service instance.
        Parameters:
        acrConfiguration - the acrConfiguration value to set.
        Returns:
        the ServicesProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.