DeploymentOperationImpl(DeploymentOperationInner innerModel, final DeploymentOperationsInner client) { super(innerModel); this.client = client; this.resourceGroupName = ResourceUtils.groupFromResourceId(innerModel.id()); this.deploymentName = ResourceUtils.extractFromResourceId(innerModel.id(), "deployments"); }
DeploymentOperationImpl(DeploymentOperationInner innerModel, final DeploymentOperationsInner client) { super(innerModel); this.client = client; this.resourceGroupName = ResourceUtils.groupFromResourceId(innerModel.id()); this.deploymentName = ResourceUtils.extractFromResourceId(innerModel.id(), "deployments"); }
@Override public Response intercept(Chain chain) throws IOException { String subscriptionId = ResourceUtils.extractFromResourceId(chain.request().url().url().getPath(), "subscriptions"); if (subscriptionId == null) { subscriptionId = "global";
@Override public Response intercept(Chain chain) throws IOException { String subscriptionId = ResourceUtils.extractFromResourceId(chain.request().url().url().getPath(), "subscriptions"); if (subscriptionId == null) { subscriptionId = "global";