[Automation] Collect examples from azure-sdk-for-python#azure-mgmt-devtestlabs_10.0.0b2
This commit is contained in:
Родитель
d874332ff1
Коммит
ff84ee6bd8
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
@ -21,12 +22,11 @@ def main():
|
|||
subscription_id="{subscriptionId}",
|
||||
)
|
||||
|
||||
response = client.artifact_sources.delete(
|
||||
client.artifact_sources.delete(
|
||||
resource_group_name="resourceGroupName",
|
||||
lab_name="{labName}",
|
||||
name="{artifactSourceName}",
|
||||
)
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ArtifactSources_Delete.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
@ -21,12 +22,11 @@ def main():
|
|||
subscription_id="{subscriptionId}",
|
||||
)
|
||||
|
||||
response = client.custom_images.begin_delete(
|
||||
client.custom_images.begin_delete(
|
||||
resource_group_name="resourceGroupName",
|
||||
lab_name="{labName}",
|
||||
name="{customImageName}",
|
||||
).result()
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/CustomImages_Delete.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
@ -21,13 +22,12 @@ def main():
|
|||
subscription_id="{subscriptionId}",
|
||||
)
|
||||
|
||||
response = client.disks.begin_attach(
|
||||
client.disks.begin_attach(
|
||||
resource_group_name="resourceGroupName",
|
||||
lab_name="{labName}",
|
||||
user_name="{userId}",
|
||||
name="{diskName}",
|
||||
).result()
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Disks_Attach.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
@ -21,13 +22,12 @@ def main():
|
|||
subscription_id="{subscriptionId}",
|
||||
)
|
||||
|
||||
response = client.disks.begin_delete(
|
||||
client.disks.begin_delete(
|
||||
resource_group_name="resourceGroupName",
|
||||
lab_name="{labName}",
|
||||
user_name="{userId}",
|
||||
name="{diskName}",
|
||||
).result()
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Disks_Delete.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
@ -21,13 +22,12 @@ def main():
|
|||
subscription_id="{subscriptionId}",
|
||||
)
|
||||
|
||||
response = client.disks.begin_detach(
|
||||
client.disks.begin_detach(
|
||||
resource_group_name="resourceGroupName",
|
||||
lab_name="{labName}",
|
||||
user_name="{userId}",
|
||||
name="{diskName}",
|
||||
).result()
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Disks_Detach.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
@ -21,13 +22,12 @@ def main():
|
|||
subscription_id="{subscriptionId}",
|
||||
)
|
||||
|
||||
response = client.environments.begin_delete(
|
||||
client.environments.begin_delete(
|
||||
resource_group_name="resourceGroupName",
|
||||
lab_name="{labName}",
|
||||
user_name="@me",
|
||||
name="{environmentName}",
|
||||
).result()
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Environments_Delete.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
@ -21,12 +22,11 @@ def main():
|
|||
subscription_id="{subscriptionId}",
|
||||
)
|
||||
|
||||
response = client.formulas.delete(
|
||||
client.formulas.delete(
|
||||
resource_group_name="resourceGroupName",
|
||||
lab_name="{labName}",
|
||||
name="{formulaName}",
|
||||
)
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Formulas_Delete.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
@ -21,11 +22,10 @@ def main():
|
|||
subscription_id="{subscriptionId}",
|
||||
)
|
||||
|
||||
response = client.global_schedules.delete(
|
||||
client.global_schedules.delete(
|
||||
resource_group_name="resourceGroupName",
|
||||
name="labvmautostart",
|
||||
)
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/GlobalSchedules_Delete.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
@ -21,11 +22,10 @@ def main():
|
|||
subscription_id="{subscriptionId}",
|
||||
)
|
||||
|
||||
response = client.global_schedules.begin_execute(
|
||||
client.global_schedules.begin_execute(
|
||||
resource_group_name="resourceGroupName",
|
||||
name="labvmautostart",
|
||||
).result()
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/GlobalSchedules_Execute.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
@ -21,11 +22,10 @@ def main():
|
|||
subscription_id="{subscriptionId}",
|
||||
)
|
||||
|
||||
response = client.global_schedules.begin_retarget(
|
||||
client.global_schedules.begin_retarget(
|
||||
resource_group_name="resourceGroupName",
|
||||
name="{scheduleName}",
|
||||
).result()
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/GlobalSchedules_Retarget.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
@ -21,11 +22,10 @@ def main():
|
|||
subscription_id="{subscriptionId}",
|
||||
)
|
||||
|
||||
response = client.labs.begin_claim_any_vm(
|
||||
client.labs.begin_claim_any_vm(
|
||||
resource_group_name="resourceGroupName",
|
||||
name="{labName}",
|
||||
).result()
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ClaimAnyVm.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
@ -21,7 +22,7 @@ def main():
|
|||
subscription_id="{subscriptionId}",
|
||||
)
|
||||
|
||||
response = client.labs.begin_create_environment(
|
||||
client.labs.begin_create_environment(
|
||||
resource_group_name="resourceGroupName",
|
||||
name="{labName}",
|
||||
lab_virtual_machine_creation_parameter={
|
||||
|
@ -47,7 +48,6 @@ def main():
|
|||
"tags": {"tagName1": "tagValue1"},
|
||||
},
|
||||
).result()
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_CreateEnvironment.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
@ -21,11 +22,10 @@ def main():
|
|||
subscription_id="{subscriptionId}",
|
||||
)
|
||||
|
||||
response = client.labs.begin_delete(
|
||||
client.labs.begin_delete(
|
||||
resource_group_name="resourceGroupName",
|
||||
name="{labName}",
|
||||
).result()
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
@ -21,11 +22,10 @@ def main():
|
|||
subscription_id="{subscriptionId}",
|
||||
)
|
||||
|
||||
response = client.labs.begin_export_resource_usage(
|
||||
client.labs.begin_export_resource_usage(
|
||||
resource_group_name="resourceGroupName",
|
||||
name="{labName}",
|
||||
).result()
|
||||
print(response)
|
||||
|
||||
|
||||
# x-ms-original-file: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ExportResourceUsage.json
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b1/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
||||
{"sdkUrl": "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-devtestlabs_10.0.0b2/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md"}
|
|
@ -1,4 +1,5 @@
|
|||
from azure.identity import DefaultAzureCredential
|
||||
|
||||
from azure.mgmt.devtestlabs import DevTestLabsClient
|
||||
|
||||
"""
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче