Exemplo n.º 1
0
        private void EnsureSubdomainAvailabilityOrThrow()
        {
            var checkSubdomainInputs      = new OperationInputs(this.Subdomain, resourceType);
            var subdomainAvailabilityInfo = this.IotCentralClient.Apps.CheckSubdomainAvailability(checkSubdomainInputs);

            IotCentralUtils.EnsureAvailabilityOrThrow(subdomainAvailabilityInfo);
        }
Exemplo n.º 2
0
        private void EnsureNameAvailabilityOrThrow()
        {
            var checkNameInputs      = new OperationInputs(this.Name, resourceType);
            var nameAvailabilityInfo = this.IotCentralClient.Apps.CheckNameAvailability(checkNameInputs);

            IotCentralUtils.EnsureAvailabilityOrThrow(nameAvailabilityInfo);
        }