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