locked
Creation of Batch from custom VM Image. RRS feed

  • Question

  • from azure.batch import BatchServiceClient
    from azure.common.credentials import ServicePrincipalCredentials
    
    credentials = ServicePrincipalCredentials(
        client_id=CLIENT_ID,
        secret=SECRET,
        tenant=TENANT_ID,
        resource="https://batch.core.windows.net/"
    )
        batch_client = BatchServiceClient(
        credentials,
        base_url=BATCH_ACCOUNT_URL
    )

    to authenticate I will need Client_ID which I will get from registration of my application. But for that I have to provide URL. What URL needs to be provided there?

    Friday, December 7, 2018 10:11 AM

All replies