|
| 1 | +### YamlMime:PythonClass |
| 2 | +uid: azure.mgmt.workloadssapvirtualinstance.aio.WorkloadsSapVirtualInstanceMgmtClient |
| 3 | +name: WorkloadsSapVirtualInstanceMgmtClient |
| 4 | +fullName: azure.mgmt.workloadssapvirtualinstance.aio.WorkloadsSapVirtualInstanceMgmtClient |
| 5 | +module: azure.mgmt.workloadssapvirtualinstance.aio |
| 6 | +summary: Workloads client provides access to various workload operations. |
| 7 | +constructor: |
| 8 | + syntax: 'WorkloadsSapVirtualInstanceMgmtClient(credential: AsyncTokenCredential, |
| 9 | + subscription_id: str, base_url: str = ''https://management.azure.com'', **kwargs: |
| 10 | + Any)' |
| 11 | + parameters: |
| 12 | + - name: credential |
| 13 | + description: Credential used to authenticate requests to the service. Required. |
| 14 | + isRequired: true |
| 15 | + types: |
| 16 | + - <xref:azure.core.credentials_async.AsyncTokenCredential> |
| 17 | + - name: subscription_id |
| 18 | + description: The ID of the target subscription. The value must be an UUID. Required. |
| 19 | + isRequired: true |
| 20 | + types: |
| 21 | + - <xref:str> |
| 22 | + - name: base_url |
| 23 | + description: Service host. Default value is "`https://management.azure.com`". |
| 24 | + defaultValue: https://management.azure.com |
| 25 | + types: |
| 26 | + - <xref:str> |
| 27 | + keywordOnlyParameters: |
| 28 | + - name: api_version |
| 29 | + description: 'The API version to use for this operation. Default value is "2024-09-01". |
| 30 | +
|
| 31 | + Note that overriding this default value may result in unsupported behavior.' |
| 32 | + types: |
| 33 | + - <xref:str> |
| 34 | + - name: polling_interval |
| 35 | + description: 'Default waiting time between two polls for LRO operations if no |
| 36 | +
|
| 37 | + Retry-After header is present.' |
| 38 | + types: |
| 39 | + - <xref:int> |
| 40 | +variables: |
| 41 | +- description: Operations operations |
| 42 | + name: operations |
| 43 | + types: |
| 44 | + - <xref:azure.mgmt.workloadssapvirtualinstance.aio.operations.Operations> |
| 45 | +- description: SAPVirtualInstancesOperations operations |
| 46 | + name: sap_virtual_instances |
| 47 | + types: |
| 48 | + - <xref:azure.mgmt.workloadssapvirtualinstance.aio.operations.SAPVirtualInstancesOperations> |
| 49 | +- description: SAPCentralServerInstancesOperations operations |
| 50 | + name: sap_central_server_instances |
| 51 | + types: |
| 52 | + - <xref:azure.mgmt.workloadssapvirtualinstance.aio.operations.SAPCentralServerInstancesOperations> |
| 53 | +- description: SAPDatabaseInstancesOperations operations |
| 54 | + name: sap_database_instances |
| 55 | + types: |
| 56 | + - <xref:azure.mgmt.workloadssapvirtualinstance.aio.operations.SAPDatabaseInstancesOperations> |
| 57 | +- description: SAPApplicationServerInstancesOperations operations |
| 58 | + name: sap_application_server_instances |
| 59 | + types: |
| 60 | + - <xref:azure.mgmt.workloadssapvirtualinstance.aio.operations.SAPApplicationServerInstancesOperations> |
| 61 | +methods: |
| 62 | +- uid: azure.mgmt.workloadssapvirtualinstance.aio.WorkloadsSapVirtualInstanceMgmtClient.close |
| 63 | + name: close |
| 64 | + signature: async close() -> None |
| 65 | +- uid: azure.mgmt.workloadssapvirtualinstance.aio.WorkloadsSapVirtualInstanceMgmtClient.send_request |
| 66 | + name: send_request |
| 67 | + summary: 'Runs the network request through the client''s chained policies. |
| 68 | +
|
| 69 | +
|
| 70 | + ``` |
| 71 | +
|
| 72 | +
|
| 73 | + >>> from azure.core.rest import HttpRequest |
| 74 | +
|
| 75 | + >>> request = HttpRequest("GET", "https://www.example.org/") |
| 76 | +
|
| 77 | + <HttpRequest [GET], url: ''https://www.example.org/''> |
| 78 | +
|
| 79 | + >>> response = await client.send_request(request) |
| 80 | +
|
| 81 | + <AsyncHttpResponse: 200 OK> |
| 82 | +
|
| 83 | + ``` |
| 84 | +
|
| 85 | +
|
| 86 | + For more information on this code flow, see [https://aka.ms/azsdk/dpcodegen/python/send_request](https://aka.ms/azsdk/dpcodegen/python/send_request)' |
| 87 | + signature: 'send_request(request: HttpRequest, *, stream: bool = False, **kwargs: |
| 88 | + Any) -> Awaitable[AsyncHttpResponse]' |
| 89 | + parameters: |
| 90 | + - name: request |
| 91 | + description: The network request you want to make. Required. |
| 92 | + isRequired: true |
| 93 | + types: |
| 94 | + - <xref:azure.core.rest.HttpRequest> |
| 95 | + keywordOnlyParameters: |
| 96 | + - name: stream |
| 97 | + description: Whether the response payload will be streamed. Defaults to False. |
| 98 | + defaultValue: 'False' |
| 99 | + types: |
| 100 | + - <xref:bool> |
| 101 | + return: |
| 102 | + description: The response of your network call. Does not do error handling on |
| 103 | + your response. |
| 104 | + types: |
| 105 | + - <xref:azure.core.rest.AsyncHttpResponse> |
0 commit comments