GithubHelp home page GithubHelp logo

github-bot-tutorial's Introduction

Hi there πŸ‘‹

I am Zelin Wang.

πŸ”­ I’m currently working on

microsoft microsoft

  • Microsoft Azure
    • Azure-cli: A great cloud needs great tools; we're excited to introduce Azure CLI, our next generation multi-platform command line experience for Azure.
    • Azure-cli-extension: Extensions for Azure CLI 2.0.
    • Azure-cli-dev-tools: The azdev tool is designed to aid new and experienced developers in contributing to Azure CLI command modules and extensions.

⚑ Summary

doggy8088

🌱 Skills

anaconda ansible azureartifacts azuredataexplorer azuredevops azurefunctions azurepipelines css3 curl elastic docker dotenv etcd flask gerrit git go gnubash hexo html5 javascript jenkins jupyter kubernetes linux macos mysql nginx openai openstack postgresql postman powershell pycharm python redis sqlite typescript

πŸ“« Contact Me

github-bot-tutorial's People

Contributors

wangzelin007 avatar

Watchers

 avatar

Forkers

wangzelin008

github-bot-tutorial's Issues

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

Trusted Launch CLI Change Request - VM Disk Snapshot & Config

Related command

az snapshot show
az disk create
az disk grant-access

Resource Provider

Microsoft.Compute/disks
Microsoft.Compute/snapshots

Description of Feature or Work Requested

feature request to add output value, new parameter and add values into existing parameters for following commands to support Trusted Launch VM Disks:

Feature request is to provide customers with completion of Trusted Launch VM (already GA) disk management:

  • validate if the snapshot customer has taken is enabled for TrustedLaunch.
  • import managed OS disk along with VMGuestState disk required for Trusted Launch VMs.
  • upload managed OS disk using same parameter --for-upload and specify that upload will be for Trusted Launch VM or Non-Trusted Launch VM

Additional Output Value

az snapshot show

When customer use az snapshot show command, the output should return SecurityProfile of the snapshot. SecurityProfile output is already supported in az disk show command, same needs to be extended to snapshots as well.

"securityProfile": {
"securityType": "TrustedLaunch"
},

New Parameter

--security-data-uri (az disk create)

New string parameter --security-data-uri for command az disk create:

  • Allows customer to pass Blob URI for VM Guest State VHD.
  • When specified, the command should interpret that disk will be imported from un-managed VHD in storage account or another managed disk for TrustedLaunch VM OS Disk Security Type.
  • --security-type parameter mandatory when --security-data-uri value is passed.
  • --hyper-v-generation parameter value should be V2
  • This is the URI of a blob to be imported into VM guest state.
--secure-vm-guest-state-sas (az disk grant-access)

New bool parameter --secure-vm-guest-state-sas for az disk grant-access:

  • Allows customer to query VM Guest State SAS.
  • Required when --for-upload is set to new value secureOSUpload.
  • Output should show both accessSas and securityDataAccessSAS in response.

Existing Parameter

--for-upload (az disk create)

Convert --for-upload to type enum and Introduce additional value of secureOSUpload for parameter --for-upload in command az disk create. In addition to same, replace true with nonSecureOSUpload

Post change, following values will be accepted for parameter:

--for-upload value Description
false OS Disk created is not using upload method.
nonSecureOSUpload OS Disk created using upload method for VM with security type Standard
secureOSUpload OS Disk created using upload method will be used with VM using TrustedLaunch security type or ConfidentialVM
  • Allows customer to specify that disk will be uploaded from local storage for TrustedLaunch VM OS Disk Security Type using parameter value secureOSUpload.
  • For VMs with Standard security type, customers provide parameter value of nonSecureOSUpload
  • --security-type parameter mandatory when --for-upload is set to secureOSUpload
  • --hyper-v-generation parameter value should be V2 when --for-upload value is set to secureOSUpload
  • Parameter --secure-vm-guest-state-sas required for az disk grant-access when --for-upload is set to secureOSUpload

End to End Usage

Scenario 1 - Get Trusted Launch VM Disk Snapshot
  1. Get Virtual Machine Disk snapshot.

    az snapshot show --id $snapshotResourceId

    {
      "completionPercent": null,
      "creationData": {
        "createOption": "Copy",
        "galleryImageReference": null,
        "imageReference": null,
        "logicalSectorSize": null,
        "sourceResourceId": "/subscriptions/390a3e32-6963-47d8-bcef-ee8db1c22720/resourceGroups/tvm-cli-change-rg/providers/Microsoft.Compute/disks/tvm-cli-change-vm_OsDisk_1_78358962d0b645a0a3899f18c98b099a",
        "sourceUniqueId": "78358962-d0b6-45a0-a389-9f18c98b099a",
        "sourceUri": null,
        "storageAccountId": null,
        "uploadSizeBytes": null
      },
      "diskAccessId": null,
      "diskSizeBytes": 32213303296,
      "diskSizeGb": 30,
      "diskState": "Unattached",
      "encryption": {
        "diskEncryptionSetId": null,
        "type": "EncryptionAtRestWithPlatformKey"
      },
      "encryptionSettingsCollection": null,
      "extendedLocation": null,
      "hyperVGeneration": "V2",
      "id": "/subscriptions/390a3e32-6963-47d8-bcef-ee8db1c22720/resourceGroups/tvm-cli-change-rg/providers/Microsoft.Compute/snapshots/test01",
      "incremental": false,
      "location": "southeastasia",
      "managedBy": null,
      "name": "test01",
      "networkAccessPolicy": "AllowAll",
      "osType": "Linux",
      "provisioningState": "Succeeded",
      "publicNetworkAccess": "Enabled",
      "purchasePlan": null,
      "resourceGroup": "tvm-cli-change-rg",
      "securityProfile": {
        "securityType": "TrustedLaunch"
      },
      "sku": {
        "name": "Standard_LRS",
        "tier": "Standard"
      },
      "supportedCapabilities": {
        "acceleratedNetwork": true,
        "architecture": "x64"
      },
      "supportsHibernation": null,
      "tags": {},
      "timeCreated": "2022-04-29T12:48:54.475669+00:00",
      "type": "Microsoft.Compute/snapshots",
      "uniqueId": "8e845670-5c0f-4153-a178-9a544ba4b7e1"
    }
Scenario 2 - Secure Import of Trusted Launch VM OS Disk
  1. Create disk with --for-secure-import and -security-data-uri parameter:

    az disk create -n $diskName -g $resourceGroup \
        -l $location --os-type Windows --hyper-v-generation V2 \
        --security-type "TrustedLaunch" \
        --source $sourceDiskVhdUri --security-data-uri $guestStateDiskVhdUri \
        --sku standard_lrs
    
Scenario 3 - Secure Upload of Trusted Launch VM OS Disk
  1. Create an empty disk with --for-secure-upload parameter:

    az disk create -n $diskName -g $resourceGroup \
        -l $location --os-type Windows --hyper-v-generation V2 \
        --security-type "TrustedLaunch" --for-upload secureOSUpload \
        --upload-size-bytes 34359738880 --sku standard_lrs
    
  2. Grant access to generate accessSas and securityDataAccessSAS using --secure-vm-guest-state-sas parameter

    diskSas = $(az disk grant-access -n $diskName -g $resourceGroupName \
        --access-level Write --duration-in-seconds 86400 \
        --secure-vm-guest-state-sas true)
    

    Returned value schema:

    {
      "accessSas": "https://md-impexp-t0rdsfgsdfg4.blob.core.windows.net/w2c3mj0ksfgl/abcd?sv=2017-04-17&sr=b&si=600a9281-d39e-4cc3-91d2-923c4a696537&sig=xXaT6mFgf139ycT87CADyFxb%2BnPXBElYirYRlbnJZbs%3D",
      "securityDataAccessSas": "<VM Guest State Sas URI>"
    }
  3. Copy Disk Content from Local Disk:

    AzCopy.exe copy "c:\somewhere\mydisk.vhd"β€―$diskSas.AccessSAS --blob-type PageBlob

  4. Copy VM Guest State content from a local VHD:

    AzCopy.exe copy "c:\somewhere\myvmgs.vhd" $diskSas.securityDataAccessSAS --blob-type PageBlob

Minimum API Version Required

2021-08-01

Swagger PR link

Azure/azure-rest-api-specs#17118

Target Date

2022-07-05

Additional context

Request for Trusted Launch VM feature.

Contacts

Role Contact
Main developer contacts (emails + github aliases) Abhishek Verma (AZURE) [email protected], Anshul Solanki [email protected]
PM contact (email + github alias) Ajay Kundnani [email protected]
Other people who should attend a design review (email) Run Cai [email protected], Deepak J V [email protected]

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

2.0.80

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

2.0.80

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{BOT} test milestone

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{CI} new

Related command

az vm create

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior.

Expected behavior

A clear and concise description of what you expected to happen.

Environment summary

CLI version: 2.37.0

Additional context

Add any other context about the problem here.

2.0.80

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

Test common issue 1

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az policy assignment list

Errors:

APIVersion 2019-09-01 is not available
Traceback (most recent call last):
python3/dist-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 608, in execute
    raise ex
cli/core/commands/__init__.py, ln 666, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 659, in _run_job
    six.reraise(*sys.exc_info())
lib/python3/dist-packages/six.py, ln 703, in reraise
    raise value
...
azure/cli/core/__init__.py, ln 493, in default_command_handler
    return op(**command_args)
cli/command_modules/resource/custom.py, ln 1393, in list_policy_assignment
    result = policy_client.policy_assignments.list()
mgmt/resource/policy/_policy_client.py, ln 141, in policy_assignments
    raise NotImplementedError("APIVersion {} is not available".format(api_version))
NotImplementedError: APIVersion 2019-09-01 is not available

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az policy assignment list

Expected Behavior

Environment Summary

Linux-5.11.0-41-generic-x86_64-with-glibc2.29
Python 3.8.10
Shell: bash

azure-cli 2.0.81

Extensions:
interactive 0.4.5
azure-devops 0.17.0

Additional Context

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

Test common issue 1

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az policy assignment list

Errors:

APIVersion 2019-09-01 is not available
Traceback (most recent call last):
python3/dist-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 608, in execute
    raise ex
cli/core/commands/__init__.py, ln 666, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 659, in _run_job
    six.reraise(*sys.exc_info())
lib/python3/dist-packages/six.py, ln 703, in reraise
    raise value
...
azure/cli/core/__init__.py, ln 493, in default_command_handler
    return op(**command_args)
cli/command_modules/resource/custom.py, ln 1393, in list_policy_assignment
    result = policy_client.policy_assignments.list()
mgmt/resource/policy/_policy_client.py, ln 141, in policy_assignments
    raise NotImplementedError("APIVersion {} is not available".format(api_version))
NotImplementedError: APIVersion 2019-09-01 is not available

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az policy assignment list

Expected Behavior

Environment Summary

Linux-5.11.0-41-generic-x86_64-with-glibc2.29
Python 3.8.10
Shell: bash

azure-cli 2.0.81

Extensions:
interactive 0.4.5
azure-devops 0.17.0

Additional Context

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

DEMO

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{DEMO} Test auto reply and set milestone

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{Teams APP} Test teams app

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{test3}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{CI} old

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

az vm create

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior.

Expected behavior

A clear and concise description of what you expected to happen.

Environment summary

CLI version: 2.37.0

Additional context

Add any other context about the problem here.

{BOT} Test milestone

If the issue creation time is less than 21 days, put into the next milestone and notify the user.

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{CI} test5

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

Trusted Launch CLI Change Request - VM Disk Snapshot & Config

Related command

az snapshot show
az disk create
az disk grant-access

Resource Provider

TODO

Description of Feature or Work Requested

feature request to add output value, new parameter and add values into existing parameters for following commands to support Trusted Launch VM Disks:

Feature request is to provide customers with completion of Trusted Launch VM (already GA) disk management:

  • validate if the snapshot customer has taken is enabled for TrustedLaunch.
  • import managed OS disk along with VMGuestState disk required for Trusted Launch VMs.
  • upload managed OS disk using same parameter --for-upload and specify that upload will be for Trusted Launch VM or Non-Trusted Launch VM

Additional Output Value

az snapshot show

When customer use az snapshot show command, the output should return SecurityProfile of the snapshot. SecurityProfile output is already supported in az disk show command, same needs to be extended to snapshots as well.

"securityProfile": {
"securityType": "TrustedLaunch"
},

New Parameter

--security-data-uri (az disk create)

New string parameter --security-data-uri for command az disk create:

  • Allows customer to pass Blob URI for VM Guest State VHD.
  • When specified, the command should interpret that disk will be imported from un-managed VHD in storage account or another managed disk for TrustedLaunch VM OS Disk Security Type.
  • --security-type parameter mandatory when --security-data-uri value is passed.
  • --hyper-v-generation parameter value should be V2
  • This is the URI of a blob to be imported into VM guest state.

--secure-vm-guest-state-sas (az disk grant-access)

New bool parameter --secure-vm-guest-state-sas for az disk grant-access:

  • Allows customer to query VM Guest State SAS.
  • Required when --for-upload is set to new value secureOSUpload.
  • Output should show both accessSas and securityDataAccessSAS in response.

Existing Parameter

--for-upload (az disk create)

Convert --for-upload to type enum and Introduce additional value of secureOSUpload for parameter --for-upload in command az disk create. In addition to same, replace true with nonSecureOSUpload

Post change, following values will be accepted for parameter:

--for-upload value Description
false OS Disk created is not using upload method.
nonSecureOSUpload OS Disk created using upload method for VM with security type Standard
secureOSUpload OS Disk created using upload method will be used with VM using TrustedLaunch security type or ConfidentialVM
  • Allows customer to specify that disk will be uploaded from local storage for TrustedLaunch VM OS Disk Security Type using parameter value secureOSUpload.
  • For VMs with Standard security type, customers provide parameter value of nonSecureOSUpload
  • --security-type parameter mandatory when --for-upload is set to secureOSUpload
  • --hyper-v-generation parameter value should be V2 when --for-upload value is set to secureOSUpload
  • Parameter --secure-vm-guest-state-sas required for az disk grant-access when --for-upload is set to secureOSUpload

End to End Usage

Scenario 1 - Get Trusted Launch VM Disk Snapshot

  1. Get Virtual Machine Disk snapshot.

    az snapshot show --id $snapshotResourceId

    {
      "completionPercent": null,
      "creationData": {
        "createOption": "Copy",
        "galleryImageReference": null,
        "imageReference": null,
        "logicalSectorSize": null,
        "sourceResourceId": "/subscriptions/390a3e32-6963-47d8-bcef-ee8db1c22720/resourceGroups/tvm-cli-change-rg/providers/Microsoft.Compute/disks/tvm-cli-change-vm_OsDisk_1_78358962d0b645a0a3899f18c98b099a",
        "sourceUniqueId": "78358962-d0b6-45a0-a389-9f18c98b099a",
        "sourceUri": null,
        "storageAccountId": null,
        "uploadSizeBytes": null
      },
      "diskAccessId": null,
      "diskSizeBytes": 32213303296,
      "diskSizeGb": 30,
      "diskState": "Unattached",
      "encryption": {
        "diskEncryptionSetId": null,
        "type": "EncryptionAtRestWithPlatformKey"
      },
      "encryptionSettingsCollection": null,
      "extendedLocation": null,
      "hyperVGeneration": "V2",
      "id": "/subscriptions/390a3e32-6963-47d8-bcef-ee8db1c22720/resourceGroups/tvm-cli-change-rg/providers/Microsoft.Compute/snapshots/test01",
      "incremental": false,
      "location": "southeastasia",
      "managedBy": null,
      "name": "test01",
      "networkAccessPolicy": "AllowAll",
      "osType": "Linux",
      "provisioningState": "Succeeded",
      "publicNetworkAccess": "Enabled",
      "purchasePlan": null,
      "resourceGroup": "tvm-cli-change-rg",
      "securityProfile": {
        "securityType": "TrustedLaunch"
      },
      "sku": {
        "name": "Standard_LRS",
        "tier": "Standard"
      },
      "supportedCapabilities": {
        "acceleratedNetwork": true,
        "architecture": "x64"
      },
      "supportsHibernation": null,
      "tags": {},
      "timeCreated": "2022-04-29T12:48:54.475669+00:00",
      "type": "Microsoft.Compute/snapshots",
      "uniqueId": "8e845670-5c0f-4153-a178-9a544ba4b7e1"
    }

Scenario 2 - Secure Import of Trusted Launch VM OS Disk

  1. Create disk with --for-secure-import and -security-data-uri parameter:

    az disk create -n $diskName -g $resourceGroup \
        -l $location --os-type Windows --hyper-v-generation V2 \
        --security-type "TrustedLaunch" \
        --source $sourceDiskVhdUri --security-data-uri $guestStateDiskVhdUri \
        --sku standard_lrs
    

Scenario 3 - Secure Upload of Trusted Launch VM OS Disk

  1. Create an empty disk with --for-secure-upload parameter:

    az disk create -n $diskName -g $resourceGroup \
        -l $location --os-type Windows --hyper-v-generation V2 \
        --security-type "TrustedLaunch" --for-upload secureOSUpload \
        --upload-size-bytes 34359738880 --sku standard_lrs
    
  2. Grant access to generate accessSas and securityDataAccessSAS using --secure-vm-guest-state-sas parameter

    diskSas = $(az disk grant-access -n $diskName -g $resourceGroupName \
        --access-level Write --duration-in-seconds 86400 \
        --secure-vm-guest-state-sas true)
    

    Returned value schema:

    {
      "accessSas": "https://md-impexp-t0rdsfgsdfg4.blob.core.windows.net/w2c3mj0ksfgl/abcd?sv=2017-04-17&sr=b&si=600a9281-d39e-4cc3-91d2-923c4a696537&sig=xXaT6mFgf139ycT87CADyFxb%2BnPXBElYirYRlbnJZbs%3D",
      "securityDataAccessSas": "<VM Guest State Sas URI>"
    }
  3. Copy Disk Content from Local Disk:

    AzCopy.exe copy "c:\somewhere\mydisk.vhd"β€―$diskSas.AccessSAS --blob-type PageBlob

  4. Copy VM Guest State content from a local VHD:

    AzCopy.exe copy "c:\somewhere\myvmgs.vhd" $diskSas.securityDataAccessSAS --blob-type PageBlob

Minimum API Version Required

TODO

Swagger Link

TODO

Target Date

TODO

Additional context

Request for Trusted Launch VM feature.

Contacts

Role Contact
Main developer contacts (emails + github aliases) Abhishek Verma (AZURE) [email protected], Anshul Solanki [email protected]
PM contact (email + github alias) Ajay Kundnani [email protected]
Other people who should attend a design review (email) Run Cai [email protected], Deepak J V [email protected]

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{test4}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{TEST}

Related command

No response

Resource Provider

a

Description of Feature or Work Requested

b

Minimum API Version Required

c

Swagger PR link

d

Target Date

e

Additional context

No response

2.0.80

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{feature request}

Related command

None

Resource Provider

None

Description of Feature or Work Requested

None

Minimum API Version Required

None

Swagger PR link / SDK link

None

Request Example

None

Target Date

None

Additional context

None

Test common issue 1

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az policy assignment list

Errors:

APIVersion 2019-09-01 is not available
Traceback (most recent call last):
python3/dist-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 608, in execute
    raise ex
cli/core/commands/__init__.py, ln 666, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 659, in _run_job
    six.reraise(*sys.exc_info())
lib/python3/dist-packages/six.py, ln 703, in reraise
    raise value
...
azure/cli/core/__init__.py, ln 493, in default_command_handler
    return op(**command_args)
cli/command_modules/resource/custom.py, ln 1393, in list_policy_assignment
    result = policy_client.policy_assignments.list()
mgmt/resource/policy/_policy_client.py, ln 141, in policy_assignments
    raise NotImplementedError("APIVersion {} is not available".format(api_version))
NotImplementedError: APIVersion 2019-09-01 is not available

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az policy assignment list

Expected Behavior

Environment Summary

Linux-5.11.0-41-generic-x86_64-with-glibc2.29
Python 3.8.10
Shell: bash

azure-cli 2.0.81

Extensions:
interactive 0.4.5
azure-devops 0.17.0

Additional Context

{BOT} Test github app

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{TEST}

Related command

No response

Resource Provider

a

Description of Feature or Work Requested

b

Minimum API Version Required

c

Swagger PR link

d

Target Date

e

Additional context

No response

2.0.80

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

{test}

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

Test common issue 1

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az policy assignment list

Errors:

APIVersion 2019-09-01 is not available
Traceback (most recent call last):
python3/dist-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 608, in execute
    raise ex
cli/core/commands/__init__.py, ln 666, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 659, in _run_job
    six.reraise(*sys.exc_info())
lib/python3/dist-packages/six.py, ln 703, in reraise
    raise value
...
azure/cli/core/__init__.py, ln 493, in default_command_handler
    return op(**command_args)
cli/command_modules/resource/custom.py, ln 1393, in list_policy_assignment
    result = policy_client.policy_assignments.list()
mgmt/resource/policy/_policy_client.py, ln 141, in policy_assignments
    raise NotImplementedError("APIVersion {} is not available".format(api_version))
NotImplementedError: APIVersion 2019-09-01 is not available

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az policy assignment list

Expected Behavior

Environment Summary

Linux-5.11.0-41-generic-x86_64-with-glibc2.29
Python 3.8.10
Shell: bash

azure-cli 2.0.81

Extensions:
interactive 0.4.5
azure-devops 0.17.0

Additional Context

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.