Beispiel #1
0
        public void UnbindServiceFromApplication(Guid serviceBindId)
        {
            var provider = new ServiceBindProvider(_credentialManager);

            provider.Delete(serviceBindId);
        }
Beispiel #2
0
        public Resource <ServiceBind> GetServiceBinding(Guid serviceBindingId)
        {
            var provider = new ServiceBindProvider(_credentialManager);

            return(provider.GetById(serviceBindingId));
        }
Beispiel #3
0
        public void BindServiceToApplication(Guid serviceInstanceId, Guid applicationId)
        {
            var provider = new ServiceBindProvider(_credentialManager);

            provider.BindService(serviceInstanceId, applicationId);
        }
Beispiel #4
0
        public IEnumerable <Resource <ServiceBind> > GetServiceBindings()
        {
            var provider = new ServiceBindProvider(_credentialManager);

            return(provider.GetAll());
        }