azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def associate_reserved_ip_address(
        self, name, service_name, deployment_name, virtual_ip_name=None
    ):
        '''
        Associate an existing reservedIP to a deployment.

        name:
            Required. Name of the reserved IP address.

        service_name:
            Required. Name of the hosted service.

        deployment_name:
            Required. Name of the deployment.

        virtual_ip_name:
            Optional. Name of the VirtualIP in case of multi Vip tenant.
            If this value is not specified default virtualIP is used
            for this operation.
        '''
        _validate_not_none('name', name)
        _validate_not_none('service_name', service_name)
        _validate_not_none('deployment_name', deployment_name)
        return self._perform_post(
            self._get_reserved_ip_path_for_association(name),
            _XmlSerializer.associate_reserved_ip_to_xml(
                service_name, deployment_name, virtual_ip_name
            ),
            as_async=True,
            x_ms_version='2015-02-01'
        )
def associate_reserved_ip_address(
        self, name, service_name, deployment_name, virtual_ip_name=None
    ):
        '''
        Associate an existing reservedIP to a deployment.

        name:
            Required. Name of the reserved IP address.

        service_name:
            Required. Name of the hosted service.

        deployment_name:
            Required. Name of the deployment.

        virtual_ip_name:
            Optional. Name of the VirtualIP in case of multi Vip tenant.
            If this value is not specified default virtualIP is used
            for this operation.
        '''
        _validate_not_none('name', name)
        _validate_not_none('service_name', service_name)
        _validate_not_none('deployment_name', deployment_name)
        return self._perform_post(
            self._get_reserved_ip_path_for_association(name),
            _XmlSerializer.associate_reserved_ip_to_xml(
                service_name, deployment_name, virtual_ip_name
            ),
            as_async=True,
            x_ms_version='2015-02-01'
        )
Associate an existing reservedIP to a deployment.

        name:
            Required. Name of the reserved IP address.

        service_name:
            Required. Name of the hosted service.

        deployment_name:
            Required. Name of the deployment.

        virtual_ip_name:
            Optional. Name of the VirtualIP in case of multi Vip tenant.
            If this value is not specified default virtualIP is used
            for this operation.