当前位置: 首页>>代码示例>>Golang>>正文


Golang azure.DoPollForAsynchronous函数代码示例

本文整理汇总了Golang中github.com/Azure/go-autorest/autorest/azure.DoPollForAsynchronous函数的典型用法代码示例。如果您正苦于以下问题:Golang DoPollForAsynchronous函数的具体用法?Golang DoPollForAsynchronous怎么用?Golang DoPollForAsynchronous使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了DoPollForAsynchronous函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Golang代码示例。

示例1: MoveResourcesSender

// MoveResourcesSender sends the MoveResources request. The method will close the
// http.Response Body if it receives an error.
func (client ManagementClient) MoveResourcesSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client,
		req,
		azure.DoPollForAsynchronous(autorest.DefaultPollingDuration,
			autorest.DefaultPollingDelay))
}
开发者ID:robvanmieghem,项目名称:machine,代码行数:8,代码来源:client.go

示例2: CreateOrUpdateSender

// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client,
		req,
		azure.DoPollForAsynchronous(client.PollingDelay))
}
开发者ID:CodeJuan,项目名称:kubernetes,代码行数:7,代码来源:virtualmachineextensions.go

示例3: UpdateSender

// UpdateSender sends the Update request. The method will close the
// http.Response Body if it receives an error.
func (client OriginsClient) UpdateSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client,
		req,
		azure.DoPollForAsynchronous(client.PollingDelay))
}
开发者ID:hooklift,项目名称:terraform,代码行数:7,代码来源:origins.go

示例4: GetEffectiveRouteTableSender

// GetEffectiveRouteTableSender sends the GetEffectiveRouteTable request. The method will close the
// http.Response Body if it receives an error.
func (client InterfacesClient) GetEffectiveRouteTableSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client,
		req,
		azure.DoPollForAsynchronous(client.PollingDelay))
}
开发者ID:BSick7,项目名称:terraform,代码行数:7,代码来源:interfaces.go

示例5: CreateOrUpdateSender

// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client PublicIPAddressesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client,
		req,
		azure.DoPollForAsynchronous(client.PollingDelay))
}
开发者ID:Originate,项目名称:terraform,代码行数:7,代码来源:publicipaddresses.go

示例6: MoveResourcesSender

// MoveResourcesSender sends the MoveResources request. The method will close the
// http.Response Body if it receives an error.
func (client Client) MoveResourcesSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client,
		req,
		azure.DoPollForAsynchronous(client.PollingDelay))
}
开发者ID:paultyng,项目名称:terraform,代码行数:7,代码来源:resources.go

示例7: EnableSender

// EnableSender sends the Enable request. The method will close the
// http.Response Body if it receives an error.
func (client JobCollectionsClient) EnableSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client,
		req,
		azure.DoPollForAsynchronous(client.PollingDelay))
}
开发者ID:Zordrak,项目名称:terraform,代码行数:7,代码来源:jobcollections.go

示例8: CreateOrUpdateSender

// CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the
// http.Response Body if it receives an error.
func (client ContainerServiceOperationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client,
		req,
		azure.DoPollForAsynchronous(client.PollingDelay))
}
开发者ID:colemickens,项目名称:azure-sdk-for-go,代码行数:7,代码来源:containerserviceoperations.go

示例9: DeleteInstancesSender

// DeleteInstancesSender sends the DeleteInstances request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client,
		req,
		azure.DoPollForAsynchronous(client.PollingDelay))
}
开发者ID:BSick7,项目名称:terraform,代码行数:7,代码来源:virtualmachinescalesets.go

示例10: DeleteManagedHostingEnvironmentSender

// DeleteManagedHostingEnvironmentSender sends the DeleteManagedHostingEnvironment request. The method will close the
// http.Response Body if it receives an error.
func (client ManagedHostingEnvironmentsClient) DeleteManagedHostingEnvironmentSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client,
		req,
		azure.DoPollForAsynchronous(client.PollingDelay))
}
开发者ID:daemonfire300,项目名称:azure-sdk-for-go,代码行数:7,代码来源:managedhostingenvironments.go

示例11: StartSender

// StartSender sends the Start request. The method will close the
// http.Response Body if it receives an error.
func (client ApplicationGatewaysClient) StartSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client,
		req,
		azure.DoPollForAsynchronous(client.PollingDelay))
}
开发者ID:jbeda,项目名称:kubernetes,代码行数:7,代码来源:applicationgateways.go

示例12: DeallocateSender

// DeallocateSender sends the Deallocate request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client,
		req,
		azure.DoPollForAsynchronous(autorest.DefaultPollingDuration,
			autorest.DefaultPollingDelay))
}
开发者ID:RMeharg,项目名称:prometheus,代码行数:8,代码来源:virtualmachinescalesetvms.go

示例13: UpdateCommandSender

// UpdateCommandSender sends the UpdateCommand request. The method will close the
// http.Response Body if it receives an error.
func (client PowerShellClient) UpdateCommandSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client,
		req,
		azure.DoPollForAsynchronous(client.PollingDelay))
}
开发者ID:garimakhulbe,项目名称:azure-sdk-for-go,代码行数:7,代码来源:powershell.go

示例14: ExecuteSender

// ExecuteSender sends the Execute request. The method will close the
// http.Response Body if it receives an error.
func (client ScheduleOperationsClient) ExecuteSender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client,
		req,
		azure.DoPollForAsynchronous(client.PollingDelay))
}
开发者ID:garimakhulbe,项目名称:azure-sdk-for-go,代码行数:7,代码来源:scheduleoperations.go

示例15: SetSharedKeySender

// SetSharedKeySender sends the SetSharedKey request. The method will close the
// http.Response Body if it receives an error.
func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeySender(req *http.Request) (*http.Response, error) {
	return autorest.SendWithSender(client,
		req,
		azure.DoPollForAsynchronous(autorest.DefaultPollingDuration,
			autorest.DefaultPollingDelay))
}
开发者ID:RMeharg,项目名称:prometheus,代码行数:8,代码来源:virtualnetworkgatewayconnections.go


注:本文中的github.com/Azure/go-autorest/autorest/azure.DoPollForAsynchronous函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。