Class EndpointPropertiesBaseInner

    • Constructor Detail

      • EndpointPropertiesBaseInner

        public EndpointPropertiesBaseInner()
    • Method Detail

      • authMode

        public EndpointAuthMode authMode()
        Get the authMode property: [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does.
        Returns:
        the authMode value.
      • withAuthMode

        public EndpointPropertiesBaseInner withAuthMode​(EndpointAuthMode authMode)
        Set the authMode property: [Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does.
        Parameters:
        authMode - the authMode value to set.
        Returns:
        the EndpointPropertiesBaseInner object itself.
      • description

        public String description()
        Get the description property: Description of the inference endpoint.
        Returns:
        the description value.
      • withDescription

        public EndpointPropertiesBaseInner withDescription​(String description)
        Set the description property: Description of the inference endpoint.
        Parameters:
        description - the description value to set.
        Returns:
        the EndpointPropertiesBaseInner object itself.
      • keys

        public EndpointAuthKeysInner keys()
        Get the keys property: EndpointAuthKeys to set initially on an Endpoint. This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.
        Returns:
        the keys value.
      • withKeys

        public EndpointPropertiesBaseInner withKeys​(EndpointAuthKeysInner keys)
        Set the keys property: EndpointAuthKeys to set initially on an Endpoint. This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.
        Parameters:
        keys - the keys value to set.
        Returns:
        the EndpointPropertiesBaseInner object itself.
      • properties

        public Map<String,​String> properties()
        Get the properties property: Property dictionary. Properties can be added, but not removed or altered.
        Returns:
        the properties value.
      • withProperties

        public EndpointPropertiesBaseInner withProperties​(Map<String,​String> properties)
        Set the properties property: Property dictionary. Properties can be added, but not removed or altered.
        Parameters:
        properties - the properties value to set.
        Returns:
        the EndpointPropertiesBaseInner object itself.
      • scoringUri

        public String scoringUri()
        Get the scoringUri property: Endpoint URI.
        Returns:
        the scoringUri value.
      • swaggerUri

        public String swaggerUri()
        Get the swaggerUri property: Endpoint Swagger URI.
        Returns:
        the swaggerUri value.
      • validate

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