• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java ServiceFuture类的典型用法和代码示例

java 1次浏览

本文整理汇总了Java中com.microsoft.rest.ServiceFuture的典型用法代码示例。如果您正苦于以下问题:Java ServiceFuture类的具体用法?Java ServiceFuture怎么用?Java ServiceFuture使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

ServiceFuture类属于com.microsoft.rest包,在下文中一共展示了ServiceFuture类的40个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: listInstanceFunctionsSlotAsync

点赞 2

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * List the functions for a web site, or a deployment slot.
 * List the functions for a web site, or a deployment slot.
 *
 * @param resourceGroupName Name of the resource group to which the resource belongs.
 * @param name Site name.
 * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<List<FunctionEnvelopeInner>> listInstanceFunctionsSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback<FunctionEnvelopeInner> serviceCallback) {
    return AzureServiceFuture.fromPageResponse(
        listInstanceFunctionsSlotSinglePageAsync(resourceGroupName, name, slot),
        new Func1<String, Observable<ServiceResponse<Page<FunctionEnvelopeInner>>>>() {
            @Override
            public Observable<ServiceResponse<Page<FunctionEnvelopeInner>>> call(String nextPageLink) {
                return listInstanceFunctionsSlotNextSinglePageAsync(nextPageLink);
            }
        },
        serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java
代码行数:23,
代码来源:WebAppsInner.java

示例2: listByResourceGroupAsync

点赞 2

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Get all certificates in a resource group.
 * Get all certificates in a resource group.
 *
 * @param resourceGroupName Name of the resource group to which the resource belongs.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<List<CertificateInner>> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback<CertificateInner> serviceCallback) {
    return AzureServiceFuture.fromPageResponse(
        listByResourceGroupSinglePageAsync(resourceGroupName),
        new Func1<String, Observable<ServiceResponse<Page<CertificateInner>>>>() {
            @Override
            public Observable<ServiceResponse<Page<CertificateInner>>> call(String nextPageLink) {
                return listByResourceGroupNextSinglePageAsync(nextPageLink);
            }
        },
        serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java
代码行数:21,
代码来源:CertificatesInner.java

示例3: listViewsByDatabaseAsync

点赞 2

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Retrieves the list of all views in a database from the Data Lake Analytics catalog.
 *
 * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations.
 * @param databaseName The name of the database containing the views.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<List<USqlView>> listViewsByDatabaseAsync(final String accountName, final String databaseName, final ListOperationCallback<USqlView> serviceCallback) {
    return AzureServiceFuture.fromPageResponse(
        listViewsByDatabaseSinglePageAsync(accountName, databaseName),
        new Func1<String, Observable<ServiceResponse<Page<USqlView>>>>() {
            @Override
            public Observable<ServiceResponse<Page<USqlView>>> call(String nextPageLink) {
                return listViewsByDatabaseNextSinglePageAsync(nextPageLink);
            }
        },
        serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java
代码行数:21,
代码来源:CatalogsImpl.java

示例4: listAsync

点赞 2

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Gets all network interfaces in a subscription.
 *
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<List<NetworkInterfaceInner>> listAsync(final ListOperationCallback<NetworkInterfaceInner> serviceCallback) {
    return AzureServiceFuture.fromPageResponse(
        listSinglePageAsync(),
        new Func1<String, Observable<ServiceResponse<Page<NetworkInterfaceInner>>>>() {
            @Override
            public Observable<ServiceResponse<Page<NetworkInterfaceInner>>> call(String nextPageLink) {
                return listNextSinglePageAsync(nextPageLink);
            }
        },
        serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java
代码行数:19,
代码来源:NetworkInterfacesInner.java

示例5: listPublicCertificatesAsync

点赞 2

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Get public certificates for an app or a deployment slot.
 * Get public certificates for an app or a deployment slot.
 *
 * @param resourceGroupName Name of the resource group to which the resource belongs.
 * @param name Name of the app.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<List<PublicCertificateInner>> listPublicCertificatesAsync(final String resourceGroupName, final String name, final ListOperationCallback<PublicCertificateInner> serviceCallback) {
    return AzureServiceFuture.fromPageResponse(
        listPublicCertificatesSinglePageAsync(resourceGroupName, name),
        new Func1<String, Observable<ServiceResponse<Page<PublicCertificateInner>>>>() {
            @Override
            public Observable<ServiceResponse<Page<PublicCertificateInner>>> call(String nextPageLink) {
                return listPublicCertificatesNextSinglePageAsync(nextPageLink);
            }
        },
        serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java
代码行数:22,
代码来源:WebAppsInner.java

示例6: listByResourceGroupAsync

点赞 2

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Lists all the disks under a resource group.
 *
 * @param resourceGroupName The name of the resource group.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<List<DiskInner>> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback<DiskInner> serviceCallback) {
    return AzureServiceFuture.fromPageResponse(
        listByResourceGroupSinglePageAsync(resourceGroupName),
        new Func1<String, Observable<ServiceResponse<Page<DiskInner>>>>() {
            @Override
            public Observable<ServiceResponse<Page<DiskInner>>> call(String nextPageLink) {
                return listByResourceGroupNextSinglePageAsync(nextPageLink);
            }
        },
        serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java
代码行数:20,
代码来源:DisksInner.java

示例7: listByResourceGroupAsync

点赞 2

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Gets all virtual networks in a resource group.
 *
 * @param resourceGroupName The name of the resource group.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<List<VirtualNetworkInner>> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback<VirtualNetworkInner> serviceCallback) {
    return AzureServiceFuture.fromPageResponse(
        listByResourceGroupSinglePageAsync(resourceGroupName),
        new Func1<String, Observable<ServiceResponse<Page<VirtualNetworkInner>>>>() {
            @Override
            public Observable<ServiceResponse<Page<VirtualNetworkInner>>> call(String nextPageLink) {
                return listByResourceGroupNextSinglePageAsync(nextPageLink);
            }
        },
        serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:20,
代码来源:VirtualNetworksInner.java

示例8: listAsync

点赞 2

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Lists all of the available ServiceBus REST API operations.
 *
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<List<OperationInner>> listAsync(final ListOperationCallback<OperationInner> serviceCallback) {
    return AzureServiceFuture.fromPageResponse(
        listSinglePageAsync(),
        new Func1<String, Observable<ServiceResponse<Page<OperationInner>>>>() {
            @Override
            public Observable<ServiceResponse<Page<OperationInner>>> call(String nextPageLink) {
                return listNextSinglePageAsync(nextPageLink);
            }
        },
        serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:19,
代码来源:OperationsInner.java

示例9: listAsync

点赞 2

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Gets all the management locks for a subscription.
 *
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<List<ManagementLockObjectInner>> listAsync(final ListOperationCallback<ManagementLockObjectInner> serviceCallback) {
    return AzureServiceFuture.fromPageResponse(
        listSinglePageAsync(),
        new Func1<String, Observable<ServiceResponse<Page<ManagementLockObjectInner>>>>() {
            @Override
            public Observable<ServiceResponse<Page<ManagementLockObjectInner>>> call(String nextPageLink) {
                return listNextSinglePageAsync(nextPageLink);
            }
        },
        serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:19,
代码来源:ManagementLocksInner.java

示例10: listAsync

点赞 2

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any.
 *
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<List<DataLakeStoreAccountBasic>> listAsync(final ListOperationCallback<DataLakeStoreAccountBasic> serviceCallback) {
    return AzureServiceFuture.fromPageResponse(
        listSinglePageAsync(),
        new Func1<String, Observable<ServiceResponse<Page<DataLakeStoreAccountBasic>>>>() {
            @Override
            public Observable<ServiceResponse<Page<DataLakeStoreAccountBasic>>> call(String nextPageLink) {
                return listNextSinglePageAsync(nextPageLink);
            }
        },
        serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:19,
代码来源:AccountsImpl.java

示例11: listByResourceGroupAsync

点赞 2

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Gets the list of images under a resource group.
 *
 * @param resourceGroupName The name of the resource group.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<List<ImageInner>> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback<ImageInner> serviceCallback) {
    return AzureServiceFuture.fromPageResponse(
        listByResourceGroupSinglePageAsync(resourceGroupName),
        new Func1<String, Observable<ServiceResponse<Page<ImageInner>>>>() {
            @Override
            public Observable<ServiceResponse<Page<ImageInner>>> call(String nextPageLink) {
                return listByResourceGroupNextSinglePageAsync(nextPageLink);
            }
        },
        serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:20,
代码来源:ImagesInner.java

示例12: listByStreamingJobAsync

点赞 2

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Lists all of the functions under the specified streaming job.
 *
 * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
 * @param jobName The name of the streaming job.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<List<FunctionInner>> listByStreamingJobAsync(final String resourceGroupName, final String jobName, final ListOperationCallback<FunctionInner> serviceCallback) {
    return AzureServiceFuture.fromPageResponse(
        listByStreamingJobSinglePageAsync(resourceGroupName, jobName),
        new Func1<String, Observable<ServiceResponse<Page<FunctionInner>>>>() {
            @Override
            public Observable<ServiceResponse<Page<FunctionInner>>> call(String nextPageLink) {
                return listByStreamingJobNextSinglePageAsync(nextPageLink);
            }
        },
        serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:21,
代码来源:FunctionsInner.java

示例13: restartAsync

点赞 2

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
@Override
public ServiceFuture<Void> restartAsync(String groupName, String name, ServiceCallback<Void> callback) {
    return ServiceFuture.fromBody(restartAsync(groupName, name), callback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:5,
代码来源:VirtualMachinesImpl.java

示例14: listPerfMonCountersSlotAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Gets perfmon counters for web app.
 * Gets perfmon counters for web app.
 *
 * @param resourceGroupName Name of the resource group to which the resource belongs.
 * @param name Name of web app.
 * @param slot Name of web app slot. If not specified then will default to production slot.
 * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<List<PerfMonResponseInner>> listPerfMonCountersSlotAsync(final String resourceGroupName, final String name, final String slot, final String filter, final ListOperationCallback<PerfMonResponseInner> serviceCallback) {
    return AzureServiceFuture.fromPageResponse(
        listPerfMonCountersSlotSinglePageAsync(resourceGroupName, name, slot, filter),
        new Func1<String, Observable<ServiceResponse<Page<PerfMonResponseInner>>>>() {
            @Override
            public Observable<ServiceResponse<Page<PerfMonResponseInner>>> call(String nextPageLink) {
                return listPerfMonCountersSlotNextSinglePageAsync(nextPageLink);
            }
        },
        serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:24,
代码来源:WebAppsInner.java

示例15: listAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Lists all recurrences.
 *
 * @param accountName The Azure Data Lake Analytics account to execute job operations on.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
ServiceFuture<List<JobRecurrenceInformation>> listAsync(final String accountName, final ListOperationCallback<JobRecurrenceInformation> serviceCallback);
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:10,
代码来源:Recurrences.java

示例16: createOrUpdateAuthorizationRuleAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Creates/Updates an authorization rule for a NotificationHub.
 *
 * @param resourceGroupName The name of the resource group.
 * @param namespaceName The namespace name.
 * @param notificationHubName The notification hub name.
 * @param authorizationRuleName Authorization Rule Name.
 * @param parameters The shared access authorization rule.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<SharedAccessAuthorizationRuleResourceInner> createOrUpdateAuthorizationRuleAsync(String resourceGroupName, String namespaceName, String notificationHubName, String authorizationRuleName, SharedAccessAuthorizationRuleCreateOrUpdateParametersInner parameters, final ServiceCallback<SharedAccessAuthorizationRuleResourceInner> serviceCallback) {
    return ServiceFuture.fromResponse(createOrUpdateAuthorizationRuleWithServiceResponseAsync(resourceGroupName, namespaceName, notificationHubName, authorizationRuleName, parameters), serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:16,
代码来源:NotificationHubsInner.java

示例17: putByteValidAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Put the array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29, 43)] with each elementencoded in base 64.
 *
 * @param arrayBody the List&lt;byte[]&gt; value
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<Void> putByteValidAsync(List<byte[]> arrayBody, final ServiceCallback<Void> serviceCallback) {
    return ServiceFuture.fromResponse(putByteValidWithServiceResponseAsync(arrayBody), serviceCallback);
}
 

开发者ID:Azure,
项目名称:autorest.java,
代码行数:12,
代码来源:ArraysImpl.java

示例18: failoverReplicationLinkAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Failover the Azure SQL database replication link with the given ID.
 *
 * @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
 * @param serverName The name of the Azure SQL server.
 * @param databaseName The name of the Azure SQL database that has the replication link to be failed over.
 * @param linkId The ID of the replication link to be failed over.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<Void> failoverReplicationLinkAsync(String resourceGroupName, String serverName, String databaseName, String linkId, final ServiceCallback<Void> serviceCallback) {
    return ServiceFuture.fromResponse(failoverReplicationLinkWithServiceResponseAsync(resourceGroupName, serverName, databaseName, linkId), serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:15,
代码来源:DatabasesInner.java

示例19: postWithConstantInBodyAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 *
 * @param body the Product value
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
ServiceFuture<Product> postWithConstantInBodyAsync(Product body, final ServiceCallback<Product> serviceCallback);
 

开发者ID:Azure,
项目名称:autorest.java,
代码行数:9,
代码来源:AutoRestValidationTest.java

示例20: getUnderflowAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Get underflow datetime value.
 *
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
ServiceFuture<DateTime> getUnderflowAsync(final ServiceCallback<DateTime> serviceCallback);
 

开发者ID:Azure,
项目名称:autorest.java,
代码行数:9,
代码来源:Datetimerfc1123s.java

示例21: updatePublishingUserAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Updates publishing user.
 * Updates publishing user.
 *
 * @param userDetails Details of publishing user
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<UserInner> updatePublishingUserAsync(UserInner userDetails, final ServiceCallback<UserInner> serviceCallback) {
    return ServiceFuture.fromResponse(updatePublishingUserWithServiceResponseAsync(userDetails), serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:13,
代码来源:WebSiteManagementClientImpl.java

示例22: post415Async

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Return 415 status code - should be represented in the client as an error.
 *
 * @param booleanValue Simple boolean value true
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
ServiceFuture<Error> post415Async(Boolean booleanValue, final ServiceCallback<Error> serviceCallback);
 

开发者ID:Azure,
项目名称:autorest.java,
代码行数:10,
代码来源:HttpClientFailures.java

示例23: putUtcMaxDateTimeAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Put max datetime value Fri, 31 Dec 9999 23:59:59 GMT.
 *
 * @param datetimeBody the DateTimeRfc1123 value
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<Void> putUtcMaxDateTimeAsync(DateTime datetimeBody, final ServiceCallback<Void> serviceCallback) {
    return ServiceFuture.fromResponse(putUtcMaxDateTimeWithServiceResponseAsync(datetimeBody), serviceCallback);
}
 

开发者ID:Azure,
项目名称:autorest.java,
代码行数:12,
代码来源:Datetimerfc1123sImpl.java

示例24: beginPutError201NoProvisioningStatePayloadAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Long running put request, service returns a 201 to the initial request with no payload.
 *
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
ServiceFuture<Product> beginPutError201NoProvisioningStatePayloadAsync(final ServiceCallback<Product> serviceCallback);
 

开发者ID:Azure,
项目名称:autorest.java,
代码行数:9,
代码来源:LROSADs.java

示例25: getInstanceViewAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Gets the status of a virtual machine from a VM scale set.
 *
 * @param resourceGroupName The name of the resource group.
 * @param vmScaleSetName The name of the VM scale set.
 * @param instanceId The instance ID of the virtual machine.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<VirtualMachineScaleSetVMInstanceViewInner> getInstanceViewAsync(String resourceGroupName, String vmScaleSetName, String instanceId, final ServiceCallback<VirtualMachineScaleSetVMInstanceViewInner> serviceCallback) {
    return ServiceFuture.fromResponse(getInstanceViewWithServiceResponseAsync(resourceGroupName, vmScaleSetName, instanceId), serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:14,
代码来源:VirtualMachineScaleSetVMsInner.java

示例26: beginPutAsyncRelativeRetryNoStatusPayloadAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Long running put request, service returns a 200 to the initial request, with an entity that contains ProvisioningState=’Creating’. Poll the endpoint indicated in the Azure-AsyncOperation header for operation status.
 *
 * @param product Product to put
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<ProductInner> beginPutAsyncRelativeRetryNoStatusPayloadAsync(ProductInner product, final ServiceCallback<ProductInner> serviceCallback) {
    return ServiceFuture.fromHeaderResponse(beginPutAsyncRelativeRetryNoStatusPayloadWithServiceResponseAsync(product), serviceCallback);
}
 

开发者ID:Azure,
项目名称:autorest.java,
代码行数:12,
代码来源:LROSADsInner.java

示例27: createOrUpdateAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Creates or updates an integration account map.
 *
 * @param resourceGroupName The resource group name.
 * @param integrationAccountName The integration account name.
 * @param mapName The integration account map name.
 * @param map The integration account map.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<IntegrationAccountMapInner> createOrUpdateAsync(String resourceGroupName, String integrationAccountName, String mapName, IntegrationAccountMapInner map, final ServiceCallback<IntegrationAccountMapInner> serviceCallback) {
    return ServiceFuture.fromResponse(createOrUpdateWithServiceResponseAsync(resourceGroupName, integrationAccountName, mapName, map), serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:15,
代码来源:MapsInner.java

示例28: post406Async

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Return 406 status code - should be represented in the client as an error.
 *
 * @param booleanValue Simple boolean value true
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<Error> post406Async(Boolean booleanValue, final ServiceCallback<Error> serviceCallback) {
    return ServiceFuture.fromResponse(post406WithServiceResponseAsync(booleanValue), serviceCallback);
}
 

开发者ID:Azure,
项目名称:autorest.java,
代码行数:12,
代码来源:HttpClientFailuresImpl.java

示例29: createOrUpdateAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Creates/Updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.
 *
 * @param resourceGroupName The name of the resource group.
 * @param namespaceName The namespace name.
 * @param parameters Parameters supplied to create a Namespace Resource.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<NamespaceResourceInner> createOrUpdateAsync(String resourceGroupName, String namespaceName, NamespaceCreateOrUpdateParametersInner parameters, final ServiceCallback<NamespaceResourceInner> serviceCallback) {
    return ServiceFuture.fromResponse(createOrUpdateWithServiceResponseAsync(resourceGroupName, namespaceName, parameters), serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:14,
代码来源:NamespacesInner.java

示例30: postAsyncRelativeRetryNoPayloadAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Long running post request, service returns a 202 to the initial request, with an entity that contains ProvisioningState=’Creating’. Poll the endpoint indicated in the Azure-AsyncOperation header for operation status.
 *
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<Void> postAsyncRelativeRetryNoPayloadAsync(final ServiceCallback<Void> serviceCallback) {
    return ServiceFuture.fromHeaderResponse(postAsyncRelativeRetryNoPayloadWithServiceResponseAsync(), serviceCallback);
}
 

开发者ID:Azure,
项目名称:autorest.java,
代码行数:11,
代码来源:LROSADsImpl.java

示例31: get200Model201ModelDefaultError400ValidAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Send a 400 response with valid payload: {'code': '400', 'message': 'client error'}.
 *
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<A> get200Model201ModelDefaultError400ValidAsync(final ServiceCallback<A> serviceCallback) {
    return ServiceFuture.fromResponse(get200Model201ModelDefaultError400ValidWithServiceResponseAsync(), serviceCallback);
}
 

开发者ID:Azure,
项目名称:autorest.java,
代码行数:11,
代码来源:MultipleResponsesImpl.java

示例32: deleteAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Delete secret.
 *
 * @param resourceGroupName The name of the resource group.
 * @param labName The name of the lab.
 * @param userName The name of the user profile.
 * @param name The name of the secret.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<Void> deleteAsync(String resourceGroupName, String labName, String userName, String name, final ServiceCallback<Void> serviceCallback) {
    return ServiceFuture.fromResponse(deleteWithServiceResponseAsync(resourceGroupName, labName, userName, name), serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:15,
代码来源:SecretsInner.java

示例33: beginPutNonRetry201Creating400Async

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Long running put request, service returns a Product with 'ProvisioningState' = 'Creating' and 201 response code.
 *
 * @param product Product to put
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
ServiceFuture<Product> beginPutNonRetry201Creating400Async(Product product, final ServiceCallback<Product> serviceCallback);
 

开发者ID:Azure,
项目名称:autorest.java,
代码行数:10,
代码来源:LROSADs.java

示例34: getAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Fetches resource storage config.
 *
 * @param resourceGroupName The name of the resource group where the recovery services vault is present.
 * @param vaultName The name of the recovery services vault.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<BackupStorageConfigInner> getAsync(String resourceGroupName, String vaultName, final ServiceCallback<BackupStorageConfigInner> serviceCallback) {
    return ServiceFuture.fromResponse(getWithServiceResponseAsync(resourceGroupName, vaultName), serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:13,
代码来源:BackupStorageConfigsInner.java

示例35: getByResourceGroupAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Get the properties of the specified container group.
 * Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.
 *
 * @param resourceGroupName The name of the resource group.
 * @param containerGroupName The name of the container group.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<ContainerGroupInner> getByResourceGroupAsync(String resourceGroupName, String containerGroupName, final ServiceCallback<ContainerGroupInner> serviceCallback) {
    return ServiceFuture.fromResponse(getByResourceGroupWithServiceResponseAsync(resourceGroupName, containerGroupName), serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:14,
代码来源:ContainerGroupsInner.java

示例36: responseByteAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Get a response with header values "啊齄丂狛狜隣郎隣兀﨩".
 *
 * @param scenario Send a post request with header values "scenario": "valid"
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<Void> responseByteAsync(String scenario, final ServiceCallback<Void> serviceCallback) {
    return ServiceFuture.fromHeaderResponse(responseByteWithServiceResponseAsync(scenario), serviceCallback);
}
 

开发者ID:Azure,
项目名称:autorest.java,
代码行数:12,
代码来源:HeadersImpl.java

示例37: createOrUpdateAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule.
 *
 * @param resourceGroupName The name of the Azure resource group that contains the Data Lake Analytics account.
 * @param accountName The name of the Data Lake Analytics account to add or replace the firewall rule.
 * @param firewallRuleName The name of the firewall rule to create or update.
 * @param parameters Parameters supplied to create or update the firewall rule.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
ServiceFuture<FirewallRule> createOrUpdateAsync(String resourceGroupName, String accountName, String firewallRuleName, FirewallRule parameters, final ServiceCallback<FirewallRule> serviceCallback);
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:13,
代码来源:FirewallRules.java

示例38: deleteAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Deletes the specified packet capture session.
 *
 * @param resourceGroupName The name of the resource group.
 * @param networkWatcherName The name of the network watcher.
 * @param packetCaptureName The name of the packet capture session.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<Void> deleteAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName, final ServiceCallback<Void> serviceCallback) {
    return ServiceFuture.fromResponse(deleteWithServiceResponseAsync(resourceGroupName, networkWatcherName, packetCaptureName), serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:14,
代码来源:PacketCapturesInner.java

示例39: listAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Get the logs for a specified container instance.
 * Get the logs for a specified container instance in a specified resource group and container group.
 *
 * @param resourceGroupName The name of the resource group.
 * @param containerGroupName The name of the container group.
 * @param containerName The name of the container instance.
 * @param tail The number of lines to show from the tail of the container instance log. If not provided, all available logs are shown up to 4mb.
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
public ServiceFuture<LogsInner> listAsync(String resourceGroupName, String containerGroupName, String containerName, Integer tail, final ServiceCallback<LogsInner> serviceCallback) {
    return ServiceFuture.fromResponse(listWithServiceResponseAsync(resourceGroupName, containerGroupName, containerName, tail), serviceCallback);
}
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:16,
代码来源:ContainerLogsInner.java

示例40: updateSecretAsync

点赞 1

import com.microsoft.rest.ServiceFuture; //导入依赖的package包/类
/**
 * Modifies the specified secret for use with external data sources in the specified database. This is deprecated and will be removed in the next release. Please use UpdateCredential instead.
 *
 * @param accountName The Azure Data Lake Analytics account upon which to execute catalog operations.
 * @param databaseName The name of the database containing the secret.
 * @param secretName The name of the secret.
 * @param parameters The parameters required to modify the secret (name and password)
 * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
 * @throws IllegalArgumentException thrown if parameters fail the validation
 * @return the {@link ServiceFuture} object
 */
ServiceFuture<Void> updateSecretAsync(String accountName, String databaseName, String secretName, DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters parameters, final ServiceCallback<Void> serviceCallback);
 

开发者ID:Azure,
项目名称:azure-libraries-for-java,
代码行数:13,
代码来源:Catalogs.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)