public static String subscriptionFromResourceId ( String id ) { return ( id != null ) ? ResourceId . fromString ( id ) . subscriptionId ( ) : null ; }
Extract the subscription ID from a resource ID string .