def provisioning_configuration(
            self, body, custom_headers=None, raw=False, **operation_config):
        """ProvisioningConfiguration.

        :param body:
        :type body: :class:`ContinuousDeploymentConfiguration
         <vsts_info_provider.models.ContinuousDeploymentConfiguration>`
        :param dict custom_headers: headers that will be added to the request
        :param bool raw: returns the direct response alongside the
         deserialized response
        :param operation_config: :ref:`Operation configuration
         overrides<msrest:optionsforoperations>`.
        :rtype: :class:`ContinuousDeploymentOperation
         <vsts_info_provider.models.ContinuousDeploymentOperation>`
        :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>`
         if raw=true
        :raises:
         :class:`HttpOperationError<msrest.exceptions.HttpOperationError>`
        """
        # Construct URL
        url = '/_apis/continuousdelivery/provisioningconfigurations'

        # Construct parameters
        query_parameters = {}
        if self.api_version:
            query_parameters["api-version"] = self.api_version

        # Construct headers
        header_parameters = {}
        header_parameters['Content-Type'] = 'application/json; charset=utf-8'
        if custom_headers:
            header_parameters.update(custom_headers)

        # Construct body
        body_content = self._serialize.body(body, 'ProvisioningConfiguration')

        # Construct and send request
        request = self._client.post(url, query_parameters)
        response = self._client.send(
            request, header_parameters, body_content, **operation_config)
        if response.status_code not in [200, 202]:
            print("POST", request.url, file=stderr)
            print("response:", response.status_code, file=stderr)
            print(response.text, file=stderr)
            raise HttpOperationError(self._deserialize, response)

        deserialized = None

        if response.status_code == 200:
            deserialized = self._deserialize('ProvisioningConfiguration', response)
        if response.status_code == 202:
            deserialized = self._deserialize('ProvisioningConfiguration', response)

        if raw:
            client_raw_response = ClientRawResponse(deserialized, response)
            return client_raw_response

        return deserialized
def provisioning_configuration ( self , body , custom_headers = None , raw = False , ** operation_config ) : url = '/_apis/continuousdelivery/provisioningconfigurations' query_parameters = { } if self . api_version : query_parameters [ "api-version" ] = self . api_version header_parameters = { } header_parameters [ 'Content-Type' ] = 'application/json; charset=utf-8' if custom_headers : header_parameters . update ( custom_headers ) body_content = self . _serialize . body ( body , 'ProvisioningConfiguration' ) request = self . _client . post ( url , query_parameters ) response = self . _client . send ( request , header_parameters , body_content , ** operation_config ) if response . status_code not in [ 200 , 202 ] : print ( "POST" , request . url , file = stderr ) print ( "response:" , response . status_code , file = stderr ) print ( response . text , file = stderr ) raise HttpOperationError ( self . _deserialize , response ) deserialized = None if response . status_code == 200 : deserialized = self . _deserialize ( 'ProvisioningConfiguration' , response ) if response . status_code == 202 : deserialized = self . _deserialize ( 'ProvisioningConfiguration' , response ) if raw : client_raw_response = ClientRawResponse ( deserialized , response ) return client_raw_response return deserialized
ProvisioningConfiguration.

        :param body:
        :type body: :class:`ContinuousDeploymentConfiguration
         <vsts_info_provider.models.ContinuousDeploymentConfiguration>`
        :param dict custom_headers: headers that will be added to the request
        :param bool raw: returns the direct response alongside the
         deserialized response
        :param operation_config: :ref:`Operation configuration
         overrides<msrest:optionsforoperations>`.
        :rtype: :class:`ContinuousDeploymentOperation
         <vsts_info_provider.models.ContinuousDeploymentOperation>`
        :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>`
         if raw=true
        :raises:
         :class:`HttpOperationError<msrest.exceptions.HttpOperationError>`