[Automation] Collect examples from azure-sdk-for-python#azure-mgmt-automation_1.1.0b4
This commit is contained in:
Родитель
bc3028ed3b
Коммит
53987ed5b4
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
@ -21,12 +22,11 @@ def main():
|
|||
subscription_id="00000000-1111-2222-3333-444444444444",
|
||||
)
|
||||
|
||||
response = client.private_endpoint_connections.begin_delete(
|
||||
client.private_endpoint_connections.begin_delete(
|
||||
resource_group_name="rg1",
|
||||
automation_account_name="ddb1",
|
||||
private_endpoint_connection_name="privateEndpointConnectionName",
|
||||
).result()
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/PrivateEndpointConnectionDelete.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
@ -21,12 +22,11 @@ def main():
|
|||
subscription_id="subid",
|
||||
)
|
||||
|
||||
response = client.dsc_node.delete(
|
||||
client.dsc_node.delete(
|
||||
resource_group_name="rg",
|
||||
automation_account_name="myAutomationAccount9",
|
||||
node_id="e1243a76-a9bd-432f-bde3-ad8f317ee786",
|
||||
)
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/deleteDscNode.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
@ -21,12 +22,11 @@ def main():
|
|||
subscription_id="subid",
|
||||
)
|
||||
|
||||
response = client.watcher.delete(
|
||||
client.watcher.delete(
|
||||
resource_group_name="rg",
|
||||
automation_account_name="MyTestAutomationAccount",
|
||||
watcher_name="MyTestWatcher",
|
||||
)
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/deleteWatcher.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
@ -21,12 +22,11 @@ def main():
|
|||
subscription_id="subid",
|
||||
)
|
||||
|
||||
response = client.watcher.start(
|
||||
client.watcher.start(
|
||||
resource_group_name="rg",
|
||||
automation_account_name="MyTestAutomationAccount",
|
||||
watcher_name="MyTestWatcher",
|
||||
)
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/startWatcher.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
@ -21,12 +22,11 @@ def main():
|
|||
subscription_id="subid",
|
||||
)
|
||||
|
||||
response = client.watcher.stop(
|
||||
client.watcher.stop(
|
||||
resource_group_name="rg",
|
||||
automation_account_name="MyTestAutomationAccount",
|
||||
watcher_name="MyTestWatcher",
|
||||
)
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/stopWatcher.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
@ -21,12 +22,11 @@ def main():
|
|||
subscription_id="subid",
|
||||
)
|
||||
|
||||
response = client.webhook.delete(
|
||||
client.webhook.delete(
|
||||
resource_group_name="rg",
|
||||
automation_account_name="myAutomationAccount33",
|
||||
webhook_name="TestWebhook",
|
||||
)
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/deleteWebhook.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
@ -21,12 +22,11 @@ def main():
|
|||
subscription_id="51766542-3ed7-4a72-a187-0c8ab644ddab",
|
||||
)
|
||||
|
||||
response = client.software_update_configurations.delete(
|
||||
client.software_update_configurations.delete(
|
||||
resource_group_name="mygroup",
|
||||
automation_account_name="myaccount",
|
||||
software_update_configuration_name="mypatch",
|
||||
)
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/softwareUpdateConfiguration/deleteSoftwareUpdateConfiguration.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b3/sdk/automation/azure-mgmt-automation/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_1.1.0b4/sdk/automation/azure-mgmt-automation/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.automation import AutomationClient
|
||||
|
||||
"""
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче