當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。